@@ -18,8 +18,7 @@ | |||
function GetFormItem($ctag) | |||
{ | |||
$fieldname = $ctag->GetName(); | |||
$formitem = " | |||
<table width=\"800\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> | |||
$formitem = "<table width=\"800\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> | |||
<tr> | |||
<td width=\"80\">~name~</td> | |||
<td width=\"720\">~form~</td> | |||
@@ -215,8 +214,7 @@ function GetFieldValue($dvalue, $dtype, $aid = 0, $job = 'add', $addvar = '') | |||
function GetFormItemValue($ctag, $fvalue) | |||
{ | |||
$fieldname = $ctag->GetName(); | |||
$formitem = " | |||
<table width=\"800\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> | |||
$formitem = "<table width=\"800\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> | |||
<tr> | |||
<td width=\"80\">~name~</td> | |||
<td width=\"720\">~form~</td> | |||
@@ -762,7 +762,7 @@ function GetUpdateTest() | |||
if ($cfg_make_andcat == 'Y') $dolist .= empty($dolist) ? 'makeparenttype' : ',makeparenttype'; | |||
$dolists = explode(',', $dolist); | |||
$jumpUrl = "task_do.php?typeid={$typeid}&aid={$arcID}&dopost={$dolists[0]}&nextdo=".preg_replace("#".$dolists[0]."[,]{0,1}#", '', $dolist); | |||
$revalue = "<table width='80%' style='border:1px dashed #cdcdcd;margin-left:20px;margin-bottom:15px' id='tgtable' align='left'><tr><td bgcolor='#EBF5C9'> 正在进行相关内容更新,请完成前不要进行其它操作:\r\n</td></tr>\r\n"; | |||
$revalue = "<table width='80%' style='border:1px dashed #cdcdcd;margin-left:20px;margin-bottom:15px' id='tgtable' align='left'><tr><td bgcolor='#EBF5C9'>正在进行相关内容更新,请完成前不要进行其它操作:\r\n</td></tr>\r\n"; | |||
$revalue .= "<tr><td>\r\n<iframe name='stafrm' frameborder='0' id='stafrm' width='100%' height='200px' src='$jumpUrl'></iframe>\r\n</td></tr>\r\n"; | |||
$revalue .= "</table>"; | |||
} else { | |||
@@ -67,9 +67,9 @@ function GetOptionList($selid = 0, $userCatalog = 0, $channeltype = 0) | |||
$OptionArrayList .= $sonCats; | |||
} else { | |||
if ($row->ispart == 0 && (!empty($channeltype) && $row->channeltype == $channeltype)) { | |||
$OptionArrayList .= "<option value='".$row->id."' class='option3'>".$row->typename."</option>"; | |||
$OptionArrayList .= "<option value='".$row->id."' class='option3'>└─ ".$row->typename."</option>"; | |||
} else if ($row->ispart == 0 && empty($channeltype)) { | |||
$OptionArrayList .= "<option value='".$row->id."' class='option3'>".$row->typename."</option>"; | |||
$OptionArrayList .= "<option value='".$row->id."' class='option3'>└─ ".$row->typename."</option>"; | |||
} | |||
} | |||
} | |||
@@ -78,16 +78,16 @@ function GetOptionList($selid = 0, $userCatalog = 0, $channeltype = 0) | |||
function LogicGetOptionArray($id, $step, $channeltype, &$dsql, &$sonCats) | |||
{ | |||
global $OptionArrayList, $channels, $cfg_admin_channel, $admin_catalogs; | |||
$dsql->SetQuery("Select id,typename,ispart,channeltype From `#@__arctype` where reid='".$id."' order by sortrank asc"); | |||
$dsql->SetQuery("SELECT id,typename,ispart,channeltype FROM `#@__arctype` WHERE reid='".$id."' ORDER BY sortrank ASC"); | |||
$dsql->Execute($id); | |||
while ($row = $dsql->GetObject($id)) { | |||
if ($cfg_admin_channel != 'all' && !in_array($row->id, $admin_catalogs)) { | |||
continue; | |||
} | |||
if ($row->channeltype == $channeltype && $row->ispart == 1) { | |||
$sonCats .= "<option value='".$row->id."' class='option1'>$step".$row->typename."</option>"; | |||
$sonCats .= "<option value='".$row->id."' class='option1'>└─$step ".$row->typename."</option>"; | |||
} else if (($row->channeltype == $channeltype && $row->ispart == 0) || empty($channeltype)) { | |||
$sonCats .= "<option value='".$row->id."' class='option3'>$step".$row->typename."</option>"; | |||
$sonCats .= "<option value='".$row->id."' class='option3'>└─$step ".$row->typename."</option>"; | |||
} | |||
LogicGetOptionArray($row->id, $step.'─', $channeltype, $dsql, $sonCats); | |||
} | |||
@@ -69,8 +69,8 @@ if ($dopost == "delmember") { | |||
$win->AddHidden("id", $id); | |||
$win->AddHidden("randcode", $randcode); | |||
$win->AddHidden("safecode", $safecode); | |||
$win->AddTitle("您确定要删除会员ID:".$id." 吗"); | |||
$win->AddMsgItem("验证安全码:<input name='safecode' type='text' id='safecode' class='biz-input-md'>(安全码:<span class='text-danger'>$safecode</span>)", "30"); | |||
$win->AddTitle("您确定要删除会员id:".$id." 吗"); | |||
$win->AddMsgItem("验证安全码:<input name='safecode' type='text' id='safecode' class='biz-input-md'>(安全码:<span class='text-success'>$safecode</span>)", "30"); | |||
$winform = $win->GetWindow("ok"); | |||
$win->Display(); | |||
} else if ($dopost == "delmembers") { | |||
@@ -117,7 +117,7 @@ if ($dopost == "delmember") { | |||
$win->AddHidden("randcode", $randcode); | |||
$win->AddHidden("safecode", $safecode); | |||
$win->AddTitle("您确定要删除(ID:".$id.")这个会员?"); | |||
$win->AddMsgItem(" 验证安全码:<input name='safecode' type='text' id='safecode' size='16' class='biz-input-md' /> (安全码:<span class='text-danger'>$safecode</span>)", "30"); | |||
$win->AddMsgItem(" 验证安全码:<input name='safecode' type='text' id='safecode' size='16' class='biz-input-md' /> (安全码:<span class='text-success'>$safecode</span>)", "30"); | |||
$winform = $win->GetWindow("ok"); | |||
$win->Display(); | |||
} | |||
@@ -92,11 +92,11 @@ $typeids = explode(',', $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"; | |||
$typeOptions .= "<option value='{$nrow->id}'".(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)"); | |||
$dsql->Execute('s'); | |||
while ($nrow = $dsql->GetObject('s')) { | |||
$typeOptions .= "<option value='{$nrow->id}' class='stype'".(in_array($nrow->id, $typeids) ? ' selected' : '').">—{$nrow->typename}</option>\r\n"; | |||
$typeOptions .= "<option value='{$nrow->id}'".(in_array($nrow->id, $typeids) ? ' selected' : '').">└───{$nrow->typename}</option>\r\n"; | |||
} | |||
} | |||
$row = $dsql->GetOne("SELECT * FROM `#@__member` WHERE mid='$id'"); | |||
@@ -70,11 +70,11 @@ $dsql->SetQuery("SELECT id,typename FROM `#@__arctype` WHERE reid=0 AND (ispart= | |||
$dsql->Execute('op'); | |||
while ($row = $dsql->GetObject('op')) { | |||
$topc = $row->id; | |||
$typeOptions .= "<option value='{$row->id}' class='btype'>—{$row->typename}</option>\r\n"; | |||
$typeOptions .= "<option value='{$row->id}'>└─ {$row->typename}</option>\r\n"; | |||
$dsql->SetQuery("SELECT id,typename FROM `#@__arctype` WHERE reid={$row->id} AND (ispart=0 OR ispart=1) "); | |||
$dsql->Execute('s'); | |||
while ($row = $dsql->GetObject('s')) { | |||
$typeOptions .= "<option value='{$row->id}' class='stype'>—{$row->typename}</option>\r\n"; | |||
$typeOptions .= "<option value='{$row->id}'>└─── {$row->typename}</option>\r\n"; | |||
} | |||
} | |||
make_hash(); | |||
@@ -68,7 +68,7 @@ if ($dopost == 'saveedit') { | |||
$win->AddHidden("id", $id); | |||
$win->AddTitle("系统提示"); | |||
$win->AddMsgItem("您确定要删除用户:$userid 吗", "50"); | |||
$win->AddMsgItem("验证安全码:<input name='safecode' type='text' id='safecode' class='biz-input-md'>(安全码:<span class='text-danger'>$safecode</span>)", "30"); | |||
$win->AddMsgItem("验证安全码:<input name='safecode' type='text' id='safecode' class='biz-input-md'>(安全码:<span class='text-success'>$safecode</span>)", "30"); | |||
$winform = $win->GetWindow("ok"); | |||
$win->Display(); | |||
exit(); | |||
@@ -98,11 +98,11 @@ $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"; | |||
$typeOptions .= "<option value='{$nrow->id}' ".(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)"); | |||
$dsql->Execute('s'); | |||
while ($nrow = $dsql->GetObject('s')) { | |||
$typeOptions .= "<option value='{$nrow->id}' class='stype'".(in_array($nrow->id, $typeids) ? ' selected' : '').">—{$nrow->typename}</option>\r\n"; | |||
$typeOptions .= "<option value='{$nrow->id}' ".(in_array($nrow->id, $typeids) ? ' selected' : '').">└─── {$nrow->typename}</option>\r\n"; | |||
} | |||
} | |||
make_hash(); | |||
@@ -335,9 +335,9 @@ | |||
} | |||
else if (preg_match("#\.#", $arr['evalue'])) | |||
{ | |||
echo "<option value='{$arr['evalue']}'>└───{$arr['ename']}</option>"; | |||
echo "<option value='{$arr['evalue']}'>└─── {$arr['ename']}</option>"; | |||
} else { | |||
echo "<option value='{$arr['evalue']}'>└─{$arr['ename']}</option>"; | |||
echo "<option value='{$arr['evalue']}'>└─ {$arr['ename']}</option>"; | |||
} | |||
} | |||
?> | |||
@@ -286,9 +286,9 @@ | |||
} | |||
else if (preg_match("#\.#", $arr['evalue'])) | |||
{ | |||
echo "<option value='{$arr['evalue']}'{$selstr}> └───{$arr['ename']}</option>"; | |||
echo "<option value='{$arr['evalue']}'{$selstr}> └─── {$arr['ename']}</option>"; | |||
} else { | |||
echo "<option value='{$arr['evalue']}'{$selstr}> └─{$arr['ename']}</option>"; | |||
echo "<option value='{$arr['evalue']}'{$selstr}> └─ {$arr['ename']}</option>"; | |||
} | |||
} | |||
?> | |||
@@ -56,11 +56,11 @@ | |||
</tr> | |||
<tr> | |||
<td class="biz-td">用户名称:</td> | |||
<td class="biz-td"><input type="text" name="uname" id="uname" size="16" value="<?php echo $row['uname']?>" class="biz-input-md">(发布文档后显示责任编辑的名字)</td> | |||
<td class="biz-td"><input type="text" name="uname" id="uname" value="<?php echo $row['uname']?>" class="biz-input-sm">(发布文档后显示责任编辑的名字)</td> | |||
</tr> | |||
<tr> | |||
<td class="biz-td">用户密码:</td> | |||
<td class="biz-td"><input type="text" name="pwd" id="pwd" size="16" class="biz-input-md">(留空则不修改,只能用'0-9a-zA-Z.@_-!'以内范围的字符)</td> | |||
<td class="biz-td"><input type="text" name="pwd" id="pwd" class="biz-input-md">(留空则不修改,只能用[0-9a-zA-Z_@!.-]以内范围的字符)</td> | |||
</tr> | |||
<tr> | |||
<td class="biz-td">用户类型:</td> | |||
@@ -81,7 +81,7 @@ | |||
<tr> | |||
<td class="biz-td">负责频道:</td> | |||
<td class="biz-td"> | |||
<select name="typeids[]" id="typeid" multiple="true" style="width:260px;height:200px"> | |||
<select name="typeids[]" id="typeid" multiple="true" class="biz-input-md" style="height:200px"> | |||
<option value="0" class='alltype'>所有频道</option> | |||
<?php echo $typeOptions?> | |||
</select>(按Ctrl可以进行多选) | |||
@@ -89,17 +89,17 @@ | |||
</tr> | |||
<tr> | |||
<td class="biz-td">真实姓名:</td> | |||
<td class="biz-td"><input type="text" name="tname" id="tname" size="16" class="biz-input-md" value=""></td> | |||
<td class="biz-td"><input type="text" name="tname" id="tname" class="biz-input-md" value=""></td> | |||
</tr> | |||
<tr> | |||
<td class="biz-td">电子邮箱:</td> | |||
<td class="biz-td"><input type="text" name="email" id="email" size="16" class="biz-input-md" value="<?php echo $row['email']?>"></td> | |||
<td class="biz-td"><input type="text" name="email" id="email" class="biz-input-md" value="<?php echo $row['email']?>"></td> | |||
</tr> | |||
<tr> | |||
<td class="biz-td">验证安全码:</td> | |||
<td class="biz-td"> | |||
<input type="text" name="safecode" id="safecode" size="16" class="biz-input-md"> | |||
<input type="hidden" name="randcode" value="<?php echo $randcode;?>">(安全码:<span class='text-danger'><?php echo $safecode;?></span>)</td> | |||
<input type="text" name="safecode" id="safecode" class="biz-input-md"> | |||
<input type="hidden" name="randcode" value="<?php echo $randcode;?>">(安全码:<span class="text-success"><?php echo $safecode;?></span>)</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" align="center" class="py-2"> | |||
@@ -77,7 +77,7 @@ | |||
</tr> | |||
<tr> | |||
<td class="biz-td">昵称:</td> | |||
<td class="biz-td"><input type="text" name="uname" value="<?php echo $row['uname']?>" id="uname" class="biz-input-md"></td> | |||
<td class="biz-td"><input type="text" name="uname" value="<?php echo $row['uname']?>" id="uname" class="biz-input-sm"></td> | |||
</tr> | |||
<tr> | |||
<td class="biz-td">性别:</td> | |||
@@ -88,7 +88,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="biz-td">金币 :</td> | |||
<td class="biz-td">金币:</td> | |||
<td class="biz-td"> | |||
<input type="text" name="money" id="money" value="<?php echo $row['money'];?>" class="biz-input-sm"> | |||
积分:<input type="text" name="scores" id="scores" value="<?php echo $row['scores'];?>" class="biz-input-sm"> | |||
@@ -96,14 +96,14 @@ | |||
<tr> | |||
<td>字段类型:</td> | |||
<td> | |||
<label><input type="radio" name="autofield" value="1" checked="checked" <?php echo ($ctag->GetAtt('autofield')==1 ? " checked":""); ?>> 系统自动生成表单字段</label> | |||
<label><input type="radio" name="autofield" value="0" <?php echo ( ($ctag->GetAtt('autofield')==''||$ctag->GetAtt('autofield')=='0') ? " checked":""); ?>> 已经固化在发布表单中字段</label></td> | |||
<label><input type="radio" name="autofield" value="1" checked="checked" <?php echo ($ctag->GetAtt('autofield')==1 ? " checked":"");?>> 系统自动生成表单字段</label> | |||
<label><input type="radio" name="autofield" value="0" <?php echo ( ($ctag->GetAtt('autofield')==''||$ctag->GetAtt('autofield')=='0') ? " checked":"");?>> 已经固化在发布表单中字段</label></td> | |||
</tr> | |||
<tr> | |||
<td>前台参数:</td> | |||
<td> | |||
<label><input type="checkbox" name="islist" id="islist" value="1" <?php echo ($ctag->GetAtt('islist')==1 ? " checked":""); ?>> 使字段可以在列表的底层模板中获得(自定义字段默认仅能在文档模板显示,启用此选项将使列表查询变慢,如无必要请不要选择)</label><br> | |||
<label><input type="checkbox" name="notsend" id="notsend" value="1" <?php echo ($ctag->GetAtt('notsend')==1 ? " checked":""); ?> /> 前台投稿及采集规则禁用本字段</label> | |||
<label><input type="checkbox" name="islist" id="islist" value="1" <?php echo ($ctag->GetAtt('islist')==1 ? " checked":"");?>> 使字段可以在列表的底层模板中获得(自定义字段默认仅能在文档模板显示,启用此选项将使列表查询变慢,如无必要请不要选择)</label><br> | |||
<label><input type="checkbox" name="notsend" id="notsend" value="1" <?php echo ($ctag->GetAtt('notsend')==1 ? " checked":"");?> /> 前台投稿及采集规则禁用本字段</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -182,7 +182,7 @@ | |||
</tr> | |||
<tr> | |||
<td>最大长度:<br> | |||
<span class="style2"> 文本数据必须填写,大于255为text类型 </span></td> | |||
<span class="style2">文本数据必须填写,大于255为text类型</span></td> | |||
<td><input type="text" name="maxlength" id="maxlength" value="<?php echo $ctag->GetAtt('maxlength')?>" class="biz-input-xs"></td> | |||
</tr> | |||
<tr> | |||
@@ -184,7 +184,7 @@ | |||
{ | |||
if (!preg_match("#\.#", $row1['evalue'])) | |||
{ | |||
$row1['ename'] = ($row1['evalue'] % 500 == 0)? $row1['ename'] : '└─'.$row1['ename']; | |||
$row1['ename'] = ($row1['evalue'] % 500 == 0)? $row1['ename'] : '└─ '.$row1['ename']; | |||
if ($topvalue != $row1['evalue']) $options .= "<option value='{$row1['evalue']}'>{$row1['ename']}</option>"; | |||
else $options .= "<option value='{$row1['evalue']}' selected='selected'>{$row1['ename']}</option>"; | |||
} | |||
@@ -258,9 +258,9 @@ | |||
<?php | |||
if (!preg_match("#\.#", $fields['evalue'])) | |||
{ | |||
if ($fields['evalue']>500 && $fields['evalue']%500 != 0) $fields['ename'] = " └─".$fields['ename']; | |||
if ($fields['evalue']>500 && $fields['evalue']%500 != 0) $fields['ename'] = "└─ ".$fields['ename']; | |||
} else { | |||
$fields['ename'] = " └───".$fields['ename']; | |||
$fields['ename'] = "└─── ".$fields['ename']; | |||
} | |||
?> | |||
<input type='text' id='ename{dede:field.id/}' value='{dede:field.ename/}' class='abt'> | |||
@@ -67,7 +67,7 @@ if ($arr['issign']==0) | |||
{ | |||
$options .= "<option value='{$row1['evalue']}'>{$row1['ename']}</option>"; | |||
} else { | |||
$options .= "<option value='{$row1['evalue']}'>└─{$row1['ename']}</option>"; | |||
$options .= "<option value='{$row1['evalue']}'>└─ {$row1['ename']}</option>"; | |||
} | |||
} | |||
?> | |||
@@ -51,15 +51,15 @@ | |||
<table width="98%" cellspacing="1" cellpadding="1" class="table table-borderless"> | |||
<tr> | |||
<td width="260" class="biz-td">用户登录id:</td> | |||
<td><input type="text" name="userid" id="userid" size="16" class="biz-input-md">(只能用[0-9a-zA-Z_@!.-]以内范围的字符)</td> | |||
<td><input type="text" name="userid" id="userid" class="biz-input-md">(只能用[0-9a-zA-Z_@!.-]以内范围的字符)</td> | |||
</tr> | |||
<tr> | |||
<td class="biz-td">用户名称:</td> | |||
<td><input type="text" name="uname" id="uname" size="16" class="biz-input-md">(发布文档后显示责任编辑的名字)</td> | |||
<td><input type="text" name="uname" id="uname" class="biz-input-sm">(发布文档后显示责任编辑的名字)</td> | |||
</tr> | |||
<tr> | |||
<td class="biz-td">用户密码:</td> | |||
<td><input type="text" name="pwd" id="pwd" size="16" class="biz-input-md">(只能用[0-9a-zA-Z_@!.-]以内范围的字符)</td> | |||
<td><input type="text" name="pwd" id="pwd" class="biz-input-md">(只能用[0-9a-zA-Z_@!.-]以内范围的字符)</td> | |||
</tr> | |||
<tr> | |||
<td class="biz-td">用户组:</td> | |||
@@ -80,7 +80,7 @@ | |||
<tr> | |||
<td class="biz-td">授权栏目:</td> | |||
<td class="biz-td"> | |||
<select name="typeids[]" id="typeid" multiple="true" style="width:260px;height:200px"> | |||
<select name="typeids[]" id="typeid" multiple="true" class="biz-input-md" style="height:200px"> | |||
<option value="0" class="alltype" selected>所有频道</option> | |||
<?php echo $typeOptions?> | |||
</select>(按Ctrl可以进行多选) | |||
@@ -98,7 +98,7 @@ | |||
<td class="biz-td">验证安全码:</td> | |||
<td class="biz-td"> | |||
<input type="text" name="safecode" id="safecode" class="biz-input-md"> | |||
<input type="hidden" name="randcode" value="<?php echo $randcode;?>">(安全码:<span class='text-danger'><?php echo $safecode; ?></span>) | |||
<input type="hidden" name="randcode" value="<?php echo $randcode;?>">(安全码:<span class="text-success"><?php echo $safecode;?></span>) | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -33,11 +33,11 @@ | |||
</tr> | |||
<tr> | |||
<td class="biz-td">用户名称:</td> | |||
<td class="biz-td"><input type="text" name="uname" id="uname" size="16" value="<?php echo $row['uname']?>" class="biz-input-md">(发布文档后显示责任编辑的名字)</td> | |||
<td class="biz-td"><input type="text" name="uname" id="uname" value="<?php echo $row['uname']?>" class="biz-input-sm">(发布文档后显示责任编辑的名字)</td> | |||
</tr> | |||
<tr> | |||
<td class="biz-td">用户密码:</td> | |||
<td class="biz-td"><input type="text" name="pwd" id="pwd" size="16" class="biz-input-md">(留空则不修改,只能用'0-9a-zA-Z.@_-!'以内范围的字符)</td> | |||
<td class="biz-td"><input type="text" name="pwd" id="pwd" class="biz-input-md">(留空则不修改,只能用[0-9a-zA-Z_@!.-]以内范围的字符)</td> | |||
</tr> | |||
<tr> | |||
<td class="biz-td">用户类型:</td> | |||
@@ -58,7 +58,7 @@ | |||
<tr> | |||
<td class="biz-td">负责频道:</td> | |||
<td class="biz-td"> | |||
<select name="typeids[]" id="typeid" size="10" style="width:260px;height:200px" multiple="true"> | |||
<select name="typeids[]" id="typeid" multiple="true" class="biz-input-md" style="height:200px"> | |||
<option value="0" class="alltype">所有频道</option> | |||
<?php echo $typeOptions?> | |||
</select>(按Ctrl可以进行多选) | |||
@@ -76,7 +76,7 @@ | |||
<td class="biz-td">验证安全码:</td> | |||
<td class="biz-td"> | |||
<input type="text" name="safecode" id="safecode" class="biz-input-md"> | |||
<input type="hidden" name="randcode" value="<?php echo $randcode;?>">(安全码:<span class='text-danger'><?php echo $safecode; ?></span>) | |||
<input type="hidden" name="randcode" value="<?php echo $randcode;?>">(安全码:<span class="text-success"><?php echo $safecode;?></span>) | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -455,15 +455,6 @@ body.hidemenu .body-right { | |||
border:2px solid #28a745; | |||
z-index:10005 | |||
} | |||
option.alltype { | |||
padding:2px 0 4px 0px | |||
} | |||
option.btype { | |||
padding:2px 0 4px 10px | |||
} | |||
option.stype { | |||
padding:2px 0 4px 20px | |||
} | |||
span.page-link { | |||
color:#fff; | |||
background:#28a745 | |||
@@ -62,7 +62,7 @@ class SearchView | |||
* @param string $starttime 开始时间 | |||
* @param string $upagesize 页数 | |||
* @param string $kwtype 关键词类型 | |||
* @param string $mid 会员ID | |||
* @param string $mid 会员id | |||
* @return string | |||
*/ | |||
function __construct( | |||
@@ -121,7 +121,7 @@ if (!function_exists('GetTags')) { | |||
* @param int $sortrank 排序ID | |||
* @param int $channelid 模型ID | |||
* @param int $senddate 发布日期 | |||
* @param int $mid 会员ID | |||
* @param int $mid 会员id | |||
* @return int | |||
*/ | |||
if (!function_exists('GetIndexKey')) { | |||
@@ -246,9 +246,9 @@ class TypeLink | |||
if (!in_array($row->id, $oper)) continue; | |||
} | |||
if ($row->ispart == 1) { | |||
$this->OptionArrayList .= "<option value='".$row->id."' style='background-color:#EFEFEF;color:#545b62'>$step".$row->typename."</option>\r\n"; | |||
$this->OptionArrayList .= "<option value='".$row->id."' style='background-color:#efefef;color:#545b62'>$step ".$row->typename."</option>\r\n"; | |||
} else { | |||
$this->OptionArrayList .= "<option value='".$row->id."'>$step".$row->typename."</option>\r\n"; | |||
$this->OptionArrayList .= "<option value='".$row->id."'>$step ".$row->typename."</option>\r\n"; | |||
} | |||
$this->LogicGetOptionArray($row->id, $step."─", $oper); | |||
} | |||
@@ -80,7 +80,7 @@ function LogicGetOptionArray($id, $step, $channeltype, $selid = 0) | |||
/** | |||
* 自定义类型 | |||
* | |||
* @param int $mid 会员ID | |||
* @param int $mid 会员id | |||
* @param int $mtypeid 自定义类别ID | |||
* @param int $channelid 频道id | |||
* @return string | |||
@@ -65,7 +65,7 @@ function sendmail($email, $mailtitle, $mailbody, $headers) | |||
/** | |||
* 发送邮件;type为INSERT新建验证码,UPDATE修改验证码; | |||
* | |||
* @param int $mid 会员ID | |||
* @param int $mid 会员id | |||
* @param int $userid 用户id | |||
* @param string $mailto 发送到 | |||
* @param string $type 类型 | |||
@@ -127,7 +127,7 @@ function member($mail, $userid) | |||
/** | |||
* 查询是否发送过验证码 | |||
* | |||
* @param string $mid 会员ID | |||
* @param string $mid 会员id | |||
* @param string $userid 用户名称 | |||
* @param string $mailto 发送邮件地址 | |||
* @param string $send 为Y发送邮件,为N不发送邮件默认为Y | |||