<?php
if(!defined('InEmpireCMS'))
{
	exit();
}
?>
<?php
//增加查詢自定義字段(必須是主表的字段)，格式：',字段1,字段2'(多個字段用半角逗號隔開)，例子：',ftitle'
$queryaddf='<!--[empirecms.sys.modlist.af]-->';

//查詢SQL
$query="select id,classid,isurl,titleurl,isqf,havehtml,istop,isgood,firsttitle,ismember,userid,username,eckuid,plnum,totaldown,onclick,newstime,truetime,lastdotime,titlepic,title,efz".$queryaddf." from ".$infotb.$ewhere." order by ".$doorder."".do_dblimit($line,$offset);
$sql=$empire->query($query);
//返回頭條和推薦級別名稱
$ftnr=ReturnFirsttitleNameList(0,0);
$ftnamer=$ftnr['ftr'];
$ignamer=$ftnr['igr'];
$searchisgoods='';
$searchfirsttitles='';
if($showisgood>0)
{
	$searchisgoods=str_replace('<option value="'.$showisgood.'">','<option value="'.$showisgood.'" selected>',$ftnr['igname']);
}
else
{
	$searchisgoods=$ftnr['igname'];
}
if($showfirsttitle>0)
{
	$searchfirsttitles=str_replace('<option value="'.$showfirsttitle.'">','<option value="'.$showfirsttitle.'" selected>',$ftnr['ftname']);
}
else
{
	$searchfirsttitles=$ftnr['ftname'];
}

//formhash
$efhr=heformhash_getr('DelNews_all');
$efhr1=heformhash_getr('CheckNews_all');
$efhr2=heformhash_getr('NoCheckNews_all');
$efhr3=heformhash_getr('ReSingleInfo');
$efhr4=heformhash_getr('GoodInfo_all');
$efhr5=heformhash_getr('InfoToDoc');
$efhr6=heformhash_getr('TopNews_all');
$efhr7=heformhash_getr('EditMoreInfoTime');
$efhr8=heformhash_getr('MoveNews_all');
$efhr9=heformhash_getr('CopyNews_all');
if($efhr['vname']!=$efhr1['vname'])
{
	$efhr['vform'].=$efhr1['vform'].$efhr2['vform'].$efhr3['vform'].$efhr4['vform'].$efhr5['vform'].$efhr6['vform'].$efhr7['vform'].$efhr8['vform'].$efhr9['vform'];
}
$efh=heformhash_get('ReAllNewsJs',1);
$efh1=heformhash_get('AddInfoToReHtml',1);
$efh2=heformhash_get('SetAllCheckInfo',1);
$efh3=heformhash_get('ReSingleInfo',1);
$efh4=heformhash_get('DelNews',1);

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="adminstyle/<?=$loginadminstyleid?>/adminstyle.css" type="text/css">
<title>管理信息</title>
<script>
function CheckAll(form)
  {
  for (var i=0;i<form.elements.length;i++)
    {
    var e = form.elements[i];
    if (e.name != 'chkall')
       e.checked = form.chkall.checked;
    }
  }

function GetSelectId(form)
{
  var ids='';
  var dh='';
  for (var i=0;i<form.elements.length;i++)
  {
	var e = form.elements[i];
	if (e.name == 'id[]')
	{
	   if(e.checked==true)
	   {
       		ids+=dh+e.value;
			dh=',';
	   }
	}
  }
  return ids;
}

function PushInfoToSp(form)
{
	var id='';
	id=GetSelectId(form);
	if(id=='')
	{
		alert('請選擇要推送的信息');
		return false;
	}
	window.open('sp/PushToSp.php?<?=$ecms_hashur['ehref']?>&classid=<?=$classid?>&id='+id,'PushToSp','width=360,height=500,scrollbars=yes,left=300,top=150,resizable=yes');
}

