国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
3.7KB

  1. <!DOCTYPE html
  2. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  6. <title>测试节点</title>
  7. <link href="css/base.css" rel="stylesheet" type="text/css">
  8. </head>
  9. <body background="images/allbg.gif" leftmargin="8" topmargin="8">
  10. <table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" align="center">
  11. <tr>
  12. <td height="20" background='images/tbg.gif'>
  13. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  14. <tr>
  15. <td width="30%" height="18" style="padding-left:10px;"><strong>测试节点:</strong></td>
  16. <td width="70%" align="right">
  17. <input type="button" name="b115" value="开始采集" class="coolbg np" style="width:120px"
  18. onClick="location='co_gather_start.php?nid=<?php echo $nid; ?>';" />
  19. <input type="button" name="b11" value="返回采集节点管理页" class="coolbg np" style="width:160"
  20. onClick="location.href='co_main.php';" />
  21. </td>
  22. </tr>
  23. </table>
  24. </td>
  25. </tr>
  26. <tr>
  27. <td height="94" bgcolor="#FFFFFF" align="center">
  28. <table width="98%" border="0">
  29. <tr bgcolor="#FBFCE2">
  30. <td width="13%" height="24" align="center"><b>节点名称:</b></td>
  31. <td width="87%" align="left">&nbsp;<?php echo($co->noteInfos['notename']); ?></td>
  32. </tr>
  33. <tr>
  34. <td height="24" align="center">列表测试信息:</td>
  35. <td>&nbsp;</td>
  36. </tr>
  37. <tr>
  38. <td height="24" colspan="2">
  39. <textarea name="r1" id="r1" style="width:99%;height:250px"><?php
  40. $testurl = '';
  41. $turls = $co->Testlists($testurl);
  42. echo "测试的列表网址: $testurl\r\n";
  43. if(isset($turls[0]['link']))
  44. {
  45. $turl = $turls[0]['link'];
  46. print_r($turls);
  47. } else {
  48. $turl = '';
  49. }
  50. $turl = (!empty($co->artNotes['previewurl']) ? $co->artNotes['previewurl'] : $turl);
  51. ?></textarea>
  52. </td>
  53. </tr>
  54. <tr>
  55. <td height="24">网页规则测试:</td>
  56. <td align="left">(DedeCMSV6里时间日期字段一般是整数类型,如果您看到pubdate、senddate是整数,那种属正常的情况)</td>
  57. </tr>
  58. <tr>
  59. <td height="24" colspan="2" align="left">
  60. 单个网页测试网址: <?php echo "$turl \r\n"; ?>
  61. <br />
  62. <textarea name="r2" id="r2" style="width:99%;height:250px"><?php
  63. if($turl!=''){
  64. echo $co->TestArt($turl);
  65. }
  66. else
  67. {
  68. echo "列表规则错误,找不到任何文章网址!";
  69. }
  70. ?></textarea>
  71. </td>
  72. </tr>
  73. </table>
  74. </td>
  75. </tr>
  76. <tr>
  77. <td height="60" align="center" bgcolor="#FFFFFF">
  78. <input type="button" name="b2" value="重新修改节点配置" class="coolbg np"
  79. onClick="location='co_edit.php?nid=<?php echo $nid; ?>';" style="width:180px" />
  80. &nbsp;
  81. <input type="button" name="b5" value="确定并开始采集" class="coolbg np" style="width:120px"
  82. onClick="location='co_gather_start.php?nid=<?php echo $nid; ?>';" />
  83. </td>
  84. </tr>
  85. <tr>
  86. <td height="28" bgcolor="#F9FCEF">&nbsp;</td>
  87. </tr>
  88. </table>
  89. </body>
  90. </html>