Parcourir la source

修复注册中文账号问题,修复发布次数限制问题,属性优化

tags/6.3.0
叙述、别离 il y a 1 an
Parent
révision
e91415a132
44 fichiers modifiés avec 215 ajouts et 181 suppressions
  1. +3
    -3
      src/admin/file_class.php
  2. +4
    -4
      src/admin/login.php
  3. +2
    -2
      src/admin/member_do.php
  4. +1
    -1
      src/admin/member_toadmin.php
  5. +2
    -2
      src/admin/sys_admin_user_add.php
  6. +3
    -3
      src/admin/sys_admin_user_edit.php
  7. +1
    -1
      src/admin/sys_cache_up.php
  8. +1
    -1
      src/system/memberlogin.class.php
  9. +5
    -4
      src/theme/apps/download_links.htm
  10. +6
    -6
      src/theme/apps/flink_add.htm
  11. +7
    -4
      src/theme/apps/flink_list.htm
  12. +1
    -1
      src/theme/apps/heightsearch.htm
  13. +8
    -5
      src/theme/apps/list_diyform.htm
  14. +9
    -6
      src/theme/apps/post_diyform.htm
  15. +6
    -5
      src/theme/apps/recommend.htm
  16. +5
    -4
      src/theme/apps/showphoto.htm
  17. +8
    -5
      src/theme/apps/view_diyform.htm
  18. +4
    -3
      src/theme/apps/view_msg.htm
  19. +4
    -3
      src/theme/apps/view_msg_catalog.htm
  20. +4
    -3
      src/theme/apps/vote.htm
  21. +4
    -4
      src/user/config.php
  22. +1
    -1
      src/user/edit_baseinfo.php
  23. +7
    -7
      src/user/index_do.php
  24. +4
    -0
      src/user/reg_new.php
  25. +6
    -5
      src/user/templets/album_add.htm
  26. +6
    -5
      src/user/templets/album_edit.htm
  27. +6
    -5
      src/user/templets/archives_add.htm
  28. +6
    -5
      src/user/templets/archives_edit.htm
  29. +6
    -5
      src/user/templets/archives_sg_add.htm
  30. +6
    -5
      src/user/templets/archives_sg_edit.htm
  31. +6
    -5
      src/user/templets/article_add.htm
  32. +6
    -5
      src/user/templets/article_edit.htm
  33. +8
    -8
      src/user/templets/buy.htm
  34. +5
    -5
      src/user/templets/buy_action_payment.htm
  35. +9
    -9
      src/user/templets/content_list.htm
  36. +9
    -9
      src/user/templets/content_sg_list.htm
  37. +1
    -1
      src/user/templets/edit_baseinfo.htm
  38. +3
    -3
      src/user/templets/mypay.htm
  39. +7
    -7
      src/user/templets/mystow.htm
  40. +3
    -1
      src/user/templets/operation.htm
  41. +9
    -9
      src/user/templets/pm-main.htm
  42. +1
    -1
      src/user/templets/reg-new.htm
  43. +6
    -5
      src/user/templets/soft_add.htm
  44. +6
    -5
      src/user/templets/soft_edit.htm

+ 3
- 3
src/admin/file_class.php Voir le fichier

@@ -81,14 +81,14 @@ class FileManagement
copy($oldfile, $truepath."/$mfile");
}
unlink($oldfile);
ShowMsg("成功移动文件", "file_manage_main.php?activepath=$mpath", 0, 1000);
ShowMsg("成功移动文件", "file_manage_main.php?activepath=$mpath");
return 1;
} 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;
}
} else {
ShowMsg("您移动的路径不合法", "-1", 0, 5000);
ShowMsg("您移动的路径不合法", "-1");
return 0;
}
}


+ 4
- 4
src/admin/login.php Voir le fichier

