Browse Source

完善用户管理员编辑页面

tags/6.1.8
xushubieli 2 years ago
parent
commit
89e5db82d9
18 changed files with 123 additions and 134 deletions
  1. +4
    -8
      src/admin/sys_admin_user_edit.php
  2. +1
    -1
      src/admin/templets/archives_edit.htm
  3. +1
    -1
      src/admin/templets/article_add.htm
  4. +2
    -2
      src/admin/templets/article_coonepage_rule.htm
  5. +1
    -1
      src/admin/templets/catalog_add.htm
  6. +1
    -2
      src/admin/templets/catalog_add_quick.htm
  7. +1
    -1
      src/admin/templets/catalog_edit.htm
  8. +1
    -1
      src/admin/templets/diy_field_edit.htm
  9. +1
    -1
      src/admin/templets/makehtml_all.htm
  10. +1
    -1
      src/admin/templets/member_main.htm
  11. +52
    -53
      src/admin/templets/member_toadmin.htm
  12. +37
    -42
      src/admin/templets/member_view.htm
  13. +1
    -1
      src/admin/templets/mychannel_field_add.htm
  14. +2
    -2
      src/admin/templets/mychannel_field_edit.htm
  15. +1
    -1
      src/admin/templets/mychannel_modifysearch.htm
  16. +1
    -1
      src/admin/templets/soft_add.htm
  17. +8
    -8
      src/admin/templets/sys_admin_user_add.htm
  18. +7
    -7
      src/admin/templets/sys_admin_user_edit.htm

+ 4
- 8
src/admin/sys_admin_user_edit.php View File

@@ -13,7 +13,6 @@ CheckPurview('sys_User');
require_once(DEDEINC.'/typelink/typelink.class.php');
if (empty($dopost)) $dopost = '';
$id = preg_replace("#[^0-9]#", '', $id);

if ($dopost == 'saveedit') {
CheckCSRF();
$pwd = trim($pwd);
@@ -62,9 +61,9 @@ if ($dopost == 'saveedit') {
$win->AddHidden("randcode", $randcode);
$win->AddHidden("safecode", $safecode);
$win->AddHidden("id", $id);
$win->AddTitle("系统警告");
$win->AddMsgItem("您确要删除用户:$userid 吗", "50");
$win->AddMsgItem("安全验证串:<input name='safecode' type='text' id='safecode' size='16' style='width:200px' />&nbsp;(复制本代码:<span style='color:#dc3545'>$safecode</span> )", "30");
$win->AddTitle("系统提示");
$win->AddMsgItem("您确要删除用户:$userid 吗", "50");
$win->AddMsgItem("安全验证串:<input name='safecode' type='text' id='safecode' style='width:260px'>(复制本代码:<span style='color:#dc3545'>$safecode</span>)", "30");
$winform = $win->GetWindow("ok");
$win->Display();
exit();
@@ -74,7 +73,6 @@ if ($dopost == 'saveedit') {
ShowMsg("请填写正确的安全验证串", "sys_admin_user.php");
exit();
}

//不能删除id为1的创建人帐号,不能删除自己
$rs = $dsql->ExecuteNoneQuery2("DELETE FROM `#@__admin` WHERE id='$id' AND id<>1 AND id<>'".$cuserLogin->getUserID()."' ");
if ($rs > 0) {
@@ -86,7 +84,6 @@ if ($dopost == 'saveedit') {
}
exit();
}

//显示用户信息
$randcode = mt_rand(10000, 99999);
$safecode = substr(md5($cfg_cookie_encode.$randcode), 0, 24);
@@ -95,7 +92,6 @@ $row = $dsql->GetOne("SELECT * FROM `#@__admin` WHERE id='$id'");
$typeids = explode(',', $row['typeid']);
$dsql->SetQuery("SELECT id,typename FROM `#@__arctype` WHERE reid=0 AND (ispart=0 OR ispart=1)");
$dsql->Execute('op');

while ($nrow = $dsql->GetObject('op')) {
$typeOptions .= "<option value='{$nrow->id}' class='btype'".(in_array($nrow->id, $typeids) ? ' selected' : '').">{$nrow->typename}</option>\r\n";
$dsql->SetQuery("SELECT id,typename FROM #@__arctype WHERE reid={$nrow->id} AND (ispart=0 OR ispart=1)");
@@ -106,4 +102,4 @@ while ($nrow = $dsql->GetObject('op')) {
}
}
make_hash();
include DedeInclude('templets/sys_admin_user_edit.htm');
include DedeInclude('templets/sys_admin_user_edit.htm');

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

@@ -203,7 +203,7 @@ table{border-collapse:separate}
<td width="90">&nbsp;商品副栏目:</td>
<td>
<span id='typeid2ct'></span>
<input type='text' name='typeid2' id='typeid2' value='<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']); ?>' style='width:200px;' />
<input type='text' name='typeid2' id='typeid2' value='<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']); ?>' style='width:260px;' />
<img src='../static/web/img/menusearch2.gif' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')" title='选择副栏目' style='cursor:pointer'>
</td>
</tr>


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

