Browse Source

会员修改和细节优化

tags/6.1.8
xushubieli 2 years ago
parent
commit
bc866496f5
16 changed files with 78 additions and 90 deletions
  1. +1
    -1
      src/admin/templets/friendlink_type.htm
  2. +1
    -1
      src/admin/templets/media_add.htm
  3. +2
    -2
      src/admin/templets/media_edit.htm
  4. +1
    -1
      src/admin/templets/member_toadmin.htm
  5. +62
    -74
      src/admin/templets/member_view.htm
  6. +1
    -1
      src/admin/templets/mytag_add.htm
  7. +1
    -1
      src/admin/templets/mytag_edit.htm
  8. +1
    -1
      src/admin/templets/soft_config.htm
  9. +1
    -1
      src/admin/templets/sys_admin_user_add.htm
  10. +1
    -1
      src/admin/templets/sys_admin_user_edit.htm
  11. +1
    -1
      src/admin/templets/sys_data.htm
  12. +1
    -1
      src/admin/templets/sys_data_revert.htm
  13. +1
    -1
      src/admin/templets/sys_sql_query.htm
  14. +1
    -1
      src/admin/templets/templets_one_add.htm
  15. +1
    -1
      src/admin/templets/templets_one_edit.htm
  16. +1
    -1
      src/admin/templets/vote_getcode.htm

+ 1
- 1
src/admin/templets/friendlink_type.htm View File

@@ -12,7 +12,7 @@
<form name="form1" action="friendlink_type.php" method="post">
<input type="hidden" name="dopost" value="save">
<tr>
<td height="20" background="../static/web/img/tbg.gif" colspan="9" style="padding-left:10px">
<td height="26" background="../static/web/img/tbg.gif" colspan="9" style="padding-left:10px">
<a href="friendlink_main.php">友情链接管理</a>&nbsp;
<a href="friendlink_add.php" class="btn btn-success btn-sm">增加链接</a>
<a href="friendlink_type.php" class="btn btn-success btn-sm">网站类型管理</a>


+ 1
- 1
src/admin/templets/media_add.htm View File

@@ -57,7 +57,7 @@
</td>
</tr>
<tr>
<td height="20" bgcolor="#ffffff"><img src="../static/web/img/help.gif">提示:图片类型仅支持jpg、png、gif、wbmp格式,flash为.swf格式,视音频和附件为限定扩展名的类型(可在系统参数中修改)</td>
<td height="26" bgcolor="#ffffff"><img src="../static/web/img/help.gif">提示:图片类型仅支持jpg、png、gif、wbmp格式,flash为.swf格式,视音频和附件为限定扩展名的类型(可在系统参数中修改)</td>
</tr>
<tr>
<td height="69" align="center" valign="top" bgcolor="#ffffff">


+ 2
- 2
src/admin/templets/media_edit.htm View File

@@ -30,7 +30,7 @@
<table width="99%" align="center" border="0" cellpadding="3" cellspacing="1"
class="table maintable mt-3">
<tr>
<td height="20" background='../static/web/img/tbg.gif'>
<td height="26" background='../static/web/img/tbg.gif'>
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="2%" align="center" valign="middle"><img src="../static/web/img/item_tt2.gif"></td>
@@ -41,7 +41,7 @@
</td>
</tr>
<tr>
<td height="20" bgcolor="#ffffff">
<td height="26" bgcolor="#ffffff">
<div class="alert alert-info mb-0">
<i class="fa fa-info-circle"></i> 提示:图片类型仅支持jpg、png、gif、wbmp格式,flash为.swf格式,视音频和附件为限定扩展名的类型(可在系统参数中修改)
</div>


+ 1
- 1
src/admin/templets/member_toadmin.htm View File

@@ -28,7 +28,7 @@
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3">
<tr>
<td height="20" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href='<?php echo $ENV_GOBACK_URL; ?>'>会员管理</a> &gt; 提升为管理员</td>
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href='<?php echo $ENV_GOBACK_URL; ?>'>会员管理</a> &gt; 提升为管理员</td>
</tr>
<tr>
<td height="200" bgcolor="#ffffff" align='center'><?php


