国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

member_model_add.htm 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. <script language="javascript" src="../static/js/jquery.js"></script>
  8. <script language="javascript" src="js/main.js"></script>
  9. <script language="javascript" src="js/diy.js"></script>
  10. <script language="javascript">
  11. function CheckSubmit() {
  12. if (document.form1.name.value == '') {
  13. alert("自定义表单名称不能为空!");
  14. return false;
  15. }
  16. return true;
  17. }
  18. </script>
  19. <link href="css/base.css" rel="stylesheet" type="text/css" />
  20. <style type="text/css">
  21. .STYLE1 {
  22. color: #FF0000
  23. }
  24. td {
  25. padding: 2px;
  26. padding-left: 6px;
  27. line-height: 150%;
  28. }
  29. .STYLE2 {
  30. color: #666666;
  31. display: none;
  32. }
  33. </style>
  34. </head>
  35. <body background="images/allbg.gif" leftmargin="8" topmargin="8">
  36. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle"
  37. style="background:#CFCFCF;">
  38. <form name="form1" action="member_model_add.php?action=add" method="post" onSubmit="return CheckSubmit();">
  39. <tr bgcolor="#CFCFCF">
  40. <td height="28" colspan="2" bgcolor="#EDF9D5" background='images/tbg.gif'><b>&nbsp;<a
  41. href="member_model_main.php"><u>会员模型管理</u></a> &gt; 新增会员模型:</b></td>
  42. </tr>
  43. <tr>
  44. <td width="35%" height="28" align="left" bgcolor="#FFFFFF"> 模型ID:<br />
  45. <span class="STYLE2" id='help1'>  数字,创建后不可更改,并具有唯一性。推荐使用默认值</span></td>
  46. <td width="65%" bgcolor="#FFFFFF"><input name="id" type="text" id="id" size="10" value="<?php echo $newid?>"
  47. class='pubinputs' style='width:60px' />
  48. * <img src="images/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:hand"
  49. onClick="showHide2('help1')" /></td>
  50. </tr>
  51. <tr>
  52. <td height="28" align="left" bgcolor="#FFFFFF"> 会员模型名称:<br />
  53. <span class="STYLE2" id="help3">  自定义表单的中文名称,在后台管理,前台发布等均使用此名字。</span></td>
  54. <td bgcolor="#FFFFFF"><input name="name" type="text" id="name" style="width:180px"
  55. value="会员模型<?php echo $newid;?>" class='pubinputs' />
  56. *<img src="images/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:hand"
  57. onClick="showHide2('help3')" /></td>
  58. </tr>
  59. <tr>
  60. <td height="28" align="left" bgcolor="#FFFFFF">数据表:<br />
  61. <span class="STYLE2" id="help5">  必须由英文、数字、下划线组成,用于保存自定义表单数据,不能和已有表名重复,创建后不可修改表名。</span></td>
  62. <td bgcolor="#FFFFFF"><input name="table" type="text" id="table" style="width:180px"
  63. value="<?php echo $cfg_dbprefix; ?>member_<?php echo $newid; ?>" class='pubinputs' />
  64. *<img src="images/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:hand"
  65. onClick="showHide2('help5')" /></td>
  66. </tr>
  67. <tr>
  68. <td height="28" align="left" bgcolor="#FFFFFF">模型描述:</td>
  69. <td bgcolor="#FFFFFF"><textarea name="description" cols="50" rows="5" class="tbtitle" id="description"
  70. onClick="this.value=''">模型描述</textarea></td>
  71. </tr>
  72. <tr>
  73. <td height="28" align="left" bgcolor="#FFFFFF">字段配置:</td>
  74. <td bgcolor="#FFFFFF"><span class="STYLE1">建立自定义表单后在“更改”自定义表单的地方添加字段即可。</span></td>
  75. </tr>
  76. <tr>
  77. <td height="28" align="left" bgcolor="#FFFFFF">启用状态:</td>
  78. <td bgcolor="#FFFFFF"><label>
  79. <input name="state" type="radio" class='np' value="1" checked />
  80. 启用 &nbsp;
  81. <input name="state" type="radio" value="0" class='np' />
  82. 禁用</label></td>
  83. </tr>
  84. <tr bgcolor="#F9FCEF">
  85. <td height="28" colspan="2">
  86. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  87. <tr>
  88. <td width="26%" height="45">&nbsp;</td>
  89. <td width="15%"><input type="submit" name="button" id="button" value="确定" class="np coolbg" /></td>
  90. <td width="59%"><input name="按钮" type="button" class="np coolbg" id="button2"
  91. onClick="location='mychannel_main.php';" value="返回" /></td>
  92. </tr>
  93. </table>
  94. </td>
  95. </tr>
  96. </form>
  97. </table>
  98. </body>
  99. </html>