管理专题 > 增加专题"; $postword='增加专题'; //初使化数据 $r[reorder]="newstime DESC"; $r[maxnum]=0; $r[ztnum]=25; $r[zttype]=".html"; $r[newline]=10; $r[hotline]=10; $r[goodline]=10; $r[hotplline]=10; $r[firstline]=10; $pripath='s/'; //复制专题 $docopy=RepPostStr($_GET['docopy'],1); if($docopy&&$enews=="AddZt") { $copyclass=1; } $ecmsfirstpost=1; if($enews=='EditZt') { $filepass=$ztid; } else { $filepass=ReturnTranFilepass(); } //修改专题 if($enews=="EditZt"||$copyclass) { $ecmsfirstpost=0; if($copyclass) { $thisdo="复制"; } else { $thisdo="修改"; } $r=$empire->fetch1("select * from {$dbtbpre}enewszt where ztid='$ztid'"); $addr=$empire->fetch1("select * from {$dbtbpre}enewsztadd where ztid='$ztid'"); $usernames=substr($r['usernames'],1,-1); $url="管理专题 > ".$thisdo."专题:".$r[ztname]; $postword=$thisdo.'专题'; //专题目录 $mycr=GetPathname($r[ztpath]); $pripath=$mycr[1]; $ztpath=$mycr[0]; //复制专题 if($copyclass) { $r[ztname].='(1)'; $ztpath.='1'; } } //列表模板 $msql=$empire->query("select mid,mname from {$dbtbpre}enewsmod order by myorder,mid"); while($mr=$empire->fetch($msql)) { $listtemp_options.=""; $l_sql=$empire->query("select tempid,tempname from ".GetTemptb("enewslisttemp")." where modid='$mr[mid]'"); while($l_r=$empire->fetch($l_sql)) { if($l_r[tempid]==$r[listtempid]) {$l_d=" selected";} else {$l_d="";} $listtemp_options.=""; } } //栏目 $options=ShowClass_AddClass("",$r[classid],0,"|-",0,0); //封面模板 $classtempsql=$empire->query("select tempid,tempname from ".GetTemptb("enewsclasstemp")." order by tempid"); while($classtempr=$empire->fetch($classtempsql)) { $select=""; if($r[classtempid]==$classtempr[tempid]) { $select=" selected"; } $classtemp.=""; } //评论模板 $pltemp=''; $pltempsql=$empire->query("select tempid,tempname from ".GetTemptb("enewspltemp")." order by tempid"); while($pltempr=$empire->fetch($pltempsql)) { $select=""; if($r[pltempid]==$pltempr[tempid]) { $select=" selected"; } $pltemp.=""; } //分类 $zcstr=""; $zcsql=$empire->query("select classid,classname from {$dbtbpre}enewsztclass order by classid"); while($zcr=$empire->fetch($zcsql)) { $select=""; if($zcr[classid]==$r[zcid]) { $select=" selected"; } $zcstr.=""; } //优化方案 $yh_options=''; $yhsql=$empire->query("select id,yhname from {$dbtbpre}enewsyh order by id"); while($yhr=$empire->fetch($yhsql)) { $select=''; if($r[yhid]==$yhr[id]) { $select=' selected'; } $yh_options.=""; } $from=(int)$_GET['from']; //当前使用的模板组 $thegid=GetDoTempGid(); ?> 增加专题
位置:

gettotal("select count(*) as total from {$dbtbpre}enewsztf"); if($ztfnum) { $editorfnum=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsztf where fform='editor' limit 1"); if($editorfnum) { include('../ecmseditor/eshoweditor.php'); $loadeditorjs=ECMS_ShowEditorJS('../ecmseditor/infoeditor/'); } ?>
>
基本属性
专题名称(*)
可更新专题的用户 (多个用户用“,”逗号隔开)
隶属信息栏目 (选择父栏目,将应用于子栏目)
存放文件夹(*)
  上层目录 本专题目录  
根目录/
使用优化方案
文件扩展名
绑定域名 (如不绑定,请留空.后面无需加"/")
所属分类
专题缩略图
网页关键字
专题简介
排序 (值越小越前面)
显示到导航 > 是 > 否(如:专题导航标签)
信息可选择 > 是 > 否(如果选择否那么增加信息时不会显示这个专题)
过期时间 (超过此期限不再更新和评论,空为不限制)
评论 > 开启 > 关闭,评论是否审核: > 是
页面设置
页面显示模式 > 封面式 > 列表式 > 页面内容式
  说明:封面式要选择封面模板、列表式要选择列表模板、内容式要录入页面内容
封面模板
所用列表模板
评论模板
列表式设置
排序方式
显示总记录数 (0为显示所有记录)
每页显示记录数
页面内容(支持标签同封面模板) 请将内容复制到Dreamweaver(推荐)或者使用模板在线编辑进行可视化编辑
自定义字段设置
专题自定义字段调用说明
内置调用专题自定义字段函数:ReturnZtAddField(专题ID,字段名),专题ID=0为当前专题ID。取多个字段内容可用逗号隔开,例子:
取得'classtext'字段内容:$value=ReturnZtAddField(0,'classtext'); //$value就是字段内容。
取得多个字段内容:$value=ReturnZtAddField(1,'ztid,classtext'); //$value['classtext']才是字段内容。