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

76 lines
3.2KB

  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 rel="stylesheet" href="../static/css/bootstrap.min.css">
  7. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  8. <link href="css/base.css" rel="stylesheet" type="text/css">
  9. </head>
  10. <body background="images/allbg.gif" leftmargin="8" topmargin="8">
  11. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3" bgcolor="#D6D6D6">
  12. <tr>
  13. <td height="19" background="images/tbg.gif"><strong><a href="vote_main.php">投票管理</a>&gt;&gt;获取代码</strong>
  14. </td>
  15. </tr>
  16. <tr>
  17. <td height="200" bgcolor="#FFFFFF" valign="top">
  18. <table width="80%" border="0" cellspacing="2" cellpadding="2">
  19. <tr bgcolor="#EBF2DB">
  20. <td width="100%" bgcolor="#EBF2DB">在封面或主页模板中使用的标记:</td>
  21. </tr>
  22. <tr>
  23. <td valign="top">
  24. <table width="600" border="0" cellspacing="0" cellpadding="0">
  25. <form name="form1" action="tag_test_action.php" target="stafrm" method="post">
  26. <input type="hidden" name="showsource" value="no">
  27. <input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>" />
  28. <tr>
  29. <td width="370" height="153" align="center">
  30. <textarea name="partcode" cols="45" rows="6" id="partcode">{dede:vote id='<?php echo $aid?>' lineheight='22'
  31. tablewidth='100%' titlebgcolor='#EDEDE2'
  32. titlebackground='' tablebgcolor='#FFFFFF'}
  33. {/dede:vote}</textarea>
  34. </td>
  35. <td width="230" rowspan="2">
  36. <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
  37. </td>
  38. </tr>
  39. <tr>
  40. <td height="53" align="center" valign="top">
  41. <button type="submit" name="Submit" class="btn btn-success">提交测试</button>
  42. </td>
  43. </tr>
  44. </form>
  45. </table>
  46. </td>
  47. </tr>
  48. <tr bgcolor="#EBF2DB">
  49. <td bgcolor="#EBF2DB">在封面或主页模板中使用的JS:</td>
  50. </tr>
  51. <tr>
  52. <td height="200" valign="top">
  53. <textarea name="htmlf" cols="60" rows="5"
  54. id="htmlf"><script language="javascript" src="<?php echo $cfg_basehost.'/data/vote/vote_'.$aid.'.js' ?>"></script></textarea>
  55. </td>
  56. </tr>
  57. <tr bgcolor="#EBF2DB">
  58. <td bgcolor="#EBF2DB">默认生成的表单HTML:</td>
  59. </tr>
  60. <tr>
  61. <td height="200" valign="top">
  62. <textarea name="htmlf" cols="60" rows="10" id="htmlf"><?php
  63. $vt = new DedeVote($aid);
  64. echo $vt->GetVoteForm();
  65. $vt->Close();
  66. ?></textarea>
  67. </td>
  68. </tr>
  69. </table>
  70. </td>
  71. </tr>
  72. </table>
  73. </body>
  74. </html>