后台登录控制器
<?php namespace Admin\Controller; use Think\Controller; class LoginController extends Controller { public func...
<?php namespace Admin\Controller; use Think\Controller; class LoginController extends Controller { public func...
<?php namespace Admin\Controller; use Think\Controller; class AdminController extends Controller { public func...
go.php <?php $t_url = preg_replace('/^url=(.*)$/i','$1',$_SERVER["QUERY_STRING"]); if(!empty($t_url)) { preg_match('/...
复制保存为PHP文件,即可体验效果 <?php $base_url = 'http://www.wangmingchang.com/wp-content/themes/begin/inc/go.php?url='; $url=arra...
//要继承的页面 <extend name="./Application/Admin/View/Index/index.html"/> <block name="box"> //修改的内容 </block>...
在根目录index.php加入以下代码 define('BIND_MODULE','ADMIN');
--PHP-- public function page(){ $User = M('user'); // 实例化User对象 $count = $User->count();// 查询满足要求的总记录数 $Page = new \T...
多图片上传 <form action="test.php" method="post" enctype="multipart/form-data"> <input type="file" id="f" name="imag...
{$v.centent|mb_substr=0,30,utf8} 截取字符串
<script></script>放在哪都能加载,一般是 <script></script>要放在指定执行标签的 后面 js window.onload = function () { ...