国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

92 строки
4.4KB

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