Thinkoho
xiyanwushi
这个作者很懒,什么都没留下…
展开
-
hinkphp常用模板标签
//判断是否今天登陆过if condition="$vo.login_time gt strtotime(date('Y-m-d'))">今天登陆过if>//判断是否空值或0eq name="vo.end_time" value="0"> 不是0else /> 大于0显示eq>//时间戳转换{$vo.login_time|date="Y-m-d H:i:s",###}//U方法直接回首页{转载 2016-07-22 16:48:31 · 429 阅读 · 0 评论 -
用ThinkPHP3.2.2框架做手机和PC端浏览器的切换
ThinkPHP搭建手机版网站: http://www.php100.com/html/php/lei/2013/0904/1699.html 这篇文章(肯定不是基3.2.2讲的)是在框架入口通过判断手机还是PC访问来决定app的路径,这样,我手机web和pc就不能共用MVC三层了。 --------------------------------------------------转载 2016-07-01 15:19:55 · 4478 阅读 · 0 评论 -
thinkphp 上一篇,下一篇
//上一篇 $front=$Article->where("idorder('id desc')->limit('1')->find(); $this->assign('front',$front); //下一篇 $after=$Article->where("id>".$id)->order('id desc')->limit('1')->find转载 2016-07-01 15:54:56 · 616 阅读 · 0 评论 -
开源镜像站
网易开源镜像站 http://mirrors.163.com/ Welcome to Sohu.com Open Source Mirror Site http://mirrors.sohu.com/原创 2016-07-21 08:08:23 · 363 阅读 · 0 评论 -
在线Google字体库
官方网址 https://fonts.google.com/原创 2016-07-21 08:30:38 · 1317 阅读 · 0 评论