function PushInfoToZt(form)
{
	var id='';
	id=GetSelectId(form);
	if(id=='')
	{
		alert('請選擇要推送的信息');
		return false;
	}
	window.open('special/PushToZt.php?<?=$ecms_hashur['ehref']?>&classid=<?=$classid?>&id='+id,'PushToZt','width=360,height=500,scrollbars=yes,left=300,top=150,resizable=yes');
}

function eonsubmitform()
{
	document.listform.to_classid.value=document.getElementById('esnav_to_classid').value;
	return confirm('確認要執行此操作？');
}

</script>
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
  <tr> 
    <td width="52%" height="32">位置： 
      <?=$url?>    </td>
    <td width="48%"> <div align="right">[<a href="AddClass.php?enews=EditClass&classid=<?=$classid?><?=$ecms_hashur['ehref']?>">欄目設置</a>] 
        [<a href="AddInfoClass.php?enews=AddInfoClass&newsclassid=<?=$classid?><?=$ecms_hashur['ehref']?>">增加採集</a>] 
        [<a href="ListInfoClass.php<?=$ecms_hashur['whehref']?>">管理採集</a>] [<a href="ecmschtml.php?enews=ReAllNewsJs&from=<?=$phpmyself?><?=$ecms_hashur['href'].$efh?>">刷新所有信息JS</a>]</div></td>
  </tr>
</table>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  <form name="searchinfo" method="GET" action="ListNews.php">
  <?=$ecms_hashur['eform']?>
    <tr>
      <td colspan="2">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td width="24%"> <div align="left" class="emenubutton"> 
                <input type=button name=button value="增加信息" onClick="self.location.href='AddNews.php?enews=AddNews&ecmsnfrom=1<?=$addecmscheck?>&bclassid=<?=$bclassid?>&classid=<?=$classid?><?=$ecms_hashur['ehref']?>'">
              </div></td>
            <td width="76%"> </td>
          </tr>
        </table></td> 
    </tr>
    <tr>
      <td width="24%" bgcolor="#FFFFFF" title="增加信息後使用本操作將信息顯示到前台"> 
        <div align="left">
          <select name="dore">
            <option value="1">刷新當前欄目</option>
            <option value="2">刷新首頁</option>
            <option value="3">刷新父欄目</option>
            <option value="4">刷新當前欄目與父欄目</option>
            <option value="5">刷新父欄目與首頁</option>
            <option value="6" selected>刷新當前欄目、父欄目與首頁</option>
          </select>
          <input type="button" name="Submit12" value="提交" onclick="self.location.href='ecmsinfo.php?<?=$ecms_hashur['href'].$efh1?>&enews=AddInfoToReHtml<?=$addecmscheck?>&classid=<?=$classid?>&dore='+document.searchinfo.dore.value;">
        </div></td><td width="76%" height="32" bgcolor="#FFFFFF"><div align="right">搜索: 
          <select name="showspecial" id="showspecial">
            <option value="0"<?=$showspecial==0?' selected':''?>>不限屬性</option>
			<option value="1"<?=$showspecial==1?' selected':''?>>置頂</option>
            <option value="2"<?=$showspecial==2?' selected':''?>>推薦</option>
            <option value="3"<?=$showspecial==3?' selected':''?>>頭條</option>
			<option value="7"<?=$showspecial==7?' selected':''?>>投稿</option>
            <option value="5"<?=$showspecial==5?' selected':''?>>簽發</option>
			<option value="8"<?=$showspecial==8?' selected':''?>>我的信息</option>
          </select>
		  <select name="showisgood" id="showisgood">
            <option value="0"<?=$showisgood==0?' selected':''?>>不限推薦</option>
	    	<option value="-1"<?=$showisgood==-1?' selected':''?>>所有推薦</option>
	    	<?=$searchisgoods?>
          </select>
          <select name="showfirsttitle" id="showfirsttitle">
            <option value="0"<?=$showfirsttitle==0?' selected':''?>>不限頭條</option>
	    	<option value="-1"<?=$showfirsttitle==-1?' selected':''?>>所有頭條</option>
	    	<?=$searchfirsttitles?>
          </select>
          <input name="keyboard" type="text" id="keyboard" value="<?=$keyboard?>" size="16">
          <select name="show">
            <option value="0" selected>不限字段</option>
            <?=$searchoptions_r['select']?>
          </select>
		  <?=$stts?>
          <select name="infolday" id="infolday">
            <option value="1"<?=$infolday==1?' selected':''?>>全部時間</option>
            <option value="86400"<?=$infolday==86400?' selected':''?>>1 天</option>
            <option value="172800"<?=$infolday==172800?' selected':''?>>2 
            天</option>
            <option value="604800"<?=$infolday==604800?' selected':''?>>一周</option>
            <option value="2592000"<?=$infolday==2592000?' selected':''?>>1 
            個月</option>
            <option value="7948800"<?=$infolday==7948800?' selected':''?>>3 
            個月</option>
            <option value="15897600"<?=$infolday==15897600?' selected':''?>>6 
            個月</option>
            <option value="31536000"<?=$infolday==31536000?' selected':''?>>1 
            年</option>
          </select>
          <input type="submit" name="Submit2" value="搜索">
          <input name="sear" type="hidden" id="sear" value="1">
          <input name="bclassid" type="hidden" id="bclassid" value="<?=$bclassid?>">
          <input name="classid" type="hidden" id="classid" value="<?=$classid?>">
		  <input name="ecmscheck" type="hidden" id="ecmscheck" value="<?=$ecmscheck?>">
      </div></td>
    </tr>
  </form>
