1
0
This repository has been archived on 2017-06-06. You can view files and clone it, but cannot push or open issues or pull requests.
informaticaD4P-2017/templates/index.phtml

20 lines
599 B
PHTML
Raw Normal View History

2017-02-09 06:50:51 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Slim 3</title>
<link href='//fonts.googleapis.com/css?family=Lato:300' rel='stylesheet' type='text/css'>
2017-02-23 09:31:05 +00:00
<link href='assets/css/demo.css' rel='stylesheet' type='text/css'>
2017-02-09 06:50:51 +00:00
</head>
<body>
<h1>Slim</h1>
<div>a microframework for PHP</div>
<?php if (isset($name)) : ?>
<h2>Hello <?= htmlspecialchars($name); ?>!</h2>
<?php else: ?>
<p>Try <a href="http://www.slimframework.com">SlimFramework</a>
<?php endif; ?>
</body>
</html>