<?php
require("../class/connect.php");
include("../class/db_sql.php");
include("../class/config.php");
include("../class/functions.php");
$link=db_connect();
$empire=new mysqlquery();
$logininid=getcvar('loginuserid');
$loginin=getcvar('loginusername');
$loginrnd=getcvar('loginrnd');
$loginlevel=getcvar('loginlevel');
is_login($logininid,$loginin,$loginrnd);
//验证权限
CheckLevel($logininid,$loginin,$classid,"setmclass");
$enews=$_POST['enews'];
if($enews=="SetMoreClass")
{
	include("../class/com_functions.php");
	SetMoreClass($_POST,$logininid,$loginin);
}
$newshowdate="";
$hotshowdate="";
$goodshowdate="";
$hotplshowdate="";
$firstshowdate="";
$r[newline]=10;
$r[newstrlen]=26;
$r[hotline]=10;
$r[hotstrlen]=26;
$r[goodline]=10;
$r[goodstrlen]=26;
$r[hotplline]=10;
$r[hotplstrlen]=26;
$r[firstline]=10;
$r[firststrlen]=26;
$url="<a href=SetMoreClass.php>批量设置栏目</a>";
//系统模型
$m_sql=$empire->query("select mid,mname from {$dbtbpre}enewsmod order by mid");
while($m_r=$empire->fetch($m_sql))
{
	if($m_r[mid]==$r[modid])
	{$m_d=" selected";}
	else
	{$m_d="";}
	$mod_options.="<option value=".$m_r[mid].$m_d.">".$m_r[mname]."</option>";
	//列表模板
	$listtemp_options.="<option value=0 style='background:#99C4E3'>".$m_r[mname]."</option>";
	$lt_sql=$empire->query("select tempid,tempname from ".GetTemptb("enewslisttemp")." where modid='$m_r[mid]'");
	while($lt_r=$empire->fetch($lt_sql))
	{
		if($lt_r[tempid]==$r[listtempid])
		{$lt_d=" selected";}
		else
		{$lt_d="";}
		$listtemp_options.="<option value=".$lt_r[tempid].$lt_d."> |-".$lt_r[tempname]."</option>";
	}
	//搜索模板
	$searchtemp.="<option value=0 style='background:#99C4E3'>".$m_r[mname]."</option>";
	$st_sql=$empire->query("select tempid,tempname from ".GetTemptb("enewssearchtemp")." where modid='$m_r[mid]'");
	while($st_r=$empire->fetch($st_sql))
	{
		if($st_r[tempid]==$r[searchtempid])
		{$st_d=" selected";}
		else
		{$st_d="";}
		$searchtemp.="<option value=".$st_r[tempid].$st_d."> |-".$st_r[tempname]."</option>";
	}
	$newstemp_options.="<option value=0 style='background:#99C4E3'>".$m_r[mname]."</option>";
	$nt_sql=$empire->query("select tempid,tempname from ".GetTemptb("enewsnewstemp")." where modid='$m_r[mid]'");
	while($nt_r=$empire->fetch($nt_sql))
	{
		if($nt_r[tempid]==$r[newstempid])
		{$nt_d=" selected";}
		else
		{$nt_d="";}
		$newstemp_options.="<option value=".$nt_r[tempid].$nt_d."> |-".$nt_r[tempname]."</option>";
	}
}
//封面模板
$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.="<option value='".$classtempr[tempid]."'".$select.">".$classtempr[tempname]."</option>";
}
//js模板
$jstempsql=$empire->query("select tempid,tempname from ".GetTemptb("enewsjstemp")." order by tempid");
while($jstempr=$empire->fetch($jstempsql))
{
	$select="";
	if($r[jstempid]==$jstempr[tempid])
	{
		$select=" selected";
	}
	$jstemp.="<option value='".$jstempr[tempid]."'".$select.">".$jstempr[tempname]."</option>";
}
//--------------------操作的栏目
$fcfile="../data/fc/ListEnews.php";
$do_class="<script src=../data/fc/cmsclass.js></script>";
if(!file_exists($fcfile))
{$do_class=ShowClass_AddClass("","n",0,"|-",0,0);}
db_close();
$empire=null;
//当前使用的模板组
$thegid=GetDoTempGid();
//风格
$loginadminstyleid=(int)getcvar('loginadminstyleid');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>批量设置栏目</title>
<link href="adminstyle/<?=$loginadminstyleid?>/adminstyle.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
  <tr>
    <td height="25">位置：<?=$url?></td>
  </tr>