</table>
<br>
<form name="listform" id="listform" method="post" action="ecmsinfo.php" onsubmit="return eonsubmitform();">
<?=$ecms_hashur['form']?>
<?=$efhr['vform']?>
<input type=hidden name=classid value=<?=$classid?>>
<input type=hidden name=bclassid value=<?=$bclassid?>>
<input type=hidden name=enews value=DelNews_all>
<input type=hidden name=doing value=0>
  <input name="ecmsdoc" type="hidden" id="ecmsdoc" value="0">
  <input name="docfrom" type="hidden" id="docfrom" value="<?=$phpmyself?>">
  <input name="ecmscheck" type="hidden" id="ecmscheck" value="<?=$ecmscheck?>">
  <input type="hidden" name="to_classid" id="to_classid" value="0">
  <table width="100%" border="0" cellspacing="1" cellpadding="0">
    <tr>
      <td width="10%" height="25"<?=$indexchecked==1?' class="header"':' bgcolor="#C9F1FF"'?> title="已發佈信息總數：<?=$classinfos?>"><div align="center"><a href="ListNews.php?bclassid=<?=$bclassid?>&classid=<?=$classid?><?=$ecms_hashur['ehref']?>">已發佈 (<?=$classinfos?>)</a></div></td>
      <td width="10%"<?=$indexchecked==0?' class="header"':' bgcolor="#C9F1FF"'?> title="待審核信息總數：<?=$classckinfos?>"><div align="center"><a href="ListNews.php?bclassid=<?=$bclassid?>&classid=<?=$classid?>&ecmscheck=1<?=$ecms_hashur['ehref']?>">待審核 (<?=$classckinfos?>)</a></div></td>
      <td width="10%" bgcolor="#C9F1FF"><div align="center"><a href="ListInfoDoc.php?bclassid=<?=$bclassid?>&classid=<?=$classid?><?=$addecmscheck?><?=$ecms_hashur['ehref']?>">歸檔</a></div></td>
      <td width="58%">&nbsp;</td>
      <td width="6%">&nbsp;</td>
      <td width="6%">&nbsp;</td>
    </tr>
  </table>
  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  	<tr class="header"> 
      <td height="25" colspan="8"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td width="60%"><font color="#ffffff"><a href="ListNews.php?bclassid=<?=$bclassid?>&classid=<?=$classid?><?=$addecmscheck?>&sear=1&showspecial=8<?=$ecms_hashur['ehref']?>">我的信息</a> 
              | <a href="ListNews.php?bclassid=<?=$bclassid?>&classid=<?=$classid?><?=$addecmscheck?>&sear=1&showspecial=5<?=$ecms_hashur['ehref']?>">簽發信息</a> 
              | <a href="ListNews.php?bclassid=<?=$bclassid?>&classid=<?=$classid?><?=$addecmscheck?>&sear=1&showspecial=7<?=$ecms_hashur['ehref']?>">投稿信息</a> 
			  <?php
			  if($openshowretitle==1)
			  {
			  ?>
              | <a href="ListNews.php?bclassid=<?=$bclassid?>&classid=<?=$classid?><?=$addecmscheck?>&showretitle=1&srt=1<?=$ecms_hashur['ehref']?>" title="查詢重複標題，並保留一條信息">查詢重複標題A</a> 
              | <a href="ListNews.php?bclassid=<?=$bclassid?>&classid=<?=$classid?><?=$addecmscheck?>&showretitle=1&srt=0<?=$ecms_hashur['ehref']?>" title="查詢重複標題的信息(不保留信息)">查詢重複標題B</a> 
			  <?php
			  }
			  ?>
              | <a href="ecmsinfo.php?bclassid=<?=$bclassid?>&classid=<?=$classid?><?=$addecmscheck?>&enews=SetAllCheckInfo<?=$ecms_hashur['href'].$efh2?>" title="本欄目所有信息全設為審核狀態" onclick="return confirm('確認要操作?');">審核欄目全部信息</a></font> 
            </td>
            <td width="40%"> <div align="right"><font color="#ffffff"><a href="openpage/AdminPage.php?efileid=1&getclassid=<?=$classid?><?=$ecms_hashur['ehref']?>" target="_blank">管理附件</a> | <a href="ReHtml/ChangeData.php<?=$ecms_hashur['whehref']?>" target=_blank>更新數據</a> | <a href=../../ target=_blank>預覽首頁</a> | <a href="<?=$classurl?>" target=_blank>預覽欄目</a></font></div></td>
          </tr>
        </table></td>
    </tr>
	</table>
	<!--[empirecms.sys.modlist.listinfo]-->
	<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
    <tr> 
      <td width="3%"><div align="center"></div></td>
      <td width="6%" height="25"><div align="center"><a href='ListNews.php?<?=$search1?>&myorder=4'><u>ID</u></a></div></td>
      <td width="36%" height="25"> <div align="center">標題</div></td>
      <td width="12%" height="25"><div align="center">發佈者</div></td>
      <td width="16%" height="25"> <div align="center"><a href='ListNews.php?<?=$search1?>&myorder=1'><u>發佈時間</u></a></div></td>
	  <td width="7%" height="25"><div align="center"><a href='ListNews.php?<?=$search1?>&myorder=3'><u>點擊</u></a></div></td>
      <td width="6%"><div align="center"><a href='ListNews.php?<?=$search1?>&myorder=2'><u>評論</u></a></div></td>
      <td width="14%" height="25"> <div align="center">操作</div></td>
    </tr>
	<!--[empirecms.sys.modlist.listinfo]-->
    <?php
	while($r=$empire->fetch($sql))
	{
		//狀態
		$st='';
		if($r['istop'])//置頂
		{
			$st.="<font color=red>[頂".$r['istop']."]</font>";
		}
		if($r['isgood'])//推薦
		{
			$st.="<font color=red>[".$ignamer[$r['isgood']]."]</font>";
		}
		if($r['firsttitle'])//頭條
		{
			$st.="<font color=red>[".$ftnamer[$r['firsttitle']]."]</font>";
		}
		//時間
		$truetime=date("Y-m-d H:i:s",$r['truetime']);
		$lastdotime=date("Y-m-d H:i:s",$r['lastdotime']);
		$oldtitle=$r['title'];
		$r['title']=stripSlashes(sub($r['title'],0,50,false));
		//審核
		if(empty($indexchecked))
		{
			$checked=" title='未審核' style='background:#99C4E3'";
			$titleurl="ShowInfo.php?classid=".$r['classid']."&id=".$r['id'].$addecmscheck.$ecms_hashur['ehref'];
			$eagotourl=$r['ismember']?$titleurl:eapage_hGetGotoUrl($titleurl,'',$r['classid'],$r['id'],'eaShowInfo',0);
		}
		else
		{
			$checked="";
			$titleurl=sys_ReturnBqTitleLink($r);
			$eagotourl=eapage_hGetGotoUrl($titleurl,'',$r['classid'],$r['id'],'eaShowInfoUrl',0);
		}
		$eagotourl_onclick='';
		if($eagotourl!=$titleurl)
		{
			$eagotourl_onclick=' onclick="window.open(\''.$eagotourl.'\');return false;"';
		}
		//會員投稿
		if($r['ismember'])
		{
			$r['username']="<a href='member/AddMember.php?enews=EditMember&userid=".$r['userid'].$ecms_hashur['ehref']."' target='_blank'><font color=red>".$r['username']."</font></a>";
		}
		//簽發
		$qf="";
		if($r['isqf'])
		{
			$qfr=$empire->fetch1("select checktno,tstatus from {$dbtbpre}enewswfinfo where id='".$r['id']."' and classid='".$r['classid']."'".do_dblimit_one());
			if($qfr['checktno']=='100')
			{
				$qf="(<font color='red'>已通過</font>)";
			}
			elseif($qfr['checktno']=='101')
			{
				$qf="(<font color='red'>返工</font>)";
			}
			elseif($qfr['checktno']=='102')
			{
				$qf="(<font color='red'>已否決</font>)";
			}
			else
			{
				$qf="(<font color='red'>".$qfr['tstatus']."</font>)";
			}
			$qf="<a href='#ecms' onclick=\"window.open('workflow/DoWfInfo.php?classid=".$r['classid']."&id=".$r['id'].$addecmscheck.$ecms_hashur['ehref']."','','width=600,height=520,scrollbars=yes');\">".$qf."</a>";
		}
		//標題圖片
		$showtitlepic="";
		if($r['titlepic'])
		{
			$showtitlepic="<a href='".$r['titlepic']."' title='預覽標題圖片' target=_blank><img src='../../e/data/images/showimg.gif' border=0></a>";
		}
		//未生成
		$myid="<a href='ecmschtml.php?enews=ReSingleInfo&classid=".$r['classid']."&id[]=".$r['id'].$ecms_hashur['href'].$efh3."'>".$r['id']."</a>";
		if(empty($r['havehtml']))
		{
			$myid="<a href='ecmschtml.php?enews=ReSingleInfo&classid=".$r['classid']."&id[]=".$r['id'].$ecms_hashur['href'].$efh3."' title='未生成'><b>".$r['id']."</b></a>";
		}
		$liurl_pl='pl/ListPl.php?id='.$r['id'].'&classid='.$classid.'&bclassid='.$bclassid.$addecmscheck.$ecms_hashur['ehref'];
		$liurl_edit='AddNews.php?enews=EditNews&id='.$r['id'].'&classid='.$classid.'&bclassid='.$bclassid.$addecmscheck.$ecms_hashur['ehref'];
		$liurl_edits='info/EditInfoSimple.php?enews=EditNews&id='.$r['id'].'&classid='.$classid.'&bclassid='.$bclassid.$addecmscheck.$ecms_hashur['ehref'];
		$liurl_del='ecmsinfo.php?enews=DelNews&id='.$r['id'].'&classid='.$classid.'&bclassid='.$bclassid.$addecmscheck.$ecms_hashur['href'].$efh4;
		//父子信息
		if($r['efz'])
		{
			$liurl_fzhref='<a href="fzinfo/ListFzData.php?fzid='.$r['id'].'&fzclassid='.$r['classid'].$ecms_hashur['ehref'].'" target=_blank title="管理子信息">父</a>';
		}
		else
		{
			$liurl_fzhref='<a href="fzinfo/AddFzinfo.php?enews=AddFzinfo&id='.$r['id'].'&classid='.$r['classid'].$ecms_hashur['ehref'].'" target=_blank title="加入父信息">--</a>';
		}
	?>
	<!--[empirecms.sys.modlist.listinfo]-->
    <tr bgcolor="#FFFFFF" onmouseout="this.style.backgroundColor='#ffffff'" onmouseover="this.style.backgroundColor='#C3EFFF'" id=news<?=$r['id']?>> 
      <td><div align="center"> 
          <input name="id[]" type="checkbox" id="id[]" value="<?=$r['id']?>"<?=$checked?>>
		  <input name="infoid[]" type="hidden" value="<?=$r['id']?>">
        </div></td>
      <td height="32"> <div align="center"> 
          <?=$myid?>
        </div></td>
      <td height="25"> <div align="left"> 
          <?=$st?>
          <?=$showtitlepic?>
          <a href="<?=$titleurl?>"<?=$eagotourl_onclick?> target=_blank title="<?=$oldtitle?>"> 
          <?=$r['title']?>
          </a> 
          <?=$qf?>
        </div></td>
      <td height="25"<?=$r['eckuid']?' title="審核人UID：'.$r['eckuid'].'"':''?>> <div align="center"> 
          <?=$r['username']?>
        </div></td>
      <td height="25" title="<?php echo"增加時間：".$truetime."\r\n最後修改：".$lastdotime;?>"> <div align="center"> 
		  <input name="newstime[]" type="text" value="<?=date("Y-m-d H:i:s",$r['newstime'])?>" size="20">
        </div></td>
      <td height="25"> <div align="center"> <a title="下載次數:<?=$r['totaldown']?>"> 
          <?=$r['onclick']?>
          </a> </div></td>
      <td><div align="center"><a href="<?=$liurl_pl?>" target=_blank title="管理評論"><u> 
          <?=$r['plnum']?>
          </u></a></div></td>
      <td height="25"> <div align="center"><a href="<?=$liurl_edit?>">修改</a> | <a href="#empirecms" onclick="window.open('<?=$liurl_edits?>','EditInfoSimple','width=600,height=360,scrollbars=yes,resizable=yes');">簡改</a> | <?=$liurl_fzhref?> | <a href="<?=$liurl_del?>" onClick="return confirm('確認要刪除？');">刪除</a>
        </div></td>
    </tr>
	<!--[empirecms.sys.modlist.listinfo]-->
    <?php
	}
	?>
	<!--[empirecms.sys.modlist.listinfo]-->
	</table>
	<!--[empirecms.sys.modlist.listinfo]-->
	<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
    <tr bgcolor="#FFFFFF"> 
      <td height="25" width="3%"> <div align="center">
          <input type=checkbox name=chkall value=on onClick="CheckAll(this.form)">
        </div></td>
      <td height="25" colspan="7"><div align="right">
          <input type="submit" name="Submit3" value="刪除" onClick="document.listform.enews.value='DelNews_all';document.listform.action='ecmsinfo.php';document.listform.<?=$efhr['vname']?>.value='<?=$efhr['vval']?>';">
		  <?php
		  if($ecmscheck)
		  {
		  ?>
		  <input type="submit" name="Submit8" value="審核" onClick="document.listform.enews.value='CheckNews_all';document.listform.action='ecmsinfo.php';document.listform.<?=$efhr1['vname']?>.value='<?=$efhr1['vval']?>';">
		  <?php
		  }
		  else
		  {
		  ?>
		  <input type="submit" name="Submit9" value="取消審核" onClick="document.listform.enews.value='NoCheckNews_all';document.listform.action='ecmsinfo.php';document.listform.<?=$efhr2['vname']?>.value='<?=$efhr2['vval']?>';">
		  <input type="submit" name="Submit8" value="刷新" onClick="document.listform.enews.value='ReSingleInfo';document.listform.action='ecmschtml.php';document.listform.<?=$efhr3['vname']?>.value='<?=$efhr3['vval']?>';">
		  <input type="button" name="Submit112" value="推送" onClick="PushInfoToSp(this.form);">
		  <?php
		  }
		  ?>
          <select name="isgood" id="isgood">
            <option value="0">不推薦</option>
			<?=$ftnr['igname']?>
          </select>
          <input type="submit" name="Submit82" value="推薦" onClick="document.listform.enews.value='GoodInfo_all';document.listform.doing.value='0';document.listform.action='ecmsinfo.php';document.listform.<?=$efhr4['vname']?>.value='<?=$efhr4['vval']?>';">
          <select name="firsttitle" id="firsttitle">
            <option value="0">取消頭條</option>
            <?=$ftnr['ftname']?>
          </select>
          <input type="submit" name="Submit823" value="頭條" onClick="document.listform.enews.value='GoodInfo_all';document.listform.doing.value='1';document.listform.action='ecmsinfo.php';document.listform.<?=$efhr4['vname']?>.value='<?=$efhr4['vval']?>';">
          <input type="submit" name="Submit11" value="歸檔" onClick="document.listform.enews.value='InfoToDoc';document.listform.doing.value='0';document.listform.action='ecmsinfo.php';document.listform.<?=$efhr5['vname']?>.value='<?=$efhr5['vval']?>';">
          <select name="istop" id="select">
            <option value="0">不置頂</option>
            <option value="1">一級置頂</option>
            <option value="2">二級置頂</option>
            <option value="3">三級置頂</option>
            <option value="4">四級置頂</option>
            <option value="5">五級置頂</option>
            <option value="6">六級置頂</option>
			<option value="7">七級置頂</option>
			<option value="8">八級置頂</option>
			<option value="9">九級置頂</option>
          </select>
          <input type="submit" name="Submit7" value="置頂" onClick="document.listform.enews.value='TopNews_all';document.listform.action='ecmsinfo.php';document.listform.<?=$efhr6['vname']?>.value='<?=$efhr6['vval']?>';">
		  <input type="submit" name="Submit7" value="修改時間" onClick="document.listform.enews.value='EditMoreInfoTime';document.listform.action='ecmsinfo.php';document.listform.<?=$efhr7['vname']?>.value='<?=$efhr7['vval']?>';">
		  <input type="button" name="Submit52" value="推送至專題" onClick="PushInfoToZt(this.form);">
        </div></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="25" colspan="8"> <table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="68%"> 
              <?=$returnpage?>
            </td>
            <td width="32%"> <div align="right">
			<span id="moveclassnav"></span>
                <input type="submit" name="Submit5" value="移動" onClick="document.listform.enews.value='MoveNews_all';document.listform.action='ecmsinfo.php';document.listform.<?=$efhr8['vname']?>.value='<?=$efhr8['vval']?>';">
                <input type="submit" name="Submit6" value="複製" onClick="document.listform.enews.value='CopyNews_all';document.listform.action='ecmsinfo.php';document.listform.<?=$efhr9['vname']?>.value='<?=$efhr9['vval']?>';">
              </div></td>
          </tr>
        </table></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="25" colspan="8"> <font color="#666666">備註：多選框藍色為未審核信息；發佈者紅色為會員投稿；信息ID粗體為未生成,點擊ID可刷新頁面.</font></td>
    </tr>
  </table>
</form>
<br>
<IFRAME frameBorder="0" id="showclassnav" name="showclassnav" scrolling="no" src="ShowClassNav.php?ecms=3<?=$ecms_hashur['ehref']?>" style="HEIGHT:0;VISIBILITY:inherit;WIDTH:0;Z-INDEX:1"></IFRAME>
</body>
</html>