国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

54 行
2.1KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
  6. <title>获取投票标签</title>
  7. <link rel="stylesheet" href="/static/web/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="/static/web/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="/static/web/css/admin.css">
  10. </head>
  11. <body>
  12. <div class="container-fluid">
  13. <ol class="breadcrumb">
  14. <li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li>
  15. <li class="breadcrumb-item"><a href="vote_main.php">投票管理</a></li>
  16. <li class="breadcrumb-item active">获取投票标签</li>
  17. </ol>
  18. <div class="card shadow-sm">
  19. <div class="card-header">获取投票标签</div>
  20. <div class="card-body">
  21. <form name="form1" action="tag_test_action.php" method="post" target="stafrm">
  22. <input type="hidden" name="showsource" value="no">
  23. <input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>">
  24. <div class="table-responsive">
  25. <table class="table table-borderless">
  26. <tbody>
  27. <tr>
  28. <td><textarea name="partcode" id="partcode" class="admin-textarea-xl">{dede:vote id='<?php echo $aid?>'}{/dede:vote}</textarea></td>
  29. <td><textarea name="htmlf" id="htmlf" class="admin-textarea-xl"><script src="<?php echo $cfg_basehost.'/data/vote/vote_'.$aid.'.js' ?>"></script></textarea></td>
  30. <td>
  31. <textarea name="htmlf" id="htmlf" class="admin-textarea-xl">
  32. <?php
  33. $vt = new DedeVote($aid);
  34. echo $vt->GetVoteForm();
  35. $vt->Close();
  36. ?>
  37. </textarea>
  38. </td>
  39. </tr>
  40. <tr>
  41. <td colspan="3" align="center"><button type="submit"class="btn btn-success btn-sm">提交测试</button></td>
  42. </tr>
  43. <tr>
  44. <td colspan="3"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></td>
  45. </tr>
  46. </tbody>
  47. </table>
  48. </div>
  49. </form>
  50. </div>
  51. </div>
  52. </div>
  53. </body>
  54. </html>