</table>

<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  <form name="form1" method="post" action="SetMoreClass.php" onsubmit="return confirm('确认要操作?');">
    <tr class="header"> 
      <td height="25" colspan="2"><div align="center">批量设置栏目属性</div></td>
    </tr>
    <tr> 
      <td width="23%" height="25" valign="top" bgcolor="#FFFFFF">
<div align="center">
          <select name="classid[]" size="73" multiple id="classid[]" style="width:180">
            <?=$do_class?>
          </select>
          <br>
          选择多个栏目请用CTRL/SHIFT</div></td>
      <td width="77%" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="3" cellspacing="1" class="tableborder">
          <tr bgcolor="#FFFFFF"> 
            <td height="25"><div align="center">修改</div></td>
            <td colspan="2">设置项目</td>
          </tr>
          <tr class="header"> 
            <td width="6%" height="25"> <div align="center"></div></td>
            <td colspan="2"><font class=tabcolor><strong>基本属性设置</strong></font></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"> <div align="center"> 
                <input name="doclasstype" type="checkbox" id="doclasstype" value="1">
              </div></td>
            <td width="23%" bgcolor="#FFFFFF">栏目文件扩展名</td>
            <td width="71%" bgcolor="#FFFFFF"> <input name="classtype" type="text" id="classtype" value=".html" size="10"> 
              <select name="select" onchange="document.form1.classtype.value=this.value">
                <option value=".html">扩展名</option>
                <option value=".html">.html</option>
                <option value=".htm">.htm</option>
                <option value=".php">.php</option>
                <option value=".shtml">.shtml</option>
              </select> </td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"> <div align="center"> 
                <input name="dosearchtempid" type="checkbox" id="dosearchtempid" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">搜索模板</td>
            <td bgcolor="#FFFFFF"> <select name="searchtempid" id="searchtempid">
                <option value="0">使用默认模板 </option>
                <?=$searchtemp?>
              </select>
              <input type="button" name="Submit62" value="管理搜索模板" onclick="window.open('template/ListSearchtemp.php?gid=<?=$thegid?>');"></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"> <div align="center"> 
                <input name="dolistorder" type="checkbox" id="dosearchtempid3" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">管理信息排序方式</td>
            <td bgcolor="#FFFFFF">按字段: 
              <input name="listorderf" type="text" id="listorderf" value="id" size="16"> 
              <select name="select4" onchange="document.form1.listorderf.value=this.value">
                <option>选择</option>
                <option value="newstime">发布时间</option>
                <option value="id">ID</option>
                <option value="onclick">点击率</option>
                <option value="totaldown">下载数</option>
                <option value="plnum">评论数</option>
              </select>
              , 排列方式: 
              <select name="listorder" id="listorder">
                <option value="DESC"<?=$r[listorder]=="DESC"?' selected':''?>>倒序排序</option>
                <option value="ASC"<?=$r[listorder]=="ASC"?' selected':''?>>顺序排序</option>
              </select></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"> <div align="center"> 
                <input name="doreorder" type="checkbox" id="doreorder" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">列表式页面排序方式</td>
            <td bgcolor="#FFFFFF">按字段: 
              <input name="reorderf" type="text" id="reorderf" value="newstime" size="16"> 
              <select name="select5" onchange="document.form1.reorderf.value=this.value">
                <option>选择</option>
                <option value="newstime">发布时间</option>
                <option value="id">ID</option>
                <option value="onclick">点击率</option>
                <option value="totaldown">下载数</option>
                <option value="plnum">评论数</option>
              </select>
              , 排列方式: 
              <select name="reorder" id="select">
                <option value="DESC"<?=$r[reorder]=="DESC"?' selected':''?>>倒序排序</option>
                <option value="ASC"<?=$r[reorder]=="ASC"?' selected':''?>>顺序排序</option>
              </select></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"> <div align="center"> 
                <input name="dolistdt" type="checkbox" id="dolistdt" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">列表模式</td>
            <td bgcolor="#FFFFFF"> <input type="radio" name="listdt" value="0"<?=$r[listdt]==0?' checked':''?>>
              静态列表 
              <input type="radio" name="listdt" value="1"<?=$r[listdt]==1?' checked':''?>>
              动态列表<font color="#666666"> (交互性的列表可选择动态)</font></td>
          </tr>
          <tr> 
            <td height="24" bgcolor="#FFFFFF"> <div align="center"> 
                <input name="doshowdt" type="checkbox" id="doshowdt" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">内容页模式</td>
            <td bgcolor="#FFFFFF"> <input type="radio" name="showdt" value="0"<?=$r[showdt]==0?' checked':''?>>
              静态页面 
              <input type="radio" name="showdt" value="1"<?=$r[showdt]==1?' checked':''?>>
              动态刷新<font color="#666666"> (交互性的信息可选择动态刷新)</font></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"> <div align="center"> 
                <input name="doshowclass" type="checkbox" id="doshowclass" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">是否显示到导航</td>
            <td bgcolor="#FFFFFF"> <input type="radio" name="showclass" value="0"<?=$r[showclass]==0?' checked':''?>>
              是 
              <input type="radio" name="showclass" value="1"<?=$r[showclass]==1?' checked':''?>>
              否<font color="#666666">&nbsp; </font><font color="#666666">(如：导航标签，地图标签)</font></td>
          </tr>
          <tr class="header"> 
            <td height="25"> <div align="center"></div></td>
            <td colspan="2"><strong>选项设置[大栏目]</strong></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="doclasstempid" type="checkbox" id="doclasstempid" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">封面模板</td>
            <td bgcolor="#FFFFFF"><select name="classtempid">
                <?=$classtemp?>
              </select>
              <input type="button" name="Submit62232" value="管理封面模板" onclick="window.open('template/ListClasstemp.php?gid=<?=$thegid?>');"> 
            </td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"> <div align="center"> 
                <input name="doislist" type="checkbox" id="doshowclass3" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">列表式</td>
            <td bgcolor="#FFFFFF"> <input name="islist" type="checkbox" id="islist" value="1"<?=$islist?>>
              是</td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"> <div align="center"> 
                <input name="doblisttempid" type="checkbox" id="doislist" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">所属列表模板</td>
            <td bgcolor="#FFFFFF"><select name="blisttempid" id="select2">
                <?=$listtemp_options?>
              </select>
              <input type="button" name="Submit62224" value="管理列表模板" onclick="window.open('template/ListListtemp.php?gid=<?=$thegid?>');"> 
            </td>
          </tr>
          <tr>
            <td height="25" bgcolor="#FFFFFF"><div align="center">
                <input name="dobdtlisttempid" type="checkbox" id="dobdtlisttempid" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">动态列表模板</td>
            <td bgcolor="#FFFFFF"><select name="bdtlisttempid">
                <?=$listtemp_options?>
              </select>
              <input type="button" name="Submit62225" value="管理列表模板" onclick="window.open('template/ListListtemp.php?gid=<?=$thegid?>');"> 
            </td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"> <div align="center"> 
                <input name="dobmaxnum" type="checkbox" id="doblisttempid" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">显示总记录数</td>
            <td bgcolor="#FFFFFF"><input name="bmaxnum" type="text" id="bmaxnum" value="0" size="5">
              条<font color="#666666">(0为显示所有记录)</font></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"> <div align="center"> 
                <input name="doblencord" type="checkbox" id="doblencord" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">每页显示记录数</td>
            <td bgcolor="#FFFFFF"><input name="blencord" type="text" id="blencord" value="25" size="5">
              条</td>
          </tr>
          <tr class="header"> 
            <td height="25"> <div align="center"></div></td>
            <td colspan="2"><strong>选项设置[终极栏目]</strong></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="dolisttempid" type="checkbox" id="dolisttempid" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">所属列表模板</td>
            <td bgcolor="#FFFFFF"><select name="listtempid" id="listtempid">
                <?=$listtemp_options?>
              </select>
              <input type="button" name="Submit6222" value="管理列表模板" onclick="window.open('template/ListListtemp.php?gid=<?=$thegid?>');"></td>
          </tr>
		  <tr>
            <td height="25" bgcolor="#FFFFFF"><div align="center">
                <input name="dodtlisttempid" type="checkbox" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">动态列表模板</td>
            <td bgcolor="#FFFFFF"><select name="dtlisttempid">
                <?=$listtemp_options?>
              </select>
              <input type="button" name="Submit62226" value="管理列表模板" onclick="window.open('template/ListListtemp.php?gid=<?=$thegid?>');"> 
            </td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="donewstempid" type="checkbox" id="donewstempid" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">所属内容模板</td>
            <td bgcolor="#FFFFFF"><select name="newstempid" id="newstempid">
                <?=$newstemp_options?>
              </select>
              <input type="button" name="Submit62222" value="管理内容模板" onclick="window.open('template/ListNewstemp.php?gid=<?=$thegid?>');">
              ( 
              <input name="tobetempinfo" type="checkbox" id="tobetempinfo" value="1">
              应用于已生成的信息)</td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="domaxnum" type="checkbox" id="dobmaxnum" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">显示总记录数</td>
            <td bgcolor="#FFFFFF"><input name="maxnum" type="text" id="maxnum" value="0" size="5">
              条<font color="#666666">(0为显示所有记录)</font></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="dolencord" type="checkbox" id="domaxnum" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">每页显示记录数</td>
            <td bgcolor="#FFFFFF"><input name="lencord" type="text" id="lencord" value="25" size="5">
              条</td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="dolink_num" type="checkbox" id="dolencord" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">相关链接显示记录数</td>
            <td bgcolor="#FFFFFF"><input name="link_num" type="text" id="link_num" value="10" size="5">
              条</td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="donewspath" type="checkbox" id="dolink_num" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">信息页目录存放形式</td>
            <td bgcolor="#FFFFFF"><input name="newspath" type="text" id="newspath" value="<?=$r[newspath]?>" size="10"> 
              <select name="select2" onchange="document.form1.newspath.value=this.value">
                <option value="Y-m-d">选择</option>
                <option value="Y-m-d">2005-01-27</option>
                <option value="Y/m-d">2005/01-27</option>
                <option value="Y/m/d">2005/01/27</option>
                <option value="Ymd">20050127</option>
                <option value="">不设置目录</option>
              </select> <font color="#666666">(如Y-m-d,Y/m-d,Ymd等形式)</font></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="dofilename_qz" type="checkbox" id="donewspath" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">信息页文件名前缀</td>
            <td bgcolor="#FFFFFF"> <input name="filename_qz" type="text" id="filename_qz" value="<?=$r[filename_qz]?>" size="15"> 
            </td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="dofilename" type="checkbox" id="dofilename" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">信息页文件命名规则</td>
            <td bgcolor="#FFFFFF"><input name="filename" type="radio" value="0" checked>
              信息ID 
              <input type="radio" name="filename" value="1">
              time() 
              <input type="radio" name="filename" value="2">
              md5()
              <input type="radio" name="filename" value="3">
              目录</td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="dofiletype" type="checkbox" id="dofiletype" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">信息页文件扩展名</td>
            <td bgcolor="#FFFFFF"><input name="filetype" type="text" id="filetype" value=".html" size="10"> 
              <select name="select3" onchange="document.form1.filetype.value=this.value">
                <option value=".html">扩展名</option>
                <option value=".html">.html</option>
                <option value=".htm">.htm</option>
                <option value=".php">.php</option>
                <option value=".shtml">.shtml</option>
              </select>
              (如.html,.xml,.htm等)</td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="doopenpl" type="checkbox" id="doopenpl" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">是否开放评论功能</td>
            <td bgcolor="#FFFFFF"><input name="openpl" type="radio" value="0" checked<?=$openpl0?>>
              是 
              <input type="radio" name="openpl" value="1"<?=$openpl1?>>
              否</td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="doopenadd" type="checkbox" id="doopenadd" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">开放投稿功能</td>
            <td bgcolor="#FFFFFF"><input name="openadd" type="radio" value="0" checked<?=$openadd0?>>
              是 
              <input type="radio" name="openadd" value="1"<?=$openadd1?>>
              否</td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="dochecked" type="checkbox" id="dochecked" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">信息是否直接审核</td>
            <td bgcolor="#FFFFFF"><input name="checked" type="checkbox" id="checked" value="1"<?=$checked?>>
              直接审核</td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="dodoctime" type="checkbox" id="dodoctime" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">归档时间</td>
            <td bgcolor="#FFFFFF">归档大于 
              <input name="doctime" type="text" id="doctime" value="100" size="6">
              天的信息<font color="#666666">(0为不归档)</font></td>
          </tr>
          <tr class="header"> 
            <td height="25"> <div align="center"></div></td>
            <td colspan="2"><strong>特殊模型设置</strong></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="dodown_num" type="checkbox" id="dodown_num" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">下载/影视模型</td>
            <td bgcolor="#FFFFFF">每行显示 
              <input name="down_num" type="text" id="link_num3" value="1" size="5">
              个下载地址</td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="doonline_num" type="checkbox" id="do3" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">影视模型</td>
            <td bgcolor="#FFFFFF">每行显示 
              <input name="online_num" type="text" id="down_num" value="1" size="5">
              个在线观看地址</td>
          </tr>
          <tr class="header"> 
            <td height="25"> <div align="center"></div></td>
            <td colspan="2"><strong>JS调用设置</strong></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="dojstempid" type="checkbox" id="doonline_num" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">所用JS模板</td>
            <td bgcolor="#FFFFFF"><select name="jstempid" id="jstempid">
                <?=$jstemp?>
              </select>
              <input type="button" name="Submit62223" value="管理JS模板" onclick="window.open('template/ListJstemp.php?gid=<?=$thegid?>');"></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="donewjs" type="checkbox" id="dojstempid" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">最新信息js设置</td>
            <td bgcolor="#FFFFFF">调用 
              <input name="newline" type="text" id="newline" value="<?=$r[newline]?>" size="6">
              条记录,标题截取 
              <input name="newstrlen" type="text" id="newstrlen" value="<?=$r[newstrlen]?>" size="6">
              个字节, 
              <input name="newshowdate" type="checkbox" id="newshowdate" value="1"<?=$newshowdate?>>
              显示日期</td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="dohotjs" type="checkbox" id="do4" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">热门信息js设置</td>
            <td bgcolor="#FFFFFF">调用 
              <input name="hotline" type="text" id="hotline" value="<?=$r[hotline]?>" size="6">
              条记录,标题截取 
              <input name="hotstrlen" type="text" id="hotstrlen" value="<?=$r[hotstrlen]?>" size="6">
              个字节, 
              <input name="hotshowdate" type="checkbox" id="hotshowdate" value="1"<?=$hotshowdate?>>
              显示日期</td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="dogoodjs" type="checkbox" id="do5" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">推荐信息js设置</td>
            <td bgcolor="#FFFFFF">调用 
              <input name="goodline" type="text" id="goodline" value="<?=$r[goodline]?>" size="6">
              条记录,标题截取 
              <input name="goodstrlen" type="text" id="goodstrlen" value="<?=$r[goodstrlen]?>" size="6">
              个字节, 
              <input name="goodshowdate" type="checkbox" id="goodshowdate" value="1"<?=$goodshowdate?>>
              显示日期</td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="dohotpljs" type="checkbox" id="do6" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">热门评论信息js设置</td>
            <td bgcolor="#FFFFFF">调用 
              <input name="hotplline" type="text" id="hotplline" value="<?=$r[hotplline]?>" size="6">
              条记录,标题截取 
              <input name="hotplstrlen" type="text" id="hotplstrlen" value="<?=$r[hotplstrlen]?>" size="6">
              个字节, 
              <input name="hotplshowdate" type="checkbox" id="hotplshowdate" value="1"<?=$hotplshowdate?>>
              显示日期</td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><div align="center"> 
                <input name="dofirstjs" type="checkbox" id="do7" value="1">
              </div></td>
            <td bgcolor="#FFFFFF">头条信息js设置</td>
            <td bgcolor="#FFFFFF">调用 
              <input name="firstline" type="text" id="firstline" value="<?=$r[firstline]?>" size="6">
              条记录,标题截取 
              <input name="firststrlen" type="text" id="firststrlen" value="<?=$r[firststrlen]?>" size="6">
              个字节, 
              <input name="firstshowdate" type="checkbox" id="firstshowdate" value="1"<?=$firstshowdate?>>
              显示日期</td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td height="25"> <div align="center"> </div></td>
            <td colspan="2"> <input type="submit" name="Submit" value="提交"> <input type="reset" name="Submit2" value="重置"> 
              <input name="enews" type="hidden" id="enews" value="SetMoreClass"></td>
          </tr>
        </table></td>
    </tr>
  </form>
</table>
</body>
</html>
