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

78 line
3.3KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
  6. <title>添加自定义表单</title>
  7. <link rel="stylesheet" href="/static/web/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="/static/web/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="/static/web/css/admin.css">
  10. <script src="/static/web/js/jquery.min.js"></script>
  11. <script src="/static/web/js/bootstrap.min.js"></script>
  12. <script src="/static/web/js/admin.main.js"></script>
  13. </head>
  14. <body>
  15. <div class="container-fluid">
  16. <ol class="breadcrumb">
  17. <li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li>
  18. <li class="breadcrumb-item"><a href="diy_main.php">自定义表单管理</a></li>
  19. <li class="breadcrumb-item active">添加自定义表单</li>
  20. </ol>
  21. <div class="card shadow-sm">
  22. <div class="card-header">添加自定义表单</div>
  23. <div class="card-body">
  24. <form name="form1" action="diy_add.php?action=add" method="post">
  25. <div class="table-responsive">
  26. <table class="table table-borderless">
  27. <tbody>
  28. <tr>
  29. <td width="260">表单id</td>
  30. <td><input type="text" name="diyid" id="diyid" class="admin-input-sm" value="<?php echo $newdiyid?>">(创建后不可修改,具有唯一性)</td>
  31. </tr>
  32. <tr>
  33. <td>表单名称</td>
  34. <td><input type="text" name="name" id="name" class="admin-input-sm" value="自定义表单<?php echo $newdiyid;?>" required>(前后台显示表单的名称)</td>
  35. </tr>
  36. <tr>
  37. <td>数据表名</td>
  38. <td><input type="text" name="table" id="table" class="admin-input-sm" value="<?php echo $cfg_dbprefix;?>diyform<?php echo $newdiyid;?>">(储存自定义表单数据,不能重复已有表名,创建后不可修改表名)</span></td>
  39. </tr>
  40. <tr>
  41. <td>字段配置</td>
  42. <td>创建完后,请添加字段配置</td>
  43. </tr>
  44. <tr>
  45. <td>列表模板</td>
  46. <td><input type="text" name="listtemplate" id="listtemplate" class="admin-input-sm" value="list_diyform<?php echo $newdiyid;?>.htm"></td>
  47. </tr>
  48. <tr>
  49. <td>文档模板</td>
  50. <td><input type="text" name="viewtemplate" id="viewtemplate" class="admin-input-sm" value="view_diyform<?php echo $newdiyid;?>.htm"></td>
  51. </tr>
  52. <tr>
  53. <td>发布模板</td>
  54. <td><input type="text" name="posttemplate" id="posttemplate" class="admin-input-sm" value="post_diyform<?php echo $newdiyid;?>.htm"></td>
  55. </tr>
  56. <tr>
  57. <td>前台列表和文档页公开</td>
  58. <td>
  59. <label><input type="radio" name="public" value="2"> 完全公开</label>
  60. <label><input type="radio" name="public" value="1" checked> 审核公开</label>
  61. <label><input type="radio" name="public" value="0"> 不公开</label>
  62. </td>
  63. </tr>
  64. <tr>
  65. <td colspan="2" align="center">
  66. <button type="submit" class="btn btn-success btn-sm">保存</button>
  67. <button type="reset" class="btn btn-outline-success btn-sm">重置</button>
  68. </td>
  69. </tr>
  70. </tbody>
  71. </table>
  72. </div>
  73. </form>
  74. </div>
  75. </div>
  76. </div>
  77. </body>
  78. </html>