@@ -81,14 +81,14 @@ class FileManagement | |||||
copy($oldfile, $truepath."/$mfile"); | copy($oldfile, $truepath."/$mfile"); | ||||
} | } | ||||
unlink($oldfile); | unlink($oldfile); | ||||
ShowMsg("成功移动文件", "file_manage_main.php?activepath=$mpath", 0, 1000); | |||||
ShowMsg("成功移动文件", "file_manage_main.php?activepath=$mpath"); | |||||
return 1; | return 1; | ||||
} else { | } else { | ||||
ShowMsg("移动文件".$oldfile." - ".$truepath."/".$mfile."失败", "file_manage_main.php?activepath=$mpath", 0, 1000); | |||||
ShowMsg("移动文件".$oldfile." - ".$truepath."/".$mfile."失败", "file_manage_main.php?activepath=$mpath"); | |||||
return 0; | return 0; | ||||
} | } | ||||
} else { | } else { | ||||
ShowMsg("您移动的路径不合法", "-1", 0, 5000); | |||||
ShowMsg("您移动的路径不合法", "-1"); | |||||
return 0; | return 0; | ||||
} | } | ||||
} | } | ||||
@@ -46,7 +46,7 @@ if ($dopost == 'login') { | |||||
$svali = strtolower(GetCkVdValue()); | $svali = strtolower(GetCkVdValue()); | ||||
if ($validate == '' || $validate != $svali) { | if ($validate == '' || $validate != $svali) { | ||||
ResetVdValue(); | ResetVdValue(); | ||||
ShowMsg('验证码不正确', 'login.php', 0, 1000); | |||||
ShowMsg('验证码不正确', 'login.php'); | |||||
exit; | exit; | ||||
} | } | ||||
} | } | ||||
@@ -62,16 +62,16 @@ if ($dopost == 'login') { | |||||
} | } | ||||
} else if ($res == -1) { | } else if ($res == -1) { | ||||
ResetVdValue(); | ResetVdValue(); | ||||
ShowMsg('管理员账号错误', 'login.php', 0, 1000); | |||||
ShowMsg('管理员账号错误', 'login.php'); | |||||
exit; | exit; | ||||
} else { | } else { | ||||
ResetVdValue(); | ResetVdValue(); | ||||
ShowMsg('管理员密码错误', 'login.php', 0, 1000); | |||||
ShowMsg('管理员密码错误', 'login.php'); | |||||
exit; | exit; | ||||
} | } | ||||
} else { | } else { | ||||
ResetVdValue(); | ResetVdValue(); | ||||
ShowMsg('管理员账号和密码没填完整', 'login.php', 0, 1000); | |||||
ShowMsg('管理员账号和密码没填完整', 'login.php'); | |||||
exit; | exit; | ||||
} | } | ||||
} | } | ||||
@@ -48,7 +48,7 @@ if ($dopost == "delmember") { | |||||
$dsql->ExecuteNoneQuery("DELETE FROM `#@__feedback` WHERE mid='$id' "); | $dsql->ExecuteNoneQuery("DELETE FROM `#@__feedback` WHERE mid='$id' "); | ||||
$dsql->ExecuteNoneQuery("UPDATE `#@__archives` SET mid='0' WHERE mid='$id'"); | $dsql->ExecuteNoneQuery("UPDATE `#@__archives` SET mid='0' WHERE mid='$id'"); | ||||
} else { | } else { | ||||
ShowMsg("无法删除此会员,如果这个会员是管理员,必须先删除这个管理员才能删除此帐号", $ENV_GOBACK_URL, 0, 5000); | |||||
ShowMsg("无法删除此会员,如果这个会员是管理员,必须先删除这个管理员才能删除此帐号", $ENV_GOBACK_URL); | |||||
exit(); | exit(); | ||||
} | } | ||||
} | } | ||||
@@ -95,7 +95,7 @@ if ($dopost == "delmember") { | |||||
$dsql->ExecuteNoneQuery("DELETE FROM `#@__feedback` WHERE mid IN (".str_replace("`", ",", $id).") "); | $dsql->ExecuteNoneQuery("DELETE FROM `#@__feedback` WHERE mid IN (".str_replace("`", ",", $id).") "); | ||||
$dsql->ExecuteNoneQuery("UPDATE `#@__archives` SET mid='0' WHERE mid IN (".str_replace("`", ",", $id).")"); | $dsql->ExecuteNoneQuery("UPDATE `#@__archives` SET mid='0' WHERE mid IN (".str_replace("`", ",", $id).")"); | ||||
} else { | } else { | ||||
ShowMsg("无法删除此会员,如果这个会员是管理员关连的id,必须先删除这个管理员才能删除此帐号", $ENV_GOBACK_URL, 0, 3000); | |||||
ShowMsg("无法删除此会员,如果这个会员是管理员关连的id,必须先删除这个管理员才能删除此帐号", $ENV_GOBACK_URL); | |||||
exit(); | exit(); | ||||
} | } | ||||
} | } | ||||
@@ -18,7 +18,7 @@ $row = array(); | |||||
if ($dopost == "toadmin") { | if ($dopost == "toadmin") { | ||||
$pwd = trim($pwd); | $pwd = trim($pwd); | ||||
if ($pwd != '' && preg_match("#[^0-9a-zA-Z_@!\.-]#", $pwd)) { | if ($pwd != '' && preg_match("#[^0-9a-zA-Z_@!\.-]#", $pwd)) { | ||||
ShowMsg('密码不合法,使用[0-9a-zA-Z_@!.-]范围以内字符', '-1', 0, 3000); | |||||
ShowMsg('密码不合法,使用[0-9a-zA-Z_@!.-]范围以内字符', '-1'); | |||||
exit(); | exit(); | ||||
} | } | ||||
$safecodeok = substr(md5($cfg_cookie_encode.$randcode), 0, 24); | $safecodeok = substr(md5($cfg_cookie_encode.$randcode), 0, 24); | ||||
@@ -15,12 +15,12 @@ if (empty($dopost)) $dopost = ''; | |||||
if ($dopost == 'add') { | if ($dopost == 'add') { | ||||
CheckCSRF(); | CheckCSRF(); | ||||
if (preg_match("#[^0-9a-zA-Z_@!\.-]#", $pwd) || preg_match("#[^0-9a-zA-Z_@!\.-]#", $userid)) { | if (preg_match("#[^0-9a-zA-Z_@!\.-]#", $pwd) || preg_match("#[^0-9a-zA-Z_@!\.-]#", $userid)) { | ||||
ShowMsg('密码或账号不合法,使用[0-9a-zA-Z_@!.-]范围以内字符', '-1', 0, 3000); | |||||
ShowMsg('密码或账号不合法,使用[0-9a-zA-Z_@!.-]范围以内字符', '-1'); | |||||
exit(); | exit(); | ||||
} | } | ||||
$safecodeok = substr(md5($cfg_cookie_encode.$randcode), 0, 24); | $safecodeok = substr(md5($cfg_cookie_encode.$randcode), 0, 24); | ||||
if ($safecode != $safecodeok) { | if ($safecode != $safecodeok) { | ||||
ShowMsg('请填写验证安全码', '-1', 0, 3000); | |||||
ShowMsg('请填写验证安全码', '-1'); | |||||
exit(); | exit(); | ||||
} | } | ||||
$row = $dsql->GetOne("SELECT COUNT(*) AS dd FROM `#@__member` WHERE userid LIKE '$userid' "); | $row = $dsql->GetOne("SELECT COUNT(*) AS dd FROM `#@__member` WHERE userid LIKE '$userid' "); | ||||
@@ -17,11 +17,11 @@ if ($dopost == 'saveedit') { | |||||
CheckCSRF(); | CheckCSRF(); | ||||
$pwd = trim($pwd); | $pwd = trim($pwd); | ||||
if ($pwd != '' && preg_match("#[^0-9a-zA-Z_@!\.-]#", $pwd)) { | if ($pwd != '' && preg_match("#[^0-9a-zA-Z_@!\.-]#", $pwd)) { | ||||
ShowMsg('密码不合法,使用[0-9a-zA-Z_@!.-]范围以内字符', '-1', 0, 3000); | |||||
ShowMsg('密码不合法,使用[0-9a-zA-Z_@!.-]范围以内字符', '-1'); | |||||
exit(); | exit(); | ||||
} | } | ||||
if (preg_match("#[^0-9a-zA-Z_@!\.-]#", $userid)) { | if (preg_match("#[^0-9a-zA-Z_@!\.-]#", $userid)) { | ||||
ShowMsg('账号不合法,使用[0-9a-zA-Z_@!.-]范围以内字符', '-1', 0, 3000); | |||||
ShowMsg('账号不合法,使用[0-9a-zA-Z_@!.-]范围以内字符', '-1'); | |||||
exit(); | exit(); | ||||
} | } | ||||
$safecodeok = substr(md5($cfg_cookie_encode.$randcode), 0, 24); | $safecodeok = substr(md5($cfg_cookie_encode.$randcode), 0, 24); | ||||
@@ -104,7 +104,7 @@ if ($dopost == 'saveedit') { | |||||
$dsql->ExecuteNoneQuery("UPDATE `#@__member` SET matt='0' WHERE mid='$id' LIMIT 1"); | $dsql->ExecuteNoneQuery("UPDATE `#@__member` SET matt='0' WHERE mid='$id' LIMIT 1"); | ||||
ShowMsg("成功删除一个帐户", "sys_admin_user.php"); | ShowMsg("成功删除一个帐户", "sys_admin_user.php"); | ||||
} else { | } else { | ||||
ShowMsg("不能删除id为1的创建人帐号,不能删除自己", "sys_admin_user.php", 0, 3000); | |||||
ShowMsg("不能删除id为1的创建人帐号,不能删除自己", "sys_admin_user.php"); | |||||
} | } | ||||
exit(); | exit(); | ||||
} | } | ||||
@@ -55,7 +55,7 @@ if ($dopost == "ok") { | |||||
} | } | ||||
//修正错误文档 | //修正错误文档 | ||||
else if ($step == 9) { | else if ($step == 9) { | ||||
ShowMsg('清理错误文档已取消,到系统修复工具进行操作', 'sys_cache_up.php?dopost=ok&step=-1&uparc=1', 0, 5000); | |||||
ShowMsg('清理错误文档已取消,到系统修复工具进行操作', 'sys_cache_up.php?dopost=ok&step=-1&uparc=1'); | |||||
exit(); | exit(); | ||||
} | } | ||||
} | } | ||||
@@ -378,7 +378,7 @@ class MemberLogin | |||||
{ | { | ||||
$arr = $this->dsql->GetOne("SELECT COUNT(*) as dd FROM `#@__arctiny` WHERE mid='{$this->M_ID}'"); | $arr = $this->dsql->GetOne("SELECT COUNT(*) as dd FROM `#@__arctiny` WHERE mid='{$this->M_ID}'"); | ||||
if (is_array($arr)) { | if (is_array($arr)) { | ||||
if ($this->M_SendMax < 1) { | |||||
if ($this->M_SendMax < 0) { | |||||
return false; | return false; | ||||
} | } | ||||
if ($arr['dd'] >= $this->M_SendMax) { | if ($arr['dd'] >= $this->M_SendMax) { | ||||
@@ -12,14 +12,15 @@ | |||||
<body> | <body> | ||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ol class="breadcrumb mr-auto"> | |||||
<li class="breadcrumb-item">文件:<?php echo $title;?></li> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item"><?php echo $title;?>下载地址</li> | |||||
</ol> | </ol> | ||||
</nav> | </nav> | ||||
<table class="table mb-0"> | <table class="table mb-0"> | ||||
<tr> | <tr> | ||||
<td bgcolor="#f8f9fa">下载地址列表:</td> | |||||
<td bgcolor="#f8f9fa"><?php echo $title;?>下载地址列表:</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td><?php echo $downlinks;?></td> | <td><?php echo $downlinks;?></td> | ||||
@@ -12,14 +12,14 @@ | |||||
<body> | <body> | ||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<li class="breadcrumb-item">友情链接</li> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_phpurl;?>/flink.php">友情链接</a></li> | |||||
<li class="breadcrumb-item">申请链接</li> | <li class="breadcrumb-item">申请链接</li> | ||||
</ul> | |||||
<span class="navbar-text"><a href="<?php echo '$cfg_phpurl/flink.php';?>" class="btn btn-success btn-sm">查看链接</a></span> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<form name="form1" method="post" action="flink.php"> | |||||
<form name="form1" action="<?php echo $cfg_phpurl?>/flink.php" method="post"> | |||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<table class="table mb-0"> | <table class="table mb-0"> | ||||
<tr> | <tr> | ||||
@@ -12,12 +12,15 @@ | |||||
<body> | <body> | ||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item">友情链接</li> | <li class="breadcrumb-item">友情链接</li> | ||||
</ul> | |||||
<span class="navbar-text"><a href="flink.php?dopost=add" class="btn btn-success btn-sm">申请链接</a></span> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<div class="mb-3"> | |||||
<a href="<?php echo $cfg_phpurl;?>/flink.php?dopost=add" class="btn btn-success btn-sm">申请链接</a> | |||||
</div> | |||||
<ul class="list-group list-group-horizontal"> | <ul class="list-group list-group-horizontal"> | ||||
<?php | <?php | ||||
$row = 100; | $row = 100; | ||||
@@ -12,7 +12,7 @@ | |||||
<body> | <body> | ||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<form name="form1" action="search.php" method="get"> | |||||
<form name="form1" action="<?php echo $cfg_phpurl?>/search.php" method="get"> | |||||
<table class="table"> | <table class="table"> | ||||
<tr> | <tr> | ||||
<td width="160">网站栏目:</td> | <td width="160">网站栏目:</td> | ||||
@@ -12,12 +12,15 @@ | |||||
<body> | <body> | ||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<li class="breadcrumb-item"><a href="/apps/diy.php?action=list&diyid=<?php echo $diy->diyid;?>"><?php echo $diy->name;?>列表</a></li> | |||||
</ul> | |||||
<span class="navbar-text"><a href="/apps/diy.php?action=post&diyid=<?php echo $diy->diyid;?>" class="btn btn-success btn-sm">发布信息</a></span> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_phpurl?>/diy.php?action=list&diyid=<?php echo $diy->diyid;?>"><?php echo $diy->name;?>列表</a></li> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<div class="mb-3"> | |||||
<a href="<?php echo $cfg_phpurl?>/diy.php?action=post&diyid=<?php echo $diy->diyid;?>" class="btn btn-success btn-sm">发布信息</a> | |||||
</div> | |||||
{dede:datalist} | {dede:datalist} | ||||
<table class="table"> | <table class="table"> | ||||
<?php | <?php | ||||
@@ -13,14 +13,17 @@ | |||||
<body> | <body> | ||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<li class="breadcrumb-item"><a href="/apps/diy.php?action=list&diyid=<?php echo $diy->diyid;?>"><?php echo $diy->name;?>列表</a></li> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_phpurl?>/diy.php?action=list&diyid=<?php echo $diy->diyid;?>"><?php echo $diy->name;?>列表</a></li> | |||||
<li class="breadcrumb-item"><?php echo $diy->name;?>发布</li> | <li class="breadcrumb-item"><?php echo $diy->name;?>发布</li> | ||||
</ul> | |||||
<span class="navbar-text"><a href="/apps/diy.php?action=list&diyid=<?php echo $diy->diyid;?>" class="btn btn-success btn-sm">返回列表</a></span> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<form name="addcontent" action="/apps/diy.php" method="post" enctype="multipart/form-data"> | |||||
<div class="mb-3"> | |||||
<a href="<?php echo $cfg_phpurl?>/diy.php?action=list&diyid=<?php echo $diy->diyid;?>" class="btn btn-success btn-sm">返回列表</a> | |||||
</div> | |||||
<form name="addcontent" action="<?php echo $cfg_phpurl?>/diy.php" method="post" enctype="multipart/form-data"> | |||||
<input type="hidden" name="action" value="post"> | <input type="hidden" name="action" value="post"> | ||||
<input type="hidden" name="diyid" value="<?php echo $diyid;?>"> | <input type="hidden" name="diyid" value="<?php echo $diyid;?>"> | ||||
<input type="hidden" name="do" value="2"> | <input type="hidden" name="do" value="2"> | ||||
@@ -12,12 +12,13 @@ | |||||
<body> | <body> | ||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<li class="breadcrumb-item">推荐:<?php echo $title;?></li> | |||||
</ul> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item">推荐<?php echo $title;?></li> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<form name="form1" method="post" action="recommend.php"> | |||||
<form name="form1" action="<?php echo $cfg_phpurl?>/recommend.php" method="post"> | |||||
<input type="hidden" name="arcurl" value="<?php echo $arcurl;?>"> | <input type="hidden" name="arcurl" value="<?php echo $arcurl;?>"> | ||||
<input type="hidden" name="action" value="send"> | <input type="hidden" name="action" value="send"> | ||||
<input type="hidden" name="arcID" value="<?php echo $aid;?>"> | <input type="hidden" name="arcID" value="<?php echo $aid;?>"> | ||||
@@ -12,10 +12,11 @@ | |||||
<body> | <body> | ||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<li class="breadcrumb-item">页面:<?php echo $arctitle;?></li> | |||||
</ul> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item"><?php echo $arctitle;?></li> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<table class="table mb-0"> | <table class="table mb-0"> | ||||
<tr> | <tr> | ||||
@@ -12,13 +12,16 @@ | |||||
<body> | <body> | ||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<li class="breadcrumb-item"><a href="/apps/diy.php?action=list&diyid=<?php echo $diy->diyid;?>"><?php echo $diy->name;?>列表</a></li> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_phpurl?>/diy.php?action=list&diyid=<?php echo $diy->diyid;?>"><?php echo $diy->name;?>列表</a></li> | |||||
<li class="breadcrumb-item"><?php echo $diy->name;?>查看</li> | <li class="breadcrumb-item"><?php echo $diy->name;?>查看</li> | ||||
</ul> | |||||
<span class="navbar-text"><a href="/apps/diy.php?action=post&diyid=<?php echo $diy->diyid;?>" class="btn btn-success btn-sm">发布信息</a></span> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<div class="mb-3"> | |||||
<a href="<?php echo $cfg_phpurl?>/diy.php?action=post&diyid=<?php echo $diy->diyid;?>" class="btn btn-success btn-sm">发布信息</a> | |||||
</div> | |||||
<table class="table mb-0"> | <table class="table mb-0"> | ||||
<?php | <?php | ||||
echo '<tbody>'; | echo '<tbody>'; | ||||
@@ -12,10 +12,11 @@ | |||||
<body> | <body> | ||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item">文档错误提示</li> | <li class="breadcrumb-item">文档错误提示</li> | ||||
</ul> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<table class="table mb-0"> | <table class="table mb-0"> | ||||
<tr> | <tr> | ||||
@@ -12,10 +12,11 @@ | |||||
<body> | <body> | ||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item">栏目错误提示</li> | <li class="breadcrumb-item">栏目错误提示</li> | ||||
</ul> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<table class="table mb-0"> | <table class="table mb-0"> | ||||
<tr> | <tr> | ||||
@@ -12,10 +12,11 @@ | |||||
<body> | <body> | ||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item"><?php echo $voname?></li> | <li class="breadcrumb-item"><?php echo $voname?></li> | ||||
</ul> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<p>投票开始时间:<?php echo $starttime;?></p> | <p>投票开始时间:<?php echo $starttime;?></p> | ||||
<p>投票结束时间:<?php echo $endtime;?></p> | <p>投票结束时间:<?php echo $endtime;?></p> | ||||
@@ -173,11 +173,11 @@ function CheckRank($rank = 0, $money = 0) | |||||
//如果启用注册邮件验证 | //如果启用注册邮件验证 | ||||
if ($cfg_ml->fields['spacesta'] == '-10' && !preg_match("#edit_baseinfo.php$#", GetCurUrl())) { | if ($cfg_ml->fields['spacesta'] == '-10' && !preg_match("#edit_baseinfo.php$#", GetCurUrl())) { | ||||
if (empty($cfg_ml->fields['email'])) { | if (empty($cfg_ml->fields['email'])) { | ||||
ShowMsg("邮箱地址为空,请设置一个邮箱地址", "edit_baseinfo.php", 0, 5000); | |||||
ShowMsg("邮箱地址为空,请设置一个邮箱地址", "edit_baseinfo.php"); | |||||
exit; | exit; | ||||
} | } | ||||
$msg = "<p>您未进行邮件验证,发送验证邮件后请登录邮箱进行确认</p><a href='{$cfg_memberurl}/index_do.php?fmdo=sendMail' class='btn btn-success btn-sm'>发送</a><a href='javascript:history.go(-1)' class='btn btn-outline-success btn-sm'>返回</a>"; | $msg = "<p>您未进行邮件验证,发送验证邮件后请登录邮箱进行确认</p><a href='{$cfg_memberurl}/index_do.php?fmdo=sendMail' class='btn btn-success btn-sm'>发送</a><a href='javascript:history.go(-1)' class='btn btn-outline-success btn-sm'>返回</a>"; | ||||
ShowMsg($msg, "javascript:;", 0, 5000); | |||||
ShowMsg($msg, "javascript:;"); | |||||
exit; | exit; | ||||
} | } | ||||
} | } | ||||
@@ -198,10 +198,10 @@ function CheckRank($rank = 0, $money = 0) | |||||
$myname = "注册会员"; | $myname = "注册会员"; | ||||
} | } | ||||
} | } | ||||
ShowMsg("需要".$needname."才能浏览本页面,您目前等级是".$myname."", "-1", 0, 5000); | |||||
ShowMsg("需要".$needname."才能浏览本页面,您目前等级是".$myname."", "-1"); | |||||
exit(); | exit(); | ||||
} else if ($cfg_ml->M_Money < $money) { | } else if ($cfg_ml->M_Money < $money) { | ||||
ShowMsg("需要".$money."金币才能浏览本页面,您目前金币".$cfg_ml->M_Money."个", "-1", 0, 5000); | |||||
ShowMsg("需要".$money."金币才能浏览本页面,您目前金币".$cfg_ml->M_Money."个", "-1"); | |||||
exit(); | exit(); | ||||
} | } | ||||
} | } | ||||
@@ -109,7 +109,7 @@ if ($dopost == 'save') { | |||||
} | } | ||||
//清除会员缓存 | //清除会员缓存 | ||||
$cfg_ml->DelCache($cfg_ml->M_ID); | $cfg_ml->DelCache($cfg_ml->M_ID); | ||||
ShowMsg('成功更新您的基本资料', 'edit_baseinfo.php', 0, 5000); | |||||
ShowMsg('成功更新您的基本资料', 'edit_baseinfo.php'); | |||||
exit(); | exit(); | ||||
} | } | ||||
include(DEDEMEMBER."/templets/edit_baseinfo.htm"); | include(DEDEMEMBER."/templets/edit_baseinfo.htm"); |
@@ -159,7 +159,7 @@ if ($fmdo == 'sendMail') { | |||||
} | } | ||||
if ($pwd == '') { | if ($pwd == '') { | ||||
ResetVdValue(); | ResetVdValue(); | ||||
ShowMsg('密码不能为空', 'index.php', 0, 2000); | |||||
ShowMsg('密码不能为空', 'index.php'); | |||||
exit(); | exit(); | ||||
} | } | ||||
$isNeed = $cfg_ml->isNeedCheckCode($userid); | $isNeed = $cfg_ml->isNeedCheckCode($userid); | ||||
@@ -175,24 +175,24 @@ if ($fmdo == 'sendMail') { | |||||
$rs = $cfg_ml->CheckUser($userid, $pwd); | $rs = $cfg_ml->CheckUser($userid, $pwd); | ||||
if ($rs == 0) { | if ($rs == 0) { | ||||
ResetVdValue(); | ResetVdValue(); | ||||
ShowMsg('您的账号错误', 'index.php', 0, 2000); | |||||
ShowMsg('您的账号错误', 'index.php'); | |||||
exit(); | exit(); | ||||
} else if ($rs == -1) { | } else if ($rs == -1) { | ||||
ResetVdValue(); | ResetVdValue(); | ||||
ShowMsg('您的密码错误', 'index.php', 0, 2000); | |||||
ShowMsg('您的密码错误', 'index.php'); | |||||
exit(); | exit(); | ||||
} else if ($rs == -2) { | } else if ($rs == -2) { | ||||
ResetVdValue(); | ResetVdValue(); | ||||
ShowMsg('管理员帐号不允许从前台登录', 'index.php', 0, 2000); | |||||
ShowMsg('管理员帐号不允许从前台登录', 'index.php'); | |||||
exit(); | exit(); | ||||
} else { | } else { | ||||
//清除会员缓存 | //清除会员缓存 | ||||
$cfg_ml->DelCache($cfg_ml->M_ID); | $cfg_ml->DelCache($cfg_ml->M_ID); | ||||
if (empty($gourl) || preg_match("#action|_do#i", $gourl)) { | if (empty($gourl) || preg_match("#action|_do#i", $gourl)) { | ||||
ShowMsg('正在登录会员中心,请稍等', 'index.php', 0, 2000); | |||||
ShowMsg('正在登录会员中心,请稍等', 'index.php'); | |||||
} else { | } else { | ||||
$gourl = str_replace('^', '&', $gourl); | $gourl = str_replace('^', '&', $gourl); | ||||
ShowMsg('正在前往指定页面,请稍等', $gourl, 0, 2000); | |||||
ShowMsg('正在前往指定页面,请稍等', $gourl); | |||||
} | } | ||||
exit(); | exit(); | ||||
} | } | ||||
@@ -200,7 +200,7 @@ if ($fmdo == 'sendMail') { | |||||
//退出登录 | //退出登录 | ||||
else if ($dopost == "exit") { | else if ($dopost == "exit") { | ||||
$cfg_ml->ExitCookie(); | $cfg_ml->ExitCookie(); | ||||
ShowMsg('已退出会员中心', 'index.php', 0, 2000); | |||||
ShowMsg('已退出会员中心', 'index.php'); | |||||
exit(); | exit(); | ||||
} | } | ||||
} else if ($fmdo == 'purl'){ | } else if ($fmdo == 'purl'){ | ||||
@@ -47,6 +47,10 @@ if ($step == 1) { | |||||
ShowMsg("您的账号或密码过短,不允许注册", "-1"); | ShowMsg("您的账号或密码过短,不允许注册", "-1"); | ||||
exit(); | exit(); | ||||
} | } | ||||
if (preg_match("#[^0-9a-zA-Z_@!\.-]#", $userid)) { | |||||
ShowMsg('账号不合法,使用[0-9a-zA-Z_@!.-]范围以内字符', '-1'); | |||||
exit(); | |||||
} | |||||
if ($pwdc != $pwd) { | if ($pwdc != $pwd) { | ||||
ShowMsg('您两次输入的密码不一致', '-1'); | ShowMsg('您两次输入的密码不一致', '-1'); | ||||
exit(); | exit(); | ||||
@@ -13,14 +13,14 @@ | |||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | <li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | ||||
<li class="breadcrumb-item">发布<?php echo $cInfos['typename'];?></li></li> | <li class="breadcrumb-item">发布<?php echo $cInfos['typename'];?></li></li> | ||||
</ul> | |||||
<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> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<form name="addcontent" action="album_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<form name="addcontent" action="<?php echo $cfg_memberurl;?>/album_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" name="channelid" value="<?php echo $channelid;?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid;?>"> | ||||
<input type="hidden" name="imagebody" id="imagebody"> | <input type="hidden" name="imagebody" id="imagebody"> | ||||
@@ -89,6 +89,7 @@ | |||||
<div class="text-center"> | <div class="text-center"> | ||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | <button type="submit" class="btn btn-success btn-sm">提交</button> | ||||
<button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | <button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | ||||
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a> | |||||
</div> | </div> | ||||
</form> | </form> | ||||
</div> | </div> | ||||
@@ -13,14 +13,14 @@ | |||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | <li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | ||||
<li class="breadcrumb-item">修改<?php echo $row['title']?></li></li> | <li class="breadcrumb-item">修改<?php echo $row['title']?></li></li> | ||||
</ul> | |||||
<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> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<form name="addcontent" action="album_edit.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<form name="addcontent" action="<?php echo $cfg_memberurl;?>/album_edit.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" name="aid" value="<?php echo $row['id'];?>"> | <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="idhash" value="<?php echo hash('sha256', $row['id'].$cfg_cookie_encode);?>"> | ||||
@@ -116,6 +116,7 @@ | |||||
<div class="text-center"> | <div class="text-center"> | ||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | <button type="submit" class="btn btn-success btn-sm">提交</button> | ||||
<button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | <button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | ||||
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a> | |||||
</div> | </div> | ||||
</form> | </form> | ||||
</div> | </div> | ||||
@@ -13,14 +13,14 @@ | |||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | <li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | ||||
<li class="breadcrumb-item">发布<?php echo $cInfos['typename'];?></li></li> | <li class="breadcrumb-item">发布<?php echo $cInfos['typename'];?></li></li> | ||||
</ul> | |||||
<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> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<form name="addcontent" action="archives_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit(`<?php echo $cInfos['titlename'];?>`);"> | |||||
<form name="addcontent" action="<?php echo $cfg_memberurl;?>/archives_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit(`<?php echo $cInfos['titlename'];?>`);"> | |||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" name="channelid" value="<?php echo $channelid;?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid;?>"> | ||||
<input type="hidden" id="litpic" name="litpic"> | <input type="hidden" id="litpic" name="litpic"> | ||||
@@ -64,6 +64,7 @@ | |||||
<div class="text-center"> | <div class="text-center"> | ||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | <button type="submit" class="btn btn-success btn-sm">提交</button> | ||||
<button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | <button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | ||||
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a> | |||||
</div> | </div> | ||||
</form> | </form> | ||||
</div> | </div> | ||||
@@ -13,14 +13,14 @@ | |||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | <li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | ||||
<li class="breadcrumb-item">修改<?php echo $row['title']?></li></li> | <li class="breadcrumb-item">修改<?php echo $row['title']?></li></li> | ||||
</ul> | |||||
<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> | |||||
</ol> | |||||
</nav> | </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'];?>`);"> | |||||
<form name="addcontent" action="<?php echo $cfg_memberurl;?>/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"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" name="channelid" value="<?php echo $channelid;?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid;?>"> | ||||
<input type="hidden" id="litpic" name="litpic" value="<?php echo $row['litpic'];?>"> | <input type="hidden" id="litpic" name="litpic" value="<?php echo $row['litpic'];?>"> | ||||
@@ -63,6 +63,7 @@ | |||||
<div class="text-center"> | <div class="text-center"> | ||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | <button type="submit" class="btn btn-success btn-sm">提交</button> | ||||
<button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | <button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | ||||
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a> | |||||
</div> | </div> | ||||
</form> | </form> | ||||
</div> | </div> | ||||
@@ -13,14 +13,14 @@ | |||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | <li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | ||||
<li class="breadcrumb-item">发布<?php echo $cInfos['typename'];?></li></li> | <li class="breadcrumb-item">发布<?php echo $cInfos['typename'];?></li></li> | ||||
</ul> | |||||
<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> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<form name="addcontent" action="archives_sg_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit(`<?php echo $cInfos['titlename'];?>`);"> | |||||
<form name="addcontent" action="<?php echo $cfg_memberurl;?>/archives_sg_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit(`<?php echo $cInfos['titlename'];?>`);"> | |||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" name="channelid" value="<?php echo $channelid;?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid;?>"> | ||||
<input type="hidden" id="litpic" name="litpic"> | <input type="hidden" id="litpic" name="litpic"> | ||||
@@ -60,6 +60,7 @@ | |||||
<div class="text-center"> | <div class="text-center"> | ||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | <button type="submit" class="btn btn-success btn-sm">提交</button> | ||||
<button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | <button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | ||||
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a> | |||||
</div> | </div> | ||||
</form> | </form> | ||||
</div> | </div> | ||||
@@ -13,14 +13,14 @@ | |||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | <li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | ||||
<li class="breadcrumb-item">修改<?php echo $row['title']?></li></li> | <li class="breadcrumb-item">修改<?php echo $row['title']?></li></li> | ||||
</ul> | |||||
<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> | |||||
</ol> | |||||
</nav> | </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'];?>`);"> | |||||
<form name="addcontent" action="<?php echo $cfg_memberurl;?>/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"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" name="channelid" value="<?php echo $channelid;?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid;?>"> | ||||
<input type="hidden" id="litpic" name="litpic" value="<?php echo $addRow['litpic'];?>"> | <input type="hidden" id="litpic" name="litpic" value="<?php echo $addRow['litpic'];?>"> | ||||
@@ -59,6 +59,7 @@ | |||||
<div class="text-center"> | <div class="text-center"> | ||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | <button type="submit" class="btn btn-success btn-sm">提交</button> | ||||
<button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | <button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | ||||
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a> | |||||
</div> | </div> | ||||
</form> | </form> | ||||
</div> | </div> | ||||
@@ -13,14 +13,14 @@ | |||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | <li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | ||||
<li class="breadcrumb-item">发布<?php echo $cInfos['typename'];?></li></li> | <li class="breadcrumb-item">发布<?php echo $cInfos['typename'];?></li></li> | ||||
</ul> | |||||
<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> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<form name="addcontent" action="article_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit(`<?php echo $cInfos['titlename'];?>`);"> | |||||
<form name="addcontent" action="<?php echo $cfg_memberurl;?>/article_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit(`<?php echo $cInfos['titlename'];?>`);"> | |||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" name="channelid" value="<?php echo $channelid;?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid;?>"> | ||||
<input type="hidden" id="litpic" name="litpic"> | <input type="hidden" id="litpic" name="litpic"> | ||||
@@ -68,6 +68,7 @@ | |||||
<div class="text-center"> | <div class="text-center"> | ||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | <button type="submit" class="btn btn-success btn-sm">提交</button> | ||||
<button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | <button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | ||||
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a> | |||||
</div> | </div> | ||||
</form> | </form> | ||||
</div> | </div> | ||||
@@ -13,14 +13,14 @@ | |||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | <li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | ||||
<li class="breadcrumb-item">修改<?php echo $row['title']?></li></li> | <li class="breadcrumb-item">修改<?php echo $row['title']?></li></li> | ||||
</ul> | |||||
<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> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<form name="addcontent" action="article_edit.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit(`<?php echo $cInfos['titlename'];?>`);"> | |||||
<form name="addcontent" action="<?php echo $cfg_memberurl;?>/article_edit.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit(`<?php echo $cInfos['titlename'];?>`);"> | |||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" name="aid" value="<?php echo $row['id'];?>"> | <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="idhash" value="<?php echo hash('sha256', $row['id'].$cfg_cookie_encode);?>"> | ||||
@@ -71,6 +71,7 @@ | |||||
<div class="text-center"> | <div class="text-center"> | ||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | <button type="submit" class="btn btn-success btn-sm">提交</button> | ||||
<button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | <button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | ||||
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a> | |||||
</div> | </div> | ||||
</form> | </form> | ||||
</div> | </div> | ||||
@@ -16,12 +16,12 @@ | |||||
<?php include(DEDEMEMBER."/templets/menu.htm");?> | <?php include(DEDEMEMBER."/templets/menu.htm");?> | ||||
<div class="col-md-9"> | <div class="col-md-9"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | <li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | ||||
<li class="breadcrumb-item">积分钱包</li></li> | <li class="breadcrumb-item">积分钱包</li></li> | ||||
</ul> | |||||
<span class="navbar-text"><a href="javascript:history.back(-1);" class="btn btn-outline-success btn-sm">返回</a></span> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<div class="alert alert-success"><?php echo $cfg_ml->GetSta();?></div> | <div class="alert alert-success"><?php echo $cfg_ml->GetSta();?></div> | ||||
<?php if ($cfg_money_scores > 0) {?> | <?php if ($cfg_money_scores > 0) {?> | ||||
@@ -29,7 +29,7 @@ | |||||
<div class="pb-3"> | <div class="pb-3"> | ||||
<h3 class="mb-3">积分换金币</h3> | <h3 class="mb-3">积分换金币</h3> | ||||
<p><?php echo "兑换价格{$cfg_money_scores}积分/个,您目前可兑换金币{$canCav}";?></p> | <p><?php echo "兑换价格{$cfg_money_scores}积分/个,您目前可兑换金币{$canCav}";?></p> | ||||
<form name="formrank" action="index_do.php?dopost=money2s&fmdo=user" method="post"> | |||||
<form name="formrank" action="<?php echo $cfg_memberurl;?>/index_do.php?dopost=money2s&fmdo=user" method="post"> | |||||
<table class="table"> | <table class="table"> | ||||
<tbody> | <tbody> | ||||
<tr> | <tr> | ||||
@@ -47,7 +47,7 @@ | |||||
<?php }?> | <?php }?> | ||||
<div class="pb-3"> | <div class="pb-3"> | ||||
<h3 class="mb-3">积分充值</h3> | <h3 class="mb-3">积分充值</h3> | ||||
<form name="formrank" action="check_card.php" method="post"> | |||||
<form name="formrank" action="<?php echo $cfg_memberurl;?>/check_card.php" method="post"> | |||||
<table class="table"> | <table class="table"> | ||||
<tbody> | <tbody> | ||||
<tr> | <tr> | ||||
@@ -71,7 +71,7 @@ | |||||
</div> | </div> | ||||
<div class="pb-3"> | <div class="pb-3"> | ||||
<h3 class="mb-3">购买金币</h3> | <h3 class="mb-3">购买金币</h3> | ||||
<form name="f1" action="buy_action.php" method="post"> | |||||
<form name="f1" action="<?php echo $cfg_memberurl;?>/buy_action.php" method="post"> | |||||
<input type="hidden" name="product" value="card"> | <input type="hidden" name="product" value="card"> | ||||
<table class="table"> | <table class="table"> | ||||
<tr> | <tr> | ||||
@@ -89,7 +89,7 @@ | |||||
</div> | </div> | ||||
<div> | <div> | ||||
<h3 class="mb-3">账号升级</h3> | <h3 class="mb-3">账号升级</h3> | ||||
<form name="f1" action="buy_action.php" method="post"> | |||||
<form name="f1" action="<?php echo $cfg_memberurl;?>/buy_action.php" method="post"> | |||||
<input type="hidden" name="product" value="member"> | <input type="hidden" name="product" value="member"> | ||||
<table class="table"> | <table class="table"> | ||||
<tr> | <tr> | ||||
@@ -16,17 +16,17 @@ | |||||
<?php include(DEDEMEMBER."/templets/menu.htm");?> | <?php include(DEDEMEMBER."/templets/menu.htm");?> | ||||
<div class="col-md-9"> | <div class="col-md-9"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | <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> | <li class="breadcrumb-item">确认订单</li></li> | ||||
</ul> | |||||
<span class="navbar-text"><a href="javascript:history.back(-1);" class="btn btn-outline-success btn-sm">返回</a></span> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<div class="alert alert-success">您申请购买的产品如下,确认无误后请点击购买并支付按钮,进行网上支付,如果支付失败,请与管理员联系其它支付方式</div> | <div class="alert alert-success">您申请购买的产品如下,确认无误后请点击购买并支付按钮,进行网上支付,如果支付失败,请与管理员联系其它支付方式</div> | ||||
<h3 class="py-3">订单确认</h3> | <h3 class="py-3">订单确认</h3> | ||||
<form method="post" name="E_FORM" action="buy_action.php"> | |||||
<form name="E_FORM" action="<?php echo $cfg_memberurl;?>/buy_action.php" method="post"> | |||||
<input type="hidden" name="pd_encode" value="<?php echo $pr_encode;?>"> | <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="pd_verify" value="<?php echo $pr_verify;?>"> | ||||
<input type="hidden" name="aid" value="<?php echo $buyid;?>"> | <input type="hidden" name="aid" value="<?php echo $buyid;?>"> | ||||
@@ -19,18 +19,17 @@ | |||||
<?php include(DEDEMEMBER."/templets/menu.htm");?> | <?php include(DEDEMEMBER."/templets/menu.htm");?> | ||||
<div class="col-md-9"> | <div class="col-md-9"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="navbar-nav mr-auto"> | |||||
<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> | |||||
</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> | |||||
<ul class="nav mb-3"> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="nav-link <?php echo ($arcrank=='') ? 'active':'';?>">全部</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>&arcrank=1" class="nav-link <?php echo ($arcrank=='1') ? 'active':'';?>">已审核</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>&arcrank=-1" class="nav-link <?php echo ($arcrank=='-1') ? 'active':'';?>">未审核</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/archives_do.php?dopost=addArc&channelid=<?php echo $channelid;?>" class="nav-link">发布</a></li> | |||||
</ul> | |||||
<div class="table-responsive"> | <div class="table-responsive"> | ||||
<table class="table"> | <table class="table"> | ||||
<thead> | <thead> | ||||
<tr> | <tr> | ||||
<th width="8%">#</th> | |||||
<th width="26%">文档标题</th> | <th width="26%">文档标题</th> | ||||
<th width="16%">栏目</th> | <th width="16%">栏目</th> | ||||
<th width="16%">状态</th> | <th width="16%">状态</th> | ||||
@@ -41,12 +40,13 @@ | |||||
<tbody> | <tbody> | ||||
{dede:datalist} | {dede:datalist} | ||||
<tr> | <tr> | ||||
<td><?php echo $fields['id'];?></td> | |||||
<td><a href="<?php echo $cfg_phpurl;?>/view.php?aid=<?php echo $fields['id'];?>"><?php echo $fields['title'];?><?php echo IsPicArchives($fields['flag']);?></a></td> | <td><a href="<?php echo $cfg_phpurl;?>/view.php?aid=<?php echo $fields['id'];?>"><?php echo $fields['title'];?><?php echo IsPicArchives($fields['flag']);?></a></td> | ||||
<td><?php echo $fields['typename'];?></td> | <td><?php echo $fields['typename'];?></td> | ||||
<td> | <td> | ||||
<?php | <?php | ||||
if ($fields['arcrank']>=0) echo '已审核'; | if ($fields['arcrank']>=0) echo '已审核'; | ||||
else if ($fields['arcrank']==-2) echo '审核失败'; | |||||
else if ($fields['arcrank']==-2) echo '失败'; | |||||
else echo '未审核'; | else echo '未审核'; | ||||
?> | ?> | ||||
</td> | </td> | ||||
@@ -19,18 +19,17 @@ | |||||
<?php include(DEDEMEMBER."/templets/menu.htm");?> | <?php include(DEDEMEMBER."/templets/menu.htm");?> | ||||
<div class="col-md-9"> | <div class="col-md-9"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="navbar-nav mr-auto"> | |||||
<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> | |||||
</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> | |||||
<ul class="nav mb-3"> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/content_sg_list.php?channelid=<?php echo $channelid;?>" class="nav-link <?php echo ($arcrank=='') ? 'active':'';?>">全部</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/content_sg_list.php?channelid=<?php echo $channelid;?>&arcrank=1" class="nav-link <?php echo ($arcrank=='1') ? 'active':'';?>">已审核</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/content_sg_list.php?channelid=<?php echo $channelid;?>&arcrank=-1" class="nav-link <?php echo ($arcrank=='-1') ? 'active':'';?>">未审核</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/archives_do.php?dopost=addArc&channelid=<?php echo $channelid;?>" class="nav-link">发布</a></li> | |||||
</ul> | |||||
<div class="table-responsive"> | <div class="table-responsive"> | ||||
<table class="table"> | <table class="table"> | ||||
<thead> | <thead> | ||||
<tr> | <tr> | ||||
<th width="8%">#</th> | |||||
<th width="26%">文档标题</th> | <th width="26%">文档标题</th> | ||||
<th width="16%">栏目</th> | <th width="16%">栏目</th> | ||||
<th width="16%">状态</th> | <th width="16%">状态</th> | ||||
@@ -41,12 +40,13 @@ | |||||
<tbody> | <tbody> | ||||
{dede:datalist} | {dede:datalist} | ||||
<tr> | <tr> | ||||
<td><?php echo $fields['aid'];?></td> | |||||
<td><a href="<?php echo $cfg_phpurl;?>/view.php?aid=<?php echo $fields['aid'];?>"><?php echo $fields['title'];?></a></td> | <td><a href="<?php echo $cfg_phpurl;?>/view.php?aid=<?php echo $fields['aid'];?>"><?php echo $fields['title'];?></a></td> | ||||
<td><?php echo $fields['typename'];?></td> | <td><?php echo $fields['typename'];?></td> | ||||
<td> | <td> | ||||
<?php | <?php | ||||
if ($fields['arcrank'] >= 0) echo '已审核'; | if ($fields['arcrank'] >= 0) echo '已审核'; | ||||
else if ($fields['arcrank'] == -2) echo '审核失败'; | |||||
else if ($fields['arcrank'] == -2) echo '失败'; | |||||
else echo '未审核'; | else echo '未审核'; | ||||
?> | ?> | ||||
</td> | </td> | ||||
@@ -20,7 +20,7 @@ | |||||
<?php include(DEDEMEMBER."/templets/menu.htm");?> | <?php include(DEDEMEMBER."/templets/menu.htm");?> | ||||
<div class="col-md-9"> | <div class="col-md-9"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<form name="form2" action="edit_baseinfo.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<form name="form2" action="<?php echo $cfg_memberurl;?>/edit_baseinfo.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | <input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | ||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" id="newface" name="newface"> | <input type="hidden" id="newface" name="newface"> | ||||
@@ -24,20 +24,20 @@ | |||||
<table class="table"> | <table class="table"> | ||||
<thead> | <thead> | ||||
<tr> | <tr> | ||||
<th width="8%">#</th> | |||||
<th width="8%">选择</th> | <th width="8%">选择</th> | ||||
<th width="8%">id</th> | |||||
<th>标题</th> | <th>标题</th> | ||||
<th width="16%">需要金币</th> | <th width="16%">需要金币</th> | ||||
<th width="16%">消费时间</th> | <th width="16%">消费时间</th> | ||||
</tr> | </tr> | ||||
</thead> | </thead> | ||||
<form name="form1" action="mypay.php" method="post"> | |||||
<form name="form1" action="<?php echo $cfg_memberurl;?>/mypay.php" method="post"> | |||||
<input type="hidden" name="dopost" value="del"> | <input type="hidden" name="dopost" value="del"> | ||||
<tbody> | <tbody> | ||||
{dede:datalist} | {dede:datalist} | ||||
<tr> | <tr> | ||||
<td><input type="checkbox" name="deleteid" value="{dede:field.aid/}" /></td> | |||||
<td><?php echo $fields['aid'];?></td> | <td><?php echo $fields['aid'];?></td> | ||||
<td><input type="checkbox" name="deleteid" value="{dede:field.aid/}"></td> | |||||
<td><?php echo '<a href="<?php echo $cfg_phpurl;?>/view.php?aid='.str_replace('ARCHIVE', '', $fields['buyid']).'">'.$fields['oldinfo'].'</a>';?></td> | <td><?php echo '<a href="<?php echo $cfg_phpurl;?>/view.php?aid='.str_replace('ARCHIVE', '', $fields['buyid']).'">'.$fields['oldinfo'].'</a>';?></td> | ||||
<td><?php echo $fields['money'];?></td> | <td><?php echo $fields['money'];?></td> | ||||
<td><?php echo GetDateTimeMk($fields['mtime']);?></td> | <td><?php echo GetDateTimeMk($fields['mtime']);?></td> | ||||
@@ -19,16 +19,15 @@ | |||||
<?php include(DEDEMEMBER."/templets/menu.htm");?> | <?php include(DEDEMEMBER."/templets/menu.htm");?> | ||||
<div class="col-md-9"> | <div class="col-md-9"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="navbar-nav mr-auto"> | |||||
<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> | |||||
</nav> | |||||
<ul class="nav mb-3"> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/mystow.php" class="nav-link <?php echo $rank==='' ? 'active':'';?>">我的收藏</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/mystow.php?rank=top" class="nav-link <?php echo $rank==='top' ? 'active':'';?>">收藏排行</a></li> | |||||
</ul> | |||||
<table class="table"> | <table class="table"> | ||||
<tbody> | <tbody> | ||||
<thead> | <thead> | ||||
<tr> | <tr> | ||||
<th width="8%">#</th> | |||||
<th>标题</th> | <th>标题</th> | ||||
<th width="26%">收藏时间</th> | <th width="26%">收藏时间</th> | ||||
<th width="26%">操作</th> | <th width="26%">操作</th> | ||||
@@ -36,7 +35,8 @@ | |||||
</thead> | </thead> | ||||
{dede:datalist} | {dede:datalist} | ||||
<tr> | <tr> | ||||
<td><a href="archives_do.php?dopost=viewArchives&aid={dede:field.aid/}">{dede:field.title/}</a></td> | |||||
<td>{dede:field.aid/}</td> | |||||
<td>{dede:field.title/}</td> | |||||
<td><?php echo MyDate('Y-m-d H:i:s', $fields['addtime']);?></td> | <td><?php echo MyDate('Y-m-d H:i:s', $fields['addtime']);?></td> | ||||
<td> | <td> | ||||
<a href="<?php echo $cfg_phpurl;?>/recommend.php?type={dede:field.type/}&aid={dede:field.aid/}" class="btn btn-success btn-sm">推荐</a> | <a href="<?php echo $cfg_phpurl;?>/recommend.php?type={dede:field.type/}&aid={dede:field.aid/}" class="btn btn-success btn-sm">推荐</a> | ||||
@@ -24,6 +24,7 @@ | |||||
<table class="table"> | <table class="table"> | ||||
<thead> | <thead> | ||||
<tr> | <tr> | ||||
<th width="8%">#</th> | |||||
<th width="8%">选择</th> | <th width="8%">选择</th> | ||||
<th width="16%">订单号</th> | <th width="16%">订单号</th> | ||||
<th>产品</th> | <th>产品</th> | ||||
@@ -33,10 +34,11 @@ | |||||
</tr> | </tr> | ||||
</thead> | </thead> | ||||
<tbody> | <tbody> | ||||
<form name="form1" action="operation.php" method="post"> | |||||
<form name="form1" action="<?php echo $cfg_memberurl;?>/operation.php" method="post"> | |||||
<input type="hidden" name="ftype" value="del"> | <input type="hidden" name="ftype" value="del"> | ||||
{dede:datalist} | {dede:datalist} | ||||
<tr> | <tr> | ||||
<td>{dede:field.aid/}</td> | |||||
<td><input type="checkbox" name="deleteid" value="{dede:field.aid/}"></td> | <td><input type="checkbox" name="deleteid" value="{dede:field.aid/}"></td> | ||||
<td>{dede:field.buyid/}</td> | <td>{dede:field.buyid/}</td> | ||||
<td><?php echo $fields['pname']; ?></td> | <td><?php echo $fields['pname']; ?></td> | ||||
@@ -20,21 +20,20 @@ | |||||
<?php include(DEDEMEMBER."/templets/menu.htm");?> | <?php include(DEDEMEMBER."/templets/menu.htm");?> | ||||
<div class="col-md-9"> | <div class="col-md-9"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="navbar-nav mr-auto"> | |||||
<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> | |||||
<span class="navbar-text"><button type="button" class="btn btn-danger btn-sm" onclick="DoSubmit('<?php echo $folder;?>')">删除</button></span> | |||||
</nav> | |||||
<ul class="nav mb-3"> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/pm.php?folder=<?php echo $folder;?>" class="nav-link <?php if ($state === 0) echo 'active';?>">全部</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/pm.php?folder=<?php echo $folder;?>&state=1" class="nav-link <?php if ($state === 1) echo 'active';?>">已阅读</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/pm.php?folder=<?php echo $folder;?>&state=-1" class="nav-link <?php if ($state === -1) echo 'active';?>">未阅读</a></li> | |||||
<li class="nav-item"><a href="javascript:;" class="nav-link" onclick="DoSubmit('<?php echo $folder;?>')">删除</a></li> | |||||
</ul> | |||||
<div class="table-responsive"> | <div class="table-responsive"> | ||||
<form action="pm.php" method="post" name="form1"> | |||||
<form action="<?php echo $cfg_memberurl;?>/pm.php" method="post" name="form1"> | |||||
<input type="hidden" name="dopost" value="del"> | <input type="hidden" name="dopost" value="del"> | ||||
<div id="feedback-alert"></div> | <div id="feedback-alert"></div> | ||||
<table class="table"> | <table class="table"> | ||||
<thead> | <thead> | ||||
<tr> | <tr> | ||||
<th width="8%">#</th> | |||||
<th width="8%">选择</th> | <th width="8%">选择</th> | ||||
<th>标题</th> | <th>标题</th> | ||||
<th width="16%"> | <th width="16%"> | ||||
@@ -50,6 +49,7 @@ | |||||
<tbody> | <tbody> | ||||
{dede:datalist} | {dede:datalist} | ||||
<tr> | <tr> | ||||
<td>{dede:field.id/}</td> | |||||
<td><input type="checkbox" name="deleteid" value="{dede:field.id/}"></td> | <td><input type="checkbox" name="deleteid" value="{dede:field.id/}"></td> | ||||
<td> | <td> | ||||
<?php | <?php | ||||
@@ -15,7 +15,7 @@ | |||||
<div class="login-from"> | <div class="login-from"> | ||||
<div class="login-box shadow-sm rounded"> | <div class="login-box shadow-sm rounded"> | ||||
<h2 class="text-center mb-3">会员注册</h2> | <h2 class="text-center mb-3">会员注册</h2> | ||||
<form name="form2" action="reg_new.php" method="post" id="regUser"> | |||||
<form name="form2" action="<?php echo $cfg_memberurl;?>/reg_new.php" method="post" id="regUser"> | |||||
<input type="hidden" name="dopost" value="regbase"> | <input type="hidden" name="dopost" value="regbase"> | ||||
<input type="hidden" name="step" value="1"> | <input type="hidden" name="step" value="1"> | ||||
<input type="hidden" name="mtype" value="个人"> | <input type="hidden" name="mtype" value="个人"> | ||||
@@ -13,14 +13,14 @@ | |||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | <li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | ||||
<li class="breadcrumb-item">发布<?php echo $cInfos['typename'];?></li></li> | <li class="breadcrumb-item">发布<?php echo $cInfos['typename'];?></li></li> | ||||
</ul> | |||||
<span class="navbar-text"><a href="javascript:history.back(-1);" class="btn btn-outline-success btn-sm">返回</a></span> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<form name="addcontent" action="soft_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<form name="addcontent" action="<?php echo $cfg_memberurl;?>/soft_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" name="channelid" value="<?php echo $channelid;?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid;?>"> | ||||
<input type="hidden" id="litpic" name="litpic"> | <input type="hidden" id="litpic" name="litpic"> | ||||
@@ -174,6 +174,7 @@ | |||||
<div class="text-center"> | <div class="text-center"> | ||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | <button type="submit" class="btn btn-success btn-sm">提交</button> | ||||
<button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | <button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | ||||
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a> | |||||
</div> | </div> | ||||
</form> | </form> | ||||
</div> | </div> | ||||
@@ -13,14 +13,14 @@ | |||||
<?php obtaintheme('top.htm');?> | <?php obtaintheme('top.htm');?> | ||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<nav class="navbar navbar-expand-lg p-0"> | |||||
<ul class="breadcrumb mr-auto"> | |||||
<nav aria-label="breadcrumb"> | |||||
<ol class="breadcrumb"> | |||||
<li class="breadcrumb-item"><a href="/">首页</a></li> | |||||
<li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | <li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li> | ||||
<li class="breadcrumb-item">修改<?php echo $row['title']?></li></li> | <li class="breadcrumb-item">修改<?php echo $row['title']?></li></li> | ||||
</ul> | |||||
<span class="navbar-text"><a href="javascript:history.back(-1);" class="btn btn-outline-success btn-sm">返回</a></span> | |||||
</ol> | |||||
</nav> | </nav> | ||||
<form name="addcontent" action="soft_edit.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<form name="addcontent" action="<?php echo $cfg_memberurl;?>/soft_edit.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();"> | |||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" name="aid" value="<?php echo $row['id'];?>"> | <input type="hidden" name="aid" value="<?php echo $row['id'];?>"> | ||||
<input type="hidden" name="channelid" value="<?php echo $row['channel'];?>"> | <input type="hidden" name="channelid" value="<?php echo $row['channel'];?>"> | ||||
@@ -171,6 +171,7 @@ | |||||
<div class="text-center"> | <div class="text-center"> | ||||
<button type="submit" class="btn btn-success btn-sm">提交</button> | <button type="submit" class="btn btn-success btn-sm">提交</button> | ||||
<button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | <button type="reset" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | ||||
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a> | |||||
</div> | </div> | ||||
</form> | </form> | ||||
</div> | </div> | ||||