@@ -210,7 +210,7 @@ table{border-collapse:separate}
<td width="90">&nbsp;副栏目:</td>
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="" style="width:200px">
<input type="text" name="typeid2" id="typeid2" value="" style="width:260px">
<img src="../static/web/img/menusearch2.gif" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title="选择副栏目">
</td>
</tr>


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

@@ -150,7 +150,7 @@
<table width="430" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="102" height="30">网站名称:</td>
<td width="302"><input name="title" type="text" id="title" style="width:200px"></td>
<td width="302"><input name="title" type="text" id="title" style="width:260px"></td>
<td width="26" align="center"><a href="javascript:CloseAddNode()" class="mr-3"><img src="../static/web/img/close.gif"></a></td>
</tr>
<tr>
@@ -173,7 +173,7 @@
</tr>
<tr>
<td height="30">网站网址:</td>
<td colspan="2"><input name="url" type="text" id="url" style="width:200px"></td>
<td colspan="2"><input name="url" type="text" id="url" style="width:260px"></td>
</tr>
<tr>
<td height="30"></td>


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

@@ -200,7 +200,7 @@ function CheckCross() {
<tr>
<td class="bline" height="26" style="padding-left:10px">内容模型:</td>
<td class="bline">
<select name="channeltype" id="channeltype" style="width:200px" onChange="ParTemplet(this)">
<select name="channeltype" id="channeltype" style="width:260px" onChange="ParTemplet(this)">
<?php
foreach($channelArray as $k=>$arr)
{


+ 1
- 2
src/admin/templets/catalog_add_quick.htm View File

@@ -163,8 +163,7 @@
</tr>
<tr>
<td class='bline' height="26" style="padding-left:10px">内容模型:&nbsp; </td>
<td class='bline'><select name="channeltype" id="channeltype" style="width:200px"
onChange="ParTemplet(this)">
<td class='bline'><select name="channeltype" id="channeltype" style="width:260px" onChange="ParTemplet(this)">
<?php
foreach($channelArray as $k=>$arr)
{


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

@@ -182,7 +182,7 @@ function CheckCross() {
<tr>
<td class="bline" height="26" style="padding-left:10px">内容模型:</td>
<td class="bline">
<select name="channeltype" id="channeltype" style="width:200px" onChange="ParTemplet(this)">
<select name="channeltype" id="channeltype" style="width:260px" onChange="ParTemplet(this)">
<?php
foreach($channelArray as $k=>$arr)
{


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

@@ -90,7 +90,7 @@ td{ padding:2px; padding-left:6px; }
<tr>
<td bgcolor="#ffffff">数据类型:</td>
<td bgcolor="#ffffff">
<select name="dtype" id="type" style="width:200px">
<select name="dtype" id="type" style="width:260px">
<?php
$dtype = $ctag->GetAtt('type');
if($dtype!='' && isset($fieldtypes[$dtype]))


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

@@ -75,7 +75,7 @@ function SelUp(){
</tr>
<tr id="seltime">
<td height="26" bgcolor="#ffffff">&nbsp;起始时间:</td>
<td height="26" bgcolor="#ffffff"><input type="text" name="starttime" id="starttime" value="<?php echo GetDateMk(time()); ?>" style="width:200px" class="datepicker"></td>
<td height="26" bgcolor="#ffffff"><input type="text" name="starttime" id="starttime" value="<?php echo GetDateMk(time()); ?>" style="width:260px" class="datepicker"></td>
</tr>
<tr bgcolor="#ffffff" id="selid" style="display:none">
<td height="26">&nbsp;起始ID:</td>


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

@@ -126,7 +126,7 @@
<td align="center">
<a href="member_view.php?id={dede:field.mid/}" class="btn btn-success btn-sm">修改</a>
<a href="member_do.php?id={dede:field.mid/}&dopost=delmember" class="btn btn-success btn-sm">删除</a>
<a href="content_list.php?mid={dede:field.mid/}" target="_blank" class="btn btn-success btn-sm">文档</a>
<a href="content_list.php?mid={dede:field.mid/}" target="_self" class="btn btn-success btn-sm">文档</a>
<a href="member_toadmin.php?id={dede:field.mid/}" target="_self" class="btn btn-success btn-sm">提升</a>
</td>
</tr>


+ 52
- 53
src/admin/templets/member_toadmin.htm View File

@@ -31,90 +31,89 @@
<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
if($row['matt']==10)
{
echo "<span style='color:#e74d58'>已经是管理员了,不要再提升了</span>";
} else {
?>
<td height="200" bgcolor="#ffffff" align='center'>
<?php
if($row['matt']==10)
{
echo "<span style='color:#e74d58'>已经是管理员了,不要再提升了</span>";
} else {
?>
<table width="98%" border="0" cellspacing="0" cellpadding="6" class="table table-borderless">
<tr>
<td colspan="2" height="10"></td>
</tr>
<form name="form2" action="member_toadmin.php" method="post" onSubmit="return checkSubmit();">
<input type="hidden" name="dopost" value="toadmin">
<input type="hidden" name="userid" value="<?php echo $row['userid']?>">
<input type="hidden" name="id" value="<?php echo $id?>">
<tr>
<td width="17%" align="right" class='bline'>用户名:</td>
<td width="83%" class='bline' align="left"><?php
echo "".$row['userid']."";
<td width="120" class="bline">用户名:</td>
<td class="bline" height="26" class="bline">
<?php
echo "".$row['userid']."";
if($row['face']!='') {
echo "<br><img src='{$row['face']}' width='80'/>";
}
?></td>
echo "<br><img src='{$row['face']}' width='80'/>";
}
?>
</td>
</tr>
<tr>
<td height="30" align="right">用户笔名:</td>
<td align="left">
<input name="uname" type="text" id="uname" size="16" value="<?php echo $row['uname']?>" style="width:200px"> &nbsp;(发布文章后显示责任编辑的名字)
</td>
<td height="26" class="bline">用户笔名:</td>
<td height="26" class="bline"><input name="uname" type="text" id="uname" size="16" value="<?php echo $row['uname']?>" style="width:260px">(发布文章后显示责任编辑的名字)</td>
</tr>
<tr>
<td height="30" align="right">用户密码:</td>
<td align="left"><input name="pwd" type="text" id="pwd" size="16" style="width:200px">
&nbsp;(留空则不修改,只能用'0-9a-zA-Z.@_-!'以内范围的字符)</td>
<td height="26" class="bline">用户密码:</td>
<td height="26" class="bline"><input name="pwd" type="text" id="pwd" size="16" style="width:260px">(留空则不修改,只能用'0-9a-zA-Z.@_-!'以内范围的字符)</td>
</tr>
<tr>
<td height="30" align="right">用户类型:</td>
<td align="left"><select name='usertype' style='width:200px'>
<?php
$dsql->SetQuery("Select * from `#@__admintype` order by `rank` asc");
$dsql->Execute("ut");
while($myrow = $dsql->GetObject("ut"))
{
if($row['usertype']==$myrow->rank) echo "<option value='".$myrow->rank."' selected='1'>".$myrow->typename."</option>\r\n";
else echo "<option value='".$myrow->rank."'>".$myrow->typename."</option>\r\n";
}
?>
</select></td>
<td height="26" class="bline">用户类型:</td>
<td height="26" class="bline">
<select name='usertype' style='width:160px'>
<?php
$dsql->SetQuery("Select * from `#@__admintype` order by `rank` asc");
$dsql->Execute("ut");
while($myrow = $dsql->GetObject("ut"))
{
if($row['usertype']==$myrow->rank) echo "<option value='".$myrow->rank."' selected='1'>".$myrow->typename."</option>";
else echo "<option value='".$myrow->rank."'>".$myrow->typename."</option>";
}
?>
</select>
</td>
</tr>
<tr>
<td height="30" align="right">负责频道:</td>
<td align="left"><select name="typeids[]" id="typeid" size='10' style="width:200px;height: 200px;" multiple="true">
<td height="26" class="bline">负责频道:</td>
<td height="26" class="bline">
<select name="typeids[]" id="typeid" style="width:260px;height:200px" multiple="true">
<option value="0" class='alltype'>所有频道</option>
<?php echo $typeOptions?>
</select>
(按 Ctrl 可以进行多选) </td>
</select>(按 Ctrl 可以进行多选)
</td>
</tr>
<tr>
<td height="30" align="right">真实姓名:</td>
<td align="left"><input name="tname" type="text" id="tname" size="16" style="width:200px" value="">
&nbsp;</td>
<td height="26" class="bline">真实姓名:</td>
<td height="26" class="bline"><input name="tname" type="text" id="tname" size="16" style="width:260px" value=""></td>
</tr>
<tr>
<td height="30" align="right">电子邮箱:</td>
<td align="left"><input name="email" type="text" id="email" size="16" style="width:200px" value="<?php echo $row['email']?>">
&nbsp;</td>
<td height="26" class="bline">电子邮箱:</td>
<td height="26" class="bline"><input name="email" type="text" id="email" size="16" style="width:260px" value="<?php echo $row['email']?>"></td>
</tr>
<tr>
<td height="30" align="right">安全验证串:</td>
<td align="left"><input name="safecode" type="text" id="safecode" size="16" style="width:200px">
<td height="26" class="bline">安全验证串:</td>
<td height="26" class="bline">
<input name="safecode" type="text" id="safecode" size="16" style="width:260px">
<input name="randcode" type="hidden" value="<?php echo $randcode; ?>">
&nbsp;
(复制本代码:<span style='color:#e74d58'><?php echo $safecode; ?></span> ) </td>
(复制本代码:<span style='color:#e74d58'><?php echo $safecode; ?></span>)
</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;
<td height="36"></td>
<td height="36" height="26" class="bline">
<button type="submit" name="Submit" class='btn btn-success'>确定提升</button>
<button type="reset" name="Submit22" class='btn btn-success'>重置表单</button></td>
</tr>
</form>
</table>
<?php
}
?>
}
?>
</td>
</tr>
</table>


+ 37
- 42
src/admin/templets/member_view.htm View File

@@ -39,15 +39,12 @@ function checkSubmit()
if($row['matt']==10) echo "<span style='color:#dc3545'>当前用户是网站管理员关连的帐号,请小心操作</span>";
?>
<table width="98%" border="0" cellspacing="0" cellpadding="6" class="table table-borderless">
<tr>
<td colspan="2" height="10" ></td>
</tr>
<form name="form2" action="member_do.php" method="post" onSubmit="return checkSubmit();">
<input type="hidden" name="dopost" value="edituser">
<input type="hidden" name="id" value="<?php echo $id?>">
<tr>
<td width="260" align="right" class="bline">用户名:</td>
<td class="bline" style="text-align:left">
<td width="160" height="26" class="bline">用户名:</td>
<td height="26" class="bline">
<?php
echo "".$row['userid']."";
if($row['face']!='') {
@@ -57,44 +54,42 @@ function checkSubmit()
</td>
</tr>
<tr>
<td align="right" class="bline">密码:</td>
<td class="bline" style="text-align:left"><input type="text" name="pwd" id="pwd" style="width:260px">(不修改留空)</td>
<td height="26" class="bline">密码:</td>
<td height="26" class="bline" ><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 height="26" class="bline">注册时间:</td>
<td height="26" class="bline">
<?php echo GetDateTimeMk($row['jointime'])?>
 IP:
<?php echo $row['joinip']?>
</td>
</tr>
<tr>
<td align="right" class="bline">最近登录时间:</td>
<td class="bline" style="text-align:left">
<td height="26" class="bline">最近登录时间:</td>
<td height="26" class="bline">
<?php echo GetDateTimeMk($row['logintime'])?>
 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 height="26" class="bline">用户类型:</td>
<td height="26" class="bline" ><?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:260px">
</td>
<td height="26" class="bline">电子邮箱:</td>
<td height="26" class="bline"><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">
<td height="26" class="bline">昵称:</td>
<td height="26" class="bline">
<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 height="26" class="bline">性别:</td>
<td height="26" class="bline">
<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'" ; ?>>
@@ -104,15 +99,15 @@ function checkSubmit()
</td>
</tr>
<tr>
<td align="right" class="bline">金币 :</td>
<td class="bline" style="text-align:left">
<td height="26" class="bline">金币 :</td>
<td height="26" class="bline">
<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 height="26" class="bline">等级:</td>
<td height="26" class="bline"><?php
$MemberTypes = array();
$dsql->SetQuery("Select `rank`,membername From `#@__arcrank` where `rank`>0");
$dsql->Execute('n');
@@ -131,29 +126,29 @@ function checkSubmit()
?></td>
</tr>
<tr>
<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>
<td height="26" class="bline">升级时间:</td>
<td height="26" class="bline"><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" name="exptime" value="<?php echo $row['exptime']?>" id="exptime" style="width:60px">(如果您要升级会员,会员天数必须大于0)</td>
<td height="26" class="bline">会员天数:</td>
<td height="26" class="bline"><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 height="26" class="bline">会员剩余天数:</td>
<td height="26" class="bline"><?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']?>" 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 height="26" class="bline">推荐级别:</td>
<td height="26" class="bline">
<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">
<td height="26" class="bline">资料状况:</td>
<td height="26" class="bline">
<select name='spacesta' style='width:160px'>
<?php
foreach($staArr as $k=>$v)
@@ -166,8 +161,8 @@ function checkSubmit()
</td>
</tr>
<tr>
<td height="60" align="right" class="bline">空间信息:</td>
<td class="bline" style="text-align:left">
<td height="26" height="60" class="bline">空间信息:</td>
<td height="26" class="bline">
<?php
$nrow = $dsql->GetOne("Select * From `#@__member_tj` where mid='{$row['mid']}' ");
echo "文章:{$nrow['article']} 图集:{$nrow['album']} 文档:{$nrow['archives']} 收藏:{$nrow['stow']}";
@@ -176,15 +171,15 @@ function checkSubmit()
</td>
</tr>
<tr>
<td align="right" class="bline">特殊操作:</td>
<td class="bline" style="text-align:left">
<td height="26" class="bline">特殊操作:</td>
<td height="26" class="bline">
<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="36" align="right"></td>
<td height="36"></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>


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

@@ -208,7 +208,7 @@ td{ padding:2px; padding-left:6px; line-height:26px }
</span>
</td>
<td bgcolor="#ffffff">
<select name="channeltype" id="channeltype" style="width:200px">
<select name="channeltype" id="channeltype" style="width:260px">
<?php
$channelid = 1;
foreach($channelArray as $k=>$arr)


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

@@ -144,7 +144,7 @@
<tr>
<td bgcolor="#ffffff">数据类型:</td>
<td bgcolor="#ffffff">
<select name="dtype" id="type" style="width:200px">
<select name="dtype" id="type" style="width:260px">
<?php
$dtype = $ctag->GetAtt('type');
if($dtype!='' && isset($fieldtypes[$dtype]))
@@ -187,7 +187,7 @@
</span>
</td>
<td bgcolor="#ffffff">
<select name="channeltype" id="channeltype" style="width:200px">
<select name="channeltype" id="channeltype" style="width:260px">
<?php
$channelid = $ctag->GetAtt('channel') == "" ? 1 : $ctag->GetAtt('channel');


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

@@ -75,7 +75,7 @@
<td align="left" bgcolor="#ffffff">自定义搜索结果页模板<br>
<span class="STYLE2" id="help5" style="display: none;">只填写文件名,且文件必须在templets/default目录中 </span></td>
<td bgcolor="#ffffff">
<input type="text" name="template" value="<?php echo $template; ?>" style="width:200px">
<input type="text" name="template" value="<?php echo $template; ?>" style="width:260px">
</td>
</tr>
<tr bgcolor="#ffffff">


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

@@ -212,7 +212,7 @@ table{border-collapse:separate}
<td width="90">&nbsp;副栏目:</td>
<td>
<span id='typeid2ct'></span>
<input type='text' name='typeid2' id='typeid2' value='' style='width:200px;' />
<input type='text' name='typeid2' id='typeid2' value='' style='width:260px;' />
<img src='../static/web/img/menusearch2.gif' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid2')" title='选择副栏目' style='cursor:pointer'>
</td>
</tr>


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

@@ -50,23 +50,23 @@
<table width="98%" border="0" cellspacing="1" cellpadding="1" class="table table-borderless">
<tr>
<td width="16%" height="30">用户登录ID:</td>
<td width="84%" style="text-align:left"><input name="userid" type="text" id="userid" size="16" style="width:200px">
<td width="84%" style="text-align:left"><input name="userid" type="text" id="userid" size="16" style="width:260px">
&nbsp;(只能用'0-9'、'a-z'、'A-Z'、'.'、'@'、'_'、'-'、'!'以内范围的字符)</td>
</tr>
<tr>
<td height="30">用户笔名:</td>
<td style="text-align:left"><input name="uname" type="text" id="uname" size="16" style="width:200px">
<td style="text-align:left"><input name="uname" type="text" id="uname" size="16" style="width:260px">
&nbsp;(发布文章后显示责任编辑的名字)</td>
</tr>
<tr>
<td height="30">用户密码:</td>
<td style="text-align:left"><input name="pwd" type="text" id="pwd" size="16" style="width:200px">
<td style="text-align:left"><input name="pwd" type="text" id="pwd" size="16" style="width:260px">
&nbsp;(只能用'0-9'、'a-z'、'A-Z'、'.'、'@'、'_'、'-'、'!'以内范围的字符)</td>
</tr>
<tr>
<td height="30">用户组:</td>
<td style="text-align:left">
<select name='usertype' style='width:200px'>
<select name='usertype' style='width:260px'>
<?php
$dsql->SetQuery("Select * from `#@__admintype` order by `rank` asc");
@@ -84,7 +84,7 @@
<tr>
<td height="30">授权栏目:</td>
<td style="text-align:left">
<select name="typeids[]" id="typeid" size='10' style="width:200px;height: 200px;" multiple="true">
<select name="typeids[]" id="typeid" size='10' style="width:260px;height:200px" multiple="true">
<option value="0" class='alltype' selected>所有频道</option>
<?php echo $typeOptions?>
</select>(按Ctrl可以进行多选)
@@ -92,18 +92,18 @@
</tr>
<tr>
<td height="30">真实姓名:</td>
<td style="text-align:left"><input name="tname" type="text" id="tname" size="16" style="width:200px">
<td style="text-align:left"><input name="tname" type="text" id="tname" size="16" style="width:260px">
&nbsp;</td>
</tr>
<tr>
<td height="30">电子邮箱:</td>
<td style="text-align:left"><input name="email" type="text" id="email" size="16" style="width:200px">
<td style="text-align:left"><input name="email" type="text" id="email" size="16" style="width:260px">
&nbsp;</td>
</tr>
<tr>
<td height="30">安全验证串:</td>
<td style="text-align:left">
<input name="safecode" type="text" id="safecode" size="16" style="width:200px">
<input name="safecode" type="text" id="safecode" size="16" style="width:260px">
<input name="randcode" type="hidden" value="<?php echo $randcode; ?>">
&nbsp;
(复制本代码:<span style='color:#e74d58'><?php echo $safecode; ?></span> )


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

@@ -33,20 +33,20 @@
<tr>
<td height="30">用户笔名:</td>
<td style="text-align:left">
<input name="uname" type="text" id="uname" size="16" value="<?php echo $row['uname']?>" style="width:200px"> &nbsp;(发布文章后显示责任编辑的名字)
<input name="uname" type="text" id="uname" size="16" value="<?php echo $row['uname']?>" style="width:260px"> &nbsp;(发布文章后显示责任编辑的名字)
</td>
</tr>
<tr>
<td height="30">用户密码:</td>
<td style="text-align:left">
<input name="pwd" type="text" id="pwd" size="16" style="width:200px">
<input name="pwd" type="text" id="pwd" size="16" style="width:260px">
&nbsp;(留空则不修改,只能用'0-9a-zA-Z.@_-!'以内范围的字符)
</td>
</tr>
<tr>
<td height="30">用户类型:</td>
<td style="text-align:left">
<select name='usertype' style='width:200px'>
<select name='usertype' style='width:260px'>
<?php
$dsql->SetQuery("Select * from `#@__admintype` order by `rank` asc");
$dsql->Execute("ut");
@@ -62,7 +62,7 @@
<tr>
<td height="30">负责频道:</td>
<td style="text-align:left">
<select name="typeids[]" id="typeid" size='10' style="width:200px;height: 200px;" multiple="true">
<select name="typeids[]" id="typeid" size='10' style="width:260px;height:200px" multiple="true">
<option value="0" class='alltype'>所有频道</option>
<?php echo $typeOptions?>
</select>(按Ctrl可以进行多选)
@@ -70,16 +70,16 @@
</tr>
<tr>
<td height="30">真实姓名:</td>
<td style="text-align:left"><input name="tname" type="text" id="tname" size="16" style="width:200px" value="<?php echo $row['tname']?>"> &nbsp;</td>
<td style="text-align:left"><input name="tname" type="text" id="tname" size="16" style="width:260px" value="<?php echo $row['tname']?>"> &nbsp;</td>
</tr>
<tr>
<td height="30">电子邮箱:</td>
<td style="text-align:left"><input name="email" type="text" id="email" size="16" style="width:200px" value="<?php echo $row['email']?>"> &nbsp;</td>
<td style="text-align:left"><input name="email" type="text" id="email" size="16" style="width:260px" value="<?php echo $row['email']?>"> &nbsp;</td>
</tr>
<tr>
<td height="30">安全验证串:</td>
<td style="text-align:left">
<input name="safecode" type="text" id="safecode" size="16" style="width:200px">
<input name="safecode" type="text" id="safecode" size="16" style="width:260px">
<input name="randcode" type="hidden" value="<?php echo $randcode; ?>">
&nbsp;
(复制本代码:<span style='color:#e74d58'><?php echo $safecode; ?></span> )


Loading…
Cancel
Save