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

78 lines
3.3KB

  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. <script language="javascript" type="text/javascript" src="js/co.js"></script>
  8. <style type="text/css">
  9. <!--
  10. .STYLE2 {color: #666666}
  11. -->
  12. </style>
  13. </head>
  14. <body>
  15. <div class="bodytitle" style="width:98%">
  16. <div class="bodytitleleft"></div>
  17. <div class="bodytitletxt" style="padding-left:10px;"><b>新增采集节点:测试基本信息及网址索引页规则设置</b></div>
  18. <div style='float:right;padding-right:6px;padding-top:3px'>
  19. <input type="button" name="b" value="返回节点管理页" class="coolbg np" style="width:110px;height:20px;" onclick="location.href='co_main.php';" />
  20. </div>
  21. </div>
  22. <form name="form1" method="post" action="co_add.php">
  23. <input type='hidden' name='channelid' value='<?php echo $channelid; ?>' />
  24. <input type='hidden' name='step' value='2' />
  25. <input type='hidden' name='dopost' value='preview' />
  26. <input type='hidden' name='notename' value="<?php echo $notename; ?>" />
  27. <input type='hidden' name='sourcelang' value="<?php echo $sourcelang; ?>" />
  28. <input type='hidden' name='usemore' value="<?php echo $usemore; ?>" />
  29. <input type='hidden' name='islisten' value="<?php echo $islisten; ?>" />
  30. <input type='hidden' name='listenpage' value="<?php echo $listenpage; ?>" />
  31. <input type='hidden' name='freq' value="<?php echo $freq; ?>" />
  32. <input type='hidden' name='extypeid' value="<?php echo $extypeid; ?>" />
  33. <input type='hidden' name='listconfig' value="<?php echo urlencode($listconfig); ?>" />
  34. <table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" align="center">
  35. <tr>
  36. <td height="25" background="images/tbg.gif" bgcolor="#F2F6E5" style="padding-left:10px;"><strong>网址获取规则测试:</strong></td>
  37. </tr>
  38. <tr>
  39. <td height="26" bgcolor="#FFFFFF">
  40. 测试的列表网址:<?php echo $demopage; ?>
  41. </td>
  42. </tr>
  43. <tr id="sitem">
  44. <td height="23" bgcolor="#ffffff">
  45. 获得的文章网址(只显示前十条):<br />
  46. <?php
  47. if(isset($links[0]))
  48. {
  49. $i = 1;
  50. foreach($links as $arr)
  51. {
  52. if($i==1) echo "<input type='hidden' name='previewurl' value=\"{$arr['link']}\" />\r\n";
  53. if($arr['image'] != '') $arr['image'] = "<img src='{$arr['image']}' />\r\n";
  54. echo "<hr />";
  55. echo "网址: <a href='{$arr['link']}' target='_blank'>{$arr['link']}</a><br />\r\n标题: {$arr['title']}<br />\r\n图片: {$arr['image']}\r\n";
  56. $i++;
  57. if($i>10) break;
  58. }
  59. }
  60. else
  61. {
  62. echo $errmsg;
  63. }
  64. ?>
  65. </td>
  66. </tr>
  67. <tr>
  68. <td height="94" align="center" bgcolor="#FFFFFF">
  69. <input type="button" name="b2" value="返回上一步进行修改" class="coolbg np" onclick="history.go(-1);" style="width:200px" />
  70. &nbsp;
  71. <input type="submit" name="b12" value="保存信息并进入下一步设置" class="coolbg np" style="width:200px" />
  72. </td>
  73. </tr>
  74. </table>
  75. </form>
  76. </body>
  77. </html>