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

56 lines
2.4KB

  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"><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. <table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" align="center">
  23. <tr>
  24. <td height="25" background="images/tbg.gif" bgcolor="#F2F6E5"><strong>网址获取规则测试:</strong>(测试时不会下载远程图片)</td>
  25. </tr>
  26. <tr>
  27. <td height="26" bgcolor="#FFFFFF">
  28. 测试的网址:<?php echo $previewurl; ?>
  29. </td>
  30. </tr>
  31. <tr id="sitem">
  32. <td height="23" bgcolor="#ffffff">
  33. <?php
  34. if($previewurl=='') echo "你没有指定测试时使用的文章网址,因此系统无法进行测试!";
  35. else {
  36. $dc = new DedeCollection();
  37. $dc->LoadNote($nid);
  38. echo "<textarea name='test' style='width:100%;height:450px'>".$dc->TestArt($previewurl)."</textarea>";
  39. }
  40. ?>
  41. </td>
  42. </tr>
  43. <tr>
  44. <td height="94" align="center" bgcolor="#FFFFFF">
  45. <input type="button" name="b2" value="返回上一步进行修改" class="coolbg np" onclick="history.go(-1);" style="width:180px" />
  46. &nbsp;
  47. <input type="button" name="b3" value="仅保存" class="coolbg np" style="width:80px" onclick="location='co_add.php?nid=<?php echo $nid; ?>&step=6';" />
  48. &nbsp;
  49. <input type="button" name="b5" value="保存并开始采集" class="coolbg np" style="width:120px" onclick="location='co_add.php?nid=<?php echo $nid; ?>&step=7';" />
  50. </td>
  51. </tr>
  52. </table>
  53. </form>
  54. </body>
  55. </html>