+ 62
- 74
src/admin/templets/member_view.htm View File

@@ -31,7 +31,7 @@ function checkSubmit()
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3">
<tr>
<td height="20" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href='<?php echo $ENV_GOBACK_URL; ?>'>会员管理</a> &gt; 查看会员</td>
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href='<?php echo $ENV_GOBACK_URL; ?>'>会员管理</a> &gt; 查看会员</td>
</tr>
<tr>
<td height="200" bgcolor="#ffffff" align='center'>
@@ -46,60 +46,55 @@ function checkSubmit()
<input type="hidden" name="dopost" value="edituser">
<input type="hidden" name="id" value="<?php echo $id?>">
<tr>
<td width="17%" align="right" class='bline'>用户名:</td>
<td width="83%" class='bline' style="text-align:left">
<td width="260" align="right" class="bline">用户名:</td>
<td class="bline" style="text-align:left">
<?php
echo "".$row['userid']."";
echo "".$row['userid']."";
if($row['face']!='') {
echo "<br><img src='{$row['face']}' width='80'/>";
}
?>
echo "<br><img src='{$row['face']}' style='max-width:80px;height:auto'>";
}
?>
</td>
</tr>
<tr>
<td align="right" class='bline'>密 码:</td>
<td class='bline' style="text-align:left">
<input type="text" name="pwd" id="pwd">
(不修改留空)
</td>
<td align="right" class="bline">密码:</td>
<td class="bline" style="text-align:left"><input type="text" name="pwd" id="pwd" style="width:260px">(不修改留空)</td>
</tr>
<tr>
<td align="right" class='bline'>注册时间:</td>
<td class='bline' style="text-align:left">
<td align="right" class="bline">注册时间:</td>
<td class="bline" style="text-align:left">
<?php echo GetDateTimeMk($row['jointime'])?>
 IP
 IP
<?php echo $row['joinip']?>
</td>
</tr>
<tr>
<td align="right" class='bline'>最近登录时间:</td>
<td class='bline' style="text-align:left">
<td align="right" class="bline">最近登录时间:</td>
<td class="bline" style="text-align:left">
<?php echo GetDateTimeMk($row['logintime'])?>
 IP
 IP
