上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 24 下一页
摘要: 1‘标题:{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}2.搜索关键词:<meta name="keywords" content="{$SEO['keyword'] 阅读全文
posted @ 2016-06-10 13:49 怪咖咖 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 四、尾部包含1、包含尾部文件:{template "content","footer"}2、栏目列表调用(关于我们| 联系方式| 版权声明| 招聘信息|):{pc:content action="category" catid="1" num="15" siteid="$siteid" order= 阅读全文
posted @ 2016-06-10 13:49 怪咖咖 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 1.index.html是默认的首页{template "content","header"}引入头部的模块{template "content","footer"}引入尾部的模块{template "content","header"}是复制了header.html的内容,也可以引入其他模块的公共 阅读全文
posted @ 2016-06-10 13:48 怪咖咖 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 1、复制D:\WWW\phpcms\phpcms\templates\目录下的default文件粘贴在当前目录下,并重命名为新模板名字(youpinzhiyuan2012) 2、打开D:\WWW\phpcms\phpcms\templates\youpinzhiyuan2012目录下的config. 阅读全文
posted @ 2016-06-10 13:47 怪咖咖 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 当我们创建了自定义函数,并且了解了可变函数的用法,为了确保程序调用的函数是存在的,经常会先使用function_exists判断一下函数是否存在。同样的method_exists可以用来检测类的方法是否存在。 阅读全文
posted @ 2016-06-07 21:16 怪咖咖 阅读(641) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-06-04 11:31 怪咖咖 阅读(106) 评论(0) 推荐(0) 编辑
摘要: <ul>:无序列表 <ol>:有序列表 <li>:行。 想要去掉前面的序号和点可以在<ol>或<ul>style中用list-style: none,想让内容居中,必须要加 text-align: center; padding: 0px; 阅读全文
posted @ 2016-05-30 16:54 怪咖咖 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 父级用:position: relative; 子级才能用:position: absolute; relative里面用margin调位置; absolute里面用top、left、right、bottom调位置。 阅读全文
posted @ 2016-05-28 11:43 怪咖咖 阅读(130) 评论(0) 推荐(0) 编辑
摘要: MYSQL中的语句 decimal(8,2):最多存10位数的数字,小数点后保存两位。如:999999.99 阅读全文
posted @ 2016-05-26 10:36 怪咖咖 阅读(133) 评论(0) 推荐(0) 编辑
摘要: <?php//文件名:Factory namespace IMooc; class Factory { //工程模式 static function creatDatabase() { $db = new Database;//如果Database的各项参数发生了变化,只需要在这里修改,不用去修改所有new出来的对象。 return $db... 阅读全文
posted @ 2016-05-24 14:30 怪咖咖 阅读(150) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 24 下一页