国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

cards_make.htm 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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" cellpadding="1" cellspacing="1" align="center" class="table maintable table-bordered mt-3"
  13. style=" background:#CFCFCF;">
  14. <form action="cards_make.php" name="form1" target="stafrm">
  15. <input type="hidden" name="dopost" value="make" />
  16. <tr>
  17. <td height="20" bgcolor="#EDF9D5" background='images/tbg.gif'>
  18. <table width="98%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless">
  19. <tr>
  20. <td width="30%" style="padding-left:10px;"><strong>点卡生成向导:</strong> </td>
  21. <td align="right">
  22. <button type="button" name="ss1" onClick="location='cards_type.php';" class='btn btn-success btn-sm'>点卡产品分类</button>
  23. <button type="button" name="ss2" onClick="location='cards_manage.php';"
  24. class='btn btn-success btn-sm'>点卡使用记录</button>
  25. </td>
  26. </tr>
  27. </table>
  28. </td>
  29. </tr>
  30. <tr>
  31. <td bgcolor="#FFFFFF">
  32. <table width="90%" border="0" cellpadding="2" cellspacing="2" class="table table-borderless">
  33. <tr>
  34. <td width="90">点卡类型:</td>
  35. <td>
  36. <select name='cardtype' style='width:120px'>
  37. <?php
  38. $dsql->SetQuery("Select * From #@__moneycard_type");
  39. $dsql->Execute();
  40. while($row=$dsql->GetArray()){
  41. echo " <option value='{$row['tid']}'>{$row['pname']}</option>\r\n";
  42. }
  43. $dsql->Close();
  44. ?>
  45. </select>
  46. </td>
  47. <td width="90">生成数量:</td>
  48. <td>
  49. <input name="mnum" type="text" id="mnum" style='width:120px' value="100" class='pubinputs' />
  50. </td>
  51. </tr>
  52. <tr>
  53. <td>点卡前缀:</td>
  54. <td>
  55. <input name="snprefix" type="text" id="snprefix" style='width:120px' value="SN" class='pubinputs' />
  56. </td>
  57. <td>密码长度:</td>
  58. <td><input name="pwdlen" type="text" id="pwdlen" style='width:120px' value="4" class='pubinputs' />
  59. </td>
  60. </tr>
  61. <tr>
  62. <td>密码类型:</td>
  63. <td>
  64. <label><input type="radio" name="ctype" value="1" class='np' />
  65. 纯数字</label>
  66. <label><input name="ctype" type="radio" value="2" checked='1' class='np' />
  67. 大写字母</label></td>
  68. <td>密码组数:</td>
  69. <td><input name="pwdgr" type="text" id="pwdgr" style='width:120px' value="3" class='np' />
  70. </td>
  71. </tr>
  72. </table>
  73. </td>
  74. </tr>
  75. <tr>
  76. <td height="31" bgcolor="#ffffff" align="center">
  77. <button type="submit" name="Submit" class='btn btn-success'>开始生成点卡</button>
  78. </td>
  79. </tr>
  80. </form>
  81. <tr bgcolor="#F9FCEF">
  82. <td height="20">
  83. <table width="100%" class="table table-borderless">
  84. <tr>
  85. <td width="74%"><strong>结果:</strong></td>
  86. <td width="26%" align="right">
  87. <script language='javascript'>
  88. function ResizeDiv(obj, ty) {
  89. if (ty == "+") document.all[obj].style.pixelHeight += 50;
  90. else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
  91. }
  92. </script>
  93. [<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>]
  94. </td>
  95. </tr>
  96. </table>
  97. </td>
  98. </tr>
  99. <tr bgcolor="#FFFFFF">
  100. <td id="mtd">
  101. <div id='mdv' style='width:100%;height:350px;'>
  102. <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
  103. </div>
  104. </td>
  105. </tr>
  106. </table>
  107. </body>
  108. </html>