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

71 lines
3.6KB

  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>发布<?php echo $cInfos['typename'];?>-会员中心-<?php echo $cfg_webname;?></title>
  7. <script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
  8. <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/font/css/font-awesome.min.css">
  10. <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css">
  11. <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/user.css">
  12. <script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.js"></script>
  13. </head>
  14. <body class="body-bg">
  15. <?php pasterTempletDiy('top.htm');?>
  16. <div class="container py-3">
  17. <div class="row">
  18. <div class="col-md-12">
  19. <div class="pannel-main-container shadow-sm rounded">
  20. <nav class="navbar navbar-expand-lg mb-3 p-0">
  21. <ol class="breadcrumb mr-auto">
  22. <li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li>
  23. <li class="breadcrumb-item">发布<?php echo $cInfos['typename'];?></li></li>
  24. </ol>
  25. <span class="navbar-text"><a href="javascript:history.back(-1);" class="btn btn-outline-success">返回</a></span>
  26. </nav>
  27. <form name="addcontent" action="archives_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit(`<?php echo $cInfos['titlename'];?>`);">
  28. <input type="hidden" name="dopost" value="save">
  29. <input type="hidden" name="channelid" value="<?php echo $channelid;?>">
  30. <div class="form-group row">
  31. <label class="col-sm-2 col-form-label"><?php echo $cInfos['titlename'];?></label>
  32. <div class="col-sm-10"><input type="text" name="title" id="title" class="form-control" placeholder="请输入文档标题"></div>
  33. </div>
  34. <div class="form-group row">
  35. <label class="col-sm-2 col-form-label">标签</label>
  36. <div class="col-sm-10"><input type="text" name="tags" id="tags" class="form-control"></div>
  37. </div>
  38. <div class="form-group row">
  39. <label class="col-sm-2 col-form-label">作者</label>
  40. <div class="col-sm-10"><input type="text" name="writer" id="writer" class="form-control" value="<?php echo $cfg_ml->M_UserName?>"></div>
  41. </div>
  42. <div class="form-group row">
  43. <label class="col-sm-2 col-form-label">发布栏目</label>
  44. <div class="col-sm-10">
  45. <?php
  46. $typeOptions = GetOptionList(0,$channelid);
  47. echo "<select name='typeid' class='form-control'>";
  48. echo "<option value='0' selected>请选择栏目</option>";
  49. echo $typeOptions;
  50. echo "</select>";
  51. ?>
  52. <span class="text-danger">*</span>(不能选择带颜色的分类)
  53. </div>
  54. </div>
  55. <div class="form-group row">
  56. <label class="col-sm-2 col-form-label">描述</label>
  57. <div class="col-sm-10"><textarea name="description" id="description" class="form-control"></textarea></div>
  58. </div>
  59. <?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield');?>
  60. <div class="text-center">
  61. <button type="submit" class="btn btn-success">提交</button>
  62. <button type="reset" class="btn btn-outline-success" onclick="location.reload();">重置</button>
  63. </div>
  64. </div>
  65. </form>
  66. </div>
  67. </div>
  68. </div>
  69. <?php pasterTempletDiy('foot.htm');?>
  70. </body>
  71. </html>