随笔分类 - yourphp
摘要:{: Form−>editor(array(′field′=>′content′,′moduleid′=>′231′,′setup′=>array(′toolbar′=>′full′,′flashupload′=>′1′)),vo[desc])}form.php如: ...
阅读全文
摘要:print_r($this->Config);
阅读全文
摘要: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...
阅读全文
摘要:页面代码: product_list.html提供分类的id,找出分类的名称{Categorys[r[catid]]['catname']}
阅读全文
摘要:ThinkTemplate.class.php :去掉版权(针对html代码)ContentReplaceBehavior.class.php:一些默认标签的路劲,如:__PUBLIC__,../Public,__URL__,__ROOT__(针对php代码)
阅读全文
摘要:m=M(′serviceloginlog′);res =m−>where(′cardid=′._SESSION['card_id'])->order('time desc')->select(); foreach(resask=>$v){ ...
阅读全文
摘要:故障描述 请简单描述下机器故障
阅读全文
摘要:加入css 没有这段js的话,无法刷新验证码html代码
阅读全文
摘要:yt_attachment编辑器图片上传存放的表
阅读全文
摘要:实例化页面代码1.时间代码:{$vo.createtime|toDate=###,'Y-m-d H:i:s'}2.连接:{:U('Pro/arr')},{:URL()}如:打印出变量{phpdump($r)}截取字段{$r.title|str_cut=###,32}时间{$r.createtime|...
阅读全文
摘要:问题描述:想要在F:\PHPnow-1.5.6\htdocs\yt\Yourphp\Tpl\ 目录下新增一个Service\Default(A) 和Service\new(B) 两个主题, 系统默认情况下是读取模板是new(因为new是与系统默认读取前台模板保一致,也就是Home:F:\PHP...
阅读全文
摘要:html代码 php代码public function index(){ $m = M('service'); ...
阅读全文
摘要:HTML代码 //指向地址 //关键词php代码 \Yourphp\Lib\Action\Home\SearchAction.class.php * @copyright Copyright (c) 2008-2011 (http://www.yourphp.cn)...
阅读全文
摘要:1.插入单条数据data[0][′cardid′]=_POST['cardid']; data[0][′name′]=_POST['name']; data[0][′mobile′]=_POST['mobile']; data[0][′email′]=_POST...
阅读全文
摘要:参考文件Yourphp\Lib\Action\User\PostAction.class.phppublic function add() { form=newForm();form->isadmin=0; $form->doThumb = ...
阅读全文
摘要:源代码 {$key}. {$r.title}(阅读 {$r.hits}次) 新代码一:{php $sql='select * from yt_article where catid=37';} {$key}. {$r.title}(阅读 {$r.hits}次)还有一种方法是 filed ="*" 调用全部字段
阅读全文
摘要:1.前台页面提交出现__NOLAYOUT__解决把法: 在Public 文件下找到success.html,error.html,exception.html 头部去掉就可以
阅读全文