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

99 lines
4.0KB

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