DoCj.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. define('EmpireCMSAdmin','1');
  3. require("../class/connect.php");
  4. require("../class/db_sql.php");
  5. require("../class/functions.php");
  6. $link=db_connect();
  7. $empire=new mysqlquery();
  8. //验证用户
  9. $lur=is_login();
  10. $logininid=$lur['userid'];
  11. $loginin=$lur['username'];
  12. $loginrnd=$lur['rnd'];
  13. $loginlevel=$lur['groupid'];
  14. $loginadminstyleid=$lur['adminstyleid'];
  15. //ehash
  16. $ecms_hashur=hReturnEcmsHashStrAll();
  17. //验证权限
  18. CheckLevel($logininid,$loginin,$classid,"cj");
  19. $add=$_GET;
  20. $classid=$add['classid'];
  21. $count=count($classid);
  22. if(!$count)
  23. {
  24. printerror("NotChangeCjid","history.go(-1)");
  25. }
  26. $add['from']=ehtmlspecialchars($add['from']);
  27. esetcookie("recjnum",$count,0,1);
  28. $url="ecmscj.php?enews=CjUrl".$ecms_hashur['href'];
  29. echo"<center><b>采集节点的总个数为:<font color=red>$count</font>个。</b>&nbsp;&nbsp; (<a href='ReHtml/ChangeData.php".$ecms_hashur['whehref']."#ReIfInfoHtml' target=_blank>数据更新中心</a>)</center><br>";
  30. for($i=0;$i<$count;$i++)
  31. {
  32. $classid[$i]=(int)$classid[$i];
  33. $trueurl=$url."&from=$add[from]&classid=".$classid[$i];
  34. echo"<iframe frameborder=0 height=35 name='class".$classid[$i]."' scrolling=no
  35. src=\"".$trueurl."\"
  36. width=\"100%\"></iframe><br>";
  37. }
  38. db_close();
  39. $empire=null;
  40. ?>
  41. <iframe frameborder=0 height=35 name="checkrecj" scrolling=no
  42. src="CheckReCj.php?first=1&from=<?=$add[from]?><?=$ecms_hashur['href']?>"
  43. width="100%"></iframe>