<?php echo $row['loginip']?>
</td>
</tr>
<tr>
<td align="right" class='bline'>用户类型:</td>
<td class='bline' style="text-align:left">
<?php echo $row['mtype']; ?>
</td>
<td align="right" class="bline">用户类型:</td>
<td class="bline" style="text-align:left"><?php echo $row['mtype']; ?></td>
</tr>
<tr>
<td align="right" class='bline'>电子邮箱:</td>
<td class='bline' style="text-align:left">
<input name="email" type="text" id="email" value="<?php echo $row['email']?>" style="width:150px">
<td align="right" class="bline">电子邮箱:</td>
<td class="bline" style="text-align:left">
<input name="email" type="text" id="email" value="<?php echo $row['email']?>" style="width:260px">
</td>
</tr>
<tr>
<td align="right" class='bline'>昵 称:</td>
<td class='bline' style="text-align:left">
<input name="uname" type="text" value="<?php echo $row['uname']?>" id="uname" size="20" style="width:150px">
<td align="right" class="bline">昵称:</td>
<td class="bline" style="text-align:left">
<input name="uname" type="text" value="<?php echo $row['uname']?>" id="uname" style="width:260px">
</td>
</tr>
<tr>
<td align="right" class='bline'>性 别:</td>
<td class='bline' style="text-align:left">
<td align="right" class="bline">性别:</td>
<td class="bline" style="text-align:left">
<label><input type="radio" name="sex" class="np" value="男"<?php if($row['sex']=="男" ) echo" checked='1'" ; ?>>
男</label> &nbsp;
<label><input type="radio" name="sex" class="np" value="女"<?php if($row['sex']=="女" ) echo" checked='1'" ; ?>>
@@ -109,14 +104,15 @@ function checkSubmit()
</td>
</tr>
<tr>
<td align="right" class='bline'>金币 :</td>
<td class='bline' style="text-align:left">
<input name="money" type="text" id="money" value="<?php echo $row['money']; ?>" style="width:80px">
积分:<input name="scores" type="text" id="scores" value="<?php echo $row['scores']; ?>" style="width:80px"></td>
<td align="right" class="bline">金币 :</td>
<td class="bline" style="text-align:left">
<input name="money" type="text" id="money" value="<?php echo $row['money']; ?>" style="width:60px">
积分:<input name="scores" type="text" id="scores" value="<?php echo $row['scores']; ?>" style="width:60px">
</td>
</tr>
<tr>
<td align="right" class='bline'>等级:</td>
<td class='bline' style="text-align:left"><?php
<td align="right" class="bline">等级:</td>
<td class="bline" style="text-align:left"><?php
$MemberTypes = array();
$dsql->SetQuery("Select `rank`,membername From `#@__arcrank` where `rank`>0");
$dsql->Execute('n');
@@ -124,59 +120,54 @@ function checkSubmit()
while($nrow = $dsql->GetObject('n')){
$MemberTypes[$nrow->rank] = $nrow->membername;
}
$options = "<select name='rank' style='width:120px'>\r\n";
$options = "<select name='rank' style='width:160px'>";
foreach($MemberTypes as $k=>$v)
{
if($k!=$row['rank']) $options .= "<option value='$k'>$v</option>\r\n";
else $options .= "<option value='$k' selected>$v</option>\r\n";
if($k!=$row['rank']) $options .= "<option value='$k'>$v</option>";
else $options .= "<option value='$k' selected>$v</option>";
}
$options .= "</select>\r\n";
$options .= "</select>";
echo $options;
?></td>
</tr>
<tr>
<td align="right" class='bline'>升级时间:</td>
<td class='bline' style="text-align:left">
<input type="text" style="width: 200px;" value="<?php echo $row['uptime']=($row['uptime']=="0")? GetDateTimeMk(time()) : GetDateTimeMk($row['uptime']); ?>" id="uptime" name="uptime">
(如果您要升级会员,必须设置此时间为当前时间)</td>
<td align="right" class="bline">升级时间:</td>
<td class="bline" style="text-align:left"><input type="text" name="uptime" value="<?php echo $row['uptime']=($row['uptime']=='0')? GetDateTimeMk(time()) : GetDateTimeMk($row['uptime']); ?>" id="uptime" style="width:260px">(如果您要升级会员,必须设置此时间为当前时间)</td>
</tr>
<tr>
<td align="right" class='bline'>会员天数:</td>
<td class='bline' style="text-align:left"><input type="text" style="width: 200px;" value="<?php echo $row['exptime']?>" id="exptime" name="exptime">
(如果您要升级会员,会员天数必须大于0)</td>
<td align="right" class="bline">会员天数:</td>
<td class="bline" style="text-align:left"><input type="text" name="exptime" value="<?php echo $row['exptime']?>" id="exptime" style="width:60px">(如果您要升级会员,会员天数必须大于0)</td>
</tr>
<?php if($mhasDay!=0){ $mhasDay=($mhasDay>0)? $mhasDay : '<span style="color:#dc3545">该会员已经到期</span>'; ?>
<tr>
<td align="right" class='bline'>会员剩余天数:</td>
<td class='bline' style="text-align:left"><?php echo $mhasDay; ?></td>
<td align="right" class="bline">会员剩余天数:</td>
<td class="bline" style="text-align:left"><?php echo $mhasDay; ?></td>
</tr>
<tr>
<?php } ?>
<td align="right" class='bline'>推荐级别:</td>
<td class='bline' style="text-align:left">
<input name="oldmatt" type="hidden" id="oldmatt" value="<?php echo $row['matt']?>">
<input name="matt" type="text" id="matt" value="<?php echo $row['matt']?>" size="3">
(0为普通,1为推荐,10为管理员[不能在前台登录]
<span style='color:#dc3545'>{非管理员ID是严格使用10属性的,要新建管理在 <a href='sys_admin_user_add.php' target='_blank'>系统帐号</a> 的地方增加}</span>)
<td align="right" class="bline">推荐级别:</td>
<td class="bline" style="text-align:left">
<input name="oldmatt" type="hidden" id="oldmatt" value="<?php echo $row['matt']?>" style="width:60px">
<input name="matt" type="text" id="matt" value="<?php echo $row['matt']?>" style="width:60px">(0为普通,1为推荐,10为管理员不能在前台登录非管理员ID是严格使用10属性的,要新建管理在<a href='sys_admin_user_add.php' target='_blank'>系统帐号</a>地方增加)
</td>
</tr>
<tr>
<td align="right" class='bline'>资料状况:</td>
<td class='bline' style="text-align:left">
<select name='spacesta'>
<td align="right" class="bline">资料状况:</td>
<td class="bline" style="text-align:left">
<select name='spacesta' style='width:160px'>
<?php
foreach($staArr as $k=>$v)
{
if($row['spacesta']==$k) echo "<option value='$k' selected>$v</option>\r\n";
else echo "<option value='$k'>$v</option>\r\n";
if($row['spacesta']==$k) echo "<option value='$k' selected>$v</option>";
else echo "<option value='$k'>$v</option>";
}
?>
</select>
</td>
</tr>
<tr>
<td height="60" align="right" class='bline'>空间信息:</td>
<td class='bline' style="text-align:left">
<td height="60" align="right" class="bline">空间信息:</td>
<td class="bline" style="text-align:left">
<?php
$nrow = $dsql->GetOne("Select * From `#@__member_tj` where mid='{$row['mid']}' ");
echo "文章:{$nrow['article']} 图集:{$nrow['album']} 文档:{$nrow['archives']} 收藏:{$nrow['stow']}";
@@ -185,21 +176,18 @@ function checkSubmit()
</td>
</tr>
<tr>
<td width="17%" align="right" class='bline'>特殊操作:</td>
<td width="83%" class='bline' style="text-align:left">
<a href='member_do.php?dopost=memberlogin&id=<?php echo $row['mid']; ?>&jumpurl=../user/edit_fullinfo.php' target='_blank'>查看/修改详细资料</a>
&nbsp;|&nbsp;
<a href='member_do.php?dopost=memberlogin&id=<?php echo $row['mid']; ?>' target='_blank'>登录到此用户控制面板</a>
&nbsp;|&nbsp;
<a href='../user/index.php?uid=<?php echo $row['userid']; ?>' target='_blank'>浏览此用户的空间</a>
<td align="right" class="bline">特殊操作:</td>
<td class="bline" style="text-align:left">
<a href="member_do.php?dopost=memberlogin&id=<?php echo $row['mid']; ?>&jumpurl=../user/edit_fullinfo.php" target="_blank">查看/修改详细资料</a>
<a href="member_do.php?dopost=memberlogin&id=<?php echo $row['mid']; ?>" target="_blank">登录到此用户控制面板</a>
<a href="../user/index.php?uid=<?php echo $row['userid']; ?>" target="_blank">浏览此用户的空间</a>
</td>
</tr>
<tr>
<td height="67" align="right" ></td>
<td height="67" align="left">
<button type="submit" name="Submit" class='btn btn-success'>确定修改</button>
&nbsp;&nbsp;
<button type="reset" name="Submit22" class='btn btn-success'>重置表单</button>
<td height="36" align="right"></td>
<td height="36" align="left">
<button type="submit" name="Submit" class='btn btn-success'>确定修改</button>
<button type="reset" name="Submit22" class='btn btn-success'>重置表单</button>
</td>
</tr>
</form>


