|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
- <title>发布<?php echo $cInfos['typename'];?>-会员中心-<?php echo $cfg_webname;?></title>
- <script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
- <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/bootstrap.min.css">
- <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/font/css/font-awesome.min.css">
- <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css">
- <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/user.css">
- <script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.js"></script>
- </head>
- <body class="body-bg">
- <?php pasterTempletDiy('top.htm');?>
- <div class="container py-3">
- <div class="row">
- <div class="pannel-main col-md-12">
- <div class="pannel-main-container shadow-sm rounded">
- <nav class="navbar navbar-expand-lg mb-3 p-0">
- <ol class="breadcrumb mr-auto">
- <li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li>
- <li class="breadcrumb-item">发布<?php echo $cInfos['typename'];?></li></li>
- </ol>
- <span class="navbar-text"><a href="javascript:history.back(-1);" class="btn btn-success">返回</a></span>
- </nav>
- <form name="addcontent" action="archives_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit(`<?php echo $cInfos['titlename'];?>`);">
- <input type="hidden" name="dopost" value="save">
- <input type="hidden" name="channelid" value="<?php echo $channelid;?>">
- <div class="form-group row">
- <label class="col-sm-2 col-form-label"><?php echo $cInfos['titlename'];?></label>
- <div class="col-sm-10"><input type="text" name="title" id="title" class="form-control" placeholder="请输入文档标题"></div>
- </div>
- <div class="form-group row">
- <label class="col-sm-2 col-form-label">标签</label>
- <div class="col-sm-10"><input type="text" name="tags" id="tags" class="form-control"></div>
- </div>
- <div class="form-group row">
- <label class="col-sm-2 col-form-label">作者</label>
- <div class="col-sm-10"><input type="text" name="writer" id="writer" class="form-control" value="<?php echo $cfg_ml->M_UserName?>"></div>
- </div>
- <div class="form-group row">
- <label class="col-sm-2 col-form-label">发布栏目</label>
- <div class="col-sm-10">
- <?php
- $typeOptions = GetOptionList(0,$channelid);
- echo "<select name='typeid' class='form-control'>";
- echo "<option value='0' selected>请选择栏目</option>";
- echo $typeOptions;
- echo "</select>";
- ?>
- <span class="text-danger">*</span>(不能选择带颜色的分类)
- </div>
- </div>
- <div class="form-group row">
- <label class="col-sm-2 col-form-label">描述</label>
- <div class="col-sm-10"><textarea name="description" id="description" class="form-control"></textarea></div>
- </div>
- <?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield');?>
- <div class="text-center">
- <button type="submit" class="btn btn-success">提交</button>
- <button type="reset" class="btn btn-secondary" onclick="location.reload();">重置</button>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- <?php pasterTempletDiy('foot.htm');?>
- </body>
- </html>
|