<?php
define('EmpireCMSAdmin','1');
require("../../../e/class/connect.php");
require("../../../e/class/functions.php");
$link=db_connect();
$empire=new mysqlquery();
$editor=1;
//验证用户
$lur=is_login();
$logininid=(int)$lur['userid'];
$loginin=$lur['username'];
$loginrnd=$lur['rnd'];
$loginlevel=(int)$lur['groupid'];
$loginadminstyleid=(int)$lur['adminstyleid'];
//ehash
$ecms_hashur=hReturnEcmsHashStrAll();
//验证权限
CheckLevel($logininid,$loginin,$classid,"changedata");
//栏目
$fcfile="../../../c/ecachepub/eclassfc/ListEnews.php";
$class="<script src=../../../c/ecachepub/eclassfc/cmsclass.js></script>";
if(!file_exists($fcfile))
{$class=ShowClass_AddClass("",0,0,"|-",0,0);}
//刷新表
$retable="";
$selecttable="";
$cleartable='';
$i=0;
$tsql=$empire->query("select tid,tbname,tname from {$dbtbpre}enewstable where intb=0 order by tid");
while($tr=$empire->fetch($tsql))
{
	$i++;
	if($i%4==0)
	{
		$br="<br>";
	}
	else
	{
		$br="";
	}
	$retable.="<input type=checkbox name=tbname[] value='".$tr['tbname']."' checked>".$tr['tname']."&nbsp;&nbsp;".$br;
	$selecttable.="<option value='".$tr['tbname']."'>".$tr['tname']."</option>";
	$cleartable.="<option value='".$tr['tid']."'>".$tr['tname']."</option>";
}
//专题
$ztclass="";
$ztsql=$empire->query("select ztid,ztname from {$dbtbpre}enewszt order by ztid desc");
while($ztr=$empire->fetch($ztsql))
{
	$ztclass.="<option value='".$ztr['ztid']."'>".$ztr['ztname']."</option>";
}
//多访问端
$moreportpid=(int)$_GET['moreportpid'];
$mphref='';
$mpform='';
$mpwhhref='';
$mpwhhrefck='';
$mpname='主访问端';
if($moreportpid)
{
	$mphref=Moreport_ReturnUrlCsPid($moreportpid,0,0,'');
	$mpform=Moreport_ReturnUrlCsPid($moreportpid,1,0,'');
	$mpwhhref=Moreport_ReturnUrlCsPid($moreportpid,0,1,'');
	$mpwhhrefck=Moreport_ReturnUrlCsPid($moreportpid,0,1,$ecms_hashur['whehref']);
	//访问端
	$mpr=$empire->fetch1("select * from {$dbtbpre}enewsmoreport where pid='$moreportpid'");
	$mpname=$mpr['pname'];
}
//选择日期
$todaydate=date("Y-m-d");
$todaytime=time();
$changeday="<select name=selectday onchange=\"document.reform.startday.value=this.value;document.reform.endday.value='".$todaydate."'\">
<option value='".$todaydate."'>--选择--</option>
<option value='".$todaydate."'>今天</option>
<option value='".ToChangeTime($todaytime,7)."'>一周</option>
<option value='".ToChangeTime($todaytime,30)."'>一月</option>
<option value='".ToChangeTime($todaytime,90)."'>三月</option>
<option value='".ToChangeTime($todaytime,180)."'>半年</option>
<option value='".ToChangeTime($todaytime,365)."'>一年</option>
</select>";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>更新数据中心</title>
<link href="../adminstyle/<?=$loginadminstyleid?>/adminstyle.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../ecmseditor/js/jstime/WdatePicker.js"></script>
<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;
    }
  }