@@ -46,7 +46,7 @@ if ($dopost == 'login') {
$svali = strtolower(GetCkVdValue());
if ($validate == '' || $validate != $svali) {
ResetVdValue();
ShowMsg('验证码不正确', 'login.php', 0, 1000);
ShowMsg('验证码不正确', 'login.php');
exit;
}
}
@@ -62,16 +62,16 @@ if ($dopost == 'login') {
}
} else if ($res == -1) {
ResetVdValue();
ShowMsg('管理员账号错误', 'login.php', 0, 1000);
ShowMsg('管理员账号错误', 'login.php');
exit;
} else {
ResetVdValue();
ShowMsg('管理员密码错误', 'login.php', 0, 1000);
ShowMsg('管理员密码错误', 'login.php');
exit;
}
} else {
ResetVdValue();
ShowMsg('管理员账号和密码没填完整', 'login.php', 0, 1000);
ShowMsg('管理员账号和密码没填完整', 'login.php');
exit;
}
}


+ 2
- 2
src/admin/member_do.php Voir le fichier

@@ -48,7 +48,7 @@ if ($dopost == "delmember") {
$dsql->ExecuteNoneQuery("DELETE FROM `#@__feedback` WHERE mid='$id' ");
$dsql->ExecuteNoneQuery("UPDATE `#@__archives` SET mid='0' WHERE mid='$id'");
} else {
ShowMsg("无法删除此会员,如果这个会员是管理员,必须先删除这个管理员才能删除此帐号", $ENV_GOBACK_URL, 0, 5000);
ShowMsg("无法删除此会员,如果这个会员是管理员,必须先删除这个管理员才能删除此帐号", $ENV_GOBACK_URL);
exit();
}
}
@@ -95,7 +95,7 @@ if ($dopost == "delmember") {
$dsql->ExecuteNoneQuery("DELETE FROM `#@__feedback` WHERE mid IN (".str_replace("`", ",", $id).") ");
$dsql->ExecuteNoneQuery("UPDATE `#@__archives` SET mid='0' WHERE mid IN (".str_replace("`", ",", $id).")");
} else {
ShowMsg("无法删除此会员,如果这个会员是管理员关连的id,必须先删除这个管理员才能删除此帐号", $ENV_GOBACK_URL, 0, 3000);
ShowMsg("无法删除此会员,如果这个会员是管理员关连的id,必须先删除这个管理员才能删除此帐号", $ENV_GOBACK_URL);
exit();
}
}


+ 1
- 1
src/admin/member_toadmin.php Voir le fichier

@@ -18,7 +18,7 @@ $row = array();
if ($dopost == "toadmin") {
$pwd = trim($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();
}
$safecodeok = substr(md5($cfg_cookie_encode.$randcode), 0, 24);


+ 2
- 2
src/admin/sys_admin_user_add.php Voir le fichier

@@ -15,12 +15,12 @@ if (empty($dopost)) $dopost = '';
if ($dopost == 'add') {
CheckCSRF();
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();
}
$safecodeok = substr(md5($cfg_cookie_encode.$randcode), 0, 24);
if ($safecode != $safecodeok) {
ShowMsg('请填写验证安全码', '-1', 0, 3000);
ShowMsg('请填写验证安全码', '-1');
exit();
}
$row = $dsql->GetOne("SELECT COUNT(*) AS dd FROM `#@__member` WHERE userid LIKE '$userid' ");


+ 3
- 3
src/admin/sys_admin_user_edit.php Voir le fichier

@@ -17,11 +17,11 @@ if ($dopost == 'saveedit') {
CheckCSRF();
$pwd = trim($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();
}
if (preg_match("#[^0-9a-zA-Z_@!\.-]#", $userid)) {
ShowMsg('账号不合法,使用[0-9a-zA-Z_@!.-]范围以内字符', '-1', 0, 3000);
ShowMsg('账号不合法,使用[0-9a-zA-Z_@!.-]范围以内字符', '-1');
exit();
}
$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");
ShowMsg("成功删除一个帐户", "sys_admin_user.php");
} else {
ShowMsg("不能删除id为1的创建人帐号,不能删除自己", "sys_admin_user.php", 0, 3000);
ShowMsg("不能删除id为1的创建人帐号,不能删除自己", "sys_admin_user.php");
}
exit();
}