+ 1
- 1
src/admin/templets/mytag_add.htm View File

@@ -56,7 +56,7 @@
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3">
<tr>
<td height="20" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="mytag_main.php">自定义标记管理</a> &gt; 增加新标记</td>
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="mytag_main.php">自定义标记管理</a> &gt; 增加新标记</td>
</tr>
<tr>
<td height="200" bgcolor="#ffffff" valign="top">


+ 1
- 1
src/admin/templets/mytag_edit.htm View File

@@ -8,7 +8,7 @@
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1">
<tr>
<td height="20" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="mytag_main.php">自定义标记管理</a> &gt; 修改标记</td>
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="mytag_main.php">自定义标记管理</a> &gt; 修改标记</td>
</tr>
<tr>
<td height="200" bgcolor="#ffffff" valign="top">


+ 1
- 1
src/admin/templets/soft_config.htm View File

@@ -92,7 +92,7 @@
<tr>
<td bgcolor="#ffffff">下载默认等级:</td>
<td bgcolor="#ffffff">
<select name="dfrank" id="dfrank" style="width:150px">
<select name="dfrank" id="dfrank" style="width:160px">
<?php
$urank = $cuserLogin->getUserRank();
$dsql->SetQuery("Select * from `#@__arcrank` where `rank`>=0 ");