</script>
</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
  <tr> 
    <td width="14%" height="32">位置：<a href="ChangeData.php<?=$ecms_hashur['whehref']?><?=$mpwhhrefck?>">数据更新中心</a></td>
    <td width="45%"><table width="420" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td> <div align="center">[<a href="#ReAllHtml">总体刷新</a>]</div></td>
          <td> <div align="center">[<a href="#ReMoreListHtml">多栏目刷新</a>]</div></td>
          <td> <div align="center">[<a href="#ReIfInfoHtml">按条件刷新内容页</a>]</div></td>
        </tr>
    </table></td>
    <td width="41%"><div align="right" class="emenubutton">
      <input type="button" name="Submit52" value="更新信息页地址" onClick="self.location.href='ReInfoUrl.php<?=$ecms_hashur['whehref']?>';">
	  &nbsp;&nbsp;
	  <input type="button" name="Submit52" value="数据整理" onClick="self.location.href='DoUpdgxData.php<?=$ecms_hashur['whehref']?>';">
	  &nbsp;&nbsp;
      <input type="button" name="Submit522" value="更新动态页面缓存" onClick="self.location.href='ChangePageCache.php<?=$ecms_hashur['whehref']?>';">
    </div></td>
  </tr>
  <?php
  if($ecms_config['sets']['selfmoreportid']<=1&&$public_r['ckhavemoreport'])
  {
  ?>
  <tr>
    <td height="25" colspan="3"><table width="100%" border="0" cellspacing="1" cellpadding="3" class="tableborder">
	<form name="rechmpform" id="rechmpform" method="GET" action="ChangeData.php">
	<?=$ecms_hashur['eform']?>
      <tr>
        <td width="50%" bgcolor="#FFFFFF">已选访问端：<b><?=$mpname?></b></td>
        <td width="50%" bgcolor="#FFFFFF">
		  <div align="right">选择要刷新页面的访问端:
		    <?=Moreport_eReturnMoreportSelect($moreportpid,'moreportpid')?>
                <input type="submit" name="Submit" value="确定">
		      </div></td>
      </tr>
	  </form>
    </table></td>
  </tr>
  <?php
  }
  ?>