+ 1
- 1
src/admin/sys_cache_up.php Voir le fichier

@@ -55,7 +55,7 @@ if ($dopost == "ok") {
}
//修正错误文档
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();
}
}


+ 1
- 1
src/system/memberlogin.class.php Voir le fichier

@@ -378,7 +378,7 @@ class MemberLogin
{
$arr = $this->dsql->GetOne("SELECT COUNT(*) as dd FROM `#@__arctiny` WHERE mid='{$this->M_ID}'");
if (is_array($arr)) {
if ($this->M_SendMax < 1) {
if ($this->M_SendMax < 0) {
return false;
}
if ($arr['dd'] >= $this->M_SendMax) {


+ 5
- 4
src/theme/apps/download_links.htm Voir le fichier

@@ -12,14 +12,15 @@
<body>
<?php obtaintheme('top.htm');?>
<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>
</nav>
<table class="table mb-0">
<tr>
<td bgcolor="#f8f9fa">下载地址列表:</td>
<td bgcolor="#f8f9fa"><?php echo $title;?>下载地址列表:</td>
</tr>
<tr>
<td><?php echo $downlinks;?></td>


+ 6
- 6
src/theme/apps/flink_add.htm Voir le fichier

@@ -12,14 +12,14 @@
<body>
<?php obtaintheme('top.htm');?>
<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>
</ul>
<span class="navbar-text"><a href="<?php echo '$cfg_phpurl/flink.php';?>" class="btn btn-success btn-sm">查看链接</a></span>
</ol>
</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">
<table class="table mb-0">
<tr>


+ 7
- 4
src/theme/apps/flink_list.htm Voir le fichier

@@ -12,12 +12,15 @@
<body>
<?php obtaintheme('top.htm');?>
<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>
</ul>
<span class="navbar-text"><a href="flink.php?dopost=add" class="btn btn-success btn-sm">申请链接</a></span>
</ol>
</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">
<?php
$row = 100;


+ 1
- 1
src/theme/apps/heightsearch.htm Voir le fichier

@@ -12,7 +12,7 @@
<body>
<?php obtaintheme('top.htm');?>
<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">
<tr>
<td width="160">网站栏目:</td>


+ 8
- 5
src/theme/apps/list_diyform.htm Voir le fichier

@@ -12,12 +12,15 @@
<body>
<?php obtaintheme('top.htm');?>
<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>
<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}
<table class="table">
<?php


+ 9
- 6
src/theme/apps/post_diyform.htm Voir le fichier

@@ -13,14 +13,17 @@
<body>
<?php obtaintheme('top.htm');?>
<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>
</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>
<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="diyid" value="<?php echo $diyid;?>">
<input type="hidden" name="do" value="2">


+ 6
- 5
src/theme/apps/recommend.htm Voir le fichier

@@ -12,12 +12,13 @@
<body>
<?php obtaintheme('top.htm');?>
<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>
<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="action" value="send">
<input type="hidden" name="arcID" value="<?php echo $aid;?>">


+ 5
- 4
src/theme/apps/showphoto.htm Voir le fichier

@@ -12,10 +12,11 @@
<body>
<?php obtaintheme('top.htm');?>
<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>
<table class="table mb-0">
<tr>


+ 8
- 5
src/theme/apps/view_diyform.htm Voir le fichier

@@ -12,13 +12,16 @@
<body>
<?php obtaintheme('top.htm');?>
<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>
</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>
<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">
<?php
echo '<tbody>';


+ 4
- 3
src/theme/apps/view_msg.htm Voir le fichier

@@ -12,10 +12,11 @@
<body>
<?php obtaintheme('top.htm');?>
<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>
</ul>
</ol>
</nav>
<table class="table mb-0">
<tr>


+ 4
- 3
src/theme/apps/view_msg_catalog.htm Voir le fichier

@@ -12,10 +12,11 @@
<body>
<?php obtaintheme('top.htm');?>
<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>
</ul>
</ol>
</nav>
<table class="table mb-0">
<tr>


+ 4
- 3
src/theme/apps/vote.htm Voir le fichier

@@ -12,10 +12,11 @@
<body>
<?php obtaintheme('top.htm');?>
<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>
</ul>
</ol>
</nav>
<p>投票开始时间:<?php echo $starttime;?></p>
<p>投票结束时间:<?php echo $endtime;?></p>


+ 4
- 4
src/user/config.php Voir le fichier

@@ -173,11 +173,11 @@ function CheckRank($rank = 0, $money = 0)
//如果启用注册邮件验证
if ($cfg_ml->fields['spacesta'] == '-10' && !preg_match("#edit_baseinfo.php$#", GetCurUrl())) {
if (empty($cfg_ml->fields['email'])) {
ShowMsg("邮箱地址为空,请设置一个邮箱地址", "edit_baseinfo.php", 0, 5000);
ShowMsg("邮箱地址为空,请设置一个邮箱地址", "edit_baseinfo.php");
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>";
ShowMsg($msg, "javascript:;", 0, 5000);
ShowMsg($msg, "javascript:;");
exit;
}
}
@@ -198,10 +198,10 @@ function CheckRank($rank = 0, $money = 0)
$myname = "注册会员";
}
}
ShowMsg("需要".$needname."才能浏览本页面,您目前等级是".$myname."", "-1", 0, 5000);
ShowMsg("需要".$needname."才能浏览本页面,您目前等级是".$myname."", "-1");
exit();
} else if ($cfg_ml->M_Money < $money) {
ShowMsg("需要".$money."金币才能浏览本页面,您目前金币".$cfg_ml->M_Money."个", "-1", 0, 5000);
ShowMsg("需要".$money."金币才能浏览本页面,您目前金币".$cfg_ml->M_Money."个", "-1");
exit();
}
}