+ 1
- 1
src/admin/templets/sys_admin_user_add.htm View File

@@ -33,7 +33,7 @@
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3">
<tr>
<td height="20" background="../static/web/img/tbg.gif">
<td height="26" background="../static/web/img/tbg.gif">
<table width="96%" border="0" cellspacing="1" cellpadding="1" class="table table-borderless">
<tr>
<td width="24%" style="padding-left:10px">新增帐号</td>


+ 1
- 1
src/admin/templets/sys_admin_user_edit.htm View File

@@ -10,7 +10,7 @@
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3">
<tr>
<td height="20" background="../static/web/img/tbg.gif">
<td height="26" background="../static/web/img/tbg.gif">
<table width="96%" border="0" cellspacing="1" cellpadding="1" class="table table-borderless">
<tr>
<td width="24%" style="padding-left:10px">修改帐号 </td>


+ 1
- 1
src/admin/templets/sys_data.htm View File

@@ -92,7 +92,7 @@
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8">
<table width="99%" align="center" border="0" cellpadding="3" cellspacing="1" class="table maintable mt-3">
<tr>
<td height="20" colspan="8" background="../static/web/img/tbg.gif">
<td height="26" colspan="8" background="../static/web/img/tbg.gif">
<table width="96%" border="0" cellspacing="1" cellpadding="1" class="table table-borderless">
<tr>
<td width="24%" style="padding-left:10px">数据库管理</td>


+ 1
- 1
src/admin/templets/sys_data_revert.htm View File

@@ -56,7 +56,7 @@
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8">
<table width="99%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3">
<tr>
<td height="20" colspan="4" background="../static/web/img/tbg.gif">
<td height="26" colspan="4" background="../static/web/img/tbg.gif">
<table width="96%" border="0" cellspacing="1" cellpadding="1" class="table table-borderless">
<tr>
<td width="24%">数据还原</td>


+ 1
- 1
src/admin/templets/sys_sql_query.htm View File

@@ -13,7 +13,7 @@
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3">
<tr>
<td height="20" background="../static/web/img/tbg.gif">
<td height="26" background="../static/web/img/tbg.gif">
<table width="96%" border="0" cellspacing="1" cellpadding="1" class="table table-borderless">
<tr>
<td width="24%" style="padding-left:10px">SQL命令运行器</td>


+ 1
- 1
src/admin/templets/templets_one_add.htm View File

@@ -27,7 +27,7 @@
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3">
<tr>
<td height="20" background="../static/web/img/tbg.gif" style="padding-left:10px">
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px">
<a href="templets_one.php">单独页面管理</a> &gt; 增加新页面
</td>
</tr>


+ 1
- 1
src/admin/templets/templets_one_edit.htm View File

@@ -30,7 +30,7 @@ function checkSubmit()
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3">
<tr>
<td height="20" background="../static/web/img/tbg.gif" style="padding-left:10px">
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px">
<a href="templets_one.php">单独页面管理</a> &gt; 更新页面
</td>
</tr>


+ 1
- 1
src/admin/templets/vote_getcode.htm View File

@@ -10,7 +10,7 @@
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3">
<tr>
<td height="20" background="../static/web/img/tbg.gif"><a href="vote_main.php">投票管理</a> &gt; 获取代码
<td height="26" background="../static/web/img/tbg.gif"><a href="vote_main.php">投票管理</a> &gt; 获取代码
</td>
</tr>
<tr>


Loading…
Cancel
Save