</table>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="6">
  <tr id=ReAllHtml> 
    <td width="69%" valign="top"> <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
        <tr class="header"> 
          <td height="25" colspan="2"> <div align="center">页面刷新管理</div></td>
        </tr>
        <tr> 
          <td height="25"><div align="center"><strong>整站主要页面刷新</strong></div></td>
          <td height="25"><div align="center"><strong>其他页面刷新</strong></div></td>
        </tr>
        <tr> 
          <td width="50%" height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
              <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#C3EFFF'"> 
                <td height="48"> <div align="center"> 
                    <input type="button" name="Submit2" value="刷新首页" onClick="self.location.href='../ecmschtml.php?enews=ReIndex<?=$ecms_hashur['href'].heformhash_get('ReIndex',1)?><?=$mphref?>'" title="生成首页">
                  </div></td>
              </tr>
              <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#C3EFFF'"> 
                <td height="48"> <div align="center"> 
                    <input type="button" name="Submit22" value="刷新所有信息栏目页" onClick="window.open('../ecmschtml.php?enews=ReListHtml_all&from=ReHtml/ChangeData.php<?=urlencode($ecms_hashur['whehref'].$mpwhhrefck)?><?=$ecms_hashur['href'].heformhash_get('ReListHtml_all',1)?><?=$mphref?>','','');" title="生成所有栏目页面">
                  </div></td>
              </tr>
              <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#C3EFFF'"> 
                <td height="48"> <div align="center"> 
                    <table width="100%" border="0" cellspacing="1" cellpadding="0">
                      <form action="ecmschtml.php" method="post" name="dorehtml" id="dorehtml">
					  <?=$ecms_hashur['form']?>
					  <?=$mpform?>
                        <tr> 
                          <td><div align="center"> 
                              <input type="button" name="Submit3" value="刷新所有信息内容页面" onClick="var toredohtml=0;if(document.dorehtml.havehtml.checked==true){toredohtml=1;}window.open('DoRehtml.php?enews=ReNewsHtml&start=0&havehtml='+toredohtml+'&from=ReHtml/ChangeData.php<?=urlencode($ecms_hashur['whehref'].$mpwhhrefck)?><?=$ecms_hashur['href'].heformhash_get('ReNewsHtml',1)?><?=$mphref?>','','');" title="生成所有内容页">
                            </div></td>
                        </tr>
                        <tr> 
                          <td height="25" valign="top"> <div align="center">全部刷新 
                              <input name="havehtml" type="checkbox" id="havehtml" value="1" title="把已经生成的内容页一起更新">
                            </div></td>
                        </tr>
						<?php
						if(getcvar('ehaverhlid'))
						{
						?>
						<tr> 
                          <td height="25" valign="top"> <div align="center"><select name="havernext" id="havernext">
                          <option value="0">继续上次刷新</option>
                          <option value="1">重新刷新</option>
                          </select>
                            </div></td>
                        </tr>
						<?php
						}
						?>
                      </form>
                    </table>
                  </div></td>
              </tr>
              <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#C3EFFF'"> 
                <td height="48"> <div align="center"> 
                    <input type="button" name="Submit4" value="刷新所有信息JS调用" onClick="window.open('../ecmschtml.php?enews=ReAllNewsJs&from=ReHtml/ChangeData.php<?=urlencode($ecms_hashur['whehref'].$mpwhhrefck)?><?=$ecms_hashur['href'].heformhash_get('ReAllNewsJs',1)?><?=$mphref?>','','');" title="生成所有JS调用文件">
                  </div></td>
              </tr>
              <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#C3EFFF'"> 
                <td height="48"><div align="center"> 
                    <input type="button" name="Submit422232" value="批量更新动态页面" onClick="self.location.href='../ecmschtml.php?enews=ReDtPage<?=$ecms_hashur['href'].heformhash_get('ReDtPage',1)?><?=$mphref?>';" title="生成控制面板模板、登陆状态、登陆JS等动态页面">
                  </div></td>
              </tr>
              <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#C3EFFF'">
                <td height="48"><div align="center">
                  <input type="button" name="Submit222" value="刷新所有标题分类页" onClick="window.open('../ecmschtml.php?enews=ReTtListHtml_all&from=ReHtml/ChangeData.php<?=urlencode($ecms_hashur['whehref'].$mpwhhrefck)?><?=$ecms_hashur['href'].heformhash_get('ReTtListHtml_all',1)?><?=$mphref?>','','');" title="生成所有标题分类页面">
                </div></td>
              </tr>
            </table></td>
          <td width="50%" valign="top" bgcolor="#FFFFFF"> <table width="100%" border="0" cellpadding="3" cellspacing="1">
              <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#C3EFFF'">
                <td height="48"><div align="center">
                  <input type="button" name="Submit2222" value="刷新所有专题页" onClick="window.open('../ecmschtml.php?enews=ReZtListHtml_all&from=ReHtml/ChangeData.php<?=urlencode($ecms_hashur['whehref'].$mpwhhrefck)?><?=$ecms_hashur['href'].heformhash_get('ReZtListHtml_all',1)?><?=$mphref?>','','');" title="生成所有专题页面">
                </div></td>
              </tr>
              <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#C3EFFF'"> 
                <td height="48"> <div align="center"> 
                    <input type="button" name="Submit422" value="批量刷新碎片文件" onClick="window.open('../ecmschtml.php?enews=ReSpAll&from=ReHtml/ChangeData.php<?=urlencode($ecms_hashur['whehref'].$mpwhhrefck)?><?=$ecms_hashur['href'].heformhash_get('ReSpAll',1)?><?=$mphref?>','','');" title="生成碎片文件">
                  </div></td>
              </tr>
              <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#C3EFFF'"> 
                <td height="48"> <div align="center"> 
                    <input type="button" name="Submit422" value="批量刷新投票JS" onClick="window.open('../tool/ListVote.php?enews=ReVoteJs_all&from=../ReHtml/ChangeData.php<?=urlencode($ecms_hashur['whehref'].$mpwhhrefck)?><?=$ecms_hashur['href'].heformhash_get('ReVoteJs_all',1)?><?=$mphref?>','','');" title="生成投票插件的JS文件">
                  </div></td>
              </tr>
              <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#C3EFFF'"> 
                <td height="48"> <div align="center"> 
                    <input type="button" name="Submit4222" value="批量刷新广告JS" onClick="window.open('../tool/ListAd.php?enews=ReAdJs_all&from=../ReHtml/ChangeData.php<?=urlencode($ecms_hashur['whehref'].$mpwhhrefck)?><?=$ecms_hashur['href'].heformhash_get('ReAdJs_all',1)?><?=$mphref?>','','');" title="生成广告插件的JS文件">
                  </div></td>
              </tr>
              <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#C3EFFF'"> 
                <td height="48"> <div align="center"> 
                    <table width="100%" border="0" cellspacing="1" cellpadding="0">
                      <form action="../ecmsmod.php" method="GET" name="dochangemodform" id="dochangemodform">
					  <?=$ecms_hashur['form']?>
					  <?=$mpform?>
					  <?php echo heformhash_get('ChangeAllModForm'); ?>
                        <input type=hidden name=enews value="ChangeAllModForm">
                        <tr> 
                          <td><div align="center"> 
                              <input type="submit" name="Submit3" value="批量更新模型表单" title="生成发布跟投稿表单(一般是网站搬家时使用)">
                            </div></td>
                        </tr>
                        <tr> 
                          <td height="25"> <div align="center">更新栏目导航 
                              <input name="ChangeClass" type="checkbox" id="ChangeClass" value="1" title="更新投稿时选择的栏目">
                            </div></td>
                        </tr>
                      </form>
                    </table>
                  </div></td>
              </tr>
              <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#C3EFFF'"> 
                <td height="48"><div align="center"> 
                    <input type="button" name="Submit4222322" value="批量更新反馈表单" onClick="self.location.href='../tool/FeedbackClass.php?enews=ReMoreFeedbackClassFile<?=$ecms_hashur['href'].heformhash_get('ReMoreFeedbackClassFile',1)?><?=$mphref?>';" title="生成自定义反馈的表单(一般是网站搬家时使用)">
                  </div></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
    <td width="31%" valign="top"> <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
        <tr> 
          <td height="25" class="header"> <div align="center">更新缓存数据</div></td>
        </tr>
        <tr> 
          <td height="28" bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#C3EFFF'" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
            <div align="center"><a href="../enews.php?enews=ChangeEnewsData<?=$ecms_hashur['href'].heformhash_get('ChangeEnewsData',1)?><?=$mphref?>" title="更新系统的缓存(一般是网站搬家时使用)">更新数据库缓存</a></div></td>
        </tr>
        <tr> 
          <td height="28" bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#C3EFFF'" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
            <div align="center"><a href="../ecmschtml.php?enews=ReClassPath<?=$ecms_hashur['href'].heformhash_get('ReClassPath',1)?><?=$mphref?>" title="重新建立栏目目录(一般是网站搬家时使用)">恢复栏目目录</a></div></td>
        </tr>
        <tr> 
          <td height="28" bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#C3EFFF'" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
            <div align="center"><a href="../ecmsclass.php?enews=DelFcListClass<?=$ecms_hashur['href'].heformhash_get('DelFcListClass',1)?><?=$mphref?>" title="重新更新“信息管理”菜单下的栏目列表及“栏目管理”菜单下的管理栏目页面。(一般是网站搬家时使用)">删除栏目缓存文件</a></div></td>
        </tr>
        <tr> 
          <td height="28" bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#C3EFFF'" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
            <div align="center"><a href="../ecmsclass.php?enews=ChangeSonclass<?=$ecms_hashur['href'].heformhash_get('ChangeSonclass',1)?><?=$mphref?>" title="一般应用于修改栏目所属父栏目后使用此功能。">更新栏目关系</a></div></td>
        </tr>
        <tr>
          <td height="28" bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#C3EFFF'" onMouseOut="this.style.backgroundColor='#FFFFFF'"><div align="center"><a href="../ecmschtml.php?enews=UpdgxClassInfosAll&from=ReHtml/ChangeData.php<?=urlencode($ecms_hashur['whehref'].$mpwhhrefck)?><?=$ecms_hashur['href'].heformhash_get('UpdgxClassInfosAll',1)?><?=$mphref?>" title="重新统计栏目下信息数量，一般应用于批量删除信息后使用此功能。" target="_blank">更新栏目信息数</a></div></td>
        </tr>
        <tr> 
          <td height="28" bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#C3EFFF'" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
            <div align="center"><a href="../ecmscom.php?enews=ClearTmpFileData<?=$ecms_hashur['href'].heformhash_get('ClearTmpFileData',1)?><?=$mphref?>" onClick="return confirm('清除前请确认用户没有正在采集、批量刷新页面与远程发布，确认?');" title="清除临时和缓存文件，可清空产生的临时文件，还有就是更新动态页面模板时使用，用于实时更换模板">清除临时文件和数据</a></div></td>
        </tr>
      </table>
      <br>
      <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
        <tr> 
          <td height="25" class="header"> <div align="center">自定义页面刷新</div></td>
        </tr>
        <tr> 
          <td height="30" bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#C3EFFF'" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
            <div align="center"><a href="../ecmschtml.php?enews=ReUserpageAll&from=ReHtml/ChangeData.php<?=urlencode($ecms_hashur['whehref'].$mpwhhrefck)?><?=$ecms_hashur['href'].heformhash_get('ReUserpageAll',1)?><?=$mphref?>" target="_blank" title="生成所有自定义页面">刷新所有自定义页面</a></div></td>
        </tr>
        <tr> 
          <td height="30" bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#C3EFFF'" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
            <div align="center"><a href="../ecmschtml.php?enews=ReUserlistAll&from=ReHtml/ChangeData.php<?=urlencode($ecms_hashur['whehref'].$mpwhhrefck)?><?=$ecms_hashur['href'].heformhash_get('ReUserlistAll',1)?><?=$mphref?>" target="_blank" title="生成所有自定义列表">刷新所有自定义列表</a></div></td>
        </tr>
        <tr> 
          <td height="30" bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#C3EFFF'" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
            <div align="center"><a href="../ecmschtml.php?enews=ReUserjsAll&from=ReHtml/ChangeData.php<?=urlencode($ecms_hashur['whehref'].$mpwhhrefck)?><?=$ecms_hashur['href'].heformhash_get('ReUserjsAll',1)?><?=$mphref?>" target="_blank" title="生成所有自定义JS">刷新所有自定义JS</a></div></td>
        </tr>
		<tr> 
          <td height="30" bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#C3EFFF'" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
            <div align="center"><a href="../ecmschtml.php?enews=ReDtUserpageAll&from=ReHtml/ChangeData.php<?=urlencode($ecms_hashur['whehref'].$mpwhhrefck)?><?=$ecms_hashur['href'].heformhash_get('ReDtUserpageAll',1)?><?=$mphref?>" target="_blank" title="更新所有自定义动态页面">更新所有自定义动态页面</a></div></td>
        </tr>
      </table> </td>
  </tr>
  <tr id=ReMoreListHtml> 
    <td width="69%" valign="top"> <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
        <form name="form2" method="post" action="../ecmschtml.php">
		<?=$ecms_hashur['form']?>
		<?=$mpform?>
		<?php echo heformhash_get('GoReListHtmlMore'); ?>
          <tr class="header"> 
            <td height="25"> <div align="center"><strong>刷新多栏目页面 </strong></div></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"> <div align="center"> 
                <table width="100%" border="0" cellspacing="1" cellpadding="3">
                  <tr> 
                    <td><div align="center"> 
                        <select name="classid[]" size="12" multiple id="classid[]" style="width:310">
                          <?=$class?>
                        </select>
                      </div></td>
                  </tr>
                  <tr> 
                    <td><div align="center"> 
                        <input type="submit" name="Submit8" value="开始刷新">
                        <strong> 
                        <input name="enews" type="hidden" id="enews3" value="GoReListHtmlMore">
                        <input name="gore" type="hidden" id="enews4" value="0">
                        <input name="from" type="hidden" id="gore" value="ReHtml/ChangeData.php<?=$ecms_hashur['whehref']?><?=$mpwhhrefck?>">
                        </strong></div></td>
                  </tr>
                  <tr> 
                    <td><div align="center"><font color="#666666">多个用ctrl/shift选择</font></div></td>
                  </tr>
                </table>
              </div></td>
          </tr>
        </form>
      </table></td>
    <td><table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
        <form name="form2" method="post" action="../ecmschtml.php">
		<?=$ecms_hashur['form']?>
		<?=$mpform?>
		<?php echo heformhash_get('GoReListHtmlMore'); ?>
          <tr class="header"> 
            <td height="25"> <div align="center"><strong>刷新多专题页面 </strong></div></td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"> <div align="center"> 
                <table width="100%" border="0" cellspacing="1" cellpadding="3">
                  <tr> 
                    <td><div align="center"> 
                        <select name="classid[]" size="12" multiple id="select2" style="width:250">
                          <?=$ztclass?>
                        </select>
                      </div></td>
                  </tr>
                  <tr> 
                    <td><div align="center"> 
                        <input name="ecms" type="checkbox" id="ecms" value="1" checked>
                        含子分类
                        <input type="submit" name="Submit82" value="开始刷新">
                        <strong> 
                        <input name="enews" type="hidden" id="enews5" value="GoReListHtmlMore">
                        <input name="gore" type="hidden" id="gore" value="1">
                        <input name="from" type="hidden" id="from" value="ReHtml/ChangeData.php<?=$ecms_hashur['whehref']?><?=$mpwhhrefck?>">
                        </strong></div></td>
                  </tr>
                  <tr> 
                    <td><div align="center"><font color="#666666">多个用ctrl/shift选择</font></div></td>
                  </tr>
                </table>
              </div></td>
          </tr>
        </form>
      </table></td>
  </tr>
