本文整理匯總了PHP中Frontend::tpl方法的典型用法代碼示例。如果您正苦於以下問題:PHP Frontend::tpl方法的具體用法?PHP Frontend::tpl怎麽用?PHP Frontend::tpl使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Frontend
的用法示例。
在下文中一共展示了Frontend::tpl方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1:
<link rel="stylesheet" href="/assets/lte/dist/css/AdminLTE.min.css">
<link rel="stylesheet" href="/assets/lte/plugins/iCheck/square/blue.css">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="hold-transition login-page">
<div class="login-box">
<div class="login-logo">
<a href="/login"><b>ST</b>CMS v3.0</a>
</div>
<div class="login-box-body">
<p class="login-box-msg">Вход в административную панель</p>
<?php
Frontend::tpl('errors/errors');
?>
<form action="/login" method="post">
<div class="form-group has-feedback">
<input type="email" class="form-control" name="email" placeholder="Email">
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<input type="password" class="form-control" name="password" placeholder="Password">
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
</div>
<div class="row">
<div class="col-xs-4">
<button type="submit" class="btn btn-primary btn-block btn-flat">Войти</button>
</div>
</div>