Processing math: 100%
私人领地

随笔分类 -  yourphp

摘要:{: Form>editor(array(field=>content,moduleid=>231,setup=>array(toolbar=>full,flashupload=>1)),vo[desc])}form.php如: ... 阅读全文
posted @ 2015-08-24 18:16 狂奔的蜗牛Snails 阅读(183) 评论(0) 推荐(0) 编辑
摘要:print_r($this->Config); 阅读全文
posted @ 2015-08-24 17:22 狂奔的蜗牛Snails 阅读(439) 评论(0) 推荐(0) 编辑
摘要:php,html{:URL('User-Register/index')} 格式:http://www.xxx.com/index.php?g=User&m=User&a=index{:URL('User/index')} 格式http://www.xxx.com/index.php?g=Hom... 阅读全文
posted @ 2015-08-03 11:08 狂奔的蜗牛Snails 阅读(333) 评论(0) 推荐(0) 编辑
摘要:是 否 跟if作用一样 阅读全文
posted @ 2015-07-17 14:50 狂奔的蜗牛Snails 阅读(148) 评论(0) 推荐(0) 编辑
摘要:页面代码: product_list.html提供分类的id,找出分类的名称{Categorys[r[catid]]['catname']} 阅读全文
posted @ 2015-07-04 18:16 狂奔的蜗牛Snails 阅读(659) 评论(0) 推荐(0) 编辑
摘要:ThinkTemplate.class.php :去掉版权(针对html代码)ContentReplaceBehavior.class.php:一些默认标签的路劲,如:__PUBLIC__,../Public,__URL__,__ROOT__(针对php代码) 阅读全文
posted @ 2015-01-03 16:45 狂奔的蜗牛Snails 阅读(272) 评论(0) 推荐(0) 编辑
摘要:m=M(serviceloginlog);res =m>where(cardid=._SESSION['card_id'])->order('time desc')->select(); foreach(resask=>$v){ ... 阅读全文
posted @ 2014-08-12 17:28 狂奔的蜗牛Snails 阅读(187) 评论(0) 推荐(0) 编辑
摘要:故障描述 请简单描述下机器故障 阅读全文
posted @ 2014-08-12 11:10 狂奔的蜗牛Snails 阅读(214) 评论(0) 推荐(0) 编辑
摘要:加入css 没有这段js的话,无法刷新验证码html代码 阅读全文
posted @ 2014-08-07 18:14 狂奔的蜗牛Snails 阅读(490) 评论(0) 推荐(0) 编辑
摘要:yt_attachment编辑器图片上传存放的表 阅读全文
posted @ 2014-07-29 17:05 狂奔的蜗牛Snails 阅读(363) 评论(0) 推荐(0) 编辑
摘要:实例化页面代码1.时间代码:{$vo.createtime|toDate=###,'Y-m-d H:i:s'}2.连接:{:U('Pro/arr')},{:URL()}如:打印出变量{phpdump($r)}截取字段{$r.title|str_cut=###,32}时间{$r.createtime|... 阅读全文
posted @ 2014-07-28 14:51 狂奔的蜗牛Snails 阅读(1073) 评论(0) 推荐(0) 编辑
摘要:问题描述:想要在F:\PHPnow-1.5.6\htdocs\yt\Yourphp\Tpl\ 目录下新增一个Service\Default(A) 和Service\new(B) 两个主题, 系统默认情况下是读取模板是new(因为new是与系统默认读取前台模板保一致,也就是Home:F:\PHP... 阅读全文
posted @ 2014-07-01 10:32 狂奔的蜗牛Snails 阅读(189) 评论(0) 推荐(0) 编辑
摘要:html代码 php代码public function index(){ $m = M('service'); ... 阅读全文
posted @ 2014-06-28 10:39 狂奔的蜗牛Snails 阅读(651) 评论(0) 推荐(0) 编辑
摘要:HTML代码 //指向地址 //关键词php代码 \Yourphp\Lib\Action\Home\SearchAction.class.php * @copyright Copyright (c) 2008-2011 (http://www.yourphp.cn)... 阅读全文
posted @ 2014-05-28 10:40 狂奔的蜗牛Snails 阅读(784) 评论(0) 推荐(0) 编辑
摘要:1.插入单条数据data[0][cardid]=_POST['cardid']; data[0][name]=_POST['name']; data[0][mobile]=_POST['mobile']; data[0][email]=_POST... 阅读全文
posted @ 2014-05-27 10:16 狂奔的蜗牛Snails 阅读(301) 评论(0) 推荐(0) 编辑
摘要:参考文件Yourphp\Lib\Action\User\PostAction.class.phppublic function add() { form=newForm();form->isadmin=0; $form->doThumb = ... 阅读全文
posted @ 2014-05-26 17:43 狂奔的蜗牛Snails 阅读(240) 评论(0) 推荐(0) 编辑
摘要:源代码 {$key}. {$r.title}(阅读 {$r.hits}次) 新代码一:{php $sql='select * from yt_article where catid=37';} {$key}. {$r.title}(阅读 {$r.hits}次)还有一种方法是 filed ="*" 调用全部字段 阅读全文
posted @ 2014-03-12 10:49 狂奔的蜗牛Snails 阅读(205) 评论(0) 推荐(0) 编辑
摘要:1.前台页面提交出现__NOLAYOUT__解决把法: 在Public 文件下找到success.html,error.html,exception.html 头部去掉就可以 阅读全文
posted @ 2013-06-18 14:50 狂奔的蜗牛Snails 阅读(249) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示