@@ -164,7 +164,7 @@ | |||||
<td width="180" class="td1">验证码</td> | <td width="180" class="td1">验证码</td> | ||||
<td> | <td> | ||||
<input name="validate" type="text" id="vdcode2" size="10" class="ipt-txt" style="text-transform: uppercase;"> | <input name="validate" type="text" id="vdcode2" size="10" class="ipt-txt" style="text-transform: uppercase;"> | ||||
<img src="../apps/vdimgck.php" style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片"> | |||||
<img src="../apps/vdimgck.php" style="cursor:pointer" onclick="this.src=this.src+'?'" title="验证码" alt="验证码"> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</tbody> | </tbody> | ||||
@@ -70,7 +70,7 @@ | |||||
<td height="26">验证码:</td> | <td height="26">验证码:</td> | ||||
<td> | <td> | ||||
<input name="validate" type="text" id="vdcode2" size="10" class="ipt-txt" style="text-transform: uppercase;"> | <input name="validate" type="text" id="vdcode2" size="10" class="ipt-txt" style="text-transform: uppercase;"> | ||||
<img src="../apps/vdimgck.php" style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片"> | |||||
<img src="../apps/vdimgck.php" style="cursor:pointer" onclick="this.src=this.src+'?'" title="验证码" alt="验证码"> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -16,7 +16,7 @@ | |||||
<label for="iptValidate">验证码</label> | <label for="iptValidate">验证码</label> | ||||
<div class="input-group"> | <div class="input-group"> | ||||
<input type="text" class="form-control" id="iptValidate" style="text-transform:uppercase"> | <input type="text" class="form-control" id="iptValidate" style="text-transform:uppercase"> | ||||
<img src="{dede:global.cfg_cmspath/}/apps/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src='{dede:global.cfg_cmspath/}/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="点击我更换图片" alt="点击我更换图片"> | |||||
<img src="{dede:global.cfg_cmspath/}/apps/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src='{dede:global.cfg_cmspath/}/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" alt="验证码"> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
@@ -15,6 +15,6 @@ else { | |||||
echo "用户名:{$cfg_ml->M_UserName} <input name=\"notuser\" type=\"checkbox\" id=\"notuser\" value=\"1\" />匿名评论\r\n"; | echo "用户名:{$cfg_ml->M_UserName} <input name=\"notuser\" type=\"checkbox\" id=\"notuser\" value=\"1\" />匿名评论\r\n"; | ||||
if ($cfg_feedback_ck == 'Y') { | if ($cfg_feedback_ck == 'Y') { | ||||
echo "验证码:<input name=\"validate\" type=\"text\" id=\"validate\" size=\"10\" style=\"height:18px;width:60px;margin-right:6px;text-transform: uppercase;\" class=\"nb\" />"; | echo "验证码:<input name=\"validate\" type=\"text\" id=\"validate\" size=\"10\" style=\"height:18px;width:60px;margin-right:6px;text-transform: uppercase;\" class=\"nb\" />"; | ||||
echo "<img src='{$cfg_cmsurl}/apps/vdimgck.php' style='cursor:pointer' id='validateimg' onclick=\"this.src=this.src+'?'\" title='点击我更换图片' alt='点击我更换图片' />\r\n"; | |||||
echo "<img src='{$cfg_cmsurl}/apps/vdimgck.php' style='cursor:pointer' id='validateimg' onclick=\"this.src=this.src+'?'\" title='验证码' alt='验证码' />\r\n"; | |||||
} | } | ||||
} | } |
@@ -1,133 +1,130 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<script src="<?php echo $cfg_cmsurl; ?>/static/web/js/member_album.js"></script> | |||||
<title>发表<?php echo $cInfos['typename']; ?> - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 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 btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="album_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>"> | |||||
<input type="hidden" name="imagebody" id="imagebody" value=''> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label"><?php echo $cInfos['titlename']; ?></label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" class="form-control" placeholder="请输入内容主题"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标签Tag</label> | |||||
<div class="col-sm-10"> | |||||
<input name="tags" type="text" 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 name="writer" type="text" id="writer" value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</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 class='form-control' name='typeid' size='1'>"; | |||||
echo "<option value='0' selected>请选择栏目</option>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">图集简介</label> | |||||
<div class="col-sm-10"> | |||||
<textarea class='form-control' name="description" id="description"></textarea>(内容的简要说明) | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); | |||||
?> | |||||
<!-- 表单操作区域 --> | |||||
<label>图集内容</label> | |||||
<div class="contentShow postForm"> | |||||
<input name="maxwidth" type="hidden" id="maxwidth" value="<?php echo $cfg_album_width; ?>"> | |||||
<input name="prow" type="hidden" value="<?php echo $cfg_album_row; ?>"> | |||||
<input name="pcol" type="hidden" value="<?php echo $cfg_album_col; ?>"> | |||||
<input name="ddmaxwidth" type="hidden" value="<?php echo $cfg_album_ddwidth; ?>"> | |||||
<p class="cellBg"> | |||||
<label>表现方式:</label> | |||||
<label><input name="pagestyle" type="radio" id="pagestyle1" onclick="checkMuList()" value="1" | |||||
<?php if($cfg_album_style==1) echo " checked='checked'"; ?> /> 多页多图显示(适用于QQ表情等)</label> | |||||
<label><input name="pagestyle" type="radio" id="pagestyle2" onclick="checkMuList()" value="2" | |||||
<?php if($cfg_album_style==2) echo " checked='checked'"; ?> />多页单图显示(幻灯)</label> | |||||
<label><input name="pagestyle" type="radio" id="pagestyle3" onclick="checkMuList()" value="3" | |||||
<?php if($cfg_album_style==3) echo " checked='checked'"; ?> />多行多列显示(缩略图)</label> | |||||
<div id='spagelist' style='display:none' class="mTB10"> 每页图片数: | |||||
<input name='pagpicnum' id='pagpicnum' size='10' class="text" value='<?php echo $cfg_album_pagesize; ?>'> | |||||
</div> | |||||
</p> | |||||
<p> | |||||
<label>手工上传:</label> | |||||
图片数目:<input name="picnum" type="text" id="picnum" size="6" value="3" maxlength="100" class="intxt"> | |||||
<button class="btn btn-success btn-sm" name='kkkup' type='button' id='kkkup2' onclick="MakeUpload(0);">增加</button>(最大60幅) | |||||
</p> | |||||
<p> | |||||
<div id="uploadfield"></div> | |||||
<script language="JavaScript">MakeUpload(2);</script> | |||||
</p> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if(preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'"> | |||||
</div> | |||||
</div> | |||||
<?php }?> | |||||
<p> | |||||
<button class="btn btn-success btn-sm" type="submit">提交</button> | |||||
<button class="btn btn-secondary btn-sm" type="reset" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<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/member.css"> | |||||
<script src="<?php echo $cfg_cmsurl; ?>/static/web/js/member_album.js"></script> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 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 btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="album_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>"> | |||||
<input type="hidden" name="imagebody" id="imagebody" value=""> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label"><?php echo $cInfos['titlename']; ?></label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" class="form-control" placeholder="请输入标题"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标签Tag</label> | |||||
<div class="col-sm-10"> | |||||
<input name="tags" type="text" 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 name="writer" type="text" id="writer" value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</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 class='form-control' name='typeid' size='1'>"; | |||||
echo "<option value='0' selected>请选择栏目</option>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">描述</label> | |||||
<div class="col-sm-10"> | |||||
<textarea class="form-control" name="description" id="description"></textarea> | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); | |||||
?> | |||||
<label>正文</label> | |||||
<div class="contentShow postForm"> | |||||
<input name="maxwidth" type="hidden" id="maxwidth" value="<?php echo $cfg_album_width; ?>"> | |||||
<input name="prow" type="hidden" value="<?php echo $cfg_album_row; ?>"> | |||||
<input name="pcol" type="hidden" value="<?php echo $cfg_album_col; ?>"> | |||||
<input name="ddmaxwidth" type="hidden" value="<?php echo $cfg_album_ddwidth; ?>"> | |||||
<p class="cellBg"> | |||||
<label>表现方式:</label> | |||||
<label><input name="pagestyle" type="radio" id="pagestyle1" onclick="checkMuList()" value="1" <?php if($cfg_album_style==1) echo " checked='checked'"; ?>> 多页多图显示(适用于QQ表情等)</label> | |||||
<label><input name="pagestyle" type="radio" id="pagestyle2" onclick="checkMuList()" value="2" <?php if($cfg_album_style==2) echo " checked='checked'"; ?>> 多页单图显示(幻灯)</label> | |||||
<label><input name="pagestyle" type="radio" id="pagestyle3" onclick="checkMuList()" value="3" <?php if($cfg_album_style==3) echo " checked='checked'"; ?>> 多行多列显示(缩略图)</label> | |||||
<div id="spagelist" class="mTB10" style="display:none">每页图片数:<input name='pagpicnum' id='pagpicnum' size='10' class="text" value='<?php echo $cfg_album_pagesize; ?>'></div> | |||||
</p> | |||||
<p> | |||||
<label>手工上传</label> | |||||
图片数目:<input name="picnum" type="text" id="picnum" size="6" value="3" maxlength="100" class="intxt"> | |||||
<button class="btn btn-success btn-sm" name='kkkup' type='button' id='kkkup2' onclick="MakeUpload(0);">增加</button>(最大60幅) | |||||
</p> | |||||
<p> | |||||
<div id="uploadfield"></div> | |||||
<script language="JavaScript"> | |||||
MakeUpload(2); | |||||
</script> | |||||
</p> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if (preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="验证码" title="验证码" onclick="this.src=this.src+'?'" style="cursor:pointer"> | |||||
</div> | |||||
</div> | |||||
<?php | |||||
} | |||||
?> | |||||
<p> | |||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | |||||
<button type="reset" class="btn btn-secondary btn-sm" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
</html> | </html> |
@@ -1,177 +1,166 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<script src="<?php echo $cfg_cmsurl; ?>/static/web/js/member_album.js"></script> | |||||
<title>修改<?php echo $row['title']?> - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 mr-auto"> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | |||||
<li class="breadcrumb-item">修改:<?php echo $row['title']?></li> | |||||
</li> | |||||
</ol> | |||||
<span class="navbar-text"> | |||||
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="album_edit.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="aid" value="<?php echo $row['id']; ?>"> | |||||
<input type="hidden" name="idhash" value="<?php echo hash('sha256', $row['id'].$cfg_cookie_encode); ?>"> | |||||
<input type="hidden" name="channelid" value="<?php echo $row['channel']; ?>"> | |||||
<input type="hidden" name="oldlitpic" value="<?php echo $row['litpic']; ?>"> | |||||
<input type="hidden" name="sortrank" value="<?php echo $row['sortrank']; ?>"> | |||||
<input type="hidden" name="imagebody" id="imagebody" value=''> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标题</label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" value="<?php echo $row['title']?>" class="form-control" placeholder="请输入内容主题"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标签Tag</label> | |||||
<div class="col-sm-10"> | |||||
<input name="tags" type="text" id="tags" value="<?php echo GetTags($row['id']); ?>" 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 name="writer" type="text" id="writer" value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">隶属栏目</label> | |||||
<div class="col-sm-10"> | |||||
<?php | |||||
$typeOptions = GetOptionList($row["typeid"],$row["channel"]); | |||||
echo "<select class='form-control' name='typeid' size='1'>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">图集简介</label> | |||||
<div class="col-sm-10"> | |||||
<textarea class='form-control' name="description" id="description"><?php echo $row["description"]; ?></textarea>(内容的简要说明) | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsEdit($row['fieldset'],$addRow,'autofield'); | |||||
?> | |||||
<!-- 表单操作区域 --> | |||||
<label>图集内容</label> | |||||
<div class="contentShow postForm"> | |||||
<input name="maxwidth" type="hidden" id="maxwidth" value="<?php echo $abinfo->GetAtt('maxwidth'); ?>"> | |||||
<input name="prow" type="hidden" value="<?php echo $abinfo->GetAtt('row'); ?>"> | |||||
<input name="pcol" type="hidden" value="<?php echo $abinfo->GetAtt('col'); ?>"> | |||||
<input name="ddmaxwidth" type="hidden" value="<?php echo $abinfo->GetAtt('ddmaxwidth'); ?>"> | |||||
<p class="cellBg"> | |||||
<label>表现方式:</label> | |||||
<label><input name="pagestyle" type="radio" id="pagestyle1" onclick="checkMuList()" value="1" | |||||
<?php if($cfg_album_style==1) echo " checked='checked'"; ?> /> 多页多图显示(适用于QQ表情等)</label> | |||||
<label><input name="pagestyle" type="radio" id="pagestyle2" onclick="checkMuList()" value="2" | |||||
<?php if($cfg_album_style==2) echo " checked='checked'"; ?> />多页单图显示(幻灯)</label> | |||||
<label><input name="pagestyle" type="radio" id="pagestyle3" onclick="checkMuList()" value="3" | |||||
<?php if($cfg_album_style==3) echo " checked='checked'"; ?> />多行多列显示(缩略图)</label> | |||||
<div id='spagelist' style="<?php if($abinfo->GetAtt('value')!=2) echo "display:none"; ?>" class="mTB10"> 每页图片数: | |||||
<input name='pagpicnum' id='pagpicnum' size='10' class="text" value="<?php echo $abinfo->GetAtt('pagpicnum'); ?>"> | |||||
</div> | |||||
</p> | |||||
<p> | |||||
<label>手工上传:</label> | |||||
图片数目:<input name="picnum" type="text" id="picnum" size="6" value="3" maxlength="100" class="intxt"> | |||||
<button class="btn btn-success btn-sm" name='kkkup' type='button' id='kkkup2' onclick="MakeUpload(0);">增加</button>(最大60幅) | |||||
</p> | |||||
<p> | |||||
<div id="uploadfield"></div> | |||||
<?php | |||||
$j = 1; | |||||
if(is_array($dtp->CTags)) | |||||
{ | |||||
foreach($dtp->CTags as $ctag){ | |||||
if($ctag->GetName()=="img"){ | |||||
?> | |||||
<table width='98%' align="center"> | |||||
<tr> | |||||
<td><input type='checkbox' name='isokcheck<?php echo $j; ?>' id='isokcheck<?php echo $j; ?>' value='1' class='np' onclick='CheckSelTable(<?php echo $j; ?>)' checked='1'> | |||||
显示/隐藏图片[<?php echo $j; ?>]的选框 </td> | |||||
</tr> | |||||
</table> | |||||
<table width="100%" id="seltb<?php echo $j; ?>" style="margin-bottom:10px;" align="center"> | |||||
<tr> | |||||
<td height="26" colspan="2"> 图片</td> | |||||
</tr> | |||||
<tr> | |||||
<td height="26"> 本地上传: | |||||
<input type="text" name='imgfile<?php echo $j; ?>' style="width:200px;" maxlength="100" class="intxt"> | |||||
</td> | |||||
<td rowspan="3" align="center"> | |||||
<div id='divpicview<?php echo $j; ?>' class='divpre' style="height:5px"></div> | |||||
<img src="<?php echo trim($ctag->GetInnerText()); ?>" id="picview<?php echo $j; ?>" name="picview<?php echo $j; ?>" style="width: 128px; height: 128px;"> | |||||
</td> | |||||
</tr> | |||||
<input type="hidden" name='imgurl<?php echo $j; ?>' value='<?php echo trim($ctag->GetInnerText())?>'> | |||||
<tr> | |||||
<td height="56"> 图片简介: | |||||
<textarea name='imgmsg<?php echo $j; ?>' style="height:46px;width:200px"><?php echo trim($ctag->GetAtt('text'))?></textarea></td> | |||||
</tr> | |||||
</table> | |||||
<?php | |||||
$j++; | |||||
} | |||||
} | |||||
} | |||||
$dtp->Clear(); | |||||
?> | |||||
</p> | |||||
<script language="JavaScript"> | |||||
startNum = <?php echo $j; ?>; | |||||
</script> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if(preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'"> | |||||
</div> | |||||
</div> | |||||
<?php }?> | |||||
<p> | |||||
<button class="btn btn-success btn-sm" type="submit">提交</button> | |||||
<button class="btn btn-secondary btn-sm" type="reset" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>修改<?php echo $row['title']?>-会员中心-<?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/member.css"> | |||||
<script src="<?php echo $cfg_cmsurl; ?>/static/web/js/member_album.js"></script> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 mr-auto"> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | |||||
<li class="breadcrumb-item">修改<?php echo $row['title']?></li></li> | |||||
</ol> | |||||
<span class="navbar-text"> | |||||
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="album_edit.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="aid" value="<?php echo $row['id']; ?>"> | |||||
<input type="hidden" name="idhash" value="<?php echo hash('sha256', $row['id'].$cfg_cookie_encode); ?>"> | |||||
<input type="hidden" name="channelid" value="<?php echo $row['channel']; ?>"> | |||||
<input type="hidden" name="oldlitpic" value="<?php echo $row['litpic']; ?>"> | |||||
<input type="hidden" name="sortrank" value="<?php echo $row['sortrank']; ?>"> | |||||
<input type="hidden" name="imagebody" id="imagebody" value=""> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标题</label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" value="<?php echo $row['title']?>" class="form-control" placeholder="请输入标题"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标签Tag</label> | |||||
<div class="col-sm-10"> | |||||
<input name="tags" type="text" id="tags" value="<?php echo GetTags($row['id']); ?>" 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 name="writer" type="text" id="writer" value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">发布栏目</label> | |||||
<div class="col-sm-10"> | |||||
<?php | |||||
$typeOptions = GetOptionList($row["typeid"],$row["channel"]); | |||||
echo "<select class='form-control' name='typeid' size='1'>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">描述</label> | |||||
<div class="col-sm-10"> | |||||
<textarea class="form-control" name="description" id="description"><?php echo $row["description"]; ?></textarea> | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsEdit($row['fieldset'],$addRow,'autofield'); | |||||
?> | |||||
<label>正文</label> | |||||
<div class="contentShow postForm"> | |||||
<input name="maxwidth" type="hidden" id="maxwidth" value="<?php echo $abinfo->GetAtt('maxwidth'); ?>"> | |||||
<input name="prow" type="hidden" value="<?php echo $abinfo->GetAtt('row'); ?>"> | |||||
<input name="pcol" type="hidden" value="<?php echo $abinfo->GetAtt('col'); ?>"> | |||||
<input name="ddmaxwidth" type="hidden" value="<?php echo $abinfo->GetAtt('ddmaxwidth'); ?>"> | |||||
<p class="cellBg"> | |||||
<label>表现方式:</label> | |||||
<label><input name="pagestyle" type="radio" id="pagestyle1" onclick="checkMuList()" value="1" <?php if($cfg_album_style==1) echo " checked='checked'"; ?>> 多页多图显示(适用于QQ表情等)</label> | |||||
<label><input name="pagestyle" type="radio" id="pagestyle2" onclick="checkMuList()" value="2" <?php if($cfg_album_style==2) echo " checked='checked'"; ?>> 多页单图显示(幻灯)</label> | |||||
<label><input name="pagestyle" type="radio" id="pagestyle3" onclick="checkMuList()" value="3" <?php if($cfg_album_style==3) echo " checked='checked'"; ?>> 多行多列显示(缩略图)</label> | |||||
<div id="spagelist" style="<?php if($abinfo->GetAtt('value')!=2) echo 'display:none'; ?>" class="mTB10">每页图片数:<input name="pagpicnum" id="pagpicnum size="10 class="text" value="<?php echo $abinfo->GetAtt('pagpicnum'); ?>"></div> | |||||
</p> | |||||
<p> | |||||
<label>手工上传</label> | |||||
图片数目:<input name="picnum" type="text" id="picnum" size="6" value="3" maxlength="100" class="intxt"> | |||||
<button class="btn btn-success btn-sm" name='kkkup' type='button' id='kkkup2' onclick="MakeUpload(0);">增加</button>(最大60幅) | |||||
</p> | |||||
<p> | |||||
<div id="uploadfield"></div> | |||||
<?php | |||||
$j = 1; | |||||
if(is_array($dtp->CTags)) | |||||
{ | |||||
foreach($dtp->CTags as $ctag){ | |||||
if($ctag->GetName()=="img"){ | |||||
?> | |||||
<table width="98%" align="center"> | |||||
<tr> | |||||
<td><input type="checkbox" name="isokcheck<?php echo $j; ?>" id="isokcheck<?php echo $j; ?>" value="1" class="np" onclick="CheckSelTable(<?php echo $j; ?>)" checked="1"> 显示隐藏图片[<?php echo $j; ?>]的选框</td> | |||||
</tr> | |||||
</table> | |||||
<table width="100%" id="seltb<?php echo $j; ?>" style="margin-bottom:10px" align="center"> | |||||
<tr> | |||||
<td height="26" colspan="2">图片</td> | |||||
</tr> | |||||
<tr> | |||||
<td height="26">本地上传:<input type="text" name="imgfile<?php echo $j; ?>" style="width:200px" maxlength="100" class="intxt"></td> | |||||
<td rowspan="3" align="center"> | |||||
<div id="divpicview<?php echo $j; ?>" class="divpre" style="height:5px"></div> | |||||
<img src="<?php echo trim($ctag->GetInnerText()); ?>" id="picview<?php echo $j; ?>" name="picview<?php echo $j; ?>" style="width:128px;height:128px"> | |||||
</td> | |||||
</tr> | |||||
<input type="hidden" name="imgurl<?php echo $j; ?>" value="<?php echo trim($ctag->GetInnerText())?>"> | |||||
<tr> | |||||
<td height="56">简介:<textarea name="imgmsg<?php echo $j; ?>" style="height:46px;width:200px"><?php echo trim($ctag->GetAtt('text'))?></textarea></td> | |||||
</tr> | |||||
</table> | |||||
<?php | |||||
$j++; | |||||
} | |||||
} | |||||
} | |||||
$dtp->Clear(); | |||||
?> | |||||
</p> | |||||
<script language="JavaScript"> | |||||
startNum = "<? php echo $j; ?>"; | |||||
</script> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if(preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="验证码" title="验证码" onclick="this.src=this.src+'?'" style="cursor:pointer"> | |||||
</div> | |||||
</div> | |||||
<?php }?> | |||||
<p> | |||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | |||||
<button type="reset" class="btn btn-secondary btn-sm" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
</html> | </html> |
@@ -1,127 +1,128 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>发表<?php echo $cInfos['typename']; ?> - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 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 btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="archives_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>"> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label"><?php echo $cInfos['titlename']; ?></label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" class="form-control" placeholder="请输入内容主题"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标签Tag</label> | |||||
<div class="col-sm-10"> | |||||
<input name="tags" type="text" 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 name="writer" type="text" id="writer" value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</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 class='form-control' name='typeid' size='1'>"; | |||||
echo "<option value='0' selected>请选择栏目</option>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">信息摘要</label> | |||||
<div class="col-sm-10"> | |||||
<textarea class='form-control' name="description" id="description"></textarea>(内容的简要说明) | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); | |||||
?> | |||||
<!-- 表单操作区域 --> | |||||
<div class="contentShow postForm"> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if(preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'"> | |||||
</div> | |||||
</div> | |||||
<?php }?> | |||||
<p> | |||||
<button class="btn btn-success btn-sm" type="submit">提交</button> | |||||
<button class="btn btn-secondary btn-sm" type="reset" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
function checkSubmit() { | |||||
if (document.addcontent.title.value == "") { | |||||
ShowMsg("名称不能为空"); | |||||
document.addcontent.title.focus(); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.value == 0) { | |||||
ShowMsg("隶属栏目必须选择"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { | |||||
ShowMsg("隶属栏目必须选择白色背景的项目"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.vdcode.value == "") { | |||||
document.addcontent.vdcode.focus(); | |||||
ShowMsg("验证码不能为空"); | |||||
return false; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 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 btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="archives_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>"> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label"><?php echo $cInfos['titlename']; ?></label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" class="form-control" placeholder="请输入标题"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标签Tag</label> | |||||
<div class="col-sm-10"> | |||||
<input name="tags" type="text" 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 name="writer" type="text" id="writer" value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</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 class='form-control' name='typeid' size='1'>"; | |||||
echo "<option value='0' selected>请选择栏目</option>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">描述</label> | |||||
<div class="col-sm-10"> | |||||
<textarea class="form-control" name="description" id="description"></textarea> | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); | |||||
?> | |||||
<div class="contentShow postForm"> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if(preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="验证码" title="验证码" onclick="this.src=this.src+'?'" style="cursor:pointer"> | |||||
</div> | |||||
</div> | |||||
<?php | |||||
} | |||||
?> | |||||
<p> | |||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | |||||
<button type="reset" class="btn btn-secondary btn-sm" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
function checkSubmit() { | |||||
if (document.addcontent.title.value == "") { | |||||
ShowMsg("名称不能为空"); | |||||
document.addcontent.title.focus(); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.value == 0) { | |||||
ShowMsg("隶属栏目必须选择"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid | |||||
.selectedIndex].className != 'option3') { | |||||
ShowMsg("隶属栏目必须选择白色背景的项目"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.vdcode.value == "") { | |||||
document.addcontent.vdcode.focus(); | |||||
ShowMsg("验证码不能为空"); | |||||
return false; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
</html> | </html> |
@@ -1,126 +1,125 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>修改<?php echo $cInfos['typename']; ?> - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 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 btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="archives_edit.php?aid=<?php echo $aid;?>" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>"> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标题</label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" value="<?php echo $row['title']?>" class="form-control" placeholder="请输入内容主题"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标签Tag</label> | |||||
<div class="col-sm-10"> | |||||
<input name="tags" type="text" id="tags" value="<?php echo $row['keywords']; ?>" 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 name="writer" type="text" id="writer" value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">隶属栏目</label> | |||||
<div class="col-sm-10"> | |||||
<?php | |||||
$typeOptions = GetOptionList($row["typeid"],$row["channel"]); | |||||
echo "<select class='form-control' name='typeid' size='1'>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">信息摘要</label> | |||||
<div class="col-sm-10"> | |||||
<textarea class='form-control' name="description" id="description"><?php echo $row["description"]; ?></textarea>(内容的简要说明) | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']), $addRow, 'autofield'); | |||||
?> | |||||
<!-- 表单操作区域 --> | |||||
<div class="contentShow postForm"> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if(preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'"> | |||||
</div> | |||||
</div> | |||||
<?php }?> | |||||
<p> | |||||
<button class="btn btn-success btn-sm" type="submit">提交</button> | |||||
<button class="btn btn-secondary btn-sm" type="reset" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
function checkSubmit() { | |||||
if (document.addcontent.title.value == "") { | |||||
ShowMsg("名称不能为空"); | |||||
document.addcontent.title.focus(); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.value == 0) { | |||||
ShowMsg("隶属栏目必须选择"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { | |||||
ShowMsg("隶属栏目必须选择白色背景的项目"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.vdcode.value == "") { | |||||
document.addcontent.vdcode.focus(); | |||||
ShowMsg("验证码不能为空"); | |||||
return false; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 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 btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="archives_edit.php?aid=<?php echo $aid;?>" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>"> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标题</label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" value="<?php echo $row['title']?>" class="form-control" placeholder="请输入标题"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标签Tag</label> | |||||
<div class="col-sm-10"> | |||||
<input name="tags" type="text" id="tags" value="<?php echo $row['keywords']; ?>" 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 name="writer" type="text" id="writer" value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">发布栏目</label> | |||||
<div class="col-sm-10"> | |||||
<?php | |||||
$typeOptions = GetOptionList($row["typeid"],$row["channel"]); | |||||
echo "<select class='form-control' name='typeid' size='1'>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">描述</label> | |||||
<div class="col-sm-10"> | |||||
<textarea class="form-control" name="description" id="description"><?php echo $row["description"]; ?></textarea> | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']), $addRow, 'autofield'); | |||||
?> | |||||
<div class="contentShow postForm"> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if(preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="验证码" title="验证码" onclick="this.src=this.src+'?'" style="cursor:pointer"> | |||||
</div> | |||||
</div> | |||||
<?php }?> | |||||
<p> | |||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | |||||
<button type="reset" class="btn btn-secondary btn-sm" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
function checkSubmit() { | |||||
if (document.addcontent.title.value == "") { | |||||
ShowMsg("名称不能为空"); | |||||
document.addcontent.title.focus(); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.value == 0) { | |||||
ShowMsg("隶属栏目必须选择"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid | |||||
.selectedIndex].className != 'option3') { | |||||
ShowMsg("隶属栏目必须选择白色背景的项目"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.vdcode.value == "") { | |||||
document.addcontent.vdcode.focus(); | |||||
ShowMsg("验证码不能为空"); | |||||
return false; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
</html> | </html> |
@@ -1,128 +1,128 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>发表<?php echo $cInfos['typename']; ?> - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 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 btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="archives_sg_add.php" method="post" enctype="multipart/form-data" | |||||
onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>"> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label"><?php echo $cInfos['titlename']; ?></label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" class="form-control" placeholder="请输入内容主题"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标签Tag</label> | |||||
<div class="col-sm-10"> | |||||
<input name="tags" type="text" 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 name="writer" type="text" id="writer" value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</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 class='form-control' name='typeid' size='1'>"; | |||||
echo "<option value='0' selected>请选择栏目</option>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">信息摘要</label> | |||||
<div class="col-sm-10"> | |||||
<textarea class='form-control' name="description" id="description"></textarea>(内容的简要说明) | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); | |||||
?> | |||||
<!-- 表单操作区域 --> | |||||
<div class="contentShow postForm"> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if(preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'"> | |||||
</div> | |||||
</div> | |||||
<?php }?> | |||||
<p> | |||||
<button class="btn btn-success btn-sm" type="submit">提交</button> | |||||
<button class="btn btn-secondary btn-sm" type="reset" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
function checkSubmit() { | |||||
if (document.addcontent.title.value == "") { | |||||
ShowMsg("名称不能为空"); | |||||
document.addcontent.title.focus(); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.value == 0) { | |||||
ShowMsg("隶属栏目必须选择"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { | |||||
ShowMsg("隶属栏目必须选择白色背景的项目"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.vdcode.value == "") { | |||||
document.addcontent.vdcode.focus(); | |||||
ShowMsg("验证码不能为空"); | |||||
return false; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 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 btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="archives_sg_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>"> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label"><?php echo $cInfos['titlename']; ?></label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" class="form-control" placeholder="请输入标题"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标签Tag</label> | |||||
<div class="col-sm-10"> | |||||
<input name="tags" type="text" 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 name="writer" type="text" id="writer" value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</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 class='form-control' name='typeid' size='1'>"; | |||||
echo "<option value='0' selected>请选择栏目</option>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">描述</label> | |||||
<div class="col-sm-10"> | |||||
<textarea class="form-control" name="description" id="description"></textarea> | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); | |||||
?> | |||||
<div class="contentShow postForm"> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if(preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="验证码" title="验证码" onclick="this.src=this.src+'?'" style="cursor:pointer"> | |||||
</div> | |||||
</div> | |||||
<?php | |||||
} | |||||
?> | |||||
<p> | |||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | |||||
<button type="reset" class="btn btn-secondary btn-sm" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
function checkSubmit() { | |||||
if (document.addcontent.title.value == "") { | |||||
ShowMsg("名称不能为空"); | |||||
document.addcontent.title.focus(); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.value == 0) { | |||||
ShowMsg("隶属栏目必须选择"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid | |||||
.selectedIndex].className != 'option3') { | |||||
ShowMsg("隶属栏目必须选择白色背景的项目"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.vdcode.value == "") { | |||||
document.addcontent.vdcode.focus(); | |||||
ShowMsg("验证码不能为空"); | |||||
return false; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
</html> | </html> |
@@ -1,114 +1,121 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>修改<?php echo $cInfos['typename']; ?> - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 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 btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="archives_sg_edit.php?aid=<?php echo $aid;?>" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>"> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标题</label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" value="<?php echo $addRow['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 name="writer" type="text" id="writer" value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">隶属栏目</label> | |||||
<div class="col-sm-10"> | |||||
<?php | |||||
$typeOptions = GetOptionList($addRow["typeid"],$addRow["channel"]); | |||||
echo "<select class='form-control' name='typeid' size='1'>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']), $addRow, 'autofield'); | |||||
?> | |||||
<!-- 表单操作区域 --> | |||||
<div class="contentShow postForm"> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if(preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'"> | |||||
</div> | |||||
</div> | |||||
<?php }?> | |||||
<p> | |||||
<button class="btn btn-success btn-sm" type="submit">提交</button> | |||||
<button class="btn btn-secondary btn-sm" type="reset" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
function checkSubmit() { | |||||
if (document.addcontent.title.value == "") { | |||||
ShowMsg("名称不能为空"); | |||||
document.addcontent.title.focus(); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.value == 0) { | |||||
ShowMsg("隶属栏目必须选择"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { | |||||
ShowMsg("隶属栏目必须选择白色背景的项目"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.vdcode.value == "") { | |||||
document.addcontent.vdcode.focus(); | |||||
ShowMsg("验证码不能为空"); | |||||
return false; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 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 btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="archives_sg_edit.php?aid=<?php echo $aid;?>" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>"> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标题</label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" value="<?php echo $addRow['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 name="writer" type="text" id="writer" value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">发布栏目</label> | |||||
<div class="col-sm-10"> | |||||
<?php | |||||
$typeOptions = GetOptionList($addRow["typeid"],$addRow["channel"]); | |||||
echo "<select class='form-control' name='typeid' size='1'>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">描述</label> | |||||
<div class="col-sm-10"> | |||||
<textarea class="form-control" name="description" id="description"><?php echo $row["description"]; ?></textarea>(内容的简要说明) | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']), $addRow, 'autofield'); | |||||
?> | |||||
<div class="contentShow postForm"> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if(preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="验证码" title="验证码" onclick="this.src=this.src+'?'" style="cursor:pointer"> | |||||
</div> | |||||
</div> | |||||
<?php | |||||
} | |||||
?> | |||||
<p> | |||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | |||||
<button type="reset" class="btn btn-secondary btn-sm" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
function checkSubmit() { | |||||
if (document.addcontent.title.value == "") { | |||||
ShowMsg("名称不能为空"); | |||||
document.addcontent.title.focus(); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.value == 0) { | |||||
ShowMsg("隶属栏目必须选择"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid | |||||
.selectedIndex].className != 'option3') { | |||||
ShowMsg("隶属栏目必须选择白色背景的项目"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.vdcode.value == "") { | |||||
document.addcontent.vdcode.focus(); | |||||
ShowMsg("验证码不能为空"); | |||||
return false; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
</html> | </html> |
@@ -1,131 +1,129 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>发表<?php echo $cInfos['typename']; ?> - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 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 btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="article_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>"> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label"><?php echo $cInfos['titlename']; ?></label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" class="form-control" placeholder="请输入内容主题"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标签Tag</label> | |||||
<div class="col-sm-10"> | |||||
<input name="tags" type="text" 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 name="writer" type="text" id="writer" value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</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 class='form-control' name='typeid' size='1'>"; | |||||
echo "<option value='0' selected>请选择栏目</option>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">信息摘要</label> | |||||
<div class="col-sm-10"> | |||||
<textarea class='form-control' name="description" id="description"></textarea>(内容的简要说明) | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); | |||||
?> | |||||
<!-- 表单操作区域 --> | |||||
<label>详细内容</label> | |||||
<div class="contentShow postForm"> | |||||
<p> | |||||
<?php GetEditor("body","",350,"Member"); ?> | |||||
</p> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if(preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'"> | |||||
</div> | |||||
</div> | |||||
<?php }?> | |||||
<p> | |||||
<button class="btn btn-success btn-sm" type="submit">提交</button> | |||||
<button class="btn btn-secondary btn-sm" type="reset" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
function checkSubmit() { | |||||
if (document.addcontent.title.value == "") { | |||||
ShowMsg("名称不能为空"); | |||||
document.addcontent.title.focus(); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.value == 0) { | |||||
ShowMsg("隶属栏目必须选择"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { | |||||
ShowMsg("隶属栏目必须选择白色背景的项目"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.vdcode.value == "") { | |||||
document.addcontent.vdcode.focus(); | |||||
ShowMsg("验证码不能为空"); | |||||
return false; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 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 btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="article_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>"> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label"><?php echo $cInfos['titlename']; ?></label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" class="form-control" placeholder="请输入标题"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标签Tag</label> | |||||
<div class="col-sm-10"> | |||||
<input name="tags" type="text" 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 name="writer" type="text" id="writer" | |||||
value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</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 class='form-control' name='typeid' size='1'>"; | |||||
echo "<option value='0' selected>请选择栏目</option>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">描述</label> | |||||
<div class="col-sm-10"> | |||||
<textarea class="form-control" name="description" id="description"></textarea> | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); | |||||
?> | |||||
<label>正文</label> | |||||
<div class="contentShow postForm"> | |||||
<div><?php GetEditor("body","",360,"Member"); ?></div> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if(preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="验证码" title="验证码" onclick="this.src=this.src+'?'" style="cursor:pointer"> | |||||
</div> | |||||
</div> | |||||
<?php }?> | |||||
<p> | |||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | |||||
<button type="reset" class="btn btn-secondary btn-sm" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
function checkSubmit() { | |||||
if (document.addcontent.title.value == "") { | |||||
ShowMsg("名称不能为空"); | |||||
document.addcontent.title.focus(); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.value == 0) { | |||||
ShowMsg("隶属栏目必须选择"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid | |||||
.selectedIndex].className != 'option3') { | |||||
ShowMsg("隶属栏目必须选择白色背景的项目"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.vdcode.value == "") { | |||||
document.addcontent.vdcode.focus(); | |||||
ShowMsg("验证码不能为空"); | |||||
return false; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
</html> | </html> |
@@ -1,137 +1,131 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>修改<?php echo $row['title']?> - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 mr-auto"> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | |||||
<li class="breadcrumb-item">修改:<?php echo $row['title']?></li> | |||||
</li> | |||||
</ol> | |||||
<span class="navbar-text"> | |||||
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="article_edit.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="aid" value="<?php echo $row['id']; ?>"> | |||||
<input type="hidden" name="idhash" value="<?php echo hash('sha256', $row['id'].$cfg_cookie_encode); ?>"> | |||||
<input type="hidden" name="channelid" value="<?php echo $row['channel']; ?>"> | |||||
<input type="hidden" name="oldlitpic" value="<?php echo $row['litpic']; ?>"> | |||||
<input type="hidden" name="sortrank" value="<?php echo $row['sortrank']; ?>"> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标题</label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" class="form-control" value="<?php echo $row['title']?>" placeholder="请输入内容主题"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标签Tag</label> | |||||
<div class="col-sm-10"> | |||||
<input name="tags" type="text" id="tags" class="form-control" value="<?php echo $row['keywords']; ?>"/> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">作者</label> | |||||
<div class="col-sm-10"> | |||||
<input name="writer" type="text" id="writer" value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">隶属栏目</label> | |||||
<div class="col-sm-10"> | |||||
<?php | |||||
$typeOptions = GetOptionList($row["typeid"], $row["channel"]); | |||||
echo "<select class='form-control' name='typeid' size='1'>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">信息摘要</label> | |||||
<div class="col-sm-10"> | |||||
<textarea class='form-control' name="description" id="description"><?php echo $row["description"]; ?></textarea>(内容的简要说明) | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsEdit($row['fieldset'],$addRow,'autofield'); | |||||
?> | |||||
<!-- 表单操作区域 --> | |||||
<label>详细内容</label> | |||||
<div class="contentShow postForm"> | |||||
<p> | |||||
<?php GetEditor("body",$addRow['body'],350,"Member"); ?> | |||||
</p> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if(preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'"> | |||||
</div> | |||||
</div> | |||||
<?php }?> | |||||
<p> | |||||
<button class="btn btn-success btn-sm" type="submit">提交</button> | |||||
<button class="btn btn-secondary btn-sm" type="reset" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
function checkSubmit() { | |||||
if (document.addcontent.title.value == "") { | |||||
ShowMsg("名称不能为空"); | |||||
document.addcontent.title.focus(); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.value == 0) { | |||||
ShowMsg("隶属栏目必须选择"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { | |||||
ShowMsg("隶属栏目必须选择白色背景的项目"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.vdcode.value == "") { | |||||
document.addcontent.vdcode.focus(); | |||||
ShowMsg("验证码不能为空"); | |||||
return false; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>修改<?php echo $row['title']?>-会员中心-<?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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 mr-auto"> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | |||||
<li class="breadcrumb-item">修改<?php echo $row['title']?></li></li> | |||||
</ol> | |||||
<span class="navbar-text"> | |||||
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="article_edit.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="aid" value="<?php echo $row['id']; ?>"> | |||||
<input type="hidden" name="idhash" value="<?php echo hash('sha256', $row['id'].$cfg_cookie_encode); ?>"> | |||||
<input type="hidden" name="channelid" value="<?php echo $row['channel']; ?>"> | |||||
<input type="hidden" name="oldlitpic" value="<?php echo $row['litpic']; ?>"> | |||||
<input type="hidden" name="sortrank" value="<?php echo $row['sortrank']; ?>"> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标题</label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" class="form-control" value="<?php echo $row['title']?>" placeholder="请输入标题"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标签Tag</label> | |||||
<div class="col-sm-10"> | |||||
<input name="tags" type="text" id="tags" class="form-control" value="<?php echo $row['keywords']; ?>" /> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">作者</label> | |||||
<div class="col-sm-10"> | |||||
<input name="writer" type="text" id="writer" value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">发布栏目</label> | |||||
<div class="col-sm-10"> | |||||
<?php | |||||
$typeOptions = GetOptionList($row["typeid"], $row["channel"]); | |||||
echo "<select class='form-control' name='typeid' size='1'>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">信息摘要</label> | |||||
<div class="col-sm-10"> | |||||
<textarea class='form-control' name="description" id="description"><?php echo $row["description"]; ?></textarea> | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsEdit($row['fieldset'],$addRow,'autofield'); | |||||
?> | |||||
<label>正文</label> | |||||
<div class="contentShow postForm"> | |||||
<div><?php GetEditor("body",$addRow['body'],360,"Member"); ?></div> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if(preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="验证码" title="验证码" onclick="this.src=this.src+'?'" style="cursor:pointer"> | |||||
</div> | |||||
</div> | |||||
<?php }?> | |||||
<p> | |||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | |||||
<button type="reset" class="btn btn-secondary btn-sm" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
function checkSubmit() { | |||||
if (document.addcontent.title.value == "") { | |||||
ShowMsg("名称不能为空"); | |||||
document.addcontent.title.focus(); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.value == 0) { | |||||
ShowMsg("隶属栏目必须选择"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid | |||||
.selectedIndex].className != 'option3') { | |||||
ShowMsg("隶属栏目必须选择白色背景的项目"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.vdcode.value == "") { | |||||
document.addcontent.vdcode.focus(); | |||||
ShowMsg("验证码不能为空"); | |||||
return false; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
</html> | </html> |
@@ -1,136 +1,134 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>钱包积分 - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 mr-auto"> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | |||||
<li class="breadcrumb-item">钱包积分</li> | |||||
</li> | |||||
</ol> | |||||
<span class="navbar-text"> | |||||
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<div id="mainCp"> | |||||
<div class="alert alert-success"> | |||||
<?php echo $cfg_ml->GetSta($dsql); ?> | |||||
</div> | |||||
<!--内容消息提示 --> | |||||
<?php | |||||
if($cfg_money_scores > 0) { | |||||
?> | |||||
<div class="postForm"> | |||||
<?php | |||||
$canCav = floor($cfg_ml->fields['scores'] / $cfg_money_scores); | |||||
?> | |||||
<span>用积分兑换金币 (<?php echo "兑换价格:{$cfg_money_scores} 积分/个,您目前可兑换金币数量:{$canCav} 个"; ?>)</span> | |||||
<form name="formrank" action="index_do.php?dopost=money2s&fmdo=user" method="post"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<tbody> | |||||
<tr> | |||||
<td width="15%" align="right">兑换数量:</td> | |||||
<td width="35%"> | |||||
<input name="money" type="text" id="money" size="38" class="form-control" value="<?php echo $canCav; ?>"></td> | |||||
<td align='left'><button class="btn btn-success btn-sm" type="submit">兑换</button></td> | |||||
</tr> | |||||
</tbody> | |||||
</table> | |||||
</form> | |||||
</div> | |||||
<?php } ?> | |||||
<div class="postForm"> | |||||
<span class="meTitle">用点卡充值</span> | |||||
<form name="formrank" action="check_card.php" method="post"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<tbody> | |||||
<tr> | |||||
<td width="15%" align="right">点卡密码:</td> | |||||
<td><input name="cardid" type="text" id="cardid" size="38" class="form-control" style="width:200px"></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">验证码</td> | |||||
<td><input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:200px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'"> | |||||
</td> | |||||
</tr> | |||||
</tbody> | |||||
<tfoot> | |||||
<tr> | |||||
<td align="right"></td> | |||||
<td><button class="btn btn-success btn-sm" type="submit">充值</button></td> | |||||
</tr> | |||||
</tfoot> | |||||
</table> | |||||
</form> | |||||
</div> | |||||
<div class="postForm"> | |||||
<span class="meTitle">购买新点卡:</span> | |||||
<form name="f1" action="buy_action.php" method="post"> | |||||
<input type="hidden" name="product" value="card"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<tr style='height:28px;background:#F8FCF1;'> | |||||
<th width="10%">选择</th> | |||||
<th>点卡类型</th> | |||||
<th width="15%">金币数量</th> | |||||
<th width="15%">购买价格</th> | |||||
</tr> | |||||
<tbody> | |||||
<?php echo $moneycards;?> | |||||
</tbody> | |||||
</table> | |||||
<button class="btn btn-success btn-sm" type="submit">购买</button> | |||||
</form> | |||||
</div> | |||||
<div class="postForm mt-3"> | |||||
<span class="meTitle">会员升级</span> | |||||
<form name="f1" action="buy_action.php" method="post"> | |||||
<input type="hidden" name="product" value="member"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<thead> | |||||
<tr> | |||||
<th colspan='5' style='text-align:left;padding-left:10px;height:24px;line-height:24px;'>会员升级: | |||||
</th> | |||||
</tr> | |||||
</thead> | |||||
<tr style='height:28px;background:#F8FCF1;'> | |||||
<th width="10%">选择</th> | |||||
<th>产品名称</th> | |||||
<th width="12%">会员类型</th> | |||||
<th width="12%">时限(天)</th> | |||||
<th width="10%">价格</th> | |||||
</tr> | |||||
<tbody> | |||||
<?php echo $membertypes?> | |||||
</tbody> | |||||
</table> | |||||
<button class="btn btn-success btn-sm" type="submit">购买</button> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
<!--主操作区域 --> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>钱包积分-会员中心-<?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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 mr-auto"> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | |||||
<li class="breadcrumb-item">钱包积分</li></li> | |||||
</ol> | |||||
<span class="navbar-text"> | |||||
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<div id="mainCp"> | |||||
<div class="alert alert-success"> | |||||
<?php echo $cfg_ml->GetSta($dsql); ?> | |||||
</div> | |||||
<?php | |||||
if($cfg_money_scores > 0) { | |||||
?> | |||||
<div class="postForm"> | |||||
<?php | |||||
$canCav = floor($cfg_ml->fields['scores'] / $cfg_money_scores); | |||||
?> | |||||
<span>用积分兑换金币(<?php echo "兑换价格:{$cfg_money_scores} 积分/个,您目前可兑换金币数量:{$canCav} 个"; ?>)</span> | |||||
<form name="formrank" action="index_do.php?dopost=money2s&fmdo=user" method="post"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<tbody> | |||||
<tr> | |||||
<td width="15%" align="right">兑换数量:</td> | |||||
<td width="35%"><input name="money" type="text" id="money" size="38" class="form-control" value="<?php echo $canCav; ?>"></td> | |||||
<td align="left"><button class="btn btn-success btn-sm" type="submit">兑换</button></td> | |||||
</tr> | |||||
</tbody> | |||||
</table> | |||||
</form> | |||||
</div> | |||||
<?php | |||||
} | |||||
?> | |||||
<div class="postForm"> | |||||
<span class="meTitle">用点卡充值</span> | |||||
<form name="formrank" action="check_card.php" method="post"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<tbody> | |||||
<tr> | |||||
<td width="15%" align="right">点卡密码:</td> | |||||
<td><input name="cardid" type="text" id="cardid" size="38" class="form-control" style="width:200px"></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">验证码</td> | |||||
<td> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="验证码" title="验证码" onclick="this.src=this.src+'?'" style="cursor:pointer"> | |||||
</td> | |||||
</tr> | |||||
</tbody> | |||||
<tfoot> | |||||
<tr> | |||||
<td align="right"></td> | |||||
<td><button class="btn btn-success btn-sm" type="submit">充值</button></td> | |||||
</tr> | |||||
</tfoot> | |||||
</table> | |||||
</form> | |||||
</div> | |||||
<div class="postForm"> | |||||
<span class="meTitle">购买新点卡</span> | |||||
<form name="f1" action="buy_action.php" method="post"> | |||||
<input type="hidden" name="product" value="card"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<tr style="background:#F8FCF1"> | |||||
<th width="10%">选择</th> | |||||
<th>点卡类型</th> | |||||
<th width="15%">金币数量</th> | |||||
<th width="15%">购买价格</th> | |||||
</tr> | |||||
<tbody> | |||||
<?php echo $moneycards; ?> | |||||
</tbody> | |||||
</table> | |||||
<button class="btn btn-success btn-sm" type="submit">购买</button> | |||||
</form> | |||||
</div> | |||||
<div class="postForm mt-3"> | |||||
<span class="meTitle">会员升级</span> | |||||
<form name="f1" action="buy_action.php" method="post"> | |||||
<input type="hidden" name="product" value="member"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<thead> | |||||
<tr> | |||||
<th colspan="5" style="text-align:left;padding-left:10px">会员升级</th> | |||||
</tr> | |||||
</thead> | |||||
<tr style="background:#F8FCF1"> | |||||
<th width="10%">选择</th> | |||||
<th>产品名称</th> | |||||
<th width="12%">会员类型</th> | |||||
<th width="12%">时限(天)</th> | |||||
<th width="10%">价格</th> | |||||
</tr> | |||||
<tbody> | |||||
<?php echo $membertypes?> | |||||
</tbody> | |||||
</table> | |||||
<button class="btn btn-success btn-sm" type="submit">购买</button> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
</html> | </html> |
@@ -1,93 +1,97 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>订单确认 - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 mr-auto"> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/buy.php">钱包积分</a></li> | |||||
<li class="breadcrumb-item">确认订单</li> | |||||
</li> | |||||
</ol> | |||||
<span class="navbar-text"> | |||||
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<div id="mainCp"> | |||||
<h5 class="meTitle">订单确认</h5> | |||||
<div class="alert alert-success"> | |||||
您申请购买的产品如下,确认无误后请点击“购买并支付”按钮,进行网上支付,如果支付失败,请与管理员联系其它支付方式: | |||||
</div> | |||||
<div class="postForm"> | |||||
<h5 class="meTitle" style="padding-top: 20px;">购买点卡/会员服务</h5> | |||||
<form method="post" name="E_FORM" action="buy_action.php" target="_blank"> | |||||
<input type="hidden" name="pd_encode" value="<?php echo $pr_encode;?>"> | |||||
<input type="hidden" name="pd_verify" value="<?php echo $pr_verify;?>"> | |||||
<input type="hidden" name="aid" value="<?php echo $buyid;?>"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<tbody> | |||||
<tr> | |||||
<td width="15%" align="right">订单编号:</td> | |||||
<td><?php echo $buyid?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">产品类型:</td> | |||||
<td><?php echo $ptype?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">产品名称:</td> | |||||
<td><?php echo $pname?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right"><span class="td1">产品价格:</span></td> | |||||
<td><?php echo $price;?>元</td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right"><span class="td1">支付方式:</span></td> | |||||
<td><table cellpadding="0" cellspacing="0" class="table table-borderless"> | |||||
{dede:array.payment_list} | |||||
<tr onMouseMove="javascript:this.bgColor='#f8f8f8';" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||||
<td width="10%" align="right" style="vertical-align:middle;">{dede:if value.code=="cod" || value.code=="bank"} <input name="paytype" type="radio" value="{dede:value.id/}" disabled="disabled"/>{else}<input name="paytype" type="radio" value="{dede:value.id/}"/>{/dede:if}</td> | |||||
<td width="20%" valign="middle" style="vertical-align:middle;"> {dede:value.name/} </td> | |||||
<td width="60%"> {dede:value.description/} </td> | |||||
<td width="10%" align="center"><span class="fc-f60">{dede:value.fee/}元</span></td> | |||||
</tr> | |||||
{/dede:array} | |||||
</table></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right"></td> | |||||
<td><button class="btn btn-success btn-sm" type="submit">购买并支付</button> | |||||
<button class="btn btn-secondary btn-sm" type="button" onclick="location='buy.php'">返回</button></td> | |||||
</tr> | |||||
</tbody> | |||||
</table> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
<!--主操作区域 --> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>订单确认-会员中心-<?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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 mr-auto"> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/buy.php">钱包积分</a></li> | |||||
<li class="breadcrumb-item">确认订单</li></li> | |||||
</ol> | |||||
<span class="navbar-text"> | |||||
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<div id="mainCp"> | |||||
<h5 class="meTitle">订单确认</h5> | |||||
<div class="alert alert-success">您申请购买的产品如下,确认无误后请点击“购买并支付”按钮,进行网上支付,如果支付失败,请与管理员联系其它支付方式</div> | |||||
<div class="postForm"> | |||||
<h5 class="meTitle" style="padding-top:20px">购买点卡与会员服务</h5> | |||||
<form method="post" name="E_FORM" action="buy_action.php" target="_blank"> | |||||
<input type="hidden" name="pd_encode" value="<?php echo $pr_encode;?>"> | |||||
<input type="hidden" name="pd_verify" value="<?php echo $pr_verify;?>"> | |||||
<input type="hidden" name="aid" value="<?php echo $buyid;?>"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<tbody> | |||||
<tr> | |||||
<td width="15%" align="right">订单编号:</td> | |||||
<td><?php echo $buyid?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">产品类型:</td> | |||||
<td><?php echo $ptype?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">产品名称:</td> | |||||
<td><?php echo $pname?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right"><span class="td1">产品价格:</span></td> | |||||
<td><?php echo $price;?>元</td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right"><span class="td1">支付方式:</span></td> | |||||
<td> | |||||
<table cellpadding="0" cellspacing="0" class="table table-borderless"> | |||||
{dede:array.payment_list} | |||||
<tr onMouseMove="javascript:this.bgColor='#f8f8f8';" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||||
<td width="10%" align="right"> | |||||
{dede:if value.code=="cod" || value.code=="bank"} | |||||
<input name="paytype" type="radio" value="{dede:value.id/}" disabled="disabled" /> | |||||
{else} | |||||
<input name="paytype" type="radio" value="{dede:value.id/}" />{/dede:if} | |||||
</td> | |||||
<td width="20%">{dede:value.name/}</td> | |||||
<td width="60%">{dede:value.description/}</td> | |||||
<td width="10%" align="center"><span class="fc-f60">{dede:value.fee/}元</span></td> | |||||
</tr> | |||||
{/dede:array} | |||||
</table> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td colspan="2" align="center"> | |||||
<button type="submit" class="btn btn-success btn-sm">购买并支付</button> | |||||
<button type="button" class="btn btn-secondary btn-sm" onclick="location='buy.php'">返回</button> | |||||
</td> | |||||
</tr> | |||||
</tbody> | |||||
</table> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
</html> | </html> |
@@ -1,105 +1,109 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>文档管理 - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
<script type="text/javascript"> | |||||
function viewArc(aid) { | |||||
window.open("{dede:global.cfg_phpurl /}/view.php?aid=" + aid); | |||||
} | |||||
function editArc(aid, channelid) { | |||||
location = "archives_do.php?dopost=edit&channelid=" + channelid + "&aid=" + aid; | |||||
} | |||||
function delArc(aid) { | |||||
if (window.confirm('您确定要删除这篇文档吗')) location = "archives_do.php?aid=" + aid + "&dopost=delArc"; | |||||
} | |||||
</script> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_conex = true; //展开编辑信息 | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ul class="navbar-nav mr-auto mt-2"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo ($arcrank=='')? ' active' : '';?>" href="content_list.php?channelid=<?php echo $channelid;?>">全部</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo ($arcrank=='1')? ' active' : '';?>" href="content_list.php?channelid=<?php echo $channelid;?>&arcrank=1">已审核</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo ($arcrank=='-1')? ' active' : '';?>" href="content_list.php?channelid=<?php echo $channelid;?>&arcrank=-1">未审核</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo ($arcrank=='-2')? ' active' : '';?>" href="content_list.php?channelid=<?php echo $channelid;?>&arcrank=-2">被退回</a> | |||||
</li> | |||||
</ul> | |||||
<span class="navbar-text"> | |||||
<a href="archives_do.php?dopost=addArc&channelid=<?php echo $channelid;?>" class="btn btn-success btn-sm">添加内容</a> | |||||
</span> | |||||
</nav> | |||||
<div class="table-responsive"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<thead> | |||||
<tr> | |||||
<th style="width: 20%;">文章标题</th> | |||||
<th>类目</th> | |||||
<th>状态</th> | |||||
<th>点击</th> | |||||
<th>发布时间</th> | |||||
<th>操作</th> | |||||
</tr> | |||||
</thead> | |||||
<tbody> | |||||
{dede:datalist} | |||||
<tr> | |||||
<td class="tabTitle"><a href='<?php echo $cfg_phpurl; ?>/view.php?aid=<?php echo $fields['id']; ?>' target='_blank'><?php echo $fields['title']; ?><?php echo IsPicArchives($fields['litpic']); ?></a> | |||||
</td> | |||||
<td align="center"><?php echo $fields['typename']; ?></td> | |||||
<td align="center"><?php | |||||
if($fields['arcrank']>=0) echo "已审核"; | |||||
else if($fields['arcrank']==-2) echo "<span style='color:#007bff'>被退回</span>"; | |||||
else echo "<span class='text-danger'>未审核</span>"; | |||||
?></td> | |||||
<td align="center"><?php echo $fields['click']; ?></td> | |||||
<td><?php echo GetDateMk($fields['senddate']); ?></td> | |||||
<td align="center" class="doPost"><?php | |||||
if($fields['arcrank']<0 || $dtime - $fields['senddate'] < $maxtime) | |||||
{ | |||||
?> | |||||
<a href="javascript:editArc(<?php echo $fields['id']?>,<?php echo $fields['channel']?>);">修改</a> | |||||
| <a href="javascript:delArc(<?php echo $fields['id']?>);">删除</a> | | |||||
<?php | |||||
} else { | |||||
echo "<span class='gray'>改 | 删 | </span>"; | |||||
} | |||||
?> <a href="javascript:viewArc(<?php echo $fields['id']; ?>);">预览</a></td> | |||||
</tr> | |||||
{/dede:datalist} | |||||
</tbody> | |||||
</table> | |||||
</div> | |||||
<nav>{dede:pagelist listsize='6'/}</nav> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>文档管理-会员中心-<?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/member.css"> | |||||
<script type="text/javascript"> | |||||
function viewArc(aid) { | |||||
window.open("{dede:global.cfg_phpurl /}/view.php?aid=" + aid); | |||||
} | |||||
function editArc(aid, channelid) { | |||||
location = "archives_do.php?dopost=edit&channelid=" + channelid + "&aid=" + aid; | |||||
} | |||||
function delArc(aid) { | |||||
if (window.confirm('您确定要删除这篇文档吗')) location = "archives_do.php?aid=" + aid + "&dopost=delArc"; | |||||
} | |||||
</script> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_conex = true; | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ul class="navbar-nav mr-auto mt-2"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo ($arcrank=='')? ' active' : '';?>" href="content_list.php?channelid=<?php echo $channelid;?>">全部</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo ($arcrank=='1')? ' active' : '';?>" href="content_list.php?channelid=<?php echo $channelid;?>&arcrank=1">已审核</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo ($arcrank=='-1')? ' active' : '';?>" href="content_list.php?channelid=<?php echo $channelid;?>&arcrank=-1">未审核</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo ($arcrank=='-2')? ' active' : '';?>" href="content_list.php?channelid=<?php echo $channelid;?>&arcrank=-2">审核失败</a> | |||||
</li> | |||||
</ul> | |||||
<span class="navbar-text"> | |||||
<a class="btn btn-success btn-sm" href="archives_do.php?dopost=addArc&channelid=<?php echo $channelid;?>">发布</a> | |||||
</span> | |||||
</nav> | |||||
<div class="table-responsive"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<thead> | |||||
<tr> | |||||
<th width="30%">文章标题</th> | |||||
<th width="10%">类目</th> | |||||
<th width="10%">状态</th> | |||||
<th width="10%">点击</th> | |||||
<th width="10%">发布时间</th> | |||||
<th>操作</th> | |||||
</tr> | |||||
</thead> | |||||
<tbody> | |||||
{dede:datalist} | |||||
<tr> | |||||
<td class="tabTitle"><a href="<?php echo $cfg_phpurl; ?>/view.php?aid=<?php echo $fields['id']; ?>" target="_blank"><?php echo $fields['title']; ?><?php echo IsPicArchives($fields['litpic']); ?></a></td> | |||||
<td align="center"><?php echo $fields['typename']; ?></td> | |||||
<td align="center"> | |||||
<?php | |||||
if($fields['arcrank']>=0) echo "已审核"; | |||||
else if($fields['arcrank']==-2) echo "<span style='color:#007bff'>审核失败</span>"; | |||||
else echo "<span class='text-danger'>未审核</span>"; | |||||
?> | |||||
</td> | |||||
<td align="center"><?php echo $fields['click']; ?></td> | |||||
<td><?php echo GetDateMk($fields['senddate']); ?></td> | |||||
<td align="center" class="doPost"> | |||||
<?php | |||||
if($fields['arcrank']<0 || $dtime - $fields['senddate'] < $maxtime) | |||||
{ | |||||
?> | |||||
<a href="javascript:editArc(<?php echo $fields['id']?>,<?php echo $fields['channel']?>);" class="btn btn-success btn-sm">修改</a> | |||||
<a href="javascript:delArc(<?php echo $fields['id']?>);" class="btn btn-success btn-sm">删除</a> | |||||
<?php | |||||
} else { | |||||
echo "<span class='btn btn-success btn-sm'>无操作</span>"; | |||||
} | |||||
?> | |||||
<a href="javascript:viewArc(<?php echo $fields['id']; ?>);" class="btn btn-success btn-sm">预览</a> | |||||
</td> | |||||
</tr> | |||||
{/dede:datalist} | |||||
</tbody> | |||||
</table> | |||||
</div> | |||||
<nav>{dede:pagelist listsize='6'/}</nav> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
</html> | </html> |
@@ -1,99 +1,100 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>文档管理 - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
<script type="text/javascript"> | |||||
function viewArc(aid) { | |||||
window.open("{dede:global.cfg_phpurl /}/view.php?aid=" + aid); | |||||
} | |||||
function editArc(aid, channelid) { | |||||
location = "archives_do.php?dopost=edit&channelid=" + channelid + "&aid=" + aid; | |||||
} | |||||
function delArc(aid) { | |||||
if (window.confirm('您确定要删除这篇文档吗')) location = "archives_do.php?aid=" + aid + "&dopost=delArc"; | |||||
} | |||||
</script> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_conex = true; //展开编辑信息 | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ul class="navbar-nav mr-auto mt-2"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo ($arcrank=='')? ' active' : '';?>" href="content_sg_list.php?channelid=<?php echo $channelid;?>">全部</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo ($arcrank=='1')? ' active' : '';?>" href="content_sg_list.php?channelid=<?php echo $channelid;?>&arcrank=1">已审核</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo ($arcrank=='-1')? ' active' : '';?>" href="content_sg_list.php?channelid=<?php echo $channelid;?>&arcrank=-1">未审核</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo ($arcrank=='-2')? ' active' : '';?>" href="content_sg_list.php?channelid=<?php echo $channelid;?>&arcrank=-2">被退回</a> | |||||
</li> | |||||
</ul> | |||||
<span class="navbar-text"> | |||||
<a href="archives_do.php?dopost=addArc&channelid=<?php echo $channelid;?>" class="btn btn-success btn-sm">添加内容</a> | |||||
</span> | |||||
</nav> | |||||
<div class="table-responsive"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<thead> | |||||
<tr> | |||||
<th width="25%">文章标题</th> | |||||
<th width="15%">类目</th> | |||||
<th>状态</th> | |||||
<th>点击</th> | |||||
<th width="15%">发布时间</th> | |||||
<th width="25%">操作</th> | |||||
</tr> | |||||
</thead> | |||||
<tbody> | |||||
{dede:datalist} | |||||
<tr> | |||||
<td class="tabTitle"><a href="<?php echo $cfg_phpurl; ?>/view.php?aid=<?php echo $fields['aid']; ?>" target="_blank"><?php echo $fields['title']; ?></a> </td> | |||||
<td align="center"><?php echo $fields['typename']; ?></td> | |||||
<td align="center"> | |||||
<?php | |||||
if($fields['arcrank']>=0) echo "已审核"; | |||||
else if($fields['arcrank']==-2) echo "<span style='color:#007bff'>被退回</span>"; | |||||
else echo "<span class='text-danger'>未审核</span>"; | |||||
?> | |||||
</td> | |||||
<td align="center"><?php echo $fields['click']; ?></td> | |||||
<td align="center"><?php echo GetDateMk($fields['senddate']); ?></td> | |||||
<td align="center" class="doPost"> | |||||
<a href="javascript:editArc(<?php echo $fields['aid']?>,<?php echo $fields['channel']?>);">修改</a> | |||||
| <a href="javascript:delArc(<?php echo $fields['aid']?>);">删除</a> | <a href="javascript:viewArc(<?php echo $fields['aid']; ?>);">预览</a> | |||||
</td> | |||||
</tr> | |||||
{/dede:datalist} | |||||
</tbody> | |||||
</table> | |||||
</div> | |||||
<nav>{dede:pagelist listsize='6'/}</nav> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>文档管理-会员中心-<?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/member.css"> | |||||
<script type="text/javascript"> | |||||
function viewArc(aid) { | |||||
window.open("{dede:global.cfg_phpurl /}/view.php?aid=" + aid); | |||||
} | |||||
function editArc(aid, channelid) { | |||||
location = "archives_do.php?dopost=edit&channelid=" + channelid + "&aid=" + aid; | |||||
} | |||||
function delArc(aid) { | |||||
if (window.confirm('您确定要删除这篇文档吗')) location = "archives_do.php?aid=" + aid + "&dopost=delArc"; | |||||
} | |||||
</script> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_conex = true; | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ul class="navbar-nav mr-auto mt-2"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo ($arcrank=='')? ' active' : '';?>" href="content_sg_list.php?channelid=<?php echo $channelid;?>">全部</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo ($arcrank=='1')? ' active' : '';?>" href="content_sg_list.php?channelid=<?php echo $channelid;?>&arcrank=1">已审核</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo ($arcrank=='-1')? ' active' : '';?>" href="content_sg_list.php?channelid=<?php echo $channelid;?>&arcrank=-1">未审核</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo ($arcrank=='-2')? ' active' : '';?>" href="content_sg_list.php?channelid=<?php echo $channelid;?>&arcrank=-2">审核失败</a> | |||||
</li> | |||||
</ul> | |||||
<span class="navbar-text"> | |||||
<a class="btn btn-success btn-sm" href="archives_do.php?dopost=addArc&channelid=<?php echo $channelid;?>">发布</a> | |||||
</span> | |||||
</nav> | |||||
<div class="table-responsive"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<thead> | |||||
<tr> | |||||
<th width="30%">文章标题</th> | |||||
<th width="10%">类目</th> | |||||
<th width="10%">状态</th> | |||||
<th width="10%">点击</th> | |||||
<th width="10%">发布时间</th> | |||||
<th>操作</th> | |||||
</tr> | |||||
</thead> | |||||
<tbody> | |||||
{dede:datalist} | |||||
<tr> | |||||
<td class="tabTitle"><a href="<?php echo $cfg_phpurl; ?>/view.php?aid=<?php echo $fields['aid']; ?>" target="_blank"><?php echo $fields['title']; ?></a></td> | |||||
<td align="center"><?php echo $fields['typename']; ?></td> | |||||
<td align="center"> | |||||
<?php | |||||
if($fields['arcrank']>=0) echo "已审核"; | |||||
else if($fields['arcrank']==-2) echo "<span style='color:#007bff'>审核失败</span>"; | |||||
else echo "<span class='text-danger'>未审核</span>"; | |||||
?> | |||||
</td> | |||||
<td align="center"><?php echo $fields['click']; ?></td> | |||||
<td align="center"><?php echo GetDateMk($fields['senddate']); ?></td> | |||||
<td align="center" class="doPost"> | |||||
<a href="javascript:editArc(<?php echo $fields['aid']?>,<?php echo $fields['channel']?>);" class="btn btn-success btn-sm">修改</a> | |||||
<a href="javascript:delArc(<?php echo $fields['aid']?>);" class="btn btn-success btn-sm">删除</a> | |||||
<a href="javascript:viewArc(<?php echo $fields['aid']; ?>);" class="btn btn-success btn-sm">预览</a> | |||||
</td> | |||||
</tr> | |||||
{/dede:datalist} | |||||
</tbody> | |||||
</table> | |||||
</div> | |||||
<nav>{dede:pagelist listsize='6'/}</nav> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
</html> | </html> |
@@ -1,197 +1,189 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>修改帐号基本资料 - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_edtex = true; //展开编辑信息 | |||||
$_menu_edtitem = 'base'; //当前标签页 | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<ul class="nav nav-tabs"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link active" href="edit_baseinfo.php">账号安全</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="edit_face.php">头像设置</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="edit_email.php">验证邮箱</a> | |||||
</li> | |||||
</ul> | |||||
<form action="edit_baseinfo.php" method="post" enctype="multipart/form-data" name="form2" onsubmit="return checkSubmit();" class="mt-3"> | |||||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">帐号类型</label> | |||||
<div class="col-sm-10"> | |||||
<?php echo $row['mtype']; ?> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">用户名</label> | |||||
<div class="col-sm-10"> | |||||
<?php echo $cfg_ml->M_LoginID; ?> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptUname" class="col-sm-2 col-form-label">昵称/公司名称</label> | |||||
<div class="col-sm-10"> | |||||
<input name="uname" type="text" class="form-control" id="iptUname" value="<?php echo $row['uname']; ?>"> | |||||
</div> | |||||
<small class="offset-md-2 col-sm-8 text-muted"> | |||||
个人会员该项为昵称,企业会员填写公司名称 | |||||
</small> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptOldpwd" class="col-sm-2 col-form-label">原登录密码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="oldpwd" type="password" class="form-control" id="iptOldpwd"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptUserpwd" class="col-sm-2 col-form-label">新密码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="userpwd" type="password" class="form-control" id="iptUserpwd"> | |||||
</div> | |||||
<small class="offset-md-2 col-sm-8 text-muted"> | |||||
不修改密码请保留此项为空 | |||||
</small> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptUserpwdok" class="col-sm-2 col-form-label">确认新密码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="userpwdok" type="password" class="form-control" id="iptUserpwdok"> | |||||
</div> | |||||
<small class="offset-md-2 col-sm-8 text-muted"> | |||||
不修改密码请保留此项为空 | |||||
</small> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">原安全问题</label> | |||||
<div class="col-sm-10"> | |||||
<?php | |||||
require(DEDEDATA.'/safequestions.php'); | |||||
echo GetSafequestion($row['safequestion'],'safequestion'); | |||||
?> | |||||
</div> | |||||
<small class="offset-md-2 col-sm-8 text-muted"> | |||||
忘记密码时重设密码用 | |||||
</small> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptSafeanswer" class="col-sm-2 col-form-label">原问题答案</label> | |||||
<div class="col-sm-10"> | |||||
<input name="safeanswer" type="text" class="form-control" id="iptSafeanswer"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">新安全问题</label> | |||||
<div class="col-sm-10"> | |||||
<?php | |||||
echo GetSafequestion(0,'newsafequestion'); | |||||
?> | |||||
</div> | |||||
<small class="offset-md-2 col-sm-8 text-muted"> | |||||
不修改不用填写 | |||||
</small> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptNewsafeanswer" class="col-sm-2 col-form-label">新问题答案</label> | |||||
<div class="col-sm-10"> | |||||
<input name="newsafeanswer" type="text" class="form-control" id="iptNewsafeanswer"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptEmail" class="col-sm-2 col-form-label">电子邮箱</label> | |||||
<div class="col-sm-10"> | |||||
<input name="email" type="email" class="form-control" id="iptEmail"> | |||||
</div> | |||||
<small class="offset-md-2 col-sm-8 text-muted"> | |||||
每个电子邮邮箱只能注册一个帐号,要修改电子邮箱必须填写正确安全问题的答案 | |||||
</small> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptEmail" class="col-sm-2 col-form-label">性别</label> | |||||
<div class="col-sm-10"> | |||||
<label><input type="radio" name="sex" value="男" | |||||
<?php if($row['sex']=='男') echo " checked='checked' "; ?> /> | |||||
男</label> | |||||
<label><input type="radio" name="sex" value="女" | |||||
<?php if($row['sex']=='女') echo " checked='checked' "; ?> /> | |||||
女</label> | |||||
<label><input type="radio" name="sex" value="保密'" | |||||
<?php if($row['sex']=='保密') echo " checked='checked' "; ?> /> | |||||
保密</label> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptValidate" class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<div class="input-group"> | |||||
<input name="vdcode" placeholder="输入图形验证码" type="text" class="form-control" id="iptValidate" style="text-transform:uppercase"> | |||||
<img src="<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src='<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" | |||||
title="点击我更换图片" alt="点击我更换图片"> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<div class="col-sm-10"> | |||||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script> | |||||
function checkSubmit() { | |||||
if (document.form2.oldpwd.value == '') { | |||||
document.form2.oldpwd.focus(); | |||||
ShowMsg("旧密码必须填写"); | |||||
return false; | |||||
} | |||||
if (document.form2.userpwdok.value != document.form2.userpwd.value) { | |||||
document.form2.userpwdok.focus(); | |||||
ShowMsg("两次密码不一致"); | |||||
return false; | |||||
} | |||||
if (document.form2.email.value == "") { | |||||
document.form2.email.focus(); | |||||
ShowMsg("Email不能为空"); | |||||
return false; | |||||
} | |||||
if (document.form2.uname.value == "") { | |||||
document.form2.uname.focus(); | |||||
ShowMsg("用户昵称不能为空"); | |||||
return false; | |||||
} | |||||
if (document.form2.vdcode.value == "") { | |||||
document.form2.vdcode.focus(); | |||||
ShowMsg("验证码不能为空"); | |||||
return false; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>修改帐号基本资料-会员中心-<?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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_edtex = true; | |||||
$_menu_edtitem = 'base'; | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<ul class="nav nav-tabs"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link active" href="edit_baseinfo.php">账号安全</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="edit_face.php">头像设置</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="edit_email.php">验证邮箱</a> | |||||
</li> | |||||
</ul> | |||||
<form action="edit_baseinfo.php" method="post" enctype="multipart/form-data" name="form2" onsubmit="return checkSubmit();" class="mt-3"> | |||||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">帐号类型</label> | |||||
<div class="col-sm-10"> | |||||
<?php echo $row['mtype']; ?> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">用户名</label> | |||||
<div class="col-sm-10"> | |||||
<?php echo $cfg_ml->M_LoginID; ?> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptUname" class="col-sm-2 col-form-label">昵称/公司名称</label> | |||||
<div class="col-sm-10"> | |||||
<input name="uname" type="text" class="form-control" id="iptUname" value="<?php echo $row['uname']; ?>"> | |||||
</div> | |||||
<small class="offset-md-2 col-sm-8 text-muted"> | |||||
个人会员该项为昵称,企业会员填写公司名称 | |||||
</small> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptOldpwd" class="col-sm-2 col-form-label">原登录密码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="oldpwd" type="password" class="form-control" id="iptOldpwd"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptUserpwd" class="col-sm-2 col-form-label">新密码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="userpwd" type="password" class="form-control" id="iptUserpwd"> | |||||
</div> | |||||
<small class="offset-md-2 col-sm-8 text-muted"> | |||||
不修改密码请保留此项为空 | |||||
</small> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptUserpwdok" class="col-sm-2 col-form-label">确认新密码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="userpwdok" type="password" class="form-control" id="iptUserpwdok"> | |||||
</div> | |||||
<small class="offset-md-2 col-sm-8 text-muted"> | |||||
不修改密码请保留此项为空 | |||||
</small> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">原安全问题</label> | |||||
<div class="col-sm-10"> | |||||
<?php | |||||
require(DEDEDATA.'/safequestions.php'); | |||||
echo GetSafequestion($row['safequestion'],'safequestion'); | |||||
?> | |||||
</div> | |||||
<small class="offset-md-2 col-sm-8 text-muted"> | |||||
忘记密码时重设密码用 | |||||
</small> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptSafeanswer" class="col-sm-2 col-form-label">原问题答案</label> | |||||
<div class="col-sm-10"> | |||||
<input name="safeanswer" type="text" class="form-control" id="iptSafeanswer"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">新安全问题</label> | |||||
<div class="col-sm-10"> | |||||
<?php | |||||
echo GetSafequestion(0,'newsafequestion'); | |||||
?> | |||||
</div> | |||||
<small class="offset-md-2 col-sm-8 text-muted"> | |||||
不修改不用填写 | |||||
</small> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptNewsafeanswer" class="col-sm-2 col-form-label">新问题答案</label> | |||||
<div class="col-sm-10"> | |||||
<input name="newsafeanswer" type="text" class="form-control" id="iptNewsafeanswer"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptEmail" class="col-sm-2 col-form-label">电子邮箱</label> | |||||
<div class="col-sm-10"> | |||||
<input name="email" type="email" class="form-control" id="iptEmail"> | |||||
</div> | |||||
<small class="offset-md-2 col-sm-8 text-muted"> | |||||
每个电子邮邮箱只能注册一个帐号,要修改电子邮箱必须填写正确安全问题的答案 | |||||
</small> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptEmail" class="col-sm-2 col-form-label">性别</label> | |||||
<div class="col-sm-10"> | |||||
<label><input type="radio" name="sex" value="男" <?php if($row['sex']=='男') echo " checked='checked' "; ?>>男</label> | |||||
<label><input type="radio" name="sex" value="女" <?php if($row['sex']=='女') echo " checked='checked' "; ?>>女</label> | |||||
<label><input type="radio" name="sex" value="保密" <?php if($row['sex']=='保密') echo " checked='checked' "; ?>>保密</label> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptValidate" class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<div class="input-group"> | |||||
<input name="vdcode" placeholder="输入图形验证码" type="text" class="form-control" id="iptValidate" style="text-transform:uppercase"> | |||||
<img src="<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php" id="validateimg" onclick="this.src='<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" alt="验证码" style="cursor:pointer"> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<div class="col-sm-10"> | |||||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script> | |||||
function checkSubmit() { | |||||
if (document.form2.oldpwd.value == '') { | |||||
document.form2.oldpwd.focus(); | |||||
ShowMsg("旧密码必须填写"); | |||||
return false; | |||||
} | |||||
if (document.form2.userpwdok.value != document.form2.userpwd.value) { | |||||
document.form2.userpwdok.focus(); | |||||
ShowMsg("两次密码不一致"); | |||||
return false; | |||||
} | |||||
if (document.form2.email.value == "") { | |||||
document.form2.email.focus(); | |||||
ShowMsg("Email不能为空"); | |||||
return false; | |||||
} | |||||
if (document.form2.uname.value == "") { | |||||
document.form2.uname.focus(); | |||||
ShowMsg("用户昵称不能为空"); | |||||
return false; | |||||
} | |||||
if (document.form2.vdcode.value == "") { | |||||
document.form2.vdcode.focus(); | |||||
ShowMsg("验证码不能为空"); | |||||
return false; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
</html> | </html> |
@@ -1,61 +1,60 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>验证邮箱 - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_edtex = true; //展开编辑信息 | |||||
$_menu_edtitem = 'email'; //当前标签页 | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<ul class="nav nav-tabs"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="edit_baseinfo.php">账号安全</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="edit_face.php">头像设置</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link active" href="edit_email.php">验证邮箱</a> | |||||
</li> | |||||
</ul> | |||||
<form action="edit_email.php" method="post" enctype="multipart/form-data" name="form1" class="mt-3"> | |||||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<div class="form-group row"> | |||||
<label for="iptUname" class="col-sm-2 col-form-label">邮箱地址</label> | |||||
<div class="col-sm-10"> | |||||
<input name='email' type='text' id='email' size='35' class='form-control' value='<?php echo $email; ?>'> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<div class="col-sm-10"> | |||||
<button type="submit" class="btn btn-success btn-sm">设置</button> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
</html> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>验证邮箱-会员中心-<?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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_edtex = true; | |||||
$_menu_edtitem = 'email'; | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<ul class="nav nav-tabs"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="edit_baseinfo.php">账号安全</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="edit_face.php">头像设置</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link active" href="edit_email.php">验证邮箱</a> | |||||
</li> | |||||
</ul> | |||||
<form action="edit_email.php" method="post" enctype="multipart/form-data" name="form1" class="mt-3"> | |||||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<div class="form-group row"> | |||||
<label for="iptUname" class="col-sm-2 col-form-label">邮箱地址</label> | |||||
<div class="col-sm-10"> | |||||
<input name="email" type="text" id="email" size="35" class="form-control" value="<?php echo $email; ?>"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<div class="col-sm-10"> | |||||
<button type="submit" class="btn btn-success btn-sm">设置</button> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
</html> |
@@ -1,69 +1,68 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>头像设置 - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_edtex = true; //展开编辑信息 | |||||
$_menu_edtitem = 'face'; //当前标签页 | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<ul class="nav nav-tabs"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="edit_baseinfo.php">账号安全</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link active" href="edit_face.php">头像设置</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="edit_email.php">验证邮箱</a> | |||||
</li> | |||||
</ul> | |||||
<form action="edit_face.php" method="post" enctype="multipart/form-data" name="form1" class="mt-3"> | |||||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<div class="form-group row"> | |||||
<label for="iptUname" class="col-sm-2 col-form-label">手工填写网址</label> | |||||
<div class="col-sm-10"> | |||||
<input name='faceurl' type='text' id='faceurl' size='35' class='form-control' value='<?php echo $face; ?>'> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptValidate" class="col-sm-2 col-form-label">原来头像</label> | |||||
<div class="col-sm-10"> | |||||
<?php | |||||
if($face!='') echo " <img class='' src='$face'>"; | |||||
?> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<div class="col-sm-10"> | |||||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
</html> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>头像设置-会员中心-<?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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_edtex = true; | |||||
$_menu_edtitem = 'face'; | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<ul class="nav nav-tabs"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="edit_baseinfo.php">账号安全</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link active" href="edit_face.php">头像设置</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="edit_email.php">验证邮箱</a> | |||||
</li> | |||||
</ul> | |||||
<form action="edit_face.php" method="post" enctype="multipart/form-data" name="form1" class="mt-3"> | |||||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<div class="form-group row"> | |||||
<label for="iptUname" class="col-sm-2 col-form-label">手工填写网址</label> | |||||
<div class="col-sm-10"> | |||||
<input name="faceurl" type="text" id="faceurl" size="35" class="form-control" value="<?php echo $face; ?>"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptValidate" class="col-sm-2 col-form-label">原来头像</label> | |||||
<div class="col-sm-10"> | |||||
<?php | |||||
if($face!='') echo " <img src='$face' style='width:50px;height:50px;border-radius:50%'>"; | |||||
?> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<div class="col-sm-10"> | |||||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
</html> |
@@ -5,13 +5,11 @@ | |||||
</p> | </p> | ||||
</div> | </div> | ||||
</footer> | </footer> | ||||
<!-- /footer --> | |||||
<div class="scroll-top"> | <div class="scroll-top"> | ||||
<button onclick="gotop()" id="btnScrollTop" title="返回顶部"> | <button onclick="gotop()" id="btnScrollTop" title="返回顶部"> | ||||
<i class="fa fa-chevron-up"></i> | <i class="fa fa-chevron-up"></i> | ||||
</button> | </button> | ||||
</div> | </div> | ||||
<!-- /.scroll-top --> | |||||
<script src="<?php echo $cfg_cmsurl; ?>/static/web/js/popper.min.js"></script> | <script src="<?php echo $cfg_cmsurl; ?>/static/web/js/popper.min.js"></script> | ||||
<script src="<?php echo $cfg_cmsurl; ?>/static/web/js/bootstrap.bundle.min.js"></script> | <script src="<?php echo $cfg_cmsurl; ?>/static/web/js/bootstrap.bundle.min.js"></script> | ||||
<script src="<?php echo $cfg_cmsurl; ?>/static/web/js/style.js"></script> | <script src="<?php echo $cfg_cmsurl; ?>/static/web/js/style.js"></script> | ||||
@@ -17,5 +17,4 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</header> | </header> | ||||
</div> | |||||
<!-- /.header --> | |||||
</div> |
@@ -1,48 +1,48 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title><?php echo $cfg_webname; ?> - 会员登录</title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top.htm"); ?> | |||||
<?php include(DEDEMEMBER."/templets/header.htm"); ?> | |||||
<main class="login-from"> | |||||
<div class="container"> | |||||
<div class="login-area"> | |||||
<h4 class="text-center py-2">欢迎登录</h4> | |||||
<form name='form1' method='POST' action='<?php echo $cfg_memberurl;?>/index_do.php'> | |||||
<input type="hidden" name="fmdo" value="login"> | |||||
<input type="hidden" name="dopost" value="login"> | |||||
<input type="hidden" name="keeptime" value="604800"> | |||||
<input type="hidden" name="gourl" value="<?php if(!empty($gourl)) echo $gourl;?>"> | |||||
<div class="input-group mb-3"> | |||||
<input name="userid" type="text" class="form-control" placeholder="输入用户名"> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="输入密码" name="pwd" type="password" class="form-control" id="iptPwd" style="text-transform:uppercase"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input name="vdcode" placeholder="输入图形验证码" type="text" class="form-control" id="iptValidate" style="text-transform:uppercase"> | |||||
<img src="<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src='<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="点击我更换图片" alt="点击我更换图片"> | |||||
</div> | |||||
</div> | |||||
<button type="submit" class="btn btn-success btnLogin btn-sm">登 录</button> | |||||
<a href="<?php echo $cfg_memberurl;?>/index_do.php?fmdo=user&dopost=regnew" class="btn btn-outline-success btnLogin mt-2">注 册</a> | |||||
<a href="<?php echo $cfg_memberurl;?>/resetpassword.php" class="text-dark">忘记密码</a> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title><?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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top.htm"); ?> | |||||
<?php include(DEDEMEMBER."/templets/header.htm"); ?> | |||||
<main class="login-from"> | |||||
<div class="container"> | |||||
<div class="login-area"> | |||||
<h4 class="text-center py-2">欢迎登录</h4> | |||||
<form name='form1' method='POST' action='<?php echo $cfg_memberurl;?>/index_do.php'> | |||||
<input type="hidden" name="fmdo" value="login"> | |||||
<input type="hidden" name="dopost" value="login"> | |||||
<input type="hidden" name="keeptime" value="604800"> | |||||
<input type="hidden" name="gourl" value="<?php if(!empty($gourl)) echo $gourl;?>"> | |||||
<div class="input-group mb-3"> | |||||
<input name="userid" type="text" class="form-control" placeholder="输入用户名"> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="输入密码" name="pwd" type="password" class="form-control" id="iptPwd" style="text-transform:uppercase"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input name="vdcode" placeholder="输入图形验证码" type="text" class="form-control" id="iptValidate" style="text-transform:uppercase"> | |||||
<img src="<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src='<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" alt="验证码"> | |||||
</div> | |||||
</div> | |||||
<button type="submit" class="btn btn-success btnLogin btn-sm">登录</button> | |||||
<a href="<?php echo $cfg_memberurl;?>/index_do.php?fmdo=user&dopost=regnew" class="btn btn-outline-success btnLogin mt-2">注册</a> | |||||
<a href="<?php echo $cfg_memberurl;?>/resetpassword.php" class="text-dark">忘记密码</a> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
</html> | </html> |
@@ -1,136 +1,138 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>会员中心 - <?php echo $cfg_webname; ?></title> | |||||
<style> | |||||
.member a.btn { | |||||
color: white; | |||||
} | |||||
</style> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_home = true; //展开编辑信息 | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<div class="media-body row"> | |||||
<div class="col-12 col-md-3 text-center"> | |||||
<a href="<?php echo $cfg_memberurl;?>/"><img class="member-logo" src="<?php echo $cfg_ml->fields['face']; ?>" class="mr-3" | |||||
alt="<?php echo $cfg_ml->M_MbType; ?>的头像"></a> | |||||
<div class="member-type"><span class="badge badge-success"><?php echo $cfg_ml->M_MbType; ?>用户</span> | |||||
</div> | |||||
</div> | |||||
<div class="col-12 col-md-9 title"> | |||||
<h3 class="mt-0 mb-3"><?php echo $cfg_ml->M_LoginID; ?></h3> | |||||
<p>积分:<span class="text-danger"><?php echo $cfg_ml->M_Scores;?></span> 金币:<span class="text-danger"><?php echo $cfg_ml->M_Money;?></span> <a href="<?php echo $cfg_memberurl;?>/buy.php" class="btn btn-danger btn-sm">充值</a></p> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<div class="pannel-main-container mt-3"> | |||||
<div class="media-body py-3"> | |||||
<ul class="row row-cols-3 row-cols-sm-4 row-cols-lg-6 row-cols-xl-8 list-unstyled list"> | |||||
<li class="col" data-tags="alarm clock"> | |||||
<a class="d-block text-dark text-decoration-none" href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=1"> | |||||
<div class="p-3 py-4 mb-2 bg-light text-center rounded"> | |||||
<i class="fa fa-list" style="font-size: 2em;"></i> | |||||
</div> | |||||
<div class="name text-muted text-decoration-none text-center pt-1"> | |||||
内容管理 | |||||
</div> | |||||
</a> | |||||
</li> | |||||
<li class="col" data-tags="alarm clock"> | |||||
<a class="d-block text-dark text-decoration-none" href="<?php echo $cfg_memberurl;?>/pm.php?folder=inbox"> | |||||
<div class="p-3 py-4 mb-2 bg-light text-center rounded"> | |||||
<i class="fa fa-commenting-o" style="font-size: 2em;"></i> | |||||
</div> | |||||
<div class="name text-muted text-decoration-none text-center pt-1"> | |||||
消息管理 | |||||
</div> | |||||
</a> | |||||
</li> | |||||
<li class="col" data-tags="alarm clock"> | |||||
<a class="d-block text-dark text-decoration-none" href="<?php echo $cfg_memberurl;?>/buy.php"> | |||||
<div class="p-3 py-4 mb-2 bg-light text-center rounded"> | |||||
<i class="fa fa-credit-card-alt" style="font-size: 2em;"></i> | |||||
</div> | |||||
<div class="name text-muted text-decoration-none text-center pt-1"> | |||||
钱包积分 | |||||
</div> | |||||
</a> | |||||
</li> | |||||
<li class="col" data-tags="space align distribute"> | |||||
<a class="d-block text-dark text-decoration-none" href="<?php echo $cfg_memberurl;?>/shops_orders.php"> | |||||
<div class="p-3 py-4 mb-2 bg-light text-center rounded"> | |||||
<i class="fa fa-shopping-cart" style="font-size: 2em;"></i> | |||||
</div> | |||||
<div class="name text-muted text-decoration-none text-center pt-1"> | |||||
订单管理 | |||||
</div> | |||||
</a> | |||||
</li> | |||||
<li class="col" data-tags="space align distribute"> | |||||
<a class="d-block text-dark text-decoration-none" href="<?php echo $cfg_memberurl;?>/mystow.php"> | |||||
<div class="p-3 py-4 mb-2 bg-light text-center rounded"> | |||||
<i class="fa fa-star" style="font-size: 2em;"></i> | |||||
</div> | |||||
<div class="name text-muted text-decoration-none text-center pt-1"> | |||||
我的收藏 | |||||
</div> | |||||
</a> | |||||
</li> | |||||
<li class="col" data-tags="space align distribute"> | |||||
<a class="d-block text-dark text-decoration-none" href="<?php echo $cfg_memberurl;?>/edit_baseinfo.php"> | |||||
<div class="p-3 py-4 mb-2 bg-light text-center rounded"> | |||||
<i class="fa fa-cog" style="font-size: 2em;"></i> | |||||
</div> | |||||
<div class="name text-muted text-decoration-none text-center pt-1"> | |||||
账号安全 | |||||
</div> | |||||
</a> | |||||
</li> | |||||
</ul> | |||||
</div> | |||||
</div> | |||||
<div class="pannel-main-container mt-3"> | |||||
<div class="media-body row"> | |||||
<div class="col-12 py-3"> | |||||
<h5>最新内容</h5> | |||||
<div class="card ddcard"> | |||||
<ul class="list-group list-group-flush"> | |||||
<?php | |||||
foreach ($archives as $archive) | |||||
{ | |||||
?> | |||||
<li><a href="<?php echo $archive['htmlurl']; ?>" title="<?php echo $archive['title']; ?>"><?php echo $archive['title']; ?></a></li> | |||||
<?php | |||||
} | |||||
?> | |||||
</ul> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>会员中心-<?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/member.css"> | |||||
<style> | |||||
.member a.btn { | |||||
color: white; | |||||
} | |||||
</style> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_home = true; | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<div class="media-body row"> | |||||
<div class="col-12 col-md-3 text-center"> | |||||
<a href="<?php echo $cfg_memberurl;?>/"><img class="member-logo" src="<?php echo $cfg_ml->fields['face']; ?>" class="mr-3" alt="<?php echo $cfg_ml->M_MbType; ?>"></a> | |||||
<div class="member-type"><span class="badge badge-success"><?php echo $cfg_ml->M_MbType; ?></span></div> | |||||
</div> | |||||
<div class="col-12 col-md-9 title"> | |||||
<h3 class="mt-0 mb-3"><?php echo $cfg_ml->M_LoginID; ?></h3> | |||||
<p>积分:<span class="text-danger"><?php echo $cfg_ml->M_Scores;?></span> 金币:<span class="text-danger"><?php echo $cfg_ml->M_Money;?></span> <a href="<?php echo $cfg_memberurl;?>/buy.php" class="btn btn-danger btn-sm">充值</a></p> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<div class="pannel-main-container mt-3"> | |||||
<div class="media-body py-3"> | |||||
<ul class="row row-cols-3 row-cols-sm-4 row-cols-lg-6 row-cols-xl-8 list-unstyled list"> | |||||
<li class="col" data-tags="alarm clock"> | |||||
<a class="d-block text-dark text-decoration-none" href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=1"> | |||||
<div class="p-3 py-4 mb-2 bg-light text-center rounded"> | |||||
<i class="fa fa-list" style="font-size:2em"></i> | |||||
</div> | |||||
<div class="name text-muted text-decoration-none text-center pt-1"> | |||||
内容管理 | |||||
</div> | |||||
</a> | |||||
</li> | |||||
<li class="col" data-tags="alarm clock"> | |||||
<a class="d-block text-dark text-decoration-none" | |||||
href="<?php echo $cfg_memberurl;?>/pm.php?folder=inbox"> | |||||
<div class="p-3 py-4 mb-2 bg-light text-center rounded"> | |||||
<i class="fa fa-commenting-o" style="font-size:2em"></i> | |||||
</div> | |||||
<div class="name text-muted text-decoration-none text-center pt-1"> | |||||
消息管理 | |||||
</div> | |||||
</a> | |||||
</li> | |||||
<li class="col" data-tags="alarm clock"> | |||||
<a class="d-block text-dark text-decoration-none" | |||||
href="<?php echo $cfg_memberurl;?>/buy.php"> | |||||
<div class="p-3 py-4 mb-2 bg-light text-center rounded"> | |||||
<i class="fa fa-credit-card-alt" style="font-size:2em"></i> | |||||
</div> | |||||
<div class="name text-muted text-decoration-none text-center pt-1"> | |||||
钱包积分 | |||||
</div> | |||||
</a> | |||||
</li> | |||||
<li class="col" data-tags="space align distribute"> | |||||
<a class="d-block text-dark text-decoration-none" | |||||
href="<?php echo $cfg_memberurl;?>/shops_orders.php"> | |||||
<div class="p-3 py-4 mb-2 bg-light text-center rounded"> | |||||
<i class="fa fa-shopping-cart" style="font-size:2em"></i> | |||||
</div> | |||||
<div class="name text-muted text-decoration-none text-center pt-1"> | |||||
订单管理 | |||||
</div> | |||||
</a> | |||||
</li> | |||||
<li class="col" data-tags="space align distribute"> | |||||
<a class="d-block text-dark text-decoration-none" | |||||
href="<?php echo $cfg_memberurl;?>/mystow.php"> | |||||
<div class="p-3 py-4 mb-2 bg-light text-center rounded"> | |||||
<i class="fa fa-star" style="font-size:2em"></i> | |||||
</div> | |||||
<div class="name text-muted text-decoration-none text-center pt-1"> | |||||
我的收藏 | |||||
</div> | |||||
</a> | |||||
</li> | |||||
<li class="col" data-tags="space align distribute"> | |||||
<a class="d-block text-dark text-decoration-none" | |||||
href="<?php echo $cfg_memberurl;?>/edit_baseinfo.php"> | |||||
<div class="p-3 py-4 mb-2 bg-light text-center rounded"> | |||||
<i class="fa fa-cog" style="font-size:2em"></i> | |||||
</div> | |||||
<div class="name text-muted text-decoration-none text-center pt-1"> | |||||
账号安全 | |||||
</div> | |||||
</a> | |||||
</li> | |||||
</ul> | |||||
</div> | |||||
</div> | |||||
<div class="pannel-main-container mt-3"> | |||||
<div class="media-body row"> | |||||
<div class="col-12 py-3"> | |||||
<h5>最新内容</h5> | |||||
<div class="card ddcard"> | |||||
<ul class="list-group list-group-flush"> | |||||
<?php | |||||
foreach ($archives as $archive) | |||||
{ | |||||
?> | |||||
<li><a href="<?php echo $archive['htmlurl']; ?>" title="<?php echo $archive['title']; ?>"><?php echo $archive['title']; ?></a></li> | |||||
<?php | |||||
} | |||||
?> | |||||
</ul> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
</html> | </html> |
@@ -1,25 +1,25 @@ | |||||
<div class="container"> | <div class="container"> | ||||
<div class="text-center member-info"> | |||||
<a href="<?php echo $cfg_memberurl;?>/"> | |||||
<img class="member-logo" src="<?php echo $cfg_ml->fields['face']; ?>" alt="<?php echo $cfg_ml->M_MbType; ?>的头像"> | |||||
</a> | |||||
<div class="member-type"><span class="badge badge-success"><?php echo $cfg_ml->M_MbType; ?>用户</span></div> | |||||
<div> | |||||
<h4><?php echo $cfg_ml->M_LoginID; ?></h4> | |||||
</div> | |||||
<div class="member-rank text-danger">积分:<?php echo $cfg_ml->M_Scores;?> | |||||
金币:<?php echo $cfg_ml->M_Money;?> <a href="buy.php" class="btn btn-danger btn-sm">充值</a> | |||||
</div> | |||||
<ul class="nav justify-content-center"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="pm.php">短消息</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="mystow.php">收藏</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="shops_orders.php">订单</a> | |||||
</li> | |||||
</ul> | |||||
</div> | |||||
<div class="text-center member-info"> | |||||
<a href="<?php echo $cfg_memberurl;?>/"> | |||||
<img class="member-logo" src="<?php echo $cfg_ml->fields['face']; ?>" alt="<?php echo $cfg_ml->M_MbType; ?>"> | |||||
</a> | |||||
<div class="member-type"><span class="badge badge-success"><?php echo $cfg_ml->M_MbType; ?>用户</span></div> | |||||
<div> | |||||
<h4><?php echo $cfg_ml->M_LoginID; ?></h4> | |||||
</div> | |||||
<div class="member-rank text-danger">积分:<?php echo $cfg_ml->M_Scores;?> | |||||
金币:<?php echo $cfg_ml->M_Money;?> <a href="buy.php" class="btn btn-danger btn-sm">充值</a> | |||||
</div> | |||||
<ul class="nav justify-content-center"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="pm.php">短消息</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="mystow.php">收藏</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="shops_orders.php">订单</a> | |||||
</li> | |||||
</ul> | |||||
</div> | |||||
</div> | </div> |
@@ -1,48 +1,48 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title><?php echo $cfg_webname; ?> - 会员登录</title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top.htm"); ?> | |||||
<?php include(DEDEMEMBER."/templets/header.htm"); ?> | |||||
<main class="login-from"> | |||||
<div class="container"> | |||||
<div class="login-area"> | |||||
<h4 class="text-center py-2">欢迎登录</h4> | |||||
<form name='form1' method='POST' action='index_do.php'> | |||||
<input type="hidden" name="fmdo" value="login"> | |||||
<input type="hidden" name="dopost" value="login"> | |||||
<input type="hidden" name="keeptime" value="604800"> | |||||
<input type="hidden" name="gourl" value="<?php if(!empty($gourl)) echo $gourl;?>"> | |||||
<div class="input-group mb-3"> | |||||
<input name="userid" type="text" class="form-control" placeholder="输入用户名"> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="输入密码" name="pwd" type="password" class="form-control" id="iptPwd" style="text-transform:uppercase"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input name="vdcode" placeholder="输入图形验证码" type="text" class="form-control" id="iptValidate" style="text-transform:uppercase"> | |||||
<img src="<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src='<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="点击我更换图片" alt="点击我更换图片"> | |||||
</div> | |||||
</div> | |||||
<button type="submit" class="btn btn-success btnLogin btn-sm">登 录</button> | |||||
<a href="<?php echo $cfg_memberurl;?>/index_do.php?fmdo=user&dopost=regnew" class="btn btn-outline-success btnLogin mt-2">注 册</a> | |||||
<a href="<?php echo $cfg_memberurl;?>/resetpassword.php" class="text-dark">忘记密码</a> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title><?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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top.htm"); ?> | |||||
<?php include(DEDEMEMBER."/templets/header.htm"); ?> | |||||
<main class="login-from"> | |||||
<div class="container"> | |||||
<div class="login-area"> | |||||
<h4 class="text-center py-2">欢迎登录</h4> | |||||
<form name='form1' method='POST' action='<?php echo $cfg_memberurl;?>/index_do.php'> | |||||
<input type="hidden" name="fmdo" value="login"> | |||||
<input type="hidden" name="dopost" value="login"> | |||||
<input type="hidden" name="keeptime" value="604800"> | |||||
<input type="hidden" name="gourl" value="<?php if(!empty($gourl)) echo $gourl;?>"> | |||||
<div class="input-group mb-3"> | |||||
<input name="userid" type="text" class="form-control" placeholder="输入用户名"> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="输入密码" name="pwd" type="password" class="form-control" id="iptPwd" style="text-transform:uppercase"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input name="vdcode" placeholder="输入图形验证码" type="text" class="form-control" id="iptValidate" style="text-transform:uppercase"> | |||||
<img src="<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src='<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" alt="验证码"> | |||||
</div> | |||||
</div> | |||||
<button type="submit" class="btn btn-success btnLogin btn-sm">登录</button> | |||||
<a href="<?php echo $cfg_memberurl;?>/index_do.php?fmdo=user&dopost=regnew" class="btn btn-outline-success btnLogin mt-2">注册</a> | |||||
<a href="<?php echo $cfg_memberurl;?>/resetpassword.php" class="text-dark">忘记密码</a> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
</html> | </html> |
@@ -1,5 +1,4 @@ | |||||
<?php | <?php | ||||
//这里读取channel用于显示菜单 | |||||
$dsql->Execute('addmod', "SELECT id,nid,typename,useraddcon,usermancon,issend,issystem,usertype,isshow FROM `#@__channeltype` "); | $dsql->Execute('addmod', "SELECT id,nid,typename,useraddcon,usermancon,issend,issystem,usertype,isshow FROM `#@__channeltype` "); | ||||
$channels = array(); | $channels = array(); | ||||
while ($channel = $dsql->GetArray('addmod')) { | while ($channel = $dsql->GetArray('addmod')) { | ||||
@@ -22,8 +21,12 @@ while ($channel = $dsql->GetArray('addmod')) { | |||||
<li class="list-group-item justify-content-between align-items-center<?php if(isset($_menu_conex) && $channelid == $channel['id']) echo ' active';?>"> | <li class="list-group-item justify-content-between align-items-center<?php if(isset($_menu_conex) && $channelid == $channel['id']) echo ' active';?>"> | ||||
<a href="<?php echo $cfg_memberurl;?>/<?php echo $channel['usermancon'];?>?channelid=<?php echo $channel['id'];?>"><?php echo $channel['typename'];?></a> | <a href="<?php echo $cfg_memberurl;?>/<?php echo $channel['usermancon'];?>?channelid=<?php echo $channel['id'];?>"><?php echo $channel['typename'];?></a> | ||||
</li> | </li> | ||||
<?php } ?> | |||||
<?php } ?> | |||||
<?php | |||||
} | |||||
?> | |||||
<?php | |||||
} | |||||
?> | |||||
</ul> | </ul> | ||||
</div> | </div> | ||||
</li> | </li> | ||||
@@ -84,4 +87,4 @@ while ($channel = $dsql->GetArray('addmod')) { | |||||
</div> | </div> | ||||
</li> | </li> | ||||
</ul> | </ul> | ||||
</div> <!-- /.member-menu --> | |||||
</div> |
@@ -1,104 +1,98 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>我购买的文章 - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_order = true; //展开编辑信息 | |||||
$_menu_orderstate = 0; | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<div class="table-responsive"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<thead> | |||||
<tr> | |||||
<th width="5%"></th> | |||||
<th width="5%">ID</th> | |||||
<th >标题</th> | |||||
<th width="20%">消费金币</th> | |||||
<th width="20%">消费时间</th> | |||||
</tr> | |||||
</thead> | |||||
<form name='form1' action="mypay.php" method="post"> | |||||
<input type='hidden' name='dopost' value='del'> | |||||
<tbody> | |||||
{dede:datalist} | |||||
<tr> | |||||
<td align="center"><input type="checkbox" name="deleteid" value="{dede:field.aid/}"/></td> | |||||
<td align="center"><?php echo $fields['aid']; ?></td> | |||||
<td> | |||||
<?php | |||||
echo '<a href="../apps/view.php?aid='.str_replace('ARCHIVE', '', $fields['buyid']).'" target="_blank">'.$fields['oldinfo'].'</a>'; | |||||
?> | |||||
</td> | |||||
<td align="center"><?php echo $fields['money']; ?></td> | |||||
<td align="center"><?php echo GetDateTimeMk($fields['mtime']); ?></td> | |||||
</tr> | |||||
{/dede:datalist} | |||||
<tr> | |||||
<td colspan="6"> | |||||
<button id="checkedClick" type="button" class="btn btn-success btn-sm">全选</button> | |||||
<button type="button" onclick="DoSubmit()" class="btn btn-success btn-sm">删除选中</button> | |||||
</td> | |||||
</tr> | |||||
</tbody> | |||||
</form> | |||||
</table> | |||||
</div> | |||||
<nav>{dede:pagelist listsize='6'/}</nav> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
//获得选中文件的文件名 | |||||
function GetCheckfolderItem() | |||||
{ | |||||
var allSel=''; | |||||
if(document.form1.deleteid.value) return document.form1.deleteid.value; | |||||
for(i=0;i<document.form1.deleteid.length;i++) | |||||
{ | |||||
if(document.form1.deleteid[i].checked) | |||||
{ | |||||
if(allSel=='') | |||||
allSel=document.form1.deleteid[i].value; | |||||
else | |||||
allSel=allSel+","+document.form1.deleteid[i].value; | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>消费记录-会员中心-<?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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_order = true; | |||||
$_menu_orderstate = 0; | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<div class="table-responsive"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<thead> | |||||
<tr> | |||||
<th width="5%"></th> | |||||
<th width="5%">ID</th> | |||||
<th>标题</th> | |||||
<th width="20%">消费金币</th> | |||||
<th width="20%">消费时间</th> | |||||
</tr> | |||||
</thead> | |||||
<form name="form1" action="mypay.php" method="post"> | |||||
<input type="hidden" name="dopost" value="del"> | |||||
<tbody> | |||||
{dede:datalist} | |||||
<tr> | |||||
<td align="center"><input type="checkbox" name="deleteid" value="{dede:field.aid/}" /></td> | |||||
<td align="center"><?php echo $fields['aid']; ?></td> | |||||
<td> | |||||
<?php | |||||
echo '<a href="../apps/view.php?aid='.str_replace('ARCHIVE', '', $fields['buyid']).'" target="_blank">'.$fields['oldinfo'].'</a>'; | |||||
?> | |||||
</td> | |||||
<td align="center"><?php echo $fields['money']; ?></td> | |||||
<td align="center"><?php echo GetDateTimeMk($fields['mtime']); ?></td> | |||||
</tr> | |||||
{/dede:datalist} | |||||
<tr> | |||||
<td colspan="6"> | |||||
<button id="checkedClick" type="button" class="btn btn-success btn-sm">全选</button> | |||||
<button type="button" onclick="DoSubmit()" class="btn btn-success btn-sm">删除选中</button> | |||||
</td> | |||||
</tr> | |||||
</tbody> | |||||
</form> | |||||
</table> | |||||
</div> | |||||
<nav>{dede:pagelist listsize='6'/}</nav> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
//获得选中文件的文件名 | |||||
function GetCheckfolderItem() { | |||||
var allSel = ''; | |||||
if (document.form1.deleteid.value) return document.form1.deleteid.value; | |||||
for (i = 0; i < document.form1.deleteid.length; i++) { | |||||
if (document.form1.deleteid[i].checked) { | |||||
if (allSel == '') | |||||
allSel = document.form1.deleteid[i].value; | |||||
else | |||||
allSel = allSel + "," + document.form1.deleteid[i].value; | |||||
} | |||||
} | |||||
return allSel; | |||||
} | } | ||||
} | |||||
return allSel; | |||||
} | |||||
function DoSubmit() | |||||
{ | |||||
var selid = GetCheckfolderItem(); | |||||
if(selid=='') { | |||||
alert("您没选中任何信息"); | |||||
return false; | |||||
} | |||||
if(window.confirm("您确定要删除这些消息吗")) | |||||
{ | |||||
location = "mypay.php?dopost=del&ids="+selid; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
function DoSubmit() { | |||||
var selid = GetCheckfolderItem(); | |||||
if (selid == '') { | |||||
alert("您没选中任何信息"); | |||||
return false; | |||||
} | |||||
if (window.confirm("您确定要删除这些消息吗")) { | |||||
location = "mypay.php?dopost=del&ids=" + selid; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
</html> | </html> |
@@ -1,60 +1,64 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>收藏夹 - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_stow = true; //展开短消息菜单 | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<ul class="nav nav-tabs"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo $rank===''? ' active' : '';?>" href="mystow.php">我的收藏</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo $rank==='top'? ' active' : '';?>" href="mystow.php?rank=top">收藏排行</a> | |||||
</li> | |||||
</ul> | |||||
<div class="table-responsive"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||||
<tbody> | |||||
{dede:datalist} | |||||
<tr> | |||||
<td colspan="5" class="tabTitle"><a href='archives_do.php?dopost=viewArchives&aid={dede:field.aid/}' target='_blank'>{dede:field.title/}</a></td> | |||||
<td width="25%" align="center" class="doPost"> | |||||
<span class="itemDigg"><a class="text_button" href="../apps/recommend.php?type={dede:field.type/}&aid={dede:field.aid/}" target="_blank">[推荐]</a></span> | |||||
<span class="itemManage"><a href='archives_do.php?dopost=delStow&type={dede:field.type/}&aid={dede:field.aid/}'>[删除]</a></span> | |||||
</td> | |||||
</tr> | |||||
<tr style="border-bottom: solid 1px #ddd"> | |||||
<td colspan="6" class="tabTitle tbBtm">收藏时间:<?php echo MyDate('Y-m-d H:i', $fields['addtime']); ?></td> | |||||
</tr> | |||||
{/dede:datalist} | |||||
</tbody> | |||||
</table> | |||||
</div> | |||||
<nav>{dede:pagelist listsize='6'/}</nav> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>收藏夹-会员中心-<?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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_stow = true; | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<ul class="nav nav-tabs"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo $rank===''? ' active' : '';?>" href="mystow.php">我的收藏</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php echo $rank==='top'? ' active' : '';?>" href="mystow.php?rank=top">收藏排行</a> | |||||
</li> | |||||
</ul> | |||||
<div class="table-responsive"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||||
<tbody> | |||||
{dede:datalist} | |||||
<tr> | |||||
<td colspan="5" class="tabTitle"><a href="archives_do.php?dopost=viewArchives&aid={dede:field.aid/}" target="_blank">{dede:field.title/}</a></td> | |||||
<td width="25%" align="center" class="doPost"> | |||||
<span class="itemDigg"> | |||||
<a class="text_button" href="../apps/recommend.php?type={dede:field.type/}&aid={dede:field.aid/}" target="_blank">[推荐]</a> | |||||
</span> | |||||
<span class="itemManage"> | |||||
<a href='archives_do.php?dopost=delStow&type={dede:field.type/}&aid={dede:field.aid/}'>[删除]</a> | |||||
</span> | |||||
</td> | |||||
</tr> | |||||
<tr style="border-bottom: solid 1px #ddd"> | |||||
<td colspan="6" class="tabTitle tbBtm">收藏时间:<?php echo MyDate('Y-m-d H:i', $fields['addtime']); ?></td> | |||||
</tr> | |||||
{/dede:datalist} | |||||
</tbody> | |||||
</table> | |||||
</div> | |||||
<nav>{dede:pagelist listsize='6'/}</nav> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
</html> | </html> |
@@ -1,99 +1,95 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>金币订单 - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_order = true; //展开编辑信息 | |||||
$_menu_orderstate = 2; | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<div class="table-responsive"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<thead> | |||||
<tr> | |||||
<th width="25%" colspan="2">订单号</th> | |||||
<th width="25%">产品</th> | |||||
<th>详细状态信息</th> | |||||
<th width="15%">状态</th> | |||||
<th width="10%">时间</th> | |||||
</tr> | |||||
</thead> | |||||
<tbody> | |||||
<form name='form1' action="operation.php" method="post"> | |||||
<input type='hidden' name='ftype' value='del'> | |||||
{dede:datalist} | |||||
<tr> | |||||
<td align="center"><input type="checkbox" name="deleteid" value="{dede:field.aid/}"/></td> | |||||
<td>{dede:field.buyid/}</td> | |||||
<td><?php echo $fields['pname']; ?></td> | |||||
<td align="center"><?php echo $fields['oldinfo']; ?></td> | |||||
<td align="center">{dede:field.sta function="GetSta(@me)" /}</td> | |||||
<td align="center">{dede:field.mtime function="GetDateMk(@me)" /}</td> | |||||
</tr> | |||||
{/dede:datalist} | |||||
<tr> | |||||
<td colspan="6"> | |||||
<button id="checkedClick" type="button" class="btn btn-success btn-sm">全选</button> | |||||
<button type="button" onclick="DoSubmit()" class="btn btn-success btn-sm">删除选中</button></td></tr> | |||||
</form> | |||||
</tbody> | |||||
</table> | |||||
</div> | |||||
<nav>{dede:pagelist listsize='6'/}</nav> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
//获得选中文件的文件名 | |||||
function GetCheckfolderItem() | |||||
{ | |||||
var allSel=''; | |||||
if(document.form1.deleteid.value) return document.form1.deleteid.value; | |||||
for(i=0;i<document.form1.deleteid.length;i++) | |||||
{ | |||||
if(document.form1.deleteid[i].checked) | |||||
{ | |||||
if(allSel=='') | |||||
allSel=document.form1.deleteid[i].value; | |||||
else | |||||
allSel=allSel+","+document.form1.deleteid[i].value; | |||||
} | |||||
} | |||||
return allSel; | |||||
} | |||||
function DoSubmit() | |||||
{ | |||||
var selid = GetCheckfolderItem(); | |||||
if(selid=='') { | |||||
ShowMsg("您没选中任何信息"); | |||||
return false; | |||||
} | |||||
if(window.confirm("您确定要删除这些消息吗")) | |||||
{ | |||||
location = "operation.php?dopost=del&ids="+selid; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>订单列表-会员中心-<?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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_order = true; | |||||
$_menu_orderstate = 2; | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<div class="table-responsive"> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<thead> | |||||
<tr> | |||||
<th width="25%" colspan="2">订单号</th> | |||||
<th width="25%">产品</th> | |||||
<th>详细状态信息</th> | |||||
<th width="15%">状态</th> | |||||
<th width="10%">时间</th> | |||||
</tr> | |||||
</thead> | |||||
<tbody> | |||||
<form name="form1" action="operation.php" method="post"> | |||||
<input type="hidden" name="ftype" value="del"> | |||||
{dede:datalist} | |||||
<tr> | |||||
<td align="center"><input type="checkbox" name="deleteid" value="{dede:field.aid/}" /></td> | |||||
<td>{dede:field.buyid/}</td> | |||||
<td><?php echo $fields['pname']; ?></td> | |||||
<td align="center"><?php echo $fields['oldinfo']; ?></td> | |||||
<td align="center">{dede:field.sta function="GetSta(@me)" /}</td> | |||||
<td align="center">{dede:field.mtime function="GetDateMk(@me)" /}</td> | |||||
</tr> | |||||
{/dede:datalist} | |||||
<tr> | |||||
<td colspan="6"> | |||||
<button id="checkedClick" type="button" class="btn btn-success btn-sm">全选</button> | |||||
<button type="button" onclick="DoSubmit()" class="btn btn-success btn-sm">删除选中</button> | |||||
</td> | |||||
</tr> | |||||
</form> | |||||
</tbody> | |||||
</table> | |||||
</div> | |||||
<nav>{dede:pagelist listsize='6'/}</nav> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
//获得选中文件的文件名 | |||||
function GetCheckfolderItem() { | |||||
var allSel = ''; | |||||
if (document.form1.deleteid.value) return document.form1.deleteid.value; | |||||
for (i = 0; i < document.form1.deleteid.length; i++) { | |||||
if (document.form1.deleteid[i].checked) { | |||||
if (allSel == '') | |||||
allSel = document.form1.deleteid[i].value; | |||||
else | |||||
allSel = allSel + "," + document.form1.deleteid[i].value; | |||||
} | |||||
} | |||||
return allSel; | |||||
} | |||||
function DoSubmit() { | |||||
var selid = GetCheckfolderItem(); | |||||
if (selid == '') { | |||||
ShowMsg("您没选中任何信息"); | |||||
return false; | |||||
} | |||||
if (window.confirm("您确定要删除这些消息吗")) { | |||||
location = "operation.php?dopost=del&ids=" + selid; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
</html> | </html> |
@@ -1,143 +1,152 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<script src="<?php echo $cfg_cmsurl; ?>/static/web/js/bootstrap.bundle.min.js"></script> | |||||
<script src="<?php echo $cfg_cmsurl; ?>/static/web/js/style.js"></script> | |||||
<title>消息管理 - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
<script> | |||||
//阅读消息 | |||||
function ReadMsg(id) { | |||||
$.get(`<?php echo $cfg_memberurl?>/pm.php?dopost=read&id=${id}`, function (data) { | |||||
let result = JSON.parse(data); | |||||
if (result.code === 200) { | |||||
ShowMsg(`标题:<p>${result.data.subject}</p> | |||||
时间:<p>${result.data.sendtime}</p> | |||||
内容<p>${result.data.subject}</p>`,{ | |||||
title : "查看短消息", | |||||
}); | |||||
$(`.pm-read-status[for='${id}']`).html("已阅读"); | |||||
} else { | |||||
ShowAlert("#feedback-alert", `评论失败:${result.msg}`, "danger"); | |||||
} | |||||
}) | |||||
} | |||||
</script> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_pmex = true; //展开短消息菜单 | |||||
$_menu_pmstate = $state; //当前活动菜单项目 | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<ul class="nav mt-2"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php if($state === 0) echo ' active';?>" href="pm.php?folder=<?php echo $folder;?>">全部</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php if($state === 1) echo ' active';?>" href="pm.php?folder=<?php echo $folder;?>&state=1">已阅读</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php if($state === -1) echo ' active';?>" href="pm.php?folder=<?php echo $folder;?>&state=-1">未阅读</a> | |||||
</li> | |||||
</ul> | |||||
<div class="table-responsive"> | |||||
<form action="pm.php" method="post" name="form1"> | |||||
<input type='hidden' name='dopost' value='del'> | |||||
<div id="feedback-alert"> | |||||
</div> | |||||
<table class="table"> | |||||
<thead> | |||||
<tr> | |||||
<th scope="col"> </th> | |||||
<th scope="col">标题</th> | |||||
<th scope="col"><?php | |||||
if($folder == "inbox") echo "发件人"; | |||||
else echo "收件人"; | |||||
?></th> | |||||
<th scope="col">状态</th> | |||||
<th scope="col">发布时间</th> | |||||
</tr> | |||||
</thead> | |||||
<tbody> | |||||
{dede:datalist} | |||||
<tr> | |||||
<td scope="row"><input type="checkbox" name="deleteid" value="{dede:field.id/}" style="margin-left:5px"></td> | |||||
<td><?php | |||||
if($fields['hasview']==0) echo "<a href='javascript:ReadMsg({$fields['id']})'>{$fields['subject']}</a>"; | |||||
else echo "<a href='javascript:ReadMsg({$fields['id']})'>{$fields['subject']}</a>"; | |||||
?></td> | |||||
<td><?php | |||||
if($folder == "inbox") { | |||||
echo $fields['floginid']; | |||||
} else { | |||||
echo $fields['tologinid']; | |||||
}?> | |||||
</td> | |||||
<td> | |||||
<div class="pm-read-status" for="<?php echo $fields['id'];?>"> | |||||
<?php | |||||
$readmsg = ($fields['hasview']==0 ? "<span class='text-danger'>未阅读</span>" : '已阅读'); | |||||
echo $readmsg; | |||||
?> | |||||
</div> | |||||
</td> | |||||
<td><?php | |||||
echo MyDate('Y-m-d H:i:s',$fields['sendtime']); | |||||
?></td> | |||||
</tr> | |||||
{/dede:datalist} | |||||
</tbody> | |||||
</table> | |||||
</form> | |||||
</div> | |||||
<nav><button type="button" onclick="DoSubmit('<?php echo $folder; ?>')" class="btn btn-success btn-sm" >删除选中</button> {dede:pagelist listsize='6'/}</nav> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
//获得选中文件的文件名 | |||||
function GetCheckfolderItem() { | |||||
var allSel = ''; | |||||
if (document.form1.deleteid.value) return document.form1.deleteid.value; | |||||
for (i = 0; i < document.form1.deleteid.length; i++) { | |||||
if (document.form1.deleteid[i].checked) { | |||||
if (allSel == '') | |||||
allSel = document.form1.deleteid[i].value; | |||||
else | |||||
allSel = allSel + "," + document.form1.deleteid[i].value; | |||||
} | |||||
} | |||||
return allSel; | |||||
} | |||||
function DoSubmit(myfolder) { | |||||
var selid = GetCheckfolderItem(); | |||||
if (selid == '') { | |||||
ShowMsg("您没选中任何信息"); | |||||
return false; | |||||
} | |||||
if (window.confirm("您确定要删除这些消息吗")) { | |||||
location = "pm.php?dopost=del&ids=" + selid + "&folder=" + myfolder; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>消息管理-会员中心-<?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/member.css"> | |||||
<script src="<?php echo $cfg_cmsurl; ?>/static/web/js/bootstrap.bundle.min.js"></script> | |||||
<script src="<?php echo $cfg_cmsurl; ?>/static/web/js/style.js"></script> | |||||
<script> | |||||
//阅读消息 | |||||
function ReadMsg(id) { | |||||
$.get(`<?php echo $cfg_memberurl?>/pm.php?dopost=read&id=${id}`, function(data) { | |||||
let result = JSON.parse(data); | |||||
if (result.code === 200) { | |||||
ShowMsg(`标题:<p>${result.data.subject}</p> | |||||
时间:<p>${result.data.sendtime}</p> | |||||
内容<p>${result.data.subject}</p>`, { | |||||
title: "查看短消息", | |||||
}); | |||||
$(`.pm-read-status[for='${id}']`).html("已阅读"); | |||||
} else { | |||||
ShowAlert("#feedback-alert", `评论失败:${result.msg}`, "danger"); | |||||
} | |||||
}) | |||||
} | |||||
</script> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_pmex = true; | |||||
$_menu_pmstate = $state; | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<ul class="nav mt-2"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php if($state === 0) echo ' active';?>" href="pm.php?folder=<?php echo $folder;?>">全部</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php if($state === 1) echo ' active';?>" href="pm.php?folder=<?php echo $folder;?>&state=1">已阅读</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link<?php if($state === -1) echo ' active';?>" href="pm.php?folder=<?php echo $folder;?>&state=-1">未阅读</a> | |||||
</li> | |||||
</ul> | |||||
<div class="table-responsive"> | |||||
<form action="pm.php" method="post" name="form1"> | |||||
<input type='hidden' name='dopost' value='del'> | |||||
<div id="feedback-alert"> | |||||
</div> | |||||
<table class="table"> | |||||
<thead> | |||||
<tr> | |||||
<th scope="col"> </th> | |||||
<th scope="col">标题</th> | |||||
<th scope="col"> | |||||
<?php | |||||
if($folder == "inbox") echo "发件人"; | |||||
else echo "收件人"; | |||||
?> | |||||
</th> | |||||
<th scope="col">状态</th> | |||||
<th scope="col">发布时间</th> | |||||
</tr> | |||||
</thead> | |||||
<tbody> | |||||
{dede:datalist} | |||||
<tr> | |||||
<td scope="row"><input type="checkbox" name="deleteid" value="{dede:field.id/}"></td> | |||||
<td> | |||||
<?php | |||||
if($fields['hasview']==0) echo "<a href='javascript:ReadMsg({$fields['id']})'>{$fields['subject']}</a>"; | |||||
else echo "<a href='javascript:ReadMsg({$fields['id']})'>{$fields['subject']}</a>"; | |||||
?> | |||||
</td> | |||||
<td> | |||||
<?php | |||||
if($folder == "inbox") { | |||||
echo $fields['floginid']; | |||||
} else { | |||||
echo $fields['tologinid']; | |||||
}?> | |||||
</td> | |||||
<td> | |||||
<div class="pm-read-status" for="<?php echo $fields['id']; ?>"> | |||||
<?php | |||||
$readmsg = ($fields['hasview']==0 ? "<span class='text-danger'>未阅读</span>" : '已阅读'); | |||||
echo $readmsg; | |||||
?> | |||||
</div> | |||||
</td> | |||||
<td> | |||||
<?php | |||||
echo MyDate('Y-m-d H:i:s',$fields['sendtime']); | |||||
?> | |||||
</td> | |||||
</tr> | |||||
{/dede:datalist} | |||||
</tbody> | |||||
</table> | |||||
</form> | |||||
</div> | |||||
<nav> | |||||
<button type="button" onclick="DoSubmit('<?php echo $folder; ?>')" class="btn btn-success btn-sm">删除选中</button> | |||||
{dede:pagelist listsize='6'/} | |||||
</nav> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
//获得选中文件的文件名 | |||||
function GetCheckfolderItem() { | |||||
var allSel = ''; | |||||
if (document.form1.deleteid.value) return document.form1.deleteid.value; | |||||
for (i = 0; i < document.form1.deleteid.length; i++) { | |||||
if (document.form1.deleteid[i].checked) { | |||||
if (allSel == '') | |||||
allSel = document.form1.deleteid[i].value; | |||||
else | |||||
allSel = allSel + "," + document.form1.deleteid[i].value; | |||||
} | |||||
} | |||||
return allSel; | |||||
} | |||||
function DoSubmit(myfolder) { | |||||
var selid = GetCheckfolderItem(); | |||||
if (selid == '') { | |||||
ShowMsg("您没选中任何信息"); | |||||
return false; | |||||
} | |||||
if (window.confirm("您确定要删除这些消息吗")) { | |||||
location = "pm.php?dopost=del&ids=" + selid + "&folder=" + myfolder; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
</html> | </html> |
@@ -1,94 +1,91 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title><?php echo $cfg_webname; ?> - 会员注册</title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top.htm"); ?> | |||||
<?php include(DEDEMEMBER."/templets/header.htm"); ?> | |||||
<main class="login-from"> | |||||
<div class="container"> | |||||
<div class="login-area"> | |||||
<h4 class="text-center py-2">会员注册</h4> | |||||
<form method="post" action="reg_new.php" id="regUser" name="form2" onsubmit="return CheckSubmit();"> | |||||
<input type="hidden" value="regbase" name="dopost"> | |||||
<input type="hidden" value="1" name="step"> | |||||
<input type="hidden" value="个人" name="mtype"> | |||||
<div class="input-group mb-3"> | |||||
<input id="iptUserid" name="userid" type="text" class="form-control" placeholder="输入用户名"> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input name="vdcode" placeholder="输入图形验证码" type="text" class="form-control" id="iptValidate" style="text-transform:uppercase"> | |||||
<img src="<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php" id="validateimg" style="cursor:pointer" onClick="this.src='<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="点击我更换图片" alt="点击我更换图片"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="登录密码" name="userpwd" type="password" class="form-control" id="iptUserpwd" style="text-transform:uppercase"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="确认密码" name="userpwdok" type="password" class="form-control" id="iptUserpwdok" style="text-transform:uppercase"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group form-check"> | |||||
<input type="checkbox" class="form-check-input" id="iptLicence"> | |||||
<label class="form-check-label licence" for="iptLicence">我已阅读并接受<a href="">《用户注册条款》</a>、<a href="">《隐私保护条例》</a></label> | |||||
</div> | |||||
<button type="submit" class="btn btn-success btnLogin btn-sm">注 册</button> | |||||
<a href="<?php echo $cfg_memberurl;?>/login.php" class="btn btn-outline-success btnLogin mt-2">登 录</a> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script> | |||||
//CheckSubmit 校验注册提交表单 | |||||
function CheckSubmit() { | |||||
let formCheck = [ | |||||
{ | |||||
elem : "#iptUserid", | |||||
condition : $("#iptUserid").val() === "", | |||||
}, | |||||
{ | |||||
elem : "#iptLicence", | |||||
condition : !$("#iptLicence").is(':checked'), | |||||
}, | |||||
{ | |||||
elem : "#iptValidate", | |||||
condition : $("#iptValidate").val() === "", | |||||
}, | |||||
{ | |||||
elem : "#iptUserpwd", | |||||
condition : $("#iptUserpwd").val() === "", | |||||
}, | |||||
{ | |||||
elem : "#iptUserpwdok", | |||||
condition : $("#iptUserpwdok").val() !== $("#iptUserpwd").val(), | |||||
}, | |||||
]; | |||||
for (let i = 0; i < formCheck.length; i++) { | |||||
const fc = formCheck[i]; | |||||
if (fc.condition) { | |||||
$(fc.elem).addClass("is-invalid"); | |||||
return false | |||||
} else { | |||||
$(fc.elem).removeClass("is-invalid"); | |||||
} | |||||
} | |||||
return true | |||||
} | |||||
</script> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title><?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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top.htm"); ?> | |||||
<?php include(DEDEMEMBER."/templets/header.htm"); ?> | |||||
<main class="login-from"> | |||||
<div class="container"> | |||||
<div class="login-area"> | |||||
<h4 class="text-center py-2">会员注册</h4> | |||||
<form method="post" action="reg_new.php" id="regUser" name="form2" onsubmit="return CheckSubmit();"> | |||||
<input type="hidden" value="regbase" name="dopost"> | |||||
<input type="hidden" value="1" name="step"> | |||||
<input type="hidden" value="个人" name="mtype"> | |||||
<div class="input-group mb-3"> | |||||
<input id="iptUserid" name="userid" type="text" class="form-control" placeholder="输入用户名"> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input name="vdcode" placeholder="输入图形验证码" type="text" class="form-control" id="iptValidate" style="text-transform:uppercase"> | |||||
<img src="<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php" id="validateimg" onClick="this.src='<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" alt="验证码" style="cursor:pointer"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="登录密码" name="userpwd" type="password" class="form-control" id="iptUserpwd" style="text-transform:uppercase"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="确认密码" name="userpwdok" type="password" class="form-control" id="iptUserpwdok" style="text-transform:uppercase"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group form-check"> | |||||
<input type="checkbox" class="form-check-input" id="iptLicence"> | |||||
<label class="form-check-label licence" for="iptLicence">我已阅读并接受<a href="">《用户注册条款》</a>、<a href="">《隐私保护条例》</a></label> | |||||
</div> | |||||
<button type="submit" class="btn btn-success btnLogin btn-sm">注册</button> | |||||
<a href="<?php echo $cfg_memberurl;?>/login.php" class="btn btn-outline-success btnLogin mt-2">登录</a> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script> | |||||
//CheckSubmit 校验注册提交表单 | |||||
function CheckSubmit() { | |||||
let formCheck = [{ | |||||
elem: "#iptUserid", | |||||
condition: $("#iptUserid").val() === "", | |||||
}, | |||||
{ | |||||
elem: "#iptLicence", | |||||
condition: !$("#iptLicence").is(':checked'), | |||||
}, | |||||
{ | |||||
elem: "#iptValidate", | |||||
condition: $("#iptValidate").val() === "", | |||||
}, | |||||
{ | |||||
elem: "#iptUserpwd", | |||||
condition: $("#iptUserpwd").val() === "", | |||||
}, | |||||
{ | |||||
elem: "#iptUserpwdok", | |||||
condition: $("#iptUserpwdok").val() !== $("#iptUserpwd").val(), | |||||
}, | |||||
]; | |||||
for (let i = 0; i < formCheck.length; i++) { | |||||
const fc = formCheck[i]; | |||||
if (fc.condition) { | |||||
$(fc.elem).addClass("is-invalid"); | |||||
return false | |||||
} else { | |||||
$(fc.elem).removeClass("is-invalid"); | |||||
} | |||||
} | |||||
return true | |||||
} | |||||
</script> | |||||
</body> | |||||
</html> | </html> |
@@ -1,86 +1,85 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>密码帮手 - 找回密码第一步</title> | |||||
<script type="text/javascript"> | |||||
function changeAuthCode() { | |||||
var num = new Date().getTime(); | |||||
var rand = Math.round(Math.random() * 10000); | |||||
num = num + rand; | |||||
$('#ver_code').css('visibility','visible'); | |||||
if ($("#vdimgck")[0]) { | |||||
$("#vdimgck")[0].src = "../apps/vdimgck.php?tag=" + num; | |||||
} | |||||
return false; | |||||
} | |||||
function hideVc() | |||||
{ | |||||
$('#ver_code').css('visibility','hidden'); | |||||
} | |||||
$(document).ready(function(){ | |||||
$("#vdcode").focus(function(){ | |||||
var leftpos = $("#vdcode").position().left; | |||||
$('#ver_code').css('left', leftpos+'px'); | |||||
$('#ver_code').css('visibility','visible'); | |||||
}); | |||||
$("input[type='password']").click(function(){ | |||||
hideVc() | |||||
}); | |||||
$("#txtUsername").click(function(){ | |||||
hideVc() | |||||
}); | |||||
$("input[type='radio']").focus(function(){ | |||||
hideVc() | |||||
}); | |||||
}) | |||||
</script> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top.htm"); ?> | |||||
<?php include(DEDEMEMBER."/templets/header.htm"); ?> | |||||
<main class=""> | |||||
<div class="container"> | |||||
<div class="main mb-3"> | |||||
<p>找回密码第一步<em><a href="index_do.php?fmdo=user&dopost=regnew">还没注册 点击这里</a></em></p> | |||||
<form name='form1' method='POST' action='<?php echo $cfg_memberurl;?>/resetpassword.php'> | |||||
<input type="hidden" name="dopost" value="getpwd"> | |||||
<input type="hidden" name="gourl" value="<?php if(!empty($gourl)) echo $gourl;?>"> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="用户名" name="userid" type="text" class="form-control" id="txtUsername"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="邮箱" name="mail" type="text" class="form-control" id="txtMail"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input name="vdcode" placeholder="输入图形验证码" type="text" class="form-control" id="iptValidate" style="text-transform:uppercase"> | |||||
<img src="<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src='<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="点击我更换图片" alt="点击我更换图片"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<select name="type" class="form-control"> | |||||
<option value="1" selected>通过邮件取回</option> | |||||
<option value="2">通过安全问题取回</option> | |||||
</select> | |||||
</div> | |||||
</div> | |||||
<button type="submit" class="btn btn-success btnLogin btn-sm">下一步</button> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>密码帮手-找回密码第一步</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/member.css"> | |||||
<script type="text/javascript"> | |||||
function changeAuthCode() { | |||||
var num = new Date().getTime(); | |||||
var rand = Math.round(Math.random() * 10000); | |||||
num = num + rand; | |||||
$('#ver_code').css('visibility', 'visible'); | |||||
if ($("#vdimgck")[0]) { | |||||
$("#vdimgck")[0].src = "../apps/vdimgck.php?tag=" + num; | |||||
} | |||||
return false; | |||||
} | |||||
function hideVc() { | |||||
$('#ver_code').css('visibility', 'hidden'); | |||||
} | |||||
$(document).ready(function() { | |||||
$("#vdcode").focus(function() { | |||||
var leftpos = $("#vdcode").position().left; | |||||
$('#ver_code').css('left', leftpos + 'px'); | |||||
$('#ver_code').css('visibility', 'visible'); | |||||
}); | |||||
$("input[type='password']").click(function() { | |||||
hideVc() | |||||
}); | |||||
$("#txtUsername").click(function() { | |||||
hideVc() | |||||
}); | |||||
$("input[type='radio']").focus(function() { | |||||
hideVc() | |||||
}); | |||||
}) | |||||
</script> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top.htm"); ?> | |||||
<?php include(DEDEMEMBER."/templets/header.htm"); ?> | |||||
<main class=""> | |||||
<div class="container"> | |||||
<div class="main mb-3"> | |||||
<p>找回密码第一步<em><a href="index_do.php?fmdo=user&dopost=regnew">还没注册</a></em></p> | |||||
<form name="form1" method="POST" action="<?php echo $cfg_memberurl;?>/resetpassword.php"> | |||||
<input type="hidden" name="dopost" value="getpwd"> | |||||
<input type="hidden" name="gourl" value="<?php if(!empty($gourl)) echo $gourl;?>"> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="用户名" name="userid" type="text" class="form-control" id="txtUsername"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="邮箱" name="mail" type="text" class="form-control" id="txtMail"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input name="vdcode" placeholder="输入图形验证码" type="text" class="form-control" id="iptValidate" style="text-transform:uppercase"> | |||||
<img src="<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php" id="validateimg" onclick="this.src='<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" alt="验证码" style="cursor:pointer"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<select name="type" class="form-control"> | |||||
<option value="1" selected>通过邮件取回</option> | |||||
<option value="2">通过安全问题取回</option> | |||||
</select> | |||||
</div> | |||||
</div> | |||||
<button type="submit" class="btn btn-success btnLogin btn-sm">下一步</button> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
</html> | </html> |
@@ -1,56 +1,56 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>密码帮手 - 找回密码第二步</title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top.htm"); ?> | |||||
<?php include(DEDEMEMBER."/templets/header.htm"); ?> | |||||
<main class=""> | |||||
<div class="container"> | |||||
<div class="main mb-3"> | |||||
<p>找回密码第二步<em><a href="index_do.php?fmdo=user&dopost=regnew">还没注册 点击这里</a></em></p> | |||||
<form name='form1' method='POST' action='<?php echo $cfg_memberurl;?>/resetpassword.php'> | |||||
<input type="hidden" name="dopost" value="getpasswd"> | |||||
<input type="hidden" name="setp" value="2"> | |||||
<input type="hidden" name="id" value="<?php echo $id;?>"> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="用户名" name="userid" type="text" readonly="readonly" value="<?php echo $row['membername']?>" class="form-control" id="txtUsername"> | |||||
</div> | |||||
</div> | |||||
<?php if(empty($key)){ ?> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="临时登录密码:" name="pwdtmp" type="password" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<?php } else { ?> | |||||
<input name="key" type="hidden" value="<?php echo $key;?>"> | |||||
<?php }?> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="新密码" name="pwd" type="password" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="确认新密码" name="pwdok" type="password" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<button type="submit" class="btn btn-success btnLogin btn-sm">下一步</button> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>密码帮手-找回密码第二步</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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top.htm"); ?> | |||||
<?php include(DEDEMEMBER."/templets/header.htm"); ?> | |||||
<main class=""> | |||||
<div class="container"> | |||||
<div class="main mb-3"> | |||||
<p>找回密码第二步<em><a href="index_do.php?fmdo=user&dopost=regnew">还没注册</a></em></p> | |||||
<form name="form1" method="POST" action="<?php echo $cfg_memberurl;?>/resetpassword.php"> | |||||
<input type="hidden" name="dopost" value="getpasswd"> | |||||
<input type="hidden" name="setp" value="2"> | |||||
<input type="hidden" name="id" value="<?php echo $id;?>"> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="用户名" name="userid" type="text" readonly="readonly" value="<?php echo $row['membername']?>" class="form-control" id="txtUsername"> | |||||
</div> | |||||
</div> | |||||
<?php if(empty($key)){ ?> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="临时登录密码:" name="pwdtmp" type="password" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<?php } else { ?> | |||||
<input name="key" type="hidden" value="<?php echo $key;?>"> | |||||
<?php }?> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="新密码" name="pwd" type="password" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="确认新密码" name="pwdok" type="password" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<button type="submit" class="btn btn-success btnLogin btn-sm">下一步</button> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
</html> | </html> | ||||
</html> | </html> |
@@ -1,48 +1,48 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>密码帮手 - 找回密码第三步</title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top.htm"); ?> | |||||
<?php include(DEDEMEMBER."/templets/header.htm"); ?> | |||||
<main class=""> | |||||
<div class="container"> | |||||
<div class="main mb-3"> | |||||
<p>找回密码第三步<em><a href="index_do.php?fmdo=user&dopost=regnew">还没注册 点击这里</a></em></p> | |||||
<form name='form1' method='POST' action='<?php echo $cfg_memberurl;?>/resetpassword.php'> | |||||
<input type="hidden" name="dopost" value="safequestion"> | |||||
<input type="hidden" name="id" value="<?php echo $member['mid'];?>"> | |||||
<input type="hidden" name="userid" value="<?php echo $userid;?>"> | |||||
<div class="form-group"> | |||||
<?php | |||||
require(DEDEDATA.'/safequestions.php'); | |||||
echo GetSafequestion(0,'safequestion'); | |||||
?> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="问题答案" name="safeanswer" type="text" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input name="vdcode" placeholder="输入图形验证码" type="text" class="form-control" id="iptValidate" style="text-transform:uppercase"> | |||||
<img src="<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src='<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="点击我更换图片" alt="点击我更换图片"> | |||||
</div> | |||||
</div> | |||||
<button type="submit" class="btn btn-success btnLogin btn-sm">保存</button> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>密码帮手-找回密码第三步</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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top.htm"); ?> | |||||
<?php include(DEDEMEMBER."/templets/header.htm"); ?> | |||||
<main class=""> | |||||
<div class="container"> | |||||
<div class="main mb-3"> | |||||
<p>找回密码第三步<em><a href="index_do.php?fmdo=user&dopost=regnew">还没注册</a></em></p> | |||||
<form name="form1" method="POST" action="<?php echo $cfg_memberurl;?>/resetpassword.php"> | |||||
<input type="hidden" name="dopost" value="safequestion"> | |||||
<input type="hidden" name="id" value="<?php echo $member['mid'];?>"> | |||||
<input type="hidden" name="userid" value="<?php echo $userid;?>"> | |||||
<div class="form-group"> | |||||
<?php | |||||
require(DEDEDATA.'/safequestions.php'); | |||||
echo GetSafequestion(0,'safequestion'); | |||||
?> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input placeholder="问题答案" name="safeanswer" type="text" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="input-group"> | |||||
<input name="vdcode" placeholder="输入图形验证码" type="text" class="form-control" id="iptValidate" style="text-transform:uppercase"> | |||||
<img src="<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php" id="validateimg" onclick="this.src='<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" alt="验证码" style="cursor:pointer"> | |||||
</div> | |||||
</div> | |||||
<button type="submit" class="btn btn-success btnLogin btn-sm">保存</button> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
</body> | |||||
</html> | </html> |
@@ -1,69 +1,69 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>密码帮手 - 找回密码第三步</title> | |||||
</head> | |||||
<body class="buycarpage"> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<div class="container"> | |||||
<div class="sp-title">商品购买</div> | |||||
<div class="buycar"> | |||||
<table cellpadding="0" cellspacing="0" class="table"> | |||||
<tr> | |||||
<td>下单购买</td> | |||||
<td class="thisclass">买家付款</td> | |||||
<td>确认收货</td> | |||||
<td>交易结束 </td> | |||||
</tr> | |||||
</table> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="dede_table"> | |||||
<thead> | |||||
<tr> | |||||
<td colspan="6">确认订单并付款</td> | |||||
</tr> | |||||
</thead> | |||||
<tbody> | |||||
<tr> | |||||
<td width="180" class="td1">订单编号:</td> | |||||
<td>{dede:var.carts.orders_id/}</td> | |||||
</tr> | |||||
<tr> | |||||
<td width="180" class="td1">商品总数:</td> | |||||
<td>{dede:var.carts.cart_count/}件</td> | |||||
</tr> | |||||
<tr> | |||||
<td width="180" class="td1">商品名称:</td> | |||||
<td>{dede:var.pay_name/}</td> | |||||
</tr> | |||||
<tr> | |||||
<td width="180" class="td1">订单价格:</td> | |||||
<td><strong class="fc-f60" id="priceCount">{dede:var.carts.price_count/} 元</td> | |||||
</tr> | |||||
<tr> | |||||
<td width="180" class="td1">支付方式:</td> | |||||
<td>{dede:var.pay_way/}</td> | |||||
</tr> | |||||
<tr> | |||||
<td width="180" class="td1">支付信息:</td> | |||||
<td>{dede:var.description/}</td> | |||||
</tr> | |||||
</tbody> | |||||
<tfoot> | |||||
<tr> | |||||
<td colspan="2"> | |||||
{dede:var.button/} | |||||
</td> | |||||
</tr> | |||||
</tfoot> | |||||
</table> | |||||
</div> | |||||
</div> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>商品购买-会员中心-<?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/member.css"> | |||||
</head> | |||||
<body class="buycarpage"> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<div class="container"> | |||||
<div class="sp-title">商品购买</div> | |||||
<div class="buycar"> | |||||
<table cellpadding="0" cellspacing="0" class="table"> | |||||
<tr> | |||||
<td>下单购买</td> | |||||
<td class="thisclass">买家付款</td> | |||||
<td>确认收货</td> | |||||
<td>交易结束</td> | |||||
</tr> | |||||
</table> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="dede_table"> | |||||
<thead> | |||||
<tr> | |||||
<td colspan="6">确认订单并付款</td> | |||||
</tr> | |||||
</thead> | |||||
<tbody> | |||||
<tr> | |||||
<td width="180" class="td1">订单编号:</td> | |||||
<td>{dede:var.carts.orders_id/}</td> | |||||
</tr> | |||||
<tr> | |||||
<td width="180" class="td1">商品总数:</td> | |||||
<td>{dede:var.carts.cart_count/}件</td> | |||||
</tr> | |||||
<tr> | |||||
<td width="180" class="td1">商品名称:</td> | |||||
<td>{dede:var.pay_name/}</td> | |||||
</tr> | |||||
<tr> | |||||
<td width="180" class="td1">订单价格:</td> | |||||
<td><strong class="fc-f60" id="priceCount">{dede:var.carts.price_count/} 元</td> | |||||
</tr> | |||||
<tr> | |||||
<td width="180" class="td1">支付方式:</td> | |||||
<td>{dede:var.pay_way/}</td> | |||||
</tr> | |||||
<tr> | |||||
<td width="180" class="td1">支付信息:</td> | |||||
<td>{dede:var.description/}</td> | |||||
</tr> | |||||
</tbody> | |||||
<tfoot> | |||||
<tr> | |||||
<td colspan="2"> | |||||
{dede:var.button/} | |||||
</td> | |||||
</tr> | |||||
</tfoot> | |||||
</table> | |||||
</div> | |||||
</div> | |||||
</body> | |||||
</html> | </html> |
@@ -1,117 +1,113 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>商城订单 - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_order = true; //展开编辑信息 | |||||
$_menu_orderstate = 1; | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<div id="mainCp"> | |||||
<!--内容消息提示 --> | |||||
<ul class="nav nav-tabs"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link active" href="shops_orders.php">商品订单</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="shops_products.php">已购商品</a> | |||||
</li> | |||||
</ul> | |||||
<div class="postForm mt-3" style="padding-bottom: 0px;"> | |||||
<form name="form3" action="shops_products.php" method="get"> | |||||
<div class="input-group" style="margin-top:3px; padding-left: 130px;"> 订单号: | |||||
<input class="form-control" type='text' name='oid' size="40" value=''> | |||||
<div class="input-group-append"> | |||||
<button class="btn btn-success btn-sm" type="submit">搜索</button> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table mt-3"> | |||||
<thead> | |||||
<tr> | |||||
<th colspan="2" width="25%">订单号</th> | |||||
<th>状态</th> | |||||
<th width="10%">数量</th> | |||||
<th width="10%">总计(元)</th> | |||||
<th width="20%">时间</th> | |||||
</tr> | |||||
</thead> | |||||
<form name='form1' action="shops_orders.php" method="post"> | |||||
<input type='hidden' name='dopost' value='del'> | |||||
<tbody> | |||||
{dede:datalist} | |||||
<tr> | |||||
<td align="center"><input type="checkbox" name="deleteid" value="{dede:field.oid/}"/></td> | |||||
<td align="center"><a href="shops_products.php?do=show&oid={dede:field.oid/}">{dede:field.oid/}</a></td> | |||||
<td align="center"><?php echo GetSta($fields["state"],$fields["oid"])?></td> | |||||
<td align="center">{dede:field.cartcount/}</td> | |||||
<td align="center">{dede:field.priceCount/}</td> | |||||
<td align="center">{dede:field.stime function="Mydate('Y-m-d h:i:s',@me)"/}</td> | |||||
</tr> | |||||
{/dede:datalist} | |||||
<tr> | |||||
<td colspan="6"><button id="checkedClick" type="button" class="btn btn-success btn-sm">全选</button> | |||||
<button type="button" onclick="DoSubmit()" class="btn btn-success btn-sm">删除选中</button></td></tr></tbody> | |||||
</form> | |||||
</table> | |||||
<nav>{dede:pagelist listsize='6'/}</nav> | |||||
</div> | |||||
<!--主操作区域 --> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
//获得选中文件的文件名 | |||||
function GetCheckfolderItem() | |||||
{ | |||||
var allSel=''; | |||||
if(document.form1.deleteid.value) return document.form1.deleteid.value; | |||||
for(i=0;i<document.form1.deleteid.length;i++) | |||||
{ | |||||
if(document.form1.deleteid[i].checked) | |||||
{ | |||||
if(allSel=='') | |||||
allSel=document.form1.deleteid[i].value; | |||||
else | |||||
allSel=allSel+","+document.form1.deleteid[i].value; | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>商城订单-会员中心-<?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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_order = true; | |||||
$_menu_orderstate = 1; | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<div id="mainCp"> | |||||
<ul class="nav nav-tabs"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link active" href="shops_orders.php">商品订单</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="shops_products.php">已购商品</a> | |||||
</li> | |||||
</ul> | |||||
<div class="postForm mt-3" style="padding-bottom: 0px;"> | |||||
<form name="form3" action="shops_products.php" method="get"> | |||||
<div class="input-group" style="padding-left:120px"> | |||||
订单号:<input class="form-control" type="text" name="oid" size="40" value=""> | |||||
<div class="input-group-append"> | |||||
<button class="btn btn-success btn-sm" type="submit">搜索</button> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table mt-3"> | |||||
<thead> | |||||
<tr> | |||||
<th colspan="2" width="25%">订单号</th> | |||||
<th>状态</th> | |||||
<th width="10%">数量</th> | |||||
<th width="10%">总计(元)</th> | |||||
<th width="20%">时间</th> | |||||
</tr> | |||||
</thead> | |||||
<form name="form1" action="shops_orders.php" method="post"> | |||||
<input type="hidden" name="dopost" value="del"> | |||||
<tbody> | |||||
{dede:datalist} | |||||
<tr> | |||||
<td align="center"><input type="checkbox" name="deleteid" value="{dede:field.oid/}" /></td> | |||||
<td align="center"><a href="shops_products.php?do=show&oid={dede:field.oid/}">{dede:field.oid/}</a></td> | |||||
<td align="center"><?php echo GetSta($fields["state"],$fields["oid"])?></td> | |||||
<td align="center">{dede:field.cartcount/}</td> | |||||
<td align="center">{dede:field.priceCount/}</td> | |||||
<td align="center">{dede:field.stime function="Mydate('Y-m-d h:i:s',@me)"/}</td> | |||||
</tr> | |||||
{/dede:datalist} | |||||
<tr> | |||||
<td colspan="6"> | |||||
<button id="checkedClick" type="button" class="btn btn-success btn-sm">全选</button> | |||||
<button type="button" onclick="DoSubmit()" class="btn btn-success btn-sm">删除选中</button> | |||||
</td> | |||||
</tr> | |||||
</tbody> | |||||
</form> | |||||
</table> | |||||
<nav>{dede:pagelist listsize='6'/}</nav> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
//获得选中文件的文件名 | |||||
function GetCheckfolderItem() { | |||||
var allSel = ''; | |||||
if (document.form1.deleteid.value) return document.form1.deleteid.value; | |||||
for (i = 0; i < document.form1.deleteid.length; i++) { | |||||
if (document.form1.deleteid[i].checked) { | |||||
if (allSel == '') | |||||
allSel = document.form1.deleteid[i].value; | |||||
else | |||||
allSel = allSel + "," + document.form1.deleteid[i].value; | |||||
} | |||||
} | |||||
return allSel; | |||||
} | } | ||||
} | |||||
return allSel; | |||||
} | |||||
function DoSubmit() | |||||
{ | |||||
var selid = GetCheckfolderItem(); | |||||
if(selid=='') { | |||||
alert("您没选中任何信息"); | |||||
return false; | |||||
} | |||||
if(window.confirm("您确定要删除这些消息吗")) | |||||
{ | |||||
location = "shops_orders.php?dopost=del&ids="+selid; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
function DoSubmit() { | |||||
var selid = GetCheckfolderItem(); | |||||
if (selid == '') { | |||||
alert("您没选中任何信息"); | |||||
return false; | |||||
} | |||||
if (window.confirm("您确定要删除这些消息吗")) { | |||||
location = "shops_orders.php?dopost=del&ids=" + selid; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
</html> | </html> |
@@ -1,170 +1,172 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>我购买的商品 - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_order = true; //展开编辑信息 | |||||
$_menu_orderstate = 1; | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<div id="mainCp"> | |||||
<ul class="nav nav-tabs"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="shops_orders.php">商品订单</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link active" href="shops_products.php">已购商品</a> | |||||
</li> | |||||
</ul> | |||||
<?php if(!empty($oid)){ ?> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<thead> | |||||
<tr> | |||||
<th colspan="2">订单信息</th> | |||||
</tr> | |||||
</thead> | |||||
<tbody> | |||||
<tr> | |||||
<td width="15%" align="right">订单号:</td> | |||||
<td><?php echo $oid?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">支付方式:</td> | |||||
<td><?php echo GetSta($row['state'],$oid)?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">单价(元/单位):</td> | |||||
<td><?php echo $row['uprice']?>元</td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">数量:</td> | |||||
<td><?php echo $row['cartcount']?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">配送:</td> | |||||
<td><?echo $row['dname'];?> 费用:<?php echo $row['dprice']?>元</td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">总计:</td> | |||||
<td><?php echo $row['priceCount']?>元</td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">发生时间:</td> | |||||
<td><?php echo GetDateTimeMk($row['stime'])?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">收货人:</td> | |||||
<td><?php echo $row['consignee']?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">地址:</td> | |||||
<td><?php echo $row['address']?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">邮编:</td> | |||||
<td><?php echo $row['zip']?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">联系电话:</td> | |||||
<td><?php echo $row['tel']?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">邮箱:</td> | |||||
<td><?php echo $row['email']?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">留言:</td> | |||||
<td><?php echo $row['des']?></td> | |||||
</tr> | |||||
</tbody> | |||||
</table> | |||||
<?php }?> | |||||
<table cellspacing="1" class="table"> | |||||
<thead> | |||||
<tr> | |||||
<th colspan="2" width="22%">订单号</th> | |||||
<th>名称</th> | |||||
<th width="10%"><span style="float:right;width: 75px;">单价(元/单位)</span></th> | |||||
<th width="8%" align="center">数量</th> | |||||
<th width="20%" align="center">购买时间</th> | |||||
</tr> | |||||
</thead> | |||||
<form name='form1' action="shops_products.php" method="post"> | |||||
<input type='hidden' name='dopost' value='del'> | |||||
<tbody> | |||||
{dede:datalist} | |||||
<tr> | |||||
<td align="center"><input type="checkbox" name="deleteid" value="{dede:field.oid/}"/></td> | |||||
<td align="center"><a href="shops_products.php?do=show&oid={dede:field.oid/}">{dede:field.oid/}</a></td> | |||||
<td align="center"><a href="<?php echo $cfg_cmspath;?>/apps/view.php?aid={dede:field.aid/}" target="_blank">{dede:field.title/}</a></td> | |||||
<td align="center">{dede:field.price/}</td> | |||||
<td align="center">{dede:field.buynum/}</td> | |||||
<td align="center">{dede:field.oid function="carTime(@me)"/}</td> | |||||
</tr> | |||||
{/dede:datalist} | |||||
<tr> | |||||
<td colspan="6"> | |||||
<button id="checkedClick" type="button" class="btn btn-success btn-sm">全选</button> | |||||
<button type="button" onclick="DoSubmit()" class="btn btn-success btn-sm">删除选中</button></td></tr></tbody> | |||||
</form> | |||||
</table> | |||||
<nav>{dede:pagelist listsize='6'/}</nav> | |||||
</div> | |||||
<!--主操作区域 --> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
//获得选中文件的文件名 | |||||
function GetCheckfolderItem() | |||||
{ | |||||
var allSel=''; | |||||
if(document.form1.deleteid.value) return document.form1.deleteid.value; | |||||
for(i=0;i<document.form1.deleteid.length;i++) | |||||
{ | |||||
if(document.form1.deleteid[i].checked) | |||||
{ | |||||
if(allSel=='') | |||||
allSel=document.form1.deleteid[i].value; | |||||
else | |||||
allSel=allSel+","+document.form1.deleteid[i].value; | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>购买商品-会员中心-<?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/member.css"> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<?php | |||||
$_menu_order = true; | |||||
$_menu_orderstate = 1; | |||||
?> | |||||
<?php include(DEDEMEMBER."/templets/menu.htm"); ?> | |||||
<div class="pannel-main col-md-9 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<div id="mainCp"> | |||||
<ul class="nav nav-tabs"> | |||||
<li class="nav-item"> | |||||
<a class="nav-link" href="shops_orders.php">商品订单</a> | |||||
</li> | |||||
<li class="nav-item"> | |||||
<a class="nav-link active" href="shops_products.php">已购商品</a> | |||||
</li> | |||||
</ul> | |||||
<?php if(!empty($oid)){ ?> | |||||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||||
<thead> | |||||
<tr> | |||||
<th colspan="2">订单信息</th> | |||||
</tr> | |||||
</thead> | |||||
<tbody> | |||||
<tr> | |||||
<td width="15%" align="right">订单号:</td> | |||||
<td><?php echo $oid?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">支付方式:</td> | |||||
<td><?php echo GetSta($row['state'],$oid)?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">单价(元/单位):</td> | |||||
<td><?php echo $row['uprice']?>元</td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">数量:</td> | |||||
<td><?php echo $row['cartcount']?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">配送:</td> | |||||
<td> | |||||
<?echo $row['dname'];?> 费用:<?php echo $row['dprice']?>元 | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">总计:</td> | |||||
<td><?php echo $row['priceCount']?>元</td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">发生时间:</td> | |||||
<td><?php echo GetDateTimeMk($row['stime'])?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">收货人:</td> | |||||
<td><?php echo $row['consignee']?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">地址:</td> | |||||
<td><?php echo $row['address']?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">邮编:</td> | |||||
<td><?php echo $row['zip']?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">联系电话:</td> | |||||
<td><?php echo $row['tel']?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">邮箱:</td> | |||||
<td><?php echo $row['email']?></td> | |||||
</tr> | |||||
<tr> | |||||
<td align="right">留言:</td> | |||||
<td><?php echo $row['des']?></td> | |||||
</tr> | |||||
</tbody> | |||||
</table> | |||||
<?php | |||||
} | |||||
?> | |||||
<table cellspacing="1" class="table"> | |||||
<thead> | |||||
<tr> | |||||
<th colspan="2" width="22%">订单号</th> | |||||
<th>名称</th> | |||||
<th width="10%"><span style="float:right;width: 75px;">单价(元/单位)</span> | |||||
</th> | |||||
<th width="8%" align="center">数量</th> | |||||
<th width="20%" align="center">购买时间</th> | |||||
</tr> | |||||
</thead> | |||||
<form name="form1" action="shops_products.php" method="post"> | |||||
<input type="hidden" name="dopost" value="del"> | |||||
<tbody> | |||||
{dede:datalist} | |||||
<tr> | |||||
<td align="center"><input type="checkbox" name="deleteid" value="{dede:field.oid/}" /></td> | |||||
<td align="center"><a href="shops_products.php?do=show&oid={dede:field.oid/}">{dede:field.oid/}</a> | |||||
</td> | |||||
<td align="center"><a href="<?php echo $cfg_cmspath;?>/apps/view.php?aid={dede:field.aid/}" target="_blank">{dede:field.title/}</a></td> | |||||
<td align="center">{dede:field.price/}</td> | |||||
<td align="center">{dede:field.buynum/}</td> | |||||
<td align="center">{dede:field.oid function="carTime(@me)"/}</td> | |||||
</tr> | |||||
{/dede:datalist} | |||||
<tr> | |||||
<td colspan="6"> | |||||
<button id="checkedClick" type="button" class="btn btn-success btn-sm">全选</button> | |||||
<button type="button" onclick="DoSubmit()" class="btn btn-success btn-sm">删除选中</button> | |||||
</td> | |||||
</tr> | |||||
</tbody> | |||||
</form> | |||||
</table> | |||||
<nav>{dede:pagelist listsize='6'/}</nav> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
//获得选中文件的文件名 | |||||
function GetCheckfolderItem() { | |||||
var allSel = ''; | |||||
if (document.form1.deleteid.value) return document.form1.deleteid.value; | |||||
for (i = 0; i < document.form1.deleteid.length; i++) { | |||||
if (document.form1.deleteid[i].checked) { | |||||
if (allSel == '') | |||||
allSel = document.form1.deleteid[i].value; | |||||
else | |||||
allSel = allSel + "," + document.form1.deleteid[i].value; | |||||
} | |||||
} | |||||
return allSel; | |||||
} | } | ||||
} | |||||
return allSel; | |||||
} | |||||
function DoSubmit() | |||||
{ | |||||
var selid = GetCheckfolderItem(); | |||||
if(selid=='') { | |||||
alert("您没选中任何信息"); | |||||
return false; | |||||
} | |||||
if(window.confirm("您确定要删除这些消息吗")) | |||||
{ | |||||
location = "shops_products.php?dopost=del&ids="+selid; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
function DoSubmit() { | |||||
var selid = GetCheckfolderItem(); | |||||
if (selid == '') { | |||||
alert("您没选中任何信息"); | |||||
return false; | |||||
} | |||||
if (window.confirm("您确定要删除这些消息吗")) { | |||||
location = "shops_products.php?dopost=del&ids=" + selid; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
</html> | </html> |
@@ -1,248 +1,249 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>上传<?php echo $cInfos['typename']; ?> - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
<script type="text/javascript"> | |||||
var startNum = 2; | |||||
function MakeUpload() { | |||||
var upfield = document.getElementById("uploadfield"); | |||||
var morelinkobj = document.getElementById("morelink"); | |||||
var endNum = parseInt(document.addcontent.picnum.value) + startNum - 1; | |||||
morelinkobj.style.display = "block"; | |||||
if (endNum > 12) endNum = 12; | |||||
for (startNum; startNum <= endNum; startNum++) { | |||||
upfield.innerHTML += "<label>软件地址" + startNum + ":</label><input type='text' name='softurl" + startNum + "' value='http://' maxlength='100' class='form-control'> "; | |||||
upfield.innerHTML += " "; | |||||
upfield.innerHTML += "服务器名称:<input type='text' name='servermsg" + startNum + "' class='form-control'>"; | |||||
} | |||||
} | |||||
function ShowHideAddr() { | |||||
document.getElementById('morelink').style.display = (document.getElementById('morelink').style.display == 'block' ? 'none' : 'block'); | |||||
document.getElementById('btsh3').value = (document.getElementById('morelink').style.display == 'block' ? '隐藏地址' : '显示地址'); | |||||
} | |||||
</script> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 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 btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="soft_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>"> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label"><?php echo $cInfos['typename']; ?>名称</label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" class="form-control" placeholder="请输入内容主题"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标签Tag</label> | |||||
<div class="col-sm-10"> | |||||
<input name="tags" type="text" 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 name="writer" type="text" id="writer" value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</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 class='form-control' name='typeid' size='1'>"; | |||||
echo "<option value='0' selected>请选择栏目</option>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="filetype">文件类型</label> | |||||
<select name="filetype" id="filetype" class='form-control'> | |||||
<option value=".exe" selected="selected">.exe</option> | |||||
<option value=".zip">.zip</option> | |||||
<option value=".rar">.rar</option> | |||||
<option value=".iso">.iso</option> | |||||
<option value=".gz">.gz</option> | |||||
<option value="其它">其它</option> | |||||
</select> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="language">界面语言</label> | |||||
<select name="language" id="language" class='form-control'> | |||||
<option value="简体中文" selected="selected">简体中文</option> | |||||
<option value="英文软件">英文软件</option> | |||||
<option value="繁体中文">繁体中文</option> | |||||
<option value="其它类型">其它类型</option> | |||||
</select> | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="softtype">软件类型</label> | |||||
<select name="softtype" id="softtype" class='form-control'> | |||||
<option value="国产软件" selected="selected">国产软件</option> | |||||
<option value="国外软件">国外软件</option> | |||||
<option value="汉化补丁">汉化补丁</option> | |||||
</select> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="accredit">授权方式</label> | |||||
<select name="accredit" id="accredit" class='form-control'> | |||||
<option value="共享软件" selected="selected">共享软件</option> | |||||
<option value="免费软件">免费软件</option> | |||||
<option value="开源软件">开源软件</option> | |||||
<option value="商业软件">商业软件</option> | |||||
<option value="破解软件">破解软件</option> | |||||
<option value="游戏外挂">游戏外挂</option> | |||||
</select> | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="os">运行环境</label> | |||||
<input type='text' id="os" name='os' value='Win2003,WinXP,Win2000,Win9X' maxlength="100" | |||||
class='form-control'> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="softrank">软件等级</label> | |||||
<select name="softrank" id="softrank" class='form-control'> | |||||
<option value="1">一星</option> | |||||
<option value="2">二星</option> | |||||
<option value="3" selected="selected">三星 </option> | |||||
<option value="4">四星</option> | |||||
<option value="5">五星</option> | |||||
</select> | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="officialDemo">官方网址</label> | |||||
<input type="text" name="officialDemo" id="officialDemo" maxlength="100" class='form-control'> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="officialUrl">程序演示</label> | |||||
<input type="text" name="officialUrl" id="officialUrl" value="http://" maxlength="100" | |||||
class='form-control'> | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="softsize">软件大小</label> | |||||
<div class="input-group "> | |||||
<input type="text" name="softsize" id="softsize" maxlength="100" class='form-control'> | |||||
<div class="input-group-append"> | |||||
<select name="unit" id="unit" class='form-control '> | |||||
<option value="MB" selected="selected">MB</option> | |||||
<option value="KB">KB</option> | |||||
<option value="GB">GB</option> | |||||
</select> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="source">软件来源</label> | |||||
<input name="source" type="text" id="source" maxlength="100" class='form-control'> | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); | |||||
?> | |||||
<!-- 表单操作区域 --> | |||||
<div class="contentShow postForm"> | |||||
<p> | |||||
<label>文字介绍:</label><?php GetEditor("body","",200,"Member"); ?> | |||||
</p> | |||||
<p class="cellBg"> | |||||
<label>下载地址:</label> | |||||
<input name="softurl1" type="text" id="softurl1" class='form-control'> | |||||
服务器名称: | |||||
<input name="servermsg1" type="text" id="servermsg1" value="下载" class='form-control'> | |||||
</p> | |||||
<p> | |||||
<label>其它地址:</label> | |||||
<input name="picnum" type="text" id="picnum" value="5" size="8" class='form-control'> | |||||
<button name='kkkup' type='button' id='kkkup2' onclick="MakeUpload();" class="btn btn-success btn-sm">增加地址</button> | |||||
<button type="button" name="Submit3" id="btsh3" onclick="ShowHideAddr();" class="btn btn-success btn-sm">隐藏地址</button> | |||||
(最多为12个链接)</p> | |||||
<div id="morelink" style="display:none"> | |||||
<p><?php echo "<span id='uploadfield' style='line-height: 32px;'></span>"; ?></p> | |||||
</div> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if(preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onClick="this.src=this.src+'?'"> | |||||
</div> | |||||
</div> | |||||
<?php }?> | |||||
<p> | |||||
<button class="btn btn-success btn-sm" type="submit">提交</button> | |||||
<button class="btn btn-secondary btn-sm" type="reset" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
function checkSubmit() { | |||||
if (document.addcontent.title.value == "") { | |||||
ShowMsg("名称不能为空"); | |||||
document.addcontent.title.focus(); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.value == 0) { | |||||
ShowMsg("隶属栏目必须选择"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { | |||||
ShowMsg("隶属栏目必须选择白色背景的项目"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.vdcode.value == "") { | |||||
document.addcontent.vdcode.focus(); | |||||
ShowMsg("验证码不能为空"); | |||||
return false; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<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/member.css"> | |||||
<script type="text/javascript"> | |||||
var startNum = 2; | |||||
function MakeUpload() { | |||||
var upfield = document.getElementById("uploadfield"); | |||||
var morelinkobj = document.getElementById("morelink"); | |||||
var endNum = parseInt(document.addcontent.picnum.value) + startNum - 1; | |||||
morelinkobj.style.display = "block"; | |||||
if (endNum > 12) endNum = 12; | |||||
for (startNum; startNum <= endNum; startNum++) { | |||||
upfield.innerHTML += "<label>软件地址" + startNum + ":</label><input type='text' name='softurl" + startNum + | |||||
"' value='http://' maxlength='100' class='form-control'> "; | |||||
upfield.innerHTML += " "; | |||||
upfield.innerHTML += "服务器名称:<input type='text' name='servermsg" + startNum + "' class='form-control'>"; | |||||
} | |||||
} | |||||
function ShowHideAddr() { | |||||
document.getElementById('morelink').style.display = (document.getElementById('morelink').style.display == | |||||
'block' ? 'none' : 'block'); | |||||
document.getElementById('btsh3').value = (document.getElementById('morelink').style.display == 'block' ? '隐藏地址' : | |||||
'显示地址'); | |||||
} | |||||
</script> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 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 btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="soft_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>"> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label"><?php echo $cInfos['typename']; ?></label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" class="form-control" placeholder="请输入标题"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标签Tag</label> | |||||
<div class="col-sm-10"> | |||||
<input name="tags" type="text" 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 name="writer" type="text" id="writer" value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</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 class='form-control' name='typeid' size='1'>"; | |||||
echo "<option value='0' selected>请选择栏目</option>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="filetype">文件类型</label> | |||||
<select name="filetype" id="filetype" class="form-control"> | |||||
<option value=".exe" selected="selected">.exe</option> | |||||
<option value=".zip">.zip</option> | |||||
<option value=".rar">.rar</option> | |||||
<option value=".iso">.iso</option> | |||||
<option value=".gz">.gz</option> | |||||
<option value="其它">其它</option> | |||||
</select> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="language">界面语言</label> | |||||
<select name="language" id="language" class="form-control"> | |||||
<option value="简体中文" selected="selected">简体中文</option> | |||||
<option value="英文软件">英文软件</option> | |||||
<option value="繁体中文">繁体中文</option> | |||||
<option value="其它类型">其它类型</option> | |||||
</select> | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="softtype">软件类型</label> | |||||
<select name="softtype" id="softtype" class="form-control"> | |||||
<option value="国产软件" selected="selected">国产软件</option> | |||||
<option value="国外软件">国外软件</option> | |||||
<option value="汉化补丁">汉化补丁</option> | |||||
</select> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="accredit">授权方式</label> | |||||
<select name="accredit" id="accredit" class="form-control"> | |||||
<option value="共享软件" selected="selected">共享软件</option> | |||||
<option value="免费软件">免费软件</option> | |||||
<option value="开源软件">开源软件</option> | |||||
<option value="商业软件">商业软件</option> | |||||
<option value="破解软件">破解软件</option> | |||||
<option value="游戏外挂">游戏外挂</option> | |||||
</select> | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="os">运行环境</label> | |||||
<input type="text" id="os" name="os" value="Win2003,WinXP,Win2000,Win9X" maxlength="100" class="form-control"> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="softrank">软件等级</label> | |||||
<select name="softrank" id="softrank" class="form-control"> | |||||
<option value="1">一星</option> | |||||
<option value="2">二星</option> | |||||
<option value="3" selected="selected">三星 </option> | |||||
<option value="4">四星</option> | |||||
<option value="5">五星</option> | |||||
</select> | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="officialDemo">官方网址</label> | |||||
<input type="text" name="officialDemo" id="officialDemo" maxlength="100" class="form-control"> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="officialUrl">程序演示</label> | |||||
<input type="text" name="officialUrl" id="officialUrl" value="http://" maxlength="100" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="softsize">软件大小</label> | |||||
<div class="input-group "> | |||||
<input type="text" name="softsize" id="softsize" maxlength="100" class="form-control"> | |||||
<div class="input-group-append"> | |||||
<select name="unit" id="unit" class="form-control"> | |||||
<option value="MB" selected="selected">MB</option> | |||||
<option value="KB">KB</option> | |||||
<option value="GB">GB</option> | |||||
</select> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="source">软件来源</label> | |||||
<input name="source" type="text" id="source" maxlength="100" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); | |||||
?> | |||||
<div class="contentShow postForm"> | |||||
<div> | |||||
<label>正文</label> | |||||
<div><?php GetEditor("body","",360,"Member"); ?></div> | |||||
</div> | |||||
<p class="cellBg"> | |||||
<label>下载地址:</label> | |||||
<input name="softurl1" type="text" id="softurl1" class="form-control"> | |||||
服务器名称:<input name="servermsg1" type="text" id="servermsg1" value="下载" class="form-control"> | |||||
</p> | |||||
<p> | |||||
<label>其它地址:</label> | |||||
<input name="picnum" type="text" id="picnum" value="5" size="8" class="form-control"> | |||||
<button name='kkkup' type='button' id='kkkup2' onclick="MakeUpload();" class="btn btn-success btn-sm">增加地址</button> | |||||
<button type="button" name="Submit3" id="btsh3" onclick="ShowHideAddr();" class="btn btn-success btn-sm">隐藏地址</button>(最多为12个链接) | |||||
</p> | |||||
<div id="morelink" style="display:none"> | |||||
<p><?php echo "<span id='uploadfield'></span>"; ?> | |||||
</p> | |||||
</div> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if(preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="验证码" title="验证码" onclick="this.src=this.src+'?'" style="cursor:pointer"> | |||||
</div> | |||||
</div> | |||||
<?php }?> | |||||
<p> | |||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | |||||
<button type="reset" class="btn btn-secondary btn-sm" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
function checkSubmit() { | |||||
if (document.addcontent.title.value == "") { | |||||
ShowMsg("名称不能为空"); | |||||
document.addcontent.title.focus(); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.value == 0) { | |||||
ShowMsg("隶属栏目必须选择"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid | |||||
.selectedIndex].className != 'option3') { | |||||
ShowMsg("隶属栏目必须选择白色背景的项目"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.vdcode.value == "") { | |||||
document.addcontent.vdcode.focus(); | |||||
ShowMsg("验证码不能为空"); | |||||
return false; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
</html> | </html> |
@@ -1,265 +1,266 @@ | |||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
<html> | <html> | ||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||||
<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 href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css"> | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css"> | |||||
<title>编辑软件<?php echo $row['title']?> - 会员中心 - <?php echo $cfg_webname; ?></title> | |||||
<script type="text/javascript"> | |||||
var startNum = 2; | |||||
function MakeUpload() { | |||||
var upfield = document.getElementById("uploadfield"); | |||||
var morelinkobj = document.getElementById("morelink"); | |||||
var endNum = parseInt(document.addcontent.picnum.value) + startNum - 1; | |||||
morelinkobj.style.display = "block"; | |||||
if (endNum > 12) endNum = 12; | |||||
for (startNum; startNum <= endNum; startNum++) { | |||||
upfield.innerHTML += "<label>软件地址" + startNum + ":</label><input type='text' name='softurl" + startNum + "' value='http://' maxlength='100' class='form-control'> "; | |||||
upfield.innerHTML += " "; | |||||
upfield.innerHTML += "服务器名称:<input type='text' name='servermsg" + startNum + "' class='form-control'>"; | |||||
} | |||||
} | |||||
function ShowHideAddr() { | |||||
document.getElementById('morelink').style.display = (document.getElementById('morelink').style.display == 'block' ? 'none' : 'block'); | |||||
document.getElementById('btsh3').value = (document.getElementById('morelink').style.display == 'block' ? '隐藏地址' : '显示地址'); | |||||
} | |||||
</script> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 mr-auto"> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | |||||
<li class="breadcrumb-item">编辑软件:<?php echo $row['title']?></li> | |||||
</li> | |||||
</ol> | |||||
<span class="navbar-text"> | |||||
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="soft_edit.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="aid" value="<?php echo $row['id']; ?>"> | |||||
<input type="hidden" name="channelid" value="<?php echo $row['channel']; ?>"> | |||||
<input type="hidden" name="oldlitpic" value="<?php echo $row['litpic']; ?>"> | |||||
<input type="hidden" name="sortrank" value="<?php echo $row['sortrank']; ?>"> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label"><?php echo $cInfos['typename']; ?>名称</label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" value="<?php echo $row['title']?>" class="form-control" placeholder="请输入内容主题"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标签Tag</label> | |||||
<div class="col-sm-10"> | |||||
<input name="tags" type="text" value="<?php echo GetTags($row['id']); ?>" 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 name="writer" type="text" id="writer" value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">隶属栏目</label> | |||||
<div class="col-sm-10"> | |||||
<?php | |||||
$typeOptions = GetOptionList($row["typeid"],$row["channel"]); | |||||
echo "<select class='form-control' name='typeid' size='1'>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="filetype">文件类型</label> | |||||
<select name="filetype" id="filetype" class='form-control'> | |||||
<?php | |||||
if($addRow["filetype"]!="") echo "<option value=\"".$addRow["filetype"]."\" selected>".$addRow["filetype"]."</option>"; | |||||
?> | |||||
<option value=".exe">.exe</option> | |||||
<option value=".zip">.zip</option> | |||||
<option value=".rar">.rar</option> | |||||
<option value=".iso">.iso</option> | |||||
<option value=".gz">.gz</option> | |||||
<option value="其它">其它</option> | |||||
</select> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="language">界面语言</label> | |||||
<select name="language" id="language" class='form-control'> | |||||
<?php | |||||
if($addRow["language"]!="") echo "<option value=\"".$addRow["language"]."\" selected>".$addRow["language"]."</option>"; | |||||
?> | |||||
<option value="简体中文">简体中文</option> | |||||
<option value="英文软件">英文软件</option> | |||||
<option value="繁体中文">繁体中文</option> | |||||
<option value="其它类型">其它类型</option> | |||||
</select> | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="softtype">软件类型</label> | |||||
<select name="softtype" id="softtype" class='form-control'> | |||||
<?php | |||||
if($addRow["softtype"]!="") echo "<option value=\"".$addRow["softtype"]."\" selected>".$addRow["softtype"]."</option>"; | |||||
?> | |||||
<option value="国产软件" selected="selected">国产软件</option> | |||||
<option value="国外软件">国外软件</option> | |||||
<option value="汉化补丁">汉化补丁</option> | |||||
</select> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="accredit">授权方式</label> | |||||
<select name="accredit" id="accredit" class='form-control'> | |||||
<?php | |||||
if($addRow["accredit"]!="") echo "<option value=\"".$addRow["accredit"]."\" selected>".$addRow["accredit"]."</option>"; | |||||
?> | |||||
<option value="共享软件">共享软件</option> | |||||
<option value="免费软件">免费软件</option> | |||||
<option value="开源软件">开源软件</option> | |||||
<option value="商业软件">商业软件</option> | |||||
<option value="破解软件">破解软件</option> | |||||
<option value="游戏外挂">游戏外挂</option> | |||||
</select> | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="os">运行环境</label> | |||||
<input type='text' id="os" name='os' value="<?php echo isset($addRow['os'])? $addRow['os'] : ''; ?>" maxlength="100" | |||||
class='form-control'> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="softrank">软件等级</label> | |||||
<select name="softrank" id="softrank" class='form-control'> | |||||
<?php | |||||
if($addRow["softrank"]!="") echo "<option value=\"".$addRow["softrank"]."\" selected>".$addRow["softrank"]."星</option>"; | |||||
?> | |||||
<option value="1">一星</option> | |||||
<option value="2">二星</option> | |||||
<option value="3">三星 </option> | |||||
<option value="4">四星</option> | |||||
<option value="5">五星</option> | |||||
</select> | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="officialDemo">官方网址</label> | |||||
<input type="text" name="officialDemo" value="<?php echo isset($addRow['officialUrl'])? $addRow['officialUrl'] : ''; ?>" id="officialDemo" maxlength="100" class='form-control'> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="officialUrl">程序演示</label> | |||||
<input type="text" value="<?php echo isset($addRow['officialDemo'])? $addRow['officialDemo'] : ''; ?>" name="officialUrl" id="officialUrl" value="http://" maxlength="100" | |||||
class='form-control'> | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="softsize">软件大小</label> | |||||
<div class="input-group "> | |||||
<input type="text" name="softsize" id="softsize" value="<?php echo isset($addRow['softsize'])? $addRow['softsize'] : ''; ?>" maxlength="100" class='form-control'> | |||||
</div> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="source">软件来源</label> | |||||
<input name="source" type="text" id="source" value="<?php echo $row['source'] ?>" maxlength="100" class='form-control'> | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield'); | |||||
?> | |||||
<!-- 表单操作区域 --> | |||||
<div class="contentShow postForm"> | |||||
<p> | |||||
<label>文字介绍:</label> | |||||
<?php | |||||
$addRow["introduce"] = isset($addRow["introduce"])? $addRow["introduce"] : ''; | |||||
GetEditor("body",$addRow["introduce"],250,"Small"); | |||||
?> | |||||
</p> | |||||
<p class="cellBg"> | |||||
<label>下载地址:</label> | |||||
<input name="softurl1" type="text" id="softurl1" class='form-control'> | |||||
服务器名称: | |||||
<input name="servermsg1" type="text" id="servermsg1" value="下载" class='form-control'> | |||||
</p> | |||||
<p> | |||||
<label>其它地址:</label> | |||||
<input name="picnum" type="text" id="picnum" value="5" size="8" class='form-control'> | |||||
<button name='kkkup' type='button' id='kkkup2' onclick="MakeUpload();" class="btn btn-success btn-sm">增加地址</button> | |||||
<button type="button" name="Submit3" id="btsh3" onclick="ShowHideAddr();" class="btn btn-success btn-sm">隐藏地址</button> | |||||
(最多为12个链接)</p> | |||||
<div id="morelink" class="mt10"> | |||||
<?php | |||||
echo $nForm; | |||||
echo "<span id='uploadfield'></span>"; | |||||
?> | |||||
</div> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if(preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style='display:inline-block;width:260px;text-transform:uppercase'> | |||||
<img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onClick="this.src=this.src+'?'"> | |||||
</div> | |||||
</div> | |||||
<?php }?> | |||||
<p> | |||||
<button class="btn btn-success btn-sm" type="submit">提交</button> | |||||
<button class="btn btn-secondary btn-sm" type="reset" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
function checkSubmit() { | |||||
if (document.addcontent.title.value == "") { | |||||
ShowMsg("名称不能为空"); | |||||
document.addcontent.title.focus(); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.value == 0) { | |||||
ShowMsg("隶属栏目必须选择"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { | |||||
ShowMsg("隶属栏目必须选择白色背景的项目"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.vdcode.value == "") { | |||||
document.addcontent.vdcode.focus(); | |||||
ShowMsg("验证码不能为空"); | |||||
return false; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
<head> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||||
<title>修改<?php echo $row['title']?>-会员中心-<?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/member.css"> | |||||
<script type="text/javascript"> | |||||
var startNum = 2; | |||||
function MakeUpload() { | |||||
var upfield = document.getElementById("uploadfield"); | |||||
var morelinkobj = document.getElementById("morelink"); | |||||
var endNum = parseInt(document.addcontent.picnum.value) + startNum - 1; | |||||
morelinkobj.style.display = "block"; | |||||
if (endNum > 12) endNum = 12; | |||||
for (startNum; startNum <= endNum; startNum++) { | |||||
upfield.innerHTML += "<label>软件地址" + startNum + ":</label><input type='text' name='softurl" + startNum + | |||||
"' value='http://' maxlength='100' class='form-control'> "; | |||||
upfield.innerHTML += " "; | |||||
upfield.innerHTML += "服务器名称:<input type='text' name='servermsg" + startNum + "' class='form-control'>"; | |||||
} | |||||
} | |||||
function ShowHideAddr() { | |||||
document.getElementById('morelink').style.display = (document.getElementById('morelink').style.display == | |||||
'block' ? 'none' : 'block'); | |||||
document.getElementById('btsh3').value = (document.getElementById('morelink').style.display == 'block' ? '隐藏地址' : | |||||
'显示地址'); | |||||
} | |||||
</script> | |||||
</head> | |||||
<body> | |||||
<?php include(DEDEMEMBER."/templets/top_login.htm"); ?> | |||||
<main class="member"> | |||||
<div class="container-fluid pannel"> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="pannel-main col-md-12 mt-3 mb-3"> | |||||
<div class="pannel-main-container"> | |||||
<nav class="navbar navbar-expand-lg pr-0 pl-0"> | |||||
<ol class="breadcrumb mb-0 mr-auto"> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | |||||
<li class="breadcrumb-item">修改<?php echo $row['title']?></li></li> | |||||
</ol> | |||||
<span class="navbar-text"> | |||||
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a> | |||||
</span> | |||||
</nav> | |||||
<form name="addcontent" action="soft_edit.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | |||||
<input type="hidden" name="aid" value="<?php echo $row['id']; ?>"> | |||||
<input type="hidden" name="channelid" value="<?php echo $row['channel']; ?>"> | |||||
<input type="hidden" name="oldlitpic" value="<?php echo $row['litpic']; ?>"> | |||||
<input type="hidden" name="sortrank" value="<?php echo $row['sortrank']; ?>"> | |||||
<div id="mainCp"> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label"><?php echo $cInfos['typename']; ?>名称</label> | |||||
<div class="col-sm-10"> | |||||
<input name="title" type="text" id="title" value="<?php echo $row['title']?>" class="form-control" placeholder="请输入标题"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">标签Tag</label> | |||||
<div class="col-sm-10"> | |||||
<input name="tags" type="text" value="<?php echo GetTags($row['id']); ?>" 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 name="writer" type="text" id="writer" value="<?php echo $cfg_ml->M_UserName?>" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">发布栏目</label> | |||||
<div class="col-sm-10"> | |||||
<?php | |||||
$typeOptions = GetOptionList($row["typeid"],$row["channel"]); | |||||
echo "<select class='form-control' name='typeid' size='1'>"; | |||||
echo $typeOptions; | |||||
echo "</select>"; | |||||
?> | |||||
<span style="color:#F00">*</span>(不能选择带颜色的分类) | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="filetype">文件类型</label> | |||||
<select name="filetype" id="filetype" class="form-control"> | |||||
<?php | |||||
if($addRow["filetype"]!="") echo "<option value=\"".$addRow["filetype"]."\" selected>".$addRow["filetype"]."</option>"; | |||||
?> | |||||
<option value=".exe">.exe</option> | |||||
<option value=".zip">.zip</option> | |||||
<option value=".rar">.rar</option> | |||||
<option value=".iso">.iso</option> | |||||
<option value=".gz">.gz</option> | |||||
<option value="其它">其它</option> | |||||
</select> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="language">界面语言</label> | |||||
<select name="language" id="language" class="form-control"> | |||||
<?php | |||||
if($addRow["language"]!="") echo "<option value=\"".$addRow["language"]."\" selected>".$addRow["language"]."</option>"; | |||||
?> | |||||
<option value="简体中文">简体中文</option> | |||||
<option value="英文软件">英文软件</option> | |||||
<option value="繁体中文">繁体中文</option> | |||||
<option value="其它类型">其它类型</option> | |||||
</select> | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="softtype">软件类型</label> | |||||
<select name="softtype" id="softtype" class="form-control"> | |||||
<?php | |||||
if($addRow["softtype"]!="") echo "<option value=\"".$addRow["softtype"]."\" selected>".$addRow["softtype"]."</option>"; | |||||
?> | |||||
<option value="国产软件" selected="selected">国产软件</option> | |||||
<option value="国外软件">国外软件</option> | |||||
<option value="汉化补丁">汉化补丁</option> | |||||
</select> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="accredit">授权方式</label> | |||||
<select name="accredit" id="accredit" class="form-control"> | |||||
<?php | |||||
if($addRow["accredit"]!="") echo "<option value=\"".$addRow["accredit"]."\" selected>".$addRow["accredit"]."</option>"; | |||||
?> | |||||
<option value="共享软件">共享软件</option> | |||||
<option value="免费软件">免费软件</option> | |||||
<option value="开源软件">开源软件</option> | |||||
<option value="商业软件">商业软件</option> | |||||
<option value="破解软件">破解软件</option> | |||||
<option value="游戏外挂">游戏外挂</option> | |||||
</select> | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="os">运行环境</label> | |||||
<input type="text" id="os" name="os" value="<?php echo isset($addRow['os'])? $addRow['os'] : ''; ?>" maxlength="100" class='form-control'> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="softrank">软件等级</label> | |||||
<select name="softrank" id="softrank" class="form-control"> | |||||
<?php | |||||
if($addRow["softrank"]!="") echo "<option value=\"".$addRow["softrank"]."\" selected>".$addRow["softrank"]."星</option>"; | |||||
?> | |||||
<option value="1">一星</option> | |||||
<option value="2">二星</option> | |||||
<option value="3">三星 </option> | |||||
<option value="4">四星</option> | |||||
<option value="5">五星</option> | |||||
</select> | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="officialDemo">官方网址</label> | |||||
<input type="text" name="officialDemo" value="<?php echo isset($addRow['officialUrl'])? $addRow['officialUrl'] : ''; ?>" id="officialDemo" maxlength="100" class="form-control"> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="officialUrl">程序演示</label> | |||||
<input type="text" value="<?php echo isset($addRow['officialDemo'])? $addRow['officialDemo'] : ''; ?>" name="officialUrl" id="officialUrl" value="http://" maxlength="100" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<div class="form-row"> | |||||
<div class="form-group col-md-6"> | |||||
<label for="softsize">软件大小</label> | |||||
<div class="input-group "> | |||||
<input type="text" name="softsize" id="softsize" value="<?php echo isset($addRow['softsize'])? $addRow['softsize'] : ''; ?>" maxlength="100" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<div class="form-group col-md-6"> | |||||
<label for="source">软件来源</label> | |||||
<input name="source" type="text" id="source" value="<?php echo $row['source'] ?>" maxlength="100" class="form-control"> | |||||
</div> | |||||
</div> | |||||
<?php | |||||
//自定义字段 | |||||
PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield'); | |||||
?> | |||||
<div class="contentShow postForm"> | |||||
<div> | |||||
<label>正文</label> | |||||
<div> | |||||
<?php | |||||
$addRow["introduce"] = isset($addRow["introduce"])? $addRow["introduce"] : ''; | |||||
GetEditor("body",$addRow["introduce"],360,"Small"); | |||||
?> | |||||
</div> | |||||
</div> | |||||
<p class="cellBg"> | |||||
<label>下载地址:</label> | |||||
<input name="softurl1" type="text" id="softurl1" class="form-control"> | |||||
服务器名称:<input name="servermsg1" type="text" id="servermsg1" value="下载" class="form-control"> | |||||
</p> | |||||
<p> | |||||
<label>其它地址:</label> | |||||
<input name="picnum" type="text" id="picnum" value="5" size="8" class="form-control"> | |||||
<button name='kkkup' type='button' id='kkkup2' onclick="MakeUpload();" class="btn btn-success btn-sm">增加地址</button> | |||||
<button type="button" name="Submit3" id="btsh3" onclick="ShowHideAddr();" class="btn btn-success btn-sm">隐藏地址</button> (最多为12个链接) | |||||
</p> | |||||
<div id="morelink" class="mt10"> | |||||
<?php | |||||
echo $nForm; | |||||
echo "<span id='uploadfield'></span>"; | |||||
?> | |||||
</div> | |||||
<?php | |||||
//游客强制加验证码,会员则判断后台开关 | |||||
if(preg_match("/3/",$safe_gdopen)){ | |||||
?> | |||||
<div class="form-group row"> | |||||
<label class="col-sm-2 col-form-label">验证码</label> | |||||
<div class="col-sm-10"> | |||||
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||||
<img src="../apps/vdimgck.php" alt="验证码" title="验证码" onclick="this.src=this.src+'?'" style="cursor:pointer"> | |||||
</div> | |||||
</div> | |||||
<?php }?> | |||||
<p> | |||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | |||||
<button type="reset" class="btn btn-secondary btn-sm" onclick="location.reload();">重置</button> | |||||
</p> | |||||
</div> | |||||
</div> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</main> | |||||
<?php include(DEDEMEMBER."/templets/footer.htm"); ?> | |||||
<script type="text/javascript"> | |||||
function checkSubmit() { | |||||
if (document.addcontent.title.value == "") { | |||||
ShowMsg("名称不能为空"); | |||||
document.addcontent.title.focus(); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.value == 0) { | |||||
ShowMsg("隶属栏目必须选择"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid | |||||
.selectedIndex].className != 'option3') { | |||||
ShowMsg("隶属栏目必须选择白色背景的项目"); | |||||
return false; | |||||
} | |||||
if (document.addcontent.vdcode.value == "") { | |||||
document.addcontent.vdcode.focus(); | |||||
ShowMsg("验证码不能为空"); | |||||
return false; | |||||
} | |||||
} | |||||
</script> | |||||
</body> | |||||
</html> | </html> |
@@ -1,10 +1,10 @@ | |||||
<nav class="site-nav bg-light py-2"> | <nav class="site-nav bg-light py-2"> | ||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="col-12 d-flex justify-content-end user" id="_login"> | |||||
<a href="<?php echo $cfg_memberurl;?>/login.php">登录</a> | |||||
<a class="ml-3" href="<?php echo $cfg_memberurl;?>/index_do.php?fmdo=user&dopost=regnew">注册</a> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<div class="container"> | |||||
<div class="row"> | |||||
<div class="col-12 d-flex justify-content-end user" id="_login"> | |||||
<a href="<?php echo $cfg_memberurl;?>/login.php">登录</a> | |||||
<a class="ml-3" href="<?php echo $cfg_memberurl;?>/index_do.php?fmdo=user&dopost=regnew">注册</a> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</nav> | </nav> |
@@ -1,18 +1,17 @@ | |||||
<div class="container header"> | <div class="container header"> | ||||
<header class="py-3"> | |||||
<div class="row"> | |||||
<div class="col-12 col-sm-6 logo"><a href="<?php echo $cfg_cmsurl; ?>/"><img src="<?php echo $cfg_cmsurl; ?>/static/web/img/logo.png" alt="<?php echo $cfg_webname;?>"></a></div> | |||||
<div class="col-12 col-sm-6 d-flex justify-content-end member-actions"> | |||||
<a href="<?php echo $cfg_memberurl;?>/shops_orders.php" class="cart" title="订单管理"><i class="fa fa-shopping-cart"></i></a> | |||||
<a href="<?php echo $cfg_memberurl;?>/pm.php" title="消息管理" class="message"> 消息 <span class="badge badge-danger"><?php echo $pms['nums'];?></span> | |||||
</a> | |||||
<a><?php echo $cfg_ml->M_LoginID; ?> | |||||
</a> | |||||
<a href="<?php echo $cfg_cmsurl; ?>/user/index_do.php?fmdo=login&dopost=exit#" title="退出"> | |||||
<i class="fa fa-sign-out"></i> | |||||
</a> | |||||
</div> | |||||
</div> | |||||
</header> | |||||
</div> | |||||
<!-- /.header --> | |||||
<header class="py-3"> | |||||
<div class="row"> | |||||
<div class="col-12 col-sm-6 logo"><a href="<?php echo $cfg_cmsurl; ?>/"><img src="<?php echo $cfg_cmsurl; ?>/static/web/img/logo.png" alt="<?php echo $cfg_webname;?>"></a> | |||||
</div> | |||||
<div class="col-12 col-sm-6 d-flex justify-content-end member-actions"> | |||||
<a href="<?php echo $cfg_memberurl;?>/shops_orders.php" class="cart" title="订单管理"><i class="fa fa-shopping-cart"></i></a> | |||||
<a href="<?php echo $cfg_memberurl;?>/pm.php" title="消息管理" class="message">消息 <span class="badge badge-danger"><?php echo $pms['nums'];?></span> | |||||
</a> | |||||
<a><?php echo $cfg_ml->M_LoginID; ?></a> | |||||
<a href="<?php echo $cfg_cmsurl; ?>/user/index_do.php?fmdo=login&dopost=exit#" title="退出"> | |||||
<i class="fa fa-sign-out"></i> | |||||
</a> | |||||
</div> | |||||
</div> | |||||
</header> | |||||
</div> |