</table>
<form action="DoRehtml.php" method="get" name="reform" target="_blank" onSubmit="return confirm('确认要刷新?');">
  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id=ReIfInfoHtml>
  <?=$ecms_hashur['form']?>
  <?=$mpform?>
  <?php echo heformhash_get('ReNewsHtml'); ?>
    <input name="from" type="hidden" id="from" value="ReHtml/ChangeData.php<?=$ecms_hashur['whehref']?><?=$mpwhhrefck?>">
    <tr class="header"> 
      <td height="25"> <div align="center">按条件刷新信息内容页面</div></td>
    </tr>
    <tr> 
      <td height="25" bgcolor="#FFFFFF"> <div align="center"> 
          <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
            <tr> 
              <td height="25">刷新数据表：
                <input name=chkall type=checkbox onClick=CheckAll(this.form) value=on checked>
                <font color="#666666">全选</font></td>
              <td height="25">
                <?=$retable?>
              </td>
            </tr>
            <tr> 
              <td height="25">刷新栏目</td>
              <td height="25"><select name="classid" id="classid">
                  <option value="0">所有栏目</option>
                  <?=$class?>
                </select>
                <font color="#666666"> (如选择父栏目，将刷新所有子栏目)</font></td>
            </tr>
            <tr> 
              <td width="23%" height="25"> <input name="retype" type="radio" value="0" checked>
                按时间刷新：</td>
              <td width="77%" height="25">从 
                <input name="startday" type="text" size="15" class="Wdate" onClick="WdatePicker({skin:'default',dateFmt:'yyyy-MM-dd'})">
                到 
                <input name="endday" type="text" size="15" class="Wdate" onClick="WdatePicker({skin:'default',dateFmt:'yyyy-MM-dd'})">
                之间的数据 
                <?=$changeday?>
                <font color="#666666"> (不填将刷新所有页面)</font></td>
            </tr>
            <tr> 
              <td height="25"> <input name="retype" type="radio" value="1">
                按ID刷新：</td>
              <td height="25">从 
                <input name="startid" type="text" id="startid" value="0" size="6">
                到 
                <input name="endid" type="text" id="endid" value="0" size="6">
                之间的数据 <font color="#666666">(两个值为0将刷新所有页面)</font></td>
            </tr>
            <tr>
              <td height="25">全部刷新：</td>
              <td height="25"><input name="havehtml" type="checkbox" id="havehtml" value="1">
                是<font color="#666666"> (不选择将不刷新已生成过的信息)</font></td>
            </tr>
			<?php
			if(getcvar('ehaverhlid'))
			{
			?>
			<tr>
              <td height="25">断点刷新：</td>
              <td height="25">
  				<select name="havernext" id="havernext">
    			<option value="0">继续上次刷新</option>
    			<option value="1">重新刷新</option>
  				</select>
                </td>
            </tr>
			<?php
			}
			?>
            <tr> 
              <td height="25">&nbsp;</td>
              <td height="25"><input type="submit" name="Submit6" value="开始刷新"> 
                <input type="reset" name="Submit7" value="重置"> <input name="enews" type="hidden" id="enews" value="ReNewsHtml"> 
              </td>
            </tr>
          </table>
        </div></td>
    </tr>
  </table>
</form>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><br>
</p>
</body>
</html>
<?php
db_close();
$empire=null;
?>
