上一页 1 ··· 4 5 6 7 8 9 下一页

2013年7月10日

摘要: 1、找到includes 文件夹下的 cls_template.php function fetch_str函数2、只留下以下代码 1 function fetch_str($source) 2 3 { 4 5 if (!defined('ECS_ADMIN')) 6 7 { 8 9 $source = $this->smarty_prefilter_preCompile($source);10 11 }12 13 return preg_r... 阅读全文
posted @ 2013-07-10 16:37 unifyyeteng 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 1、找到 category.php 和goods.php 两个文件修改:$smarty->assign('categories', get_categories_tree(0));// 分类树get_categories_tree(0)要为0才会显示所有分类,或连0也不要,否则点到子栏目就只显示子栏目//改好后要清除缓存 阅读全文
posted @ 2013-07-10 16:36 unifyyeteng 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 1、在library文件夹中建立一个名为index_comment.lbi文件2、输入以下代码 1 2 table('comment') . 7 ' AS a,'. $GLOBALS['ecs']->table('goods') .'AS b WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and a.id_value=b.goods_id '. 8 ' ORDER BY a.add_time DESC'; 9 if ($ 阅读全文
posted @ 2013-07-10 16:31 unifyyeteng 阅读(370) 评论(0) 推荐(0) 编辑

2013年7月8日

摘要: 下文转自http://bbs.ecshop.com/thread-1131529-1-1.htmlECSHOP商品评论条件修改,修改为购买过该商品多少次,就只能评价多少次。不需要修改数据库,原理简介:先在后台商店设置->基本->评论条件为只有购买过此商品的会员才能评价ECSHOP原有机制是只要购买过一次,就可以无限评价。这里老杨加入了简单判断,判断会员对此商品是否进行过评价,获取评价数,再获取此商品的购物次数。评价数不能大于或等于购物次数。老杨官网原帖:http://www.lyecs.com/article/w-41.html修改如下:打开comment.php找到:(注意,这文 阅读全文
posted @ 2013-07-08 21:02 unifyyeteng 阅读(369) 评论(0) 推荐(0) 编辑

2013年6月21日

摘要: 1、输入序列号:# 序列号:# 1330-1082-3503-2270-3738-6738# 1330-1776-8671-6289-7706-2916# 1330-1567-6599-8775-4155-37452、运行:C:\WINDOWS\system32\drivers\etc3、在hosts文件最下方输入下面内容127.0.0.1 activate.adobe.com127.0.0.1 activate.adobe.com127.0.0.1 practivate.adobe.com127.0.0.1 ereg.adobe.com127.0.0.1 activate.wip3.adob 阅读全文
posted @ 2013-06-21 20:14 unifyyeteng 阅读(634) 评论(0) 推荐(0) 编辑

2013年5月12日

摘要: View Code 1 //1. 首先在 function.php 中新增函数 catch_that_image 2 function catch_that_image() { 3 global $post, $posts; 4 $first_img = ''; 5 ob_start(); 6 ob_end_clean(); 7 $output = preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_conten 阅读全文
posted @ 2013-05-12 01:59 unifyyeteng 阅读(112) 评论(0) 推荐(0) 编辑

2013年2月1日

摘要: textarea -> overflow-y:hidden后:1. 在ie6和8中默认最低宽2px,所以给上的宽度会加上22. 谷歌43. ie7和火狐标准<input type="text"> ie6和7会居上和居下各一像素,左浮动后可解决,暂未找出其它解决办法 阅读全文
posted @ 2013-02-01 13:59 unifyyeteng 阅读(130) 评论(0) 推荐(0) 编辑

2013年1月19日

摘要: 1 <style type="text/css"> 2 *{margin:0; padding:0} 3 a{text-decoration: none} 4 5 a{display:inline-block;width:200px; 6 height:34px; 7 line-height:34px; 8 font-weight:bold; 9 text-indent:3em; 10 background:yellow;11 }12 13 a.a1{display:inline-block;14 width:200px; 15 ... 阅读全文
posted @ 2013-01-19 17:15 unifyyeteng 阅读(160) 评论(0) 推荐(0) 编辑
摘要: <style type="text/css"> body{font-size:20px;}</style></head><body> <div style="width:100px;height:2px;background:green"></div></body>可以设置font-size:0px来解决 阅读全文
posted @ 2013-01-19 16:05 unifyyeteng 阅读(171) 评论(0) 推荐(0) 编辑

2013年1月18日

摘要: aaaaaaaaaaaaaaaaaaaaaaaa b ccc中中中 下面所有浏览器指的是谷歌、火狐、ie6、7、8 阅读全文
posted @ 2013-01-18 09:48 unifyyeteng 阅读(577) 评论(0) 推荐(1) 编辑
上一页 1 ··· 4 5 6 7 8 9 下一页

导航