国内流行的内容管理系统(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.

85 lines
3.5KB

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