https://www.zzy.cn/index.php 流金岁月 2018/9/20 13:26:34 jijinkeji smx15821183928 [!--pagetitle--]_<?=$public_r[sitename]?> 列表页:$class_r[classid] 内容页:$navinfor['id'] 当前栏目classid : $GLOBALS[navclassid] 栏目别名: 当前栏目的父栏目:$class_r[classname][$class_r[$GLOBALS[navclassid]][bclassid]] 输出父栏目id 下载地址:http://www.shwzzz.cn/news/xuetang/782.html 分页函数所在地址:静态列表 e\class/t_functions.php 函数名:sys_ShowListMorePage 动态列表e/class/connect.php 函数名 page1 Initials='$add[Initials]', 获取当前栏目地址 $cr['classid']=2; $classurl=sys_ReturnBqClassname($cr,9); 留言后返回页面 mysql 查询当天数据 SELECT * FROM `jijin_ecms_news` where date_format(from_UNIXTIME(`newstime`),'%Y-%m-%d') = date_format(now(),'%Y-%m-%d'); 文章调用语句直接复制 query($about_sql); while($about_row=$empire->fetch($about_query)){ if($about_row[id]==$navinfor['id']){ $curr_a='class="curr_a"'; }else{ $curr_a=''; } ?>
  • href="">
  • //select id,classid,ttid,onclick,smalltext,diggtop from jijin_ecms_news where to_days(newstime) = to_days(now()) order by newstime DESC limit 10 查询当天点击量最高的信息 // query($class_pro_sql); while($class_pro_row=$empire->fetch($class_pro_query)){ $class_pro_classurl=sys_ReturnBqClassname($class_pro_row,9); if($class_pro_row[classid]==$GLOBALS[navclassid]){ $curr_a='class="curr_a"'; }else{ $curr_a=''; } ?>
  • href="">
  • e/enews/index.php//邮件 //////////////////////////// select title,jdlx from clvyou_ecms_jingdian group by jdlx limit 20; //查询字段为jdlx不重复 http://www.phome.net/doc/manual/editor/html/fieldand.html ////////////////////////////////////////////////////// //新闻列表标题隔行换色//在列表页模板的循环体内list.var1 if($no%2==0){ $listtemp="
  • [!--title--] [!--newstime--]
  • "; }else{ $listtemp="
  • [!--title--] [!--newstime--]
  • "; } //////////////////////////////////////////////
  • >
  • 首页经常调用的内容简介 fetch1("select smalltext from {$dbtbpre}ecms_news where title='BBA内容简介' limit 1"); echo $this_r['smalltext']; ?> 如何用灵动标签循环指定的记录条数 //图示循环0,5条记录 [e:loop={80,'0,5',0,0}]
    [/e:loop] //查找一个父栏目下面的子栏目 $sql="select classid,classname,classpath from {$dbtbpre}enewsclass where featherclass like '|1|%' and islast=1"; 会员登陆修改e/class/user.php文件:搜索(第二处) $location="../member/cp/"; 改为 $location="/"; //提交会员反馈信息等 如何跳转到指定页面 验证用户是否登陆 if(getcvar('mluserid')) { //echo"已登录"; } else { printerror2('本栏目需要会员级别才可以浏览','/'); } 列表分页函数e/class/t_functions.php sys_showlistmorepage 列表页: $scs=$empire->gettotal("select count(*) as total from phome_enewsfava where id='$r[id]' and classid='$r[classid]'"); $listtemp='收藏数:'.$scs; 按时间分类:http://bbs.phome.net/showthread-13-259284-2.html 不允许删除的栏目信息 if($classid==1||$classid==2||$classid==3||$classid==4||$classid==5||$classid==9){ printerror('固定信息不能删除','',1,0,1); //echo ''; exit; } 帝国系统字段简化 ---------------------------------------------------------------------------------- 标题字段 title
    $tts":""?>
    ----------------------------------------------------------------------------------- 特殊属性字段 无连接
    (多个请用","隔开)
    ---------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- 特殊属性字段 带有超链接
    关键字   : (多个请用","隔开)
    外部链接: (填写后信息连接地址将为此链接)
    ---------------------------------------------------------------------------------------- "; } } } ?> morepic 上传图片:
    您一共可以上传 个图片文件,每个不超过2MB。
    上传图片:
    您已经上传了 个图片文件,还可以上传 个图片文件,每个不超过2MB。

    "; $morepicpath.= "
    " ; } $morepicnum=$j; $morepicpath="
    ".$morepicpath."
    "; echo $morepicpath; ?>
    上传图片:
    您一共可以上传 个图片文件,每个不超过2MB。
    https://www.shibangchina.com/ http://www.whirlpool.com.cn/ http://gree.com/pczwb/xwzx/index.shtml http://www.auxgroup.com/index.php/welcome