@@ -45,7 +45,7 @@ function GetMemberID($mid) | |||||
global $dsql; | global $dsql; | ||||
if ($mid == 0) return '0'; | if ($mid == 0) return '0'; | ||||
$row = $dsql->GetOne("SELECT userid FROM `#@__member` WHERE mid='$mid' "); | $row = $dsql->GetOne("SELECT userid FROM `#@__member` WHERE mid='$mid' "); | ||||
if (is_array($row)) return "<a href='member_view.php?mid={$mid}'>".$row['userid']."</a>"; | |||||
if (is_array($row)) return "<a href='member_edit.php?mid={$mid}'>".$row['userid']."</a>"; | |||||
else return '0'; | else return '0'; | ||||
} | } | ||||
function GetUseDate($time = 0) | function GetUseDate($time = 0) | ||||
@@ -165,7 +165,7 @@ else if ($dopost == 'edituser') { | |||||
$dsql->ExecuteNoneQuery2("UPDATE `#@__admin` SET `uname`='$uname' WHERE id='$id'"); | $dsql->ExecuteNoneQuery2("UPDATE `#@__admin` SET `uname`='$uname' WHERE id='$id'"); | ||||
} | } | ||||
} | } | ||||
ShowMsg('成功修改会员资料', 'member_view.php?id='.$id); | |||||
ShowMsg('成功修改会员资料', 'member_edit.php?id='.$id); | |||||
exit(); | exit(); | ||||
} | } | ||||
//登录会员 | //登录会员 | ||||
@@ -1,8 +1,8 @@ | |||||
<?php | <?php | ||||
/** | /** | ||||
* 会员查看 | |||||
* 会员修改 | |||||
* | * | ||||
* @version $id:member_view.php 14:15 2010年7月20日 tianya $ | |||||
* @version $id:member_edit.php 14:15 2010年7月20日 tianya $ | |||||
* @package DedeBIZ.Administrator | * @package DedeBIZ.Administrator | ||||
* @copyright Copyright (c) 2022 DedeBIZ.COM | * @copyright Copyright (c) 2022 DedeBIZ.COM | ||||
* @license https://www.dedebiz.com/license | * @license https://www.dedebiz.com/license | ||||
@@ -63,5 +63,5 @@ function GetHonor($scores) | |||||
$scrow = $dsql->GetOne($sql); | $scrow = $dsql->GetOne($sql); | ||||
return $scrow['titles']; | return $scrow['titles']; | ||||
} | } | ||||
include DedeInclude('templets/member_view.htm'); | |||||
include DedeInclude('templets/member_edit.htm'); | |||||
?> | ?> |
@@ -41,7 +41,7 @@ function GetMemberID($mid) | |||||
} | } | ||||
$row = $dsql->GetOne("SELECT userid FROM `#@__member` WHERE mid='$mid' "); | $row = $dsql->GetOne("SELECT userid FROM `#@__member` WHERE mid='$mid' "); | ||||
if (is_array($row)) { | if (is_array($row)) { | ||||
return "<a href='member_view.php?id={$mid}'>".$row['userid']."</a>"; | |||||
return "<a href='member_edit.php?id={$mid}'>".$row['userid']."</a>"; | |||||
} else { | } else { | ||||
return '0'; | return '0'; | ||||
} | } | ||||
@@ -34,7 +34,7 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>积分前缀:</td> | <td>积分前缀:</td> | ||||
<td><input name="snprefix" type="text" id="snprefix" class="admin-input-sm" value="SN"></td> | |||||
<td><input name="snprefix" type="text" id="snprefix" class="admin-input-sm" value="TY"></td> | |||||
<td>密码长度:</td> | <td>密码长度:</td> | ||||
<td><input name="pwdlen" type="text" id="pwdlen" class="admin-input-sm" value="4"></td> | <td><input name="pwdlen" type="text" id="pwdlen" class="admin-input-sm" value="4"></td> | ||||
</tr> | </tr> | ||||
@@ -88,7 +88,7 @@ | |||||
<td> | <td> | ||||
<a href="member_toadmin.php?id={dede:field.mid/}" target="_self" class="btn btn-light btn-sm"><i class="fa fa-user-plus"></i> 提升</a> | <a href="member_toadmin.php?id={dede:field.mid/}" target="_self" class="btn btn-light btn-sm"><i class="fa fa-user-plus"></i> 提升</a> | ||||
<a href="content_list.php?mid={dede:field.mid/}" target="_self" class="btn btn-light btn-sm"><i class="fa fa-file-text"></i> 文档</a> | <a href="content_list.php?mid={dede:field.mid/}" target="_self" class="btn btn-light btn-sm"><i class="fa fa-file-text"></i> 文档</a> | ||||
<a href="member_view.php?id={dede:field.mid/}" class="btn btn-light btn-sm"><i class="fa fa-pencil-square"></i> 修改</a> | |||||
<a href="member_edit.php?id={dede:field.mid/}" class="btn btn-light btn-sm"><i class="fa fa-pencil-square"></i> 修改</a> | |||||
<a href="member_do.php?id={dede:field.mid/}&dopost=delmember" class="btn btn-danger btn-sm"><i class="fa fa-trash"></i> 删除</a> | <a href="member_do.php?id={dede:field.mid/}&dopost=delmember" class="btn btn-danger btn-sm"><i class="fa fa-trash"></i> 删除</a> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -76,23 +76,22 @@ | |||||
<td><input name="get_photo_fontcolor" type=text id="get_photo_fontcolor" value="<?php echo $photo_fontcolor?>" class="admin-input-sm"></td> | <td><input name="get_photo_fontcolor" type=text id="get_photo_fontcolor" value="<?php echo $photo_fontcolor?>" class="admin-input-sm"></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>JPEG图附件添加水印后质量</td> | |||||
<td>JPEG图附件添加水印后质量:</td> | |||||
<td> | <td> | ||||
<input type="text" name="get_photo_marktrans" id="get_photo_marktrans" value="<?php echo $photo_marktrans?>" class="admin-input-sm"> | <input type="text" name="get_photo_marktrans" id="get_photo_marktrans" value="<?php echo $photo_marktrans?>" class="admin-input-sm"> | ||||
<span>(范围为0~100的整数,数值越大结果图片效果越好,但尺寸也越大)</span> | |||||
<span>(范围为0-100整数,数值越大结果图片效果越好,但尺寸也越大)</span> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>GIF水印图片与原始图片透明度</td> | |||||
<td>GIF水印图片与原始图片透明度:</td> | |||||
<td> | <td> | ||||
<input name="get_photo_diaphaneity" type=text id="get_photo_diaphaneity" value="<?php echo $photo_diaphaneity?>" class="admin-input-sm"> | <input name="get_photo_diaphaneity" type=text id="get_photo_diaphaneity" value="<?php echo $photo_diaphaneity?>" class="admin-input-sm"> | ||||
<span>(0—100,值越小越透明)</span> | |||||
<span>(0-100,值越小越透明)</span> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>水印位置:</td> | <td>水印位置:</td> | ||||
<td> | |||||
<label><input type="radio" name="get_photo_waterpos" value="0" <?php if ($photo_waterpos==0) echo ' checked';?>> 随机位置</label> | |||||
<td class="p-0"> | |||||
<table cellspacing="0" cellpadding="0" class="table-borderless w-25"> | <table cellspacing="0" cellpadding="0" class="table-borderless w-25"> | ||||
<tr> | <tr> | ||||
<td width="33%"> | <td width="33%"> | ||||
@@ -127,6 +126,9 @@ | |||||
<label><input type="radio" name="get_photo_waterpos" value="9" <?php if ($photo_waterpos==9) echo ' checked';?>> 底部居右</label> | <label><input type="radio" name="get_photo_waterpos" value="9" <?php if ($photo_waterpos==9) echo ' checked';?>> 底部居右</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | |||||
<td colspan="3"><label><input type="radio" name="get_photo_waterpos" value="0" <?php if ($photo_waterpos==0) echo ' checked';?>> 随机位置</label></td> | |||||
</tr> | |||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -4032,7 +4032,7 @@ INSERT INTO `#@__sysconfig` VALUES ('1','cfg_basehost','站点网址','1','strin | |||||
('102','cfg_description','首页描述','1','bstring',''), | ('102','cfg_description','首页描述','1','bstring',''), | ||||
('103','cfg_beian','网站备案号','1','string',''), | ('103','cfg_beian','网站备案号','1','string',''), | ||||
('104','cfg_need_typeid2','是否启用副栏目','6','bool','Y'), | ('104','cfg_need_typeid2','是否启用副栏目','6','bool','Y'), | ||||
('105','cfg_mb_pwdtype','前台密码验证类型32—32位md5,可选l16—前16位、r16—后16位、m16—中间16位','4','string','32'), | |||||
('105','cfg_mb_pwdtype','前台密码验证类型32-32位md5,可选l16-前16位、r16-后16位、m16-中间16位','4','string','32'), | |||||
('106','cfg_cache_type','文档ID,content标签最终文档,修改此变量后必须更新缓存','6','string','id'), | ('106','cfg_cache_type','文档ID,content标签最终文档,修改此变量后必须更新缓存','6','string','id'), | ||||
('107','cfg_max_face','会员上传头像大小限制KB','3','number','100'), | ('107','cfg_max_face','会员上传头像大小限制KB','3','number','100'), | ||||
('108','cfg_typedir_df','栏目网址使用目录名(不显示默认页,则是/a/b/c形式)','2','bool','Y'), | ('108','cfg_typedir_df','栏目网址使用目录名(不显示默认页,则是/a/b/c形式)','2','bool','Y'), | ||||