PHP_SMART_HOME_V3/app/views/templates/login.phtml

32 lines
597 B
PHTML
Raw Normal View History

2020-05-16 15:18:27 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<?php
$partial = new Partial('head');
2020-05-17 12:25:22 +00:00
$partial->prepare('baseDir',$BASEDIR);
2020-12-09 11:19:19 +00:00
$partial->prepare('baseUrl',$BASEURL);
2020-05-16 15:18:27 +00:00
$partial->render();
?>
<title><?php echo $TITLE ?></title>
</head>
<body class="no-transitions">
<?php
2020-05-17 12:25:22 +00:00
if (isset($ota) && $ota != '') {
2020-05-16 15:18:27 +00:00
$partial = new Partial('loginOta');
$partial->prepare('ota',$ota);
$partial->render();
} else {
$partial = new Partial('loginForm');
$partial->render();
}
?>
2020-05-17 12:25:22 +00:00
2020-05-16 15:18:27 +00:00
<?php
$partial = new Partial('footer');
2020-06-26 14:58:08 +00:00
$partial->prepare('baseDir', BASEDIR);
2020-05-16 15:18:27 +00:00
$partial->render();
?>
</body>
</html>