+ 1
- 1
src/user/edit_baseinfo.php Voir le fichier

@@ -109,7 +109,7 @@ if ($dopost == 'save') {
}
//清除会员缓存
$cfg_ml->DelCache($cfg_ml->M_ID);
ShowMsg('成功更新您的基本资料', 'edit_baseinfo.php', 0, 5000);
ShowMsg('成功更新您的基本资料', 'edit_baseinfo.php');
exit();
}
include(DEDEMEMBER."/templets/edit_baseinfo.htm");

+ 7
- 7
src/user/index_do.php Voir le fichier

@@ -159,7 +159,7 @@ if ($fmdo == 'sendMail') {
}
if ($pwd == '') {
ResetVdValue();
ShowMsg('密码不能为空', 'index.php', 0, 2000);
ShowMsg('密码不能为空', 'index.php');
exit();
}
$isNeed = $cfg_ml->isNeedCheckCode($userid);
@@ -175,24 +175,24 @@ if ($fmdo == 'sendMail') {
$rs = $cfg_ml->CheckUser($userid, $pwd);
if ($rs == 0) {
ResetVdValue();
ShowMsg('您的账号错误', 'index.php', 0, 2000);
ShowMsg('您的账号错误', 'index.php');
exit();
} else if ($rs == -1) {
ResetVdValue();
ShowMsg('您的密码错误', 'index.php', 0, 2000);
ShowMsg('您的密码错误', 'index.php');
exit();
} else if ($rs == -2) {
ResetVdValue();
ShowMsg('管理员帐号不允许从前台登录', 'index.php', 0, 2000);
ShowMsg('管理员帐号不允许从前台登录', 'index.php');
exit();
} else {
//清除会员缓存
$cfg_ml->DelCache($cfg_ml->M_ID);
if (empty($gourl) || preg_match("#action|_do#i", $gourl)) {
ShowMsg('正在登录会员中心,请稍等', 'index.php', 0, 2000);
ShowMsg('正在登录会员中心,请稍等', 'index.php');
} else {
$gourl = str_replace('^', '&', $gourl);
ShowMsg('正在前往指定页面,请稍等', $gourl, 0, 2000);
ShowMsg('正在前往指定页面,请稍等', $gourl);
}
exit();
}
@@ -200,7 +200,7 @@ if ($fmdo == 'sendMail') {
//退出登录
else if ($dopost == "exit") {
$cfg_ml->ExitCookie();
ShowMsg('已退出会员中心', 'index.php', 0, 2000);
ShowMsg('已退出会员中心', 'index.php');
exit();
}
} else if ($fmdo == 'purl'){


+ 4
- 0
src/user/reg_new.php Voir le fichier

@@ -47,6 +47,10 @@ if ($step == 1) {
ShowMsg("您的账号或密码过短,不允许注册", "-1");
exit();
}
if (preg_match("#[^0-9a-zA-Z_@!\.-]#", $userid)) {
ShowMsg('账号不合法,使用[0-9a-zA-Z_@!.-]范围以内字符', '-1');
exit();
}
if ($pwdc != $pwd) {
ShowMsg('您两次输入的密码不一致', '-1');
exit();


+ 6
- 5
src/user/templets/album_add.htm Voir le fichier

@@ -13,14 +13,14 @@
<?php obtaintheme('top.htm');?>
<main class="container py-3">
<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">发布<?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>
<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="channelid" value="<?php echo $channelid;?>">
<input type="hidden" name="imagebody" id="imagebody">
@@ -89,6 +89,7 @@
<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>
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a>
</div>
</form>
</div>


+ 6
- 5
src/user/templets/album_edit.htm Voir le fichier

@@ -13,14 +13,14 @@
<?php obtaintheme('top.htm');?>
<main class="container py-3">
<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">修改<?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>
<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="aid" value="<?php echo $row['id'];?>">
<input type="hidden" name="idhash" value="<?php echo hash('sha256', $row['id'].$cfg_cookie_encode);?>">
@@ -116,6 +116,7 @@
<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>
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a>
</div>
</form>
</div>


+ 6
- 5
src/user/templets/archives_add.htm Voir le fichier

@@ -13,14 +13,14 @@
<?php obtaintheme('top.htm');?>
<main class="container py-3">
<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">发布<?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>
<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="channelid" value="<?php echo $channelid;?>">
<input type="hidden" id="litpic" name="litpic">
@@ -64,6 +64,7 @@
<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>
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a>
</div>
</form>
</div>


+ 6
- 5
src/user/templets/archives_edit.htm Voir le fichier

@@ -13,14 +13,14 @@
<?php obtaintheme('top.htm');?>
<main class="container py-3">
<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">修改<?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>
<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="channelid" value="<?php echo $channelid;?>">
<input type="hidden" id="litpic" name="litpic" value="<?php echo $row['litpic'];?>">
@@ -63,6 +63,7 @@
<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>
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a>
</div>
</form>
</div>


+ 6
- 5
src/user/templets/archives_sg_add.htm Voir le fichier

@@ -13,14 +13,14 @@
<?php obtaintheme('top.htm');?>
<main class="container py-3">
<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">发布<?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>
<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="channelid" value="<?php echo $channelid;?>">
<input type="hidden" id="litpic" name="litpic">
@@ -60,6 +60,7 @@
<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>
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a>
</div>
</form>
</div>


+ 6
- 5
src/user/templets/archives_sg_edit.htm Voir le fichier

@@ -13,14 +13,14 @@
<?php obtaintheme('top.htm');?>
<main class="container py-3">
<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">修改<?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>
<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="channelid" value="<?php echo $channelid;?>">
<input type="hidden" id="litpic" name="litpic" value="<?php echo $addRow['litpic'];?>">
@@ -59,6 +59,7 @@
<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>
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a>
</div>
</form>
</div>


+ 6
- 5
src/user/templets/article_add.htm Voir le fichier

@@ -13,14 +13,14 @@
<?php obtaintheme('top.htm');?>
<main class="container py-3">
<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">发布<?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>
<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="channelid" value="<?php echo $channelid;?>">
<input type="hidden" id="litpic" name="litpic">
@@ -68,6 +68,7 @@
<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>
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a>
</div>
</form>
</div>


+ 6
- 5
src/user/templets/article_edit.htm Voir le fichier

@@ -13,14 +13,14 @@
<?php obtaintheme('top.htm');?>
<main class="container py-3">
<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">修改<?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>
<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="aid" value="<?php echo $row['id'];?>">
<input type="hidden" name="idhash" value="<?php echo hash('sha256', $row['id'].$cfg_cookie_encode);?>">
@@ -71,6 +71,7 @@
<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>
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a>
</div>
</form>
</div>


+ 8
- 8
src/user/templets/buy.htm Voir le fichier

@@ -16,12 +16,12 @@
<?php include(DEDEMEMBER."/templets/menu.htm");?>
<div class="col-md-9">
<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">积分钱包</li></li>
</ul>
<span class="navbar-text"><a href="javascript:history.back(-1);" class="btn btn-outline-success btn-sm">返回</a></span>
</ol>
</nav>
<div class="alert alert-success"><?php echo $cfg_ml->GetSta();?></div>
<?php if ($cfg_money_scores > 0) {?>
@@ -29,7 +29,7 @@
<div class="pb-3">
<h3 class="mb-3">积分换金币</h3>
<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">
<tbody>
<tr>
@@ -47,7 +47,7 @@
<?php }?>
<div class="pb-3">
<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">
<tbody>
<tr>
@@ -71,7 +71,7 @@
</div>
<div class="pb-3">
<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">
<table class="table">
<tr>
@@ -89,7 +89,7 @@
</div>
<div>
<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">
<table class="table">
<tr>


+ 5
- 5
src/user/templets/buy_action_payment.htm Voir le fichier

@@ -16,17 +16,17 @@
<?php include(DEDEMEMBER."/templets/menu.htm");?>
<div class="col-md-9">
<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;?>/buy.php">积分钱包</a></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>
<div class="alert alert-success">您申请购买的产品如下,确认无误后请点击购买并支付按钮,进行网上支付,如果支付失败,请与管理员联系其它支付方式</div>
<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_verify" value="<?php echo $pr_verify;?>">
<input type="hidden" name="aid" value="<?php echo $buyid;?>">


+ 9
- 9
src/user/templets/content_list.htm Voir le fichier

@@ -19,18 +19,17 @@
<?php include(DEDEMEMBER."/templets/menu.htm");?>
<div class="col-md-9">
<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">
<table class="table">
<thead>
<tr>
<th width="8%">#</th>
<th width="26%">文档标题</th>
<th width="16%">栏目</th>
<th width="16%">状态</th>
@@ -41,12 +40,13 @@
<tbody>
{dede:datalist}
<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><?php echo $fields['typename'];?></td>
<td>
<?php
if ($fields['arcrank']>=0) echo '已审核';
else if ($fields['arcrank']==-2) echo '审核失败';
else if ($fields['arcrank']==-2) echo '失败';
else echo '未审核';
?>
</td>


+ 9
- 9
src/user/templets/content_sg_list.htm Voir le fichier

@@ -19,18 +19,17 @@
<?php include(DEDEMEMBER."/templets/menu.htm");?>
<div class="col-md-9">
<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">
<table class="table">
<thead>
<tr>
<th width="8%">#</th>
<th width="26%">文档标题</th>
<th width="16%">栏目</th>
<th width="16%">状态</th>
@@ -41,12 +40,13 @@
<tbody>
{dede:datalist}
<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><?php echo $fields['typename'];?></td>
<td>
<?php
if ($fields['arcrank'] >= 0) echo '已审核';
else if ($fields['arcrank'] == -2) echo '审核失败';
else if ($fields['arcrank'] == -2) echo '失败';
else echo '未审核';
?>
</td>


+ 1
- 1
src/user/templets/edit_baseinfo.htm Voir le fichier

@@ -20,7 +20,7 @@
<?php include(DEDEMEMBER."/templets/menu.htm");?>
<div class="col-md-9">
<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="dopost" value="save">
<input type="hidden" id="newface" name="newface">


+ 3
- 3
src/user/templets/mypay.htm Voir le fichier

@@ -24,20 +24,20 @@
<table class="table">
<thead>
<tr>
<th width="8%">#</th>
<th width="8%">选择</th>
<th width="8%">id</th>
<th>标题</th>
<th width="16%">需要金币</th>
<th width="16%">消费时间</th>
</tr>
</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">
<tbody>
{dede:datalist}
<tr>
<td><input type="checkbox" name="deleteid" value="{dede:field.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 $fields['money'];?></td>
<td><?php echo GetDateTimeMk($fields['mtime']);?></td>


+ 7
- 7
src/user/templets/mystow.htm Voir le fichier

@@ -19,16 +19,15 @@
<?php include(DEDEMEMBER."/templets/menu.htm");?>
<div class="col-md-9">
<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">
<tbody>
<thead>
<tr>
<th width="8%">#</th>
<th>标题</th>
<th width="26%">收藏时间</th>
<th width="26%">操作</th>
@@ -36,7 +35,8 @@
</thead>
{dede:datalist}
<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>
<a href="<?php echo $cfg_phpurl;?>/recommend.php?type={dede:field.type/}&aid={dede:field.aid/}" class="btn btn-success btn-sm">推荐</a>


+ 3
- 1
src/user/templets/operation.htm Voir le fichier

@@ -24,6 +24,7 @@
<table class="table">
<thead>
<tr>
<th width="8%">#</th>
<th width="8%">选择</th>
<th width="16%">订单号</th>
<th>产品</th>
@@ -33,10 +34,11 @@
</tr>
</thead>
<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">
{dede:datalist}
<tr>
<td>{dede:field.aid/}</td>
<td><input type="checkbox" name="deleteid" value="{dede:field.aid/}"></td>
<td>{dede:field.buyid/}</td>
<td><?php echo $fields['pname']; ?></td>


+ 9
- 9
src/user/templets/pm-main.htm Voir le fichier

@@ -20,21 +20,20 @@
<?php include(DEDEMEMBER."/templets/menu.htm");?>
<div class="col-md-9">
<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">
<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">
<div id="feedback-alert"></div>
<table class="table">
<thead>
<tr>
<th width="8%">#</th>
<th width="8%">选择</th>
<th>标题</th>
<th width="16%">
@@ -50,6 +49,7 @@
<tbody>
{dede:datalist}
<tr>
<td>{dede:field.id/}</td>
<td><input type="checkbox" name="deleteid" value="{dede:field.id/}"></td>
<td>
<?php


+ 1
- 1
src/user/templets/reg-new.htm Voir le fichier

@@ -15,7 +15,7 @@
<div class="login-from">
<div class="login-box shadow-sm rounded">
<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="step" value="1">
<input type="hidden" name="mtype" value="个人">


+ 6
- 5
src/user/templets/soft_add.htm Voir le fichier

@@ -13,14 +13,14 @@
<?php obtaintheme('top.htm');?>
<main class="container py-3">
<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">发布<?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>
<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="channelid" value="<?php echo $channelid;?>">
<input type="hidden" id="litpic" name="litpic">
@@ -174,6 +174,7 @@
<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>
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a>
</div>
</form>
</div>


+ 6
- 5
src/user/templets/soft_edit.htm Voir le fichier

@@ -13,14 +13,14 @@
<?php obtaintheme('top.htm');?>
<main class="container py-3">
<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">修改<?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>
<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="aid" value="<?php echo $row['id'];?>">
<input type="hidden" name="channelid" value="<?php echo $row['channel'];?>">
@@ -171,6 +171,7 @@
<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>
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="btn btn-outline-success btn-sm">返回</a>
</div>
</form>
</div>


Chargement…
Annuler
Enregistrer