<meta name="keywords" content="" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <link rel="icon" type="image/x-icon" href="/images/favicon.ico"> <title><?php echo $html_title; ?> </title> <?php Hook::execute('css'); Hook::execute('js'); ?> <style type="text/css"> body{ background-color: #F5F5F5; font-family: sans-serif; font-size: 12px; font-weight: bold; } h1{ font-size: 22px; padding: 0; margin: 0;
<?php use Jc\Hook\Hook; $tpl_path = str_replace('/hooks', '', __DIR__ . '/templates/'); if ($uri == '/login' || 1) { $title = 'Login'; Hook::register('layout', array('class' => 'Jc\\Engine\\Controller', 'method' => 'template', 'value' => array('tpl' => $tpl_path . 'layout_login', 'html_title' => @$title))); }