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