@@ -296,7 +296,7 @@ | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90">手工上传:</td> | |||
<td><span class="btn btn-success btn-sm fileinput-button"><i class="glyphicon glyphicon-plus"></i> 选择本地图片(支持多选)<input type="file" name="files[]" id="iptAlbumImages" multiple></span></td> | |||
<td><span class="btn btn-success btn-sm fileinput-button">上传图片(支持多选)<input type="file" name="files[]" id="iptAlbumImages" multiple></span></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -315,9 +315,8 @@ | |||
$fhtml .= "<input type='hidden' name='imgurl{$j}' value='{$bigimg}'>"; | |||
$fhtml .= "<input type='hidden' name='imgddurl{$j}' value='{$litimg}'>"; | |||
$fhtml .= "<img src='{$litimg}'>"; | |||
$fhtml .= "<div class='mt-2'><a href=\"javascript:delAlbPicOld('$bigimg',$j)\" class=\"btn btn-success btn-sm mt-2\">删除</a></div>"; | |||
$fhtml .= "<div class='mt-2'>名称:<input type='text' name='imgmsg{$j}' value='".$ctag->GetAtt('text')."' class='admin-input-sm'></div>"; | |||
$fhtml .= "<div class='mt-2'>更换:<input type='file' name='imgfile{$j}' class='admin-input-sm'></div>"; | |||
$fhtml .= "<div class='my-2'>名称:<input type='text' name='imgmsg{$j}' value='".$ctag->GetAtt('text')."' class='admin-input-sm'></div>"; | |||
$fhtml .= "<div><span class='btn btn-success btn-sm file-relative'>更换<input type='file' name='imgfile{$j}' class='file-absolute'></span><a href=\"javascript:delAlbPicOld('$bigimg',$j)\" class=\"btn btn-success btn-sm\">删除</a></div>"; | |||
$fhtml .= "</div>"; | |||
echo $fhtml; | |||
$j++; | |||
@@ -337,8 +336,8 @@ | |||
<td class="admin-td"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90">增加新图片:</td> | |||
<td><span class="btn btn-success btn-sm fileinput-button"><i class="glyphicon glyphicon-plus"></i> 选择本地图片(支持多选)<input type="file" name="files[]" id="iptAlbumImages" multiple></span></td> | |||
<td width="90">增加图片:</td> | |||
<td><span class="btn btn-success btn-sm fileinput-button">上传图片(支持多选)<input type="file" name="files[]" id="iptAlbumImages" multiple></span></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -43,15 +43,14 @@ | |||
<input type="hidden" name="step" value="2"> | |||
<input type="hidden" name="cookieencode" value="<?php echo $rnd_cookieEncode;?>"> | |||
<input type="hidden" name="adminmail" value="admin@dedebiz.com"> | |||
<legend>数据库设置</legend> | |||
<legend class="text-success">数据库设置</legend> | |||
<hr> | |||
<div class="form-group"> | |||
<label for="dbtype" class="form-label">数据库类型</label> | |||
<label for="dbtype" class="form-label">数据库类型(数据库类型一般为MySQL,类型SQLite用于开发调试,不建议生产中使用)</label> | |||
<select id="dbtype" name="dbtype" class="form-control form-select"> | |||
<option value="mysql" selected>MySQL</option> | |||
<?php if(extension_loaded("sqlite3")) {;?><option value="sqlite">SQLite</option><?php }?> | |||
</select> | |||
<div class="form-text text-danger">数据库类型一般为MySQL,类型SQLite用于开发调试,不建议生产中使用</div> | |||
</div> | |||
<div class="form-group server"> | |||
<label for="dbhost" class="form-label">数据库地址</label> | |||
@@ -66,9 +65,8 @@ | |||
<input type="text" name="dbpwd" id="dbpwd" class="form-control"> | |||
</div> | |||
<div class="form-group"> | |||
<label for="dbprefix" class="form-label">数据表前缀</label> | |||
<label for="dbprefix" class="form-label">数据表前缀(请注意DedeV6数据表前缀默认为<span class="text-danger">biz_</span>)</label> | |||
<input type="text" name="dbprefix" id="dbprefix" class="form-control" placeholder="biz_"> | |||
<div class="form-text text-danger">请注意DedeV6数据表前缀默认为biz_</div> | |||
</div> | |||
<div class="form-group"> | |||
<label for="dbname" class="form-label">数据库名称</label> | |||
@@ -78,7 +76,7 @@ | |||
</div> | |||
</div> | |||
<div id="alertConnect"></div> | |||
<legend>站点设置</legend> | |||
<legend class="text-success">站点设置</legend> | |||
<hr> | |||
<div class="form-group"> | |||
<label for="baseurl" class="form-label">网站网址</label> | |||
@@ -89,18 +87,16 @@ | |||
<input type="text" name="webname" id="webname" class="form-control" placeholder="某某公司"> | |||
</div> | |||
<div class="form-group"> | |||
<label for="adminuser" class="form-label">管理员账号</label> | |||
<label for="adminuser" class="form-label">管理员账号(只能用[0-9a-zA-Z_@!.-]以内范围的字符)</label> | |||
<input type="text" name="adminuser" id="adminuser" class="form-control" placeholder="admin"> | |||
<div class="form-text text-dark">请使用[0-9a-zA-Z_@!.-]以内范围字符</div> | |||
</div> | |||
<div class="form-group"> | |||
<label for="adminpwd" class="form-label">管理员密码</label> | |||
<input type="text" name="adminpwd" id="adminpwd" class="form-control" placeholder="admin"> | |||
</div> | |||
<div class="form-group"> | |||
<label for="cmspath" class="form-label">安装目录</label> | |||
<label for="cmspath" class="form-label">安装目录(根目录安装时不必理会)</label> | |||
<input type="text" name="cmspath" id="cmspath" class="form-control" value="<?php echo $basepath;?>" placeholder="<?php echo $basepath;?>"> | |||
<div class="form-text text-danger">根目录安装时不必理会</div> | |||
</div> | |||
<div class="text-right"><button type="submit" class="btn btn-success">安装</button></div> | |||
</form> | |||
@@ -55,6 +55,11 @@ input { | |||
border-radius:.2rem; | |||
transition:all .3s | |||
} | |||
input[type=file] { | |||
padding:0; | |||
height:auto; | |||
border:0 | |||
} | |||
input[type=button],input[type=submit],input[type=reset] { | |||
padding:.25rem .65rem; | |||
height:auto; | |||
@@ -64,9 +69,6 @@ input[type=button],input[type=submit],input[type=reset] { | |||
border:0; | |||
transition:all .3s | |||
} | |||
input[type=file] { | |||
border:0 | |||
} | |||
input[type=radio],input[type=checkbox],input[type=radio]:focus,input[type=checkbox]:focus { | |||
height:auto; | |||
box-shadow:none; | |||
@@ -513,17 +515,17 @@ span.page-link { | |||
padding:.65rem; | |||
vertical-align:middle | |||
} | |||
.fa { | |||
font-size:14px!important; | |||
color:inherit | |||
} | |||
.btn-xs { | |||
padding:2px; | |||
line-height:12px; | |||
font-size:12px | |||
} | |||
.btn+.btn,.btn-text+.btn-text { | |||
margin-left:1rem | |||
margin-left:10px | |||
} | |||
.fa { | |||
font-size:14px!important; | |||
color:inherit | |||
} | |||
.admin-win { | |||
background:#f5f5f5; | |||
@@ -590,6 +592,16 @@ span.page-link { | |||
height:20px; | |||
border-radius:.2rem | |||
} | |||
.file-relative { | |||
position:relative | |||
} | |||
.file-absolute { | |||
position:absolute; | |||
top:0; | |||
right:0; | |||
opacity:0; | |||
cursor:pointer | |||
} | |||
#browsehappy { | |||
padding:20px 30px; | |||
font-size:14px; | |||
@@ -43,6 +43,11 @@ form.search { | |||
display:flex; | |||
width:100% | |||
} | |||
input[type=file] { | |||
padding:0; | |||
height:auto; | |||
border:0 | |||
} | |||
.body-bg { | |||
background:#f5f5f5 | |||
} | |||
@@ -299,11 +304,16 @@ form.search { | |||
.form-control,.btn,.fa { | |||
font-size:14px!important | |||
} | |||
.btn+.btn,.btn-text+.btn-text { | |||
margin-left:1rem | |||
.dedebiz-file { | |||
position:absolute; | |||
top:0; | |||
right:0; | |||
margin:0; | |||
opacity:0; | |||
cursor:pointer | |||
} | |||
.rounded-md { | |||
border-radius:30px!important | |||
.btn+.btn,.btn-text+.btn-text { | |||
margin-left:10px | |||
} | |||
.login-from { | |||
margin:6rem 0 | |||
@@ -337,9 +347,8 @@ form.search { | |||
border-bottom:1px solid #eee | |||
} | |||
.user-img { | |||
margin-right:10px; | |||
width:30px; | |||
height:30px; | |||
width:36px; | |||
height:36px; | |||
border-radius:50%; | |||
border:1px solid #dee2e6 | |||
} | |||
@@ -370,8 +379,22 @@ form.search { | |||
background:#fff | |||
} | |||
.thumbnail-md { | |||
max-width:200px; | |||
max-height:120px | |||
max-width:280px; | |||
max-height:168px | |||
} | |||
.album-imgs img { | |||
max-width:260px; | |||
max-height:156px | |||
} | |||
.file-relative { | |||
position:relative | |||
} | |||
.file-absolute { | |||
position:absolute; | |||
top:0; | |||
right:0; | |||
opacity:0; | |||
cursor:pointer | |||
} | |||
#btnScrollTop { | |||
display:none; | |||
@@ -16,7 +16,7 @@ | |||
$.get("{dede:global.cfg_cmsurl/}/user/api.php?format=json",function(data) { | |||
let result = JSON.parse(data); | |||
if (result.code === 200) { | |||
$("#_login").html(`<a href="{dede:global.cfg_cmsurl/}/user/edit_baseinfo.php"class="user-admin mr-3"><img src="${result.data.facepic}" alt="${result.data.username}" title="${result.data.username}">${result.data.username}</a><a href="{dede:global.cfg_cmsurl/}/user" class="btn btn-primary btn-sm rounded-md"><i class="fa fa-user-circle"></i></a><a href="/user/pm.php" class="btn btn-primary btn-sm rounded-md"><i class="fa fa-bullhorn"></i></a><a href="{dede:global.cfg_cmsurl/}/user/index_do.php?fmdo=login&dopost=exit" class="btn btn-success btn-sm rounded-md"><i class="fa fa-sign-out"></i></a>`); | |||
$("#_login").html(`<a href="{dede:global.cfg_cmsurl/}/user"class="user-admin mr-3"><img src="${result.data.facepic}" alt="${result.data.username}" title="${result.data.username}">${result.data.username}</a><a href="/user/pm.php" class="btn btn-primary btn-sm rounded-circle"><i class="fa fa-bullhorn"></i></a><a href="{dede:global.cfg_cmsurl/}/user/index_do.php?fmdo=login&dopost=exit" class="btn btn-success btn-sm rounded-circle"><i class="fa fa-sign-out"></i></a>`); | |||
$("#iptUsername").val(result.data.username); | |||
$("#iptUsername").attr("disabled", "disabled"); | |||
$(".areaValidate").hide(); | |||
@@ -1,10 +1,10 @@ | |||
<div class="site-nav bg-white shadow-sm mb-3 py-3"> | |||
<div class="container"> | |||
<div class="row"> | |||
<div class="col-3 col-md-6 logo"><a href="/"><img src="/static/web/img/logo.png" alt="{dede:global.cfg_webname/}"></a></div> | |||
<div class="col-9 col-md-6 text-right user-login" id="_login"> | |||
<a href="{dede:global.cfg_memberurl/}/login.php" class="btn btn-primary btn-sm rounded-md">登录</a> | |||
<a href="{dede:global.cfg_memberurl/}/index_do.php?fmdo=user&dopost=regnew" class="btn btn-success btn-sm rounded-md">注册</a> | |||
<div class="col-4 col-md-6 logo"><a href="/"><img src="/static/web/img/logo.png" alt="{dede:global.cfg_webname/}"></a></div> | |||
<div class="col-8 col-md-6 text-right user-login" id="_login"> | |||
<a href="{dede:global.cfg_memberurl/}/login.php" class="btn btn-success btn-sm rounded-circle"><i class="fa fa-user-circle"></i></a> | |||
<a href="{dede:global.cfg_memberurl/}/index_do.php?fmdo=user&dopost=regnew" class="btn btn-success btn-sm rounded-circle"><i class="fa fa-plus-circle"></i></a> | |||
</div> | |||
</div> | |||
</div> |
@@ -216,7 +216,7 @@ else if ($fmdo == 'login') { | |||
//退出登录 | |||
else if ($dopost == "exit") { | |||
$cfg_ml->ExitCookie(); | |||
ShowMsg("成功退出登录", "index.php", 0, 2000); | |||
ShowMsg("已退出登录", "index.php", 0, 2000); | |||
exit(); | |||
} | |||
} else { | |||
@@ -15,7 +15,7 @@ if (!isset($dopost)) $dopost = ''; | |||
$step = empty($step) ? 1 : intval($step); | |||
if ($step == 1) { | |||
if ($cfg_ml->IsLogin()) { | |||
ShowMsg('您已经登录,无需重新注册', 'index.php'); | |||
ShowMsg('操作成功,请重新登录系统', 'index.php'); | |||
exit(); | |||
} | |||
if ($dopost == 'regbase') { | |||
@@ -96,7 +96,7 @@ if ($step == 1) { | |||
//模拟登录 | |||
$cfg_ml = new MemberLogin(7 * 3600); | |||
$rs = $cfg_ml->CheckUser($userid, $userpwd); | |||
ShowMsg('您已经登录,无需重新注册', 'index.php'); | |||
ShowMsg('操作成功,请重新登录系统', 'index.php'); | |||
exit; | |||
} else { | |||
ShowMsg("注册失败,请检查资料是否有误或与管理员联系", "-1"); | |||
@@ -109,7 +109,7 @@ if ($step == 1) { | |||
ShowMsg("您未填写基本信息,请填写基本信息", "index_do.php?fmdo=user&dopost=regnew"); | |||
exit; | |||
} else { | |||
ShowMsg('您已经登录,无需重新注册', 'index.php'); | |||
ShowMsg('操作成功,请重新登录系统', 'index.php'); | |||
exit; | |||
} | |||
} |
@@ -21,7 +21,7 @@ | |||
<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:location.href='content_list.php?channelid=<?php echo $cInfos['id'];?>'" class="btn btn-outline-success btn-sm">返回</a></span> | |||
<span class="navbar-text"><a href="javascript:location.href='content_list.php?channelid=<?php echo $channelid;?>'" class="btn btn-outline-success btn-sm">返回</a></span> | |||
</nav> | |||
<form name="addcontent" action="album_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||
<input type="hidden" name="dopost" value="save"> | |||
@@ -37,7 +37,10 @@ | |||
</div> | |||
<div class="form-group row"> | |||
<label class="col-sm-2 col-form-label">缩略图</label> | |||
<div class="col-sm-10"><input type="file" name="upfile1" class="w-100"></div> | |||
<div class="col-sm-10"> | |||
<img src="/static/web/img/thumbnail.jpg" class="thumbnail-md mr-3"> | |||
<span class="btn btn-success btn-sm file-relative">上传缩略图<input type="file" name="" class="file-absolute"></span> | |||
</div> | |||
</div> | |||
<div class="form-group row"> | |||
<label class="col-sm-2 col-form-label">作者</label> | |||
@@ -83,6 +86,35 @@ | |||
<script> | |||
MakeUpload(2); | |||
</script> | |||
<!--上传图片新样式--> | |||
<span class="btn btn-success btn-sm file-relative">上传图片(支持多选)<input type="file" name="" class="file-absolute"></span> | |||
<div class="album-imgs text-center my-3"> | |||
<div class="row"> | |||
<div class="col-md-3"> | |||
<img src="https://www.dedebiz.com/static/img/best_itprato.png"> | |||
<p class="py-3">图片1</p> | |||
</div> | |||
<div class="col-md-3"> | |||
<img src="https://www.dedebiz.com/static/img/best_itprato.png"> | |||
<p class="py-3">图片1</p> | |||
</div> | |||
<div class="col-md-3"> | |||
<img src="https://www.dedebiz.com/static/img/industries-1.jpg"> | |||
<p class="py-3">图片2</p> | |||
</div> | |||
<div class="col-md-3"> | |||
<img src="https://www.dedebiz.com/static/img/index-img.png"> | |||
<p class="py-3">图片3</p> | |||
</div> | |||
<div class="col-md-3"> | |||
<img src="https://www.dedebiz.com/images/quick/type1.png"> | |||
<p class="py-3">图片4</p> | |||
</div> | |||
</div> | |||
</div> | |||
<!--上传图片新样式--> | |||
<div class="text-center"> | |||
<button type="submit" class="btn btn-success btn-sm">提交</button> | |||
<button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | |||
@@ -21,7 +21,7 @@ | |||
<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:location.href='content_list.php?channelid=<?php echo $cInfos['id'];?>'" class="btn btn-outline-success btn-sm">返回</a></span> | |||
<span class="navbar-text"><a href="javascript:location.href='content_list.php?channelid=<?php echo $channelid;?>'" class="btn btn-outline-success btn-sm">返回</a></span> | |||
</nav> | |||
<form name="addcontent" action="album_edit.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||
<input type="hidden" name="dopost" value="save"> | |||
@@ -42,8 +42,8 @@ | |||
<div class="form-group row"> | |||
<label class="col-sm-2 col-form-label">缩略图</label> | |||
<div class="col-sm-10"> | |||
<img src="/static/web/img/thumbnail.jpg" class="thumbnail-md"> | |||
<button class="btn btn-success btn-sm">更换</button> | |||
<img src="/static/web/img/thumbnail.jpg" class="thumbnail-md mr-3"> | |||
<span class="btn btn-success btn-sm file-relative">修改缩略图<input type="file" name="" class="file-absolute"></span> | |||
</div> | |||
</div> | |||
<div class="form-group row"> | |||
@@ -21,7 +21,7 @@ | |||
<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:location.href='content_list.php?channelid=<?php echo $cInfos['id'];?>'" class="btn btn-outline-success btn-sm">返回</a></span> | |||
<span class="navbar-text"><a href="javascript:location.href='content_list.php?channelid=<?php echo $channelid;?>'" class="btn btn-outline-success btn-sm">返回</a></span> | |||
</nav> | |||
<form name="addcontent" action="archives_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit(`<?php echo $cInfos['titlename'];?>`);"> | |||
<input type="hidden" name="dopost" value="save"> | |||
@@ -36,7 +36,10 @@ | |||
</div> | |||
<div class="form-group row"> | |||
<label class="col-sm-2 col-form-label">缩略图</label> | |||
<div class="col-sm-10"><input type="file" name="upfile1" class="w-100"></div> | |||
<div class="col-sm-10"> | |||
<img src="/static/web/img/thumbnail.jpg" class="thumbnail-md mr-3"> | |||
<span class="btn btn-success btn-sm file-relative">上传缩略图<input type="file" name="" class="file-absolute"></span> | |||
</div> | |||
</div> | |||
<div class="form-group row"> | |||
<label class="col-sm-2 col-form-label">作者</label> | |||
@@ -21,7 +21,7 @@ | |||
<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:location.href='content_list.php?channelid=<?php echo $cInfos['id'];?>'" class="btn btn-outline-success btn-sm">返回</a></span> | |||
<span class="navbar-text"><a href="javascript:location.href='content_list.php?channelid=<?php echo $channelid;?>'" class="btn btn-outline-success btn-sm">返回</a></span> | |||
</nav> | |||
<form name="addcontent" action="archives_edit.php?aid=<?php echo $aid;?>" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit(`<?php echo $cInfos['titlename'];?>`);"> | |||
<input type="hidden" name="dopost" value="save"> | |||
@@ -37,8 +37,8 @@ | |||
<div class="form-group row"> | |||
<label class="col-sm-2 col-form-label">缩略图</label> | |||
<div class="col-sm-10"> | |||
<img src="/static/web/img/thumbnail.jpg" class="thumbnail-md"> | |||
<button class="btn btn-success btn-sm">更换</button> | |||
<img src="/static/web/img/thumbnail.jpg" class="thumbnail-md mr-3"> | |||
<span class="btn btn-success btn-sm file-relative">修改缩略图<input type="file" name="" class="file-absolute"></span> | |||
</div> | |||
</div> | |||
<div class="form-group row"> | |||
@@ -21,7 +21,7 @@ | |||
<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:location.href='content_list.php?channelid=<?php echo $cInfos['id'];?>'" class="btn btn-outline-success btn-sm">返回</a></span> | |||
<span class="navbar-text"><a href="javascript:location.href='content_list.php?channelid=<?php echo $channelid;?>'" class="btn btn-outline-success btn-sm">返回</a></span> | |||
</nav> | |||
<form name="addcontent" action="archives_sg_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit(`<?php echo $cInfos['titlename'];?>`);"> | |||
<input type="hidden" name="dopost" value="save"> | |||
@@ -36,7 +36,10 @@ | |||
</div> | |||
<div class="form-group row"> | |||
<label class="col-sm-2 col-form-label">缩略图</label> | |||
<div class="col-sm-10"><input type="file" name="upfile1" class="w-100"></div> | |||
<div class="col-sm-10"> | |||
<img src="/static/web/img/thumbnail.jpg" class="thumbnail-md mr-3"> | |||
<span class="btn btn-success btn-sm file-relative">上传缩略图<input type="file" name="" class="file-absolute"></span> | |||
</div> | |||
</div> | |||
<div class="form-group row"> | |||
<label class="col-sm-2 col-form-label">作者</label> | |||
@@ -21,7 +21,7 @@ | |||
<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:location.href='content_list.php?channelid=<?php echo $cInfos['id'];?>'" class="btn btn-outline-success btn-sm">返回</a></span> | |||
<span class="navbar-text"><a href="javascript:location.href='content_list.php?channelid=<?php echo $channelid;?>'" class="btn btn-outline-success btn-sm">返回</a></span> | |||
</nav> | |||
<form name="addcontent" action="archives_sg_edit.php?aid=<?php echo $aid;?>" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit(`<?php echo $cInfos['titlename'];?>`);"> | |||
<input type="hidden" name="dopost" value="save"> | |||
@@ -37,8 +37,8 @@ | |||
<div class="form-group row"> | |||
<label class="col-sm-2 col-form-label">缩略图</label> | |||
<div class="col-sm-10"> | |||
<img src="/static/web/img/thumbnail.jpg" class="thumbnail-md"> | |||
<button class="btn btn-success btn-sm">更换</button> | |||
<img src="/static/web/img/thumbnail.jpg" class="thumbnail-md mr-3"> | |||
<span class="btn btn-success btn-sm file-relative">修改缩略图<input type="file" name="" class="file-absolute"></span> | |||
</div> | |||
</div> | |||
<div class="form-group row"> | |||
@@ -21,7 +21,7 @@ | |||
<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:location.href='content_list.php?channelid=<?php echo $cInfos['id'];?>'" class="btn btn-outline-success btn-sm">返回</a></span> | |||
<span class="navbar-text"><a href="javascript:location.href='content_list.php?channelid=<?php echo $channelid;?>'" class="btn btn-outline-success btn-sm">返回</a></span> | |||
</nav> | |||
<form name="addcontent" action="article_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit(`<?php echo $cInfos['titlename'];?>`);"> | |||
<input type="hidden" name="dopost" value="save"> | |||
@@ -36,7 +36,10 @@ | |||
</div> | |||
<div class="form-group row"> | |||
<label class="col-sm-2 col-form-label">缩略图</label> | |||
<div class="col-sm-10"><input type="file" name="upfile1" class="w-100"></div> | |||
<div class="col-sm-10"> | |||
<img src="/static/web/img/thumbnail.jpg" class="thumbnail-md mr-3"> | |||
<span class="btn btn-success btn-sm file-relative">上传缩略图<input type="file" name="" class="file-absolute"></span> | |||
</div> | |||
</div> | |||
<div class="form-group row"> | |||
<label class="col-sm-2 col-form-label">作者</label> | |||
@@ -21,7 +21,7 @@ | |||
<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:location.href='content_list.php?channelid=<?php echo $cInfos['id'];?>'" class="btn btn-outline-success btn-sm">返回</a></span> | |||
<span class="navbar-text"><a href="javascript:location.href='content_list.php?channelid=<?php echo $channelid;?>'" class="btn btn-outline-success btn-sm">返回</a></span> | |||
</nav> | |||
<form name="addcontent" action="article_edit.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit(`<?php echo $cInfos['titlename'];?>`);"> | |||
<input type="hidden" name="dopost" value="save"> | |||
@@ -41,8 +41,8 @@ | |||
<div class="form-group row"> | |||
<label class="col-sm-2 col-form-label">缩略图</label> | |||
<div class="col-sm-10"> | |||
<img src="/static/web/img/thumbnail.jpg" class="thumbnail-md"> | |||
<button class="btn btn-success btn-sm">更换</button> | |||
<img src="/static/web/img/thumbnail.jpg" class="thumbnail-md mr-3"> | |||
<span class="btn btn-success btn-sm file-relative">修改缩略图<input type="file" name="" class="file-absolute"></span> | |||
</div> | |||
</div> | |||
<div class="form-group row"> | |||
@@ -3,7 +3,7 @@ | |||
<head> | |||
<meta charset="utf-8"> | |||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||
<title>钱包积分-会员中心-<?php echo $cfg_webname;?></title> | |||
<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"> | |||
@@ -19,7 +19,7 @@ | |||
<nav class="navbar navbar-expand-lg mb-3 p-0"> | |||
<ol class="breadcrumb mr-auto"> | |||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | |||
<li class="breadcrumb-item">钱包积分</li></li> | |||
<li class="breadcrumb-item">积分钱包</li></li> | |||
</ol> | |||
<span class="navbar-text"><a href="javascript:history.back(-1);" class="btn btn-outline-success btn-sm">返回</a></span> | |||
</nav> | |||
@@ -19,7 +19,7 @@ | |||
<nav class="navbar navbar-expand-lg mb-3 p-0"> | |||
<ol class="breadcrumb mr-auto"> | |||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | |||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/buy.php">钱包积分</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-outline-success btn-sm">返回</a></span> | |||
@@ -3,7 +3,7 @@ | |||
<head> | |||
<meta charset="utf-8"> | |||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||
<title>文档管理-会员中心-<?php echo $cfg_webname;?></title> | |||
<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"> | |||
@@ -49,7 +49,7 @@ | |||
<tr> | |||
<th width="26%">文档标题</th> | |||
<th width="16%">栏目</th> | |||
<th width="16%">状态</th> | |||
<th width="12%">状态</th> | |||
<th width="16%">时间</th> | |||
<th>操作</th> | |||
</tr> | |||
@@ -3,7 +3,7 @@ | |||
<head> | |||
<meta charset="utf-8"> | |||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||
<title>文档管理-会员中心-<?php echo $cfg_webname;?></title> | |||
<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"> | |||
@@ -49,7 +49,7 @@ | |||
<tr> | |||
<th width="26%">文档标题</th> | |||
<th width="16%">栏目</th> | |||
<th width="16%">状态</th> | |||
<th width="12%">状态</th> | |||
<th width="16%">时间</th> | |||
<th>操作</th> | |||
</tr> | |||
@@ -3,7 +3,7 @@ | |||
<head> | |||
<meta charset="utf-8"> | |||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |||
<title>修改资料-会员中心-<?php echo $cfg_webname;?></title> | |||
<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"> | |||
@@ -49,75 +49,63 @@ | |||
<?php include(DEDEMEMBER."/templets/menu.htm");?> | |||
<div class="col-md-9"> | |||
<div class="pannel-main-container shadow-sm rounded"> | |||
<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"> | |||
<form action="edit_baseinfo.php" method="post" enctype="multipart/form-data" name="form2" onsubmit="return checkSubmit();"> | |||
<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> | |||
<label class="col-sm-3 col-form-label">头像/用户名/类型</label> | |||
<div class="col-sm-9"> | |||
<img src="/static/web/img/admin.png" class="user-img mr-1"> | |||
<span class="mr-1"><?php echo $cfg_ml->M_LoginID;?></span> | |||
<span><?php echo $row['mtype'];?></span> | |||
</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> | |||
<label for="iptUname" class="col-sm-3 col-form-label">公司名/昵称</label> | |||
<div class="col-sm-9"><input type="text" name="uname" class="form-control d-inline-block w-50" id="iptUname" value="<?php echo $row['uname'];?>" placeholder="企业会员为公司名,个人会员为昵称"></div> | |||
</div> | |||
<div class="form-group row"> | |||
<label for="iptUname" class="col-sm-2 col-form-label">昵称/公司名</label> | |||
<div class="col-sm-10"><input type="text" name="uname" class="form-control" id="iptUname" value="<?php echo $row['uname'];?>"></div> | |||
<small class="offset-md-2 col-sm-8 text-muted">个人会员该项为昵称,企业会员填写公司名称</small> | |||
<label class="col-sm-3 col-form-label">修改头像</label> | |||
<div class="col-sm-9"> | |||
<input type="text" name="faceurl" id="faceurl" class="form-control d-inline-block w-50" value="/static/web/img/admin.png"> | |||
<span class="btn btn-success btn-sm">修改头像<input type="file" name="" class="file-absolute"></span> | |||
</div> | |||
</div> | |||
<div class="form-group row"> | |||
<label for="iptOldpwd" class="col-sm-2 col-form-label">原登录密码</label> | |||
<div class="col-sm-10"><input type="password" name="oldpwd" class="form-control" id="iptOldpwd"></div> | |||
<label for="iptOldpwd" class="col-sm-3 col-form-label">原登录密码</label> | |||
<div class="col-sm-9"><input type="password" name="oldpwd" id="iptOldpwd" class="form-control w-50"></div> | |||
</div> | |||
<div class="form-group row"> | |||
<label for="iptUserpwd" class="col-sm-2 col-form-label">新密码</label> | |||
<div class="col-sm-10"><input type="password" name="userpwd" class="form-control" id="iptUserpwd"></div> | |||
<small class="offset-md-2 col-sm-8 text-muted">不修改密码请保留此项为空</small> | |||
<label for="iptUserpwd" class="col-sm-3 col-form-label">新密码</label> | |||
<div class="col-sm-9"><input type="password" name="userpwd" id="iptUserpwd" class="form-control w-50" placeholder="不修改密码请保留此项为空"></div> | |||
</div> | |||
<div class="form-group row"> | |||
<label for="iptUserpwdok" class="col-sm-2 col-form-label">确认新密码</label> | |||
<div class="col-sm-10"><input type="password" name="userpwdok" class="form-control" id="iptUserpwdok"></div> | |||
<small class="offset-md-2 col-sm-8 text-muted">不修改密码请保留此项为空</small> | |||
<label for="iptUserpwdok" class="col-sm-3 col-form-label">确认新密码</label> | |||
<div class="col-sm-9"><input type="password" name="userpwdok" id="iptUserpwdok" class="form-control w-50" placeholder="不修改密码请保留此项为空"></div> | |||
</div> | |||
<div class="form-group row"> | |||
<label class="col-sm-2 col-form-label">原安全问题</label> | |||
<div class="col-sm-10"> | |||
<?php | |||
echo GetSafequestion($row['safequestion'],'safequestion'); | |||
?> | |||
</div> | |||
<small class="offset-md-2 col-sm-8 text-muted">忘记密码时重设密码用</small> | |||
<label class="col-sm-3 col-form-label">原安全问题</label> | |||
<div class="col-sm-9"><?php echo GetSafequestion($row['safequestion'],'safequestion');?></div> | |||
</div> | |||
<div class="form-group row"> | |||
<label for="iptSafeanswer" class="col-sm-2 col-form-label">原问题答案</label> | |||
<div class="col-sm-10"><input type="text" name="safeanswer" class="form-control" id="iptSafeanswer"></div> | |||
<label for="iptSafeanswer" class="col-sm-3 col-form-label">原问题答案</label> | |||
<div class="col-sm-9"><input type="text" name="safeanswer" id="iptSafeanswer" 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 | |||
echo GetSafequestion(0,'newsafequestion'); | |||
?> | |||
</div> | |||
<small class="offset-md-2 col-sm-8 text-muted">不修改不用填写</small> | |||
<label class="col-sm-3 col-form-label">新安全问题</label> | |||
<div class="col-sm-9"><?php echo GetSafequestion(0,'newsafequestion');?></div> | |||
</div> | |||
<div class="form-group row"> | |||
<label for="iptNewsafeanswer" class="col-sm-2 col-form-label">新问题答案</label> | |||
<div class="col-sm-10"><input type="text" name="newsafeanswer" class="form-control" id="iptNewsafeanswer"></div> | |||
<label for="iptNewsafeanswer" class="col-sm-3 col-form-label">新问题答案</label> | |||
<div class="col-sm-9"><input type="text" name="newsafeanswer" id="iptNewsafeanswer" class="form-control"></div> | |||
</div> | |||
<div class="form-group row"> | |||
<label for="iptEmail" class="col-sm-2 col-form-label">电子邮箱</label> | |||
<div class="col-sm-10"><input type="email" name="email" class="form-control" id="iptEmail"></div> | |||
<small class="offset-md-2 col-sm-8 text-muted">每个电子邮邮箱只能注册一个帐号,要修改电子邮箱必须填写正确安全问题的答案</small> | |||
<label for="iptEmail" class="col-sm-3 col-form-label">电子邮箱</label> | |||
<div class="col-sm-9"><input type="email" name="email" id="iptEmail" class="form-control" placeholder="每个邮箱只能注册一个帐号,修改电子邮箱必须填写正确安全问题答案"></div> | |||
</div> | |||
<div class="form-group row"> | |||
<label for="iptEmail" class="col-sm-2 col-form-label">性别</label> | |||
<div class="col-sm-10"> | |||
<label for="iptEmail" class="col-sm-3 col-form-label">性别</label> | |||
<div class="col-sm-9"> | |||
<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> | |||
@@ -25,7 +25,7 @@ | |||
<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"> | |||
<form action="edit_email.php" method="post" enctype="multipart/form-data" name="form1"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<div class="form-group row"> | |||
@@ -25,7 +25,7 @@ | |||
<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"> | |||
<form action="edit_face.php" method="post" enctype="multipart/form-data" name="form1"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<div class="form-group row"> | |||
@@ -34,7 +34,7 @@ | |||
</div> | |||
<div class="form-group row"> | |||
<label for="iptUname" class="col-sm-2 col-form-label">手工填写网址</label> | |||
<div class="col-sm-10"><input type="text" name="faceurl" id="faceurl" size="35" class="form-control" value="<?php echo $face;?>"></div> | |||
<div class="col-sm-10"></div> | |||
</div> | |||
<div class="text-center"><button type="submit" class="btn btn-success btn-sm">保存</button></div> | |||
</form> | |||
@@ -35,7 +35,7 @@ | |||
<div class="media-body"> | |||
<ul class="row row-cols-3 row-cols-sm-4 row-cols-lg-6 row-cols-xl-8 list-unstyled text-center mb-0"> | |||
<li class="col m-pb-1" data-tags="alarm clock"> | |||
<div class="bg-light user-meter rounded mb-3 p-4 py-3"><a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=1"><i class="fa fa-list"></i></a></div> | |||
<div class="bg-light user-meter rounded mb-3 p-4 py-3"><a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=1"><i class="fa fa-file-text"></i></a></div> | |||
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=1">文档管理</a> | |||
</li> | |||
<li class="col m-pb-1" data-tags="alarm clock"> | |||
@@ -44,15 +44,15 @@ | |||
</li> | |||
<li class="col m-pb-1" data-tags="alarm clock"> | |||
<div class="bg-light user-meter rounded mb-3 p-4 py-3"><a href="<?php echo $cfg_memberurl;?>/buy.php"><i class="fa fa-credit-card-alt"></i></a></div> | |||
<a href="<?php echo $cfg_memberurl;?>/buy.php">钱包积分</a> | |||
<a href="<?php echo $cfg_memberurl;?>/buy.php">积分钱包</a> | |||
</li> | |||
<li class="col" data-tags="space align distribute"> | |||
<div class="bg-light user-meter rounded mb-3 p-4 py-3"><a href="<?php echo $cfg_memberurl;?>/mystow.php"><i class="fa fa-star"></i></a></div> | |||
<a href="<?php echo $cfg_memberurl;?>/mystow.php">我的收藏</a> | |||
</li> | |||
<li class="col" data-tags="space align distribute"> | |||
<div class="bg-light user-meter rounded mb-3 p-4 py-3"><a href="<?php echo $cfg_memberurl;?>/edit_baseinfo.php"><i class="fa fa-cog"></i></a></div> | |||
<a href="<?php echo $cfg_memberurl;?>/edit_baseinfo.php">账号安全</a> | |||
<div class="bg-light user-meter rounded mb-3 p-4 py-3"><a href="<?php echo $cfg_memberurl;?>/edit_baseinfo.php"><i class="fa fa fa-pencil-square"></i></a></div> | |||
<a href="<?php echo $cfg_memberurl;?>/edit_baseinfo.php">资料修改</a> | |||
</li> | |||
</ul> | |||
</div> | |||
@@ -1,5 +1,5 @@ | |||
<?php | |||
$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(); | |||
while ($channel = $dsql->GetArray('addmod')) { | |||
$channels[$channel['id']] = $channel; | |||
@@ -7,7 +7,7 @@ while ($channel = $dsql->GetArray('addmod')) { | |||
?> | |||
<div class="col-md-3 m-pb-2"> | |||
<ul class="list-group list-group-flush shadow-sm rounded"> | |||
<li class="list-group-item justify-content-between align-items-center rounded <?php echo (isset($_menu_home) && $_menu_home===true)? ' active' : '';?>"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | |||
<li class="list-group-item justify-content-between align-items-center rounded <?php echo (isset($_menu_home) && $_menu_home===true)? ' active' : '';?>"><a href="<?php echo $cfg_memberurl;?>/">会员首页</a></li> | |||
<li class="list-group-item justify-content-between align-items-center"> | |||
<div data-toggle="collapse" data-target="#collapseArchives">我的文档<span class="dropdown ml-2"></span> | |||
</div> | |||
@@ -26,8 +26,7 @@ while ($channel = $dsql->GetArray('addmod')) { | |||
</div> | |||
</li> | |||
<li class="list-group-item justify-content-between align-items-center"> | |||
<div data-toggle="collapse" data-target="#collapseMessage">消息管理<span class="badge badge-warning badge-pill ml-2"><?php echo $pms['nums'];?></span><span class="dropdown ml-2"></span> | |||
</div> | |||
<div data-toggle="collapse" data-target="#collapseMessage">消息管理<span class="badge badge-warning badge-pill ml-2"><?php echo $pms['nums'];?></span><span class="dropdown ml-2"></span></div> | |||
<div id="collapseMessage" class="mt-3 collapse<?php echo (isset($_menu_pmex) && $_menu_pmex===true)? ' show' : '';?>"> | |||
<ul class="list-group list-group-flush"> | |||
<li class="list-group-item justify-content-between align-items-center rounded <?php if (isset($_menu_pmstate) && $_menu_pmstate === 0) echo 'active';?>"><a href="<?php echo $cfg_memberurl;?>/pm.php?folder=inbox">全部</a></li> | |||
@@ -37,7 +36,7 @@ while ($channel = $dsql->GetArray('addmod')) { | |||
</div> | |||
</li> | |||
<li class="list-group-item justify-content-between align-items-center rounded <?php echo (isset($_menu_stow) && $_menu_stow===true)? ' active' : '';?>"><a href="<?php echo $cfg_memberurl;?>/mystow.php">我的收藏</a></li> | |||
<li class="list-group-item justify-content-between align-items-center"><a href="<?php echo $cfg_memberurl;?>/buy.php">钱包积分</a></li> | |||
<li class="list-group-item justify-content-between align-items-center"><a href="<?php echo $cfg_memberurl;?>/buy.php">积分钱包</a></li> | |||
<li class="list-group-item justify-content-between align-items-center"> | |||
<div data-toggle="collapse" data-target="#collapseOrder">订单详情<span class="dropdown ml-2"></span></div> | |||
<div id="collapseOrder" class="collapse mt-3<?php echo (isset($_menu_order) && $_menu_order===true)? ' show' : '';?>"> | |||
@@ -47,15 +46,6 @@ while ($channel = $dsql->GetArray('addmod')) { | |||
</ul> | |||
</div> | |||
</li> | |||
<li class="list-group-item justify-content-between align-items-center"> | |||
<div data-toggle="collapse" data-target="#collapseMe">个人中心<span class="dropdown ml-2"></span></div> | |||
<div id="collapseMe" class="collapse mt-3<?php echo (isset($_menu_edtex) && $_menu_edtex===true)? ' show' : '';?>"> | |||
<ul class="list-group list-group-flush"> | |||
<li class="list-group-item justify-content-between align-items-center rounded <?php if (isset($_menu_edtitem) && $_menu_edtitem === 'base') echo 'active';?>"><a href="edit_baseinfo.php">账号安全</a></li> | |||
<li class="list-group-item justify-content-between align-items-center rounded <?php if (isset($_menu_edtitem) && $_menu_edtitem === 'face') echo 'active';?>"><a href="edit_face.php">头像设置</a></li> | |||
<li class="list-group-item justify-content-between align-items-center rounded <?php if (isset($_menu_edtitem) && $_menu_edtitem === 'email') echo 'active';?>"><a href="edit_email.php">验证邮箱</a></li> | |||
</ul> | |||
</div> | |||
</li> | |||
<li class="list-group-item justify-content-between align-items-center rounded <?php if (isset($_menu_edtitem) && $_menu_edtitem === 'base') echo 'active';?>"><a href="edit_baseinfo.php">资料修改</a></li> | |||
</ul> | |||
</div> |
@@ -23,7 +23,7 @@ | |||
<div class="table-responsive"> | |||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||
<thead> | |||
<tr align="center"> | |||
<tr> | |||
<th width="8%">选择</th> | |||
<th width="8%">id</th> | |||
<th>标题</th> | |||
@@ -35,7 +35,7 @@ | |||
<input type="hidden" name="dopost" value="del"> | |||
<tbody> | |||
{dede:datalist} | |||
<tr align="center"> | |||
<tr> | |||
<td><input type="checkbox" name="deleteid" value="{dede:field.aid/}" /></td> | |||
<td><?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> | |||
@@ -23,26 +23,26 @@ | |||
<div class="table-responsive"> | |||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||
<thead> | |||
<tr align="center"> | |||
<tr> | |||
<th width="8%">选择</th> | |||
<th>订单号</th> | |||
<th width="16%">状态</th> | |||
<th width="16%">产品</th> | |||
<th width="16%">状态</th> | |||
<th width="16%">时间</th> | |||
<th width="16%">订单号</th> | |||
<th>产品</th> | |||
<th width="16%">信息</th> | |||
<th width="12%">状态</th> | |||
<th width="16%">时间</th> | |||
</tr> | |||
</thead> | |||
<tbody> | |||
<form name="form1" action="operation.php" method="post"> | |||
<input type="hidden" name="ftype" value="del"> | |||
{dede:datalist} | |||
<tr align="center"> | |||
<tr> | |||
<td><input type="checkbox" name="deleteid" value="{dede:field.aid/}"></td> | |||
<td><?php echo $fields['pname'];?></td> | |||
<td>{dede:field.buyid/}</td> | |||
<td><?php echo $fields['oldinfo'];?></td> | |||
<td>{dede:field.sta function="GetSta(@me)"/}</td> | |||
<td>{dede:field.mtime function="GetDateMk(@me)"/}</td> | |||
<td>{dede:field.buyid/}</td> | |||
<td><?php echo $fields['pname']; ?></td> | |||
<td><?php echo $fields['oldinfo']; ?></td> | |||
<td>{dede:field.sta function="GetSta(@me)"/}</td> | |||
<td>{dede:field.mtime function="GetDateMk(@me)"/}</td> | |||
</tr> | |||
{/dede:datalist} | |||
<tr> | |||
@@ -16,11 +16,7 @@ | |||
$.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.message}</p>`, { | |||
title: "查看短消息", | |||
}); | |||
ShowMsg(`<p>标题:${result.data.subject}</p><p>时间:${result.data.sendtime}</p><p>文档:${result.data.message}</p>`, {title: "查看短消息",}); | |||
$(`.pm-read-status[for='${id}']`).html("已阅读"); | |||
} else { | |||
ShowAlert("#feedback-alert", `评论失败:${result.msg}`, "danger"); | |||
@@ -89,22 +85,22 @@ | |||
<table class="table"> | |||
<thead> | |||
<tr> | |||
<th scope="col">选择</th> | |||
<th scope="col">标题</th> | |||
<th scope="col"> | |||
<th width="8%">选择</th> | |||
<th>标题</th> | |||
<th width="16%"> | |||
<?php | |||
if ($folder == "inbox") echo "发件人"; | |||
else echo "收件人"; | |||
?> | |||
</th> | |||
<th scope="col">状态</th> | |||
<th scope="col">发布时间</th> | |||
<th width="12%">状态</th> | |||
<th width="16%">发布时间</th> | |||
</tr> | |||
</thead> | |||
<tbody> | |||
{dede:datalist} | |||
<tr> | |||
<td scope="row"><input type="checkbox" name="deleteid" value="{dede:field.id/}"></td> | |||
<td><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>"; | |||
@@ -17,7 +17,7 @@ | |||
morelinkobj.style.display = "block"; | |||
if (endNum > 12) endNum = 12; | |||
for (startNum; startNum <= endNum; startNum++) { | |||
upfield.innerHTML += "<p>软件地址" + startNum + ":<input type='text' name='softurl" + startNum + "' value='http://' class='form-control d-inline-block w-50 mr-2'><span class='btn btn-success btn-sm'>选择</span></p>"; | |||
upfield.innerHTML += "<p>软件地址" + startNum + ":<input type='text' name='softurl" + startNum + "' value='http://' class='form-control d-inline-block w-50 mr-2'><span class='btn btn-success btn-sm file-relative'>上传文件<input type='file' name='' class='file-absolute'></span></p>"; | |||
upfield.innerHTML += "<p>服务器名称:<input type='text' name='servermsg" + startNum + "' class='form-control'></p>"; | |||
} | |||
} | |||
@@ -53,7 +53,10 @@ | |||
</div> | |||
<div class="form-group row"> | |||
<label class="col-sm-2 col-form-label">缩略图</label> | |||
<div class="col-sm-10"><input type="file" name="upfile1" class="w-100"></div> | |||
<div class="col-sm-10"> | |||
<img src="/static/web/img/thumbnail.jpg" class="thumbnail-md mr-3"> | |||
<span class="btn btn-success btn-sm">上传缩略图<input type="file" name="" class="file-absolute"></span> | |||
</div> | |||
</div> | |||
<div class="form-group row"> | |||
<label class="col-sm-2 col-form-label">作者</label> | |||
@@ -165,7 +168,7 @@ | |||
<div class="col-sm-10"><?php GetEditor("body","",400,"Member");?></div> | |||
</div> | |||
<div class="form-group"> | |||
<p>下载地址:<input type="text" name="softurl1" id="softurl1" class="form-control d-inline-block w-50 mr-2"><span class="btn btn-success btn-sm">选择</span></p> | |||
<p>下载地址:<input type="text" name="softurl1" id="softurl1" class="form-control d-inline-block w-50 mr-2"><span class="btn btn-success btn-sm file-relative">上传文件<input type="file" name="" class="file-absolute"></span></p> | |||
<p>服务器名称:<input type="text" name="servermsg1" id="servermsg1" class="form-control" value="下载"></p> | |||
</div> | |||
<div class="form-group"> | |||
@@ -17,7 +17,7 @@ | |||
morelinkobj.style.display = "block"; | |||
if (endNum > 12) endNum = 12; | |||
for (startNum; startNum <= endNum; startNum++) { | |||
upfield.innerHTML += "<p>软件地址" + startNum + ":<input type='text' name='softurl" + startNum + "' value='http://' class='form-control d-inline-block w-50 mr-2'><span class='btn btn-success btn-sm'>选择</span>></p>"; | |||
upfield.innerHTML += "<p>软件地址" + startNum + ":<input type='text' name='softurl" + startNum + "' value='http://' class='form-control d-inline-block w-50 mr-2'><span class='btn btn-success btn-sm file-relative'>上传文件<input type='file' name='' class='file-absolute'></span></p>"; | |||
upfield.innerHTML += "<p>服务器名称:<input type='text' name='servermsg" + startNum + "' class='form-control'></p>"; | |||
} | |||
} | |||
@@ -57,8 +57,8 @@ | |||
<div class="form-group row"> | |||
<label class="col-sm-2 col-form-label">缩略图</label> | |||
<div class="col-sm-10"> | |||
<img src="/static/web/img/thumbnail.jpg" class="thumbnail-md"> | |||
<button class="btn btn-success btn-sm">更换</button> | |||
<img src="/static/web/img/thumbnail.jpg" class="thumbnail-md mr-3"> | |||
<span class="btn btn-success btn-sm">修改缩略图<input type="file" name="" class="file-absolute"></span> | |||
</div> | |||
</div> | |||
<div class="form-group row"> | |||
@@ -171,7 +171,7 @@ | |||
</div> | |||
</div> | |||
<div class="form-group"> | |||
<p>下载地址:<input type="text" name="softurl1" id="softurl1" class="form-control d-inline-block w-50 mr-2"><span class="btn btn-success btn-sm">选择</span></p> | |||
<p>下载地址:<input type="text" name="softurl1" id="softurl1" class="form-control d-inline-block w-50 mr-2"><span class="btn btn-success btn-sm file-relative">上传文件<input type="file" name="" class="file-absolute"></span></p> | |||
<p>服务器名称:<input type="text" name="servermsg1" id="servermsg1" class="form-control" value="下载"></p> | |||
</div> | |||
<div class="form-group"> | |||