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

76 lines
3.8KB

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