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

109 lines
4.6KB

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