@@ -48,7 +48,7 @@ function GetFormItem($ctag) | |||||
$i = 0; | $i = 0; | ||||
if ($v != '') { | if ($v != '') { | ||||
if ($i == 0) { | if ($i == 0) { | ||||
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v' checked> $v</label>\r\n"; | |||||
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v' checked='checked'> $v</label>\r\n"; | |||||
} else { | } else { | ||||
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v'> $v</label>\r\n"; | $myformItem .= "<label><input type='radio' name='$fieldname' value='$v'> $v</label>\r\n"; | ||||
} | } | ||||
@@ -247,7 +247,7 @@ function GetFormItemValue($ctag, $fvalue) | |||||
$v = trim($v); | $v = trim($v); | ||||
if ($v != '') { | if ($v != '') { | ||||
if ($fvalue == $v) { | if ($fvalue == $v) { | ||||
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v' checked> $v</label>\r\n"; | |||||
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v' checked='checked'> $v</label>\r\n"; | |||||
} else { | } else { | ||||
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v'> $v</label>\r\n"; | $myformItem .= "<label><input type='radio' name='$fieldname' value='$v'> $v</label>\r\n"; | ||||
} | } | ||||
@@ -399,7 +399,7 @@ if ($dopost == "show") { | |||||
$label = $ctag->GetAtt('itemname'); | $label = $ctag->GetAtt('itemname'); | ||||
if (in_array($datatype, $searchtype)) { | if (in_array($datatype, $searchtype)) { | ||||
$checked = in_array($value, $addonfieldsarr) ? 'checked' : ''; | $checked = in_array($value, $addonfieldsarr) ? 'checked' : ''; | ||||
$addonfields .= "<label><input type='checkbox' name='addonfields[]' value='$value' $checked> $label</label> "; | |||||
$addonfields .= "<label><input type='checkbox' name='addonfields[]' value='$value' $checked='checked'> $label</label> "; | |||||
} | } | ||||
} | } | ||||
} | } | ||||
@@ -501,7 +501,7 @@ if ($dopost == "show") { | |||||
} else if ($type == 'radio') { | } else if ($type == 'radio') { | ||||
$values = explode(',', $valuearr[$k]); | $values = explode(',', $valuearr[$k]); | ||||
if (is_array($values) && !empty($values)) { | if (is_array($values) && !empty($values)) { | ||||
$forms .= "$itemname:<label><input type=\"radio\" name=\"".$name."\" value=\"\" checked> 不限</label><br>"; | |||||
$forms .= "$itemname:<label><input type=\"radio\" name=\"".$name."\" value=\"\" checked=\"checked\"> 不限</label><br>"; | |||||
foreach ($values as $value) { | foreach ($values as $value) { | ||||
$forms .= "<label><input type=\"radio\" name=\"".$name."\" value=\"$value\"> $value</label>"; | $forms .= "<label><input type=\"radio\" name=\"".$name."\" value=\"$value\"> $value</label>"; | ||||
} | } | ||||
@@ -289,7 +289,7 @@ | |||||
</td> | </td> | ||||
<td width="120">发布选项:</td> | <td width="120">发布选项:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ishtml" value="1" checked> 生成网页</label> | |||||
<label><input type="radio" name="ishtml" value="1" checked="checked"> 生成网页</label> | |||||
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | <label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -222,7 +222,7 @@ | |||||
</td> | </td> | ||||
<td width="120">发布选项:</td> | <td width="120">发布选项:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ishtml" value="1" checked> 生成网页</label> | |||||
<label><input type="radio" name="ishtml" value="1" checked="checked"> 生成网页</label> | |||||
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | <label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -53,7 +53,7 @@ | |||||
<tr> | <tr> | ||||
<td width="120">操作:</td> | <td width="120">操作:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="dojob" value="des" checked> 自动摘要</label> | |||||
<label><input type="radio" name="dojob" value="des" checked="checked"> 自动摘要</label> | |||||
<label><input type="radio" name="dojob" value="page"> 自动分页</label> | <label><input type="radio" name="dojob" value="page"> 自动分页</label> | ||||
</td> | </td> | ||||
<td width="120">自动分页大小:</td> | <td width="120">自动分页大小:</td> | ||||
@@ -265,7 +265,7 @@ | |||||
<td> | <td> | ||||
<input type="text" name="apikey" id="apikey" class="admin-input-lg" placeholder="请输入跨站调用秘钥"> | <input type="text" name="apikey" id="apikey" class="admin-input-lg" placeholder="请输入跨站调用秘钥"> | ||||
<label class="l-height-28"><input type="radio" name="apienabled" value="1"> 支持</label> | <label class="l-height-28"><input type="radio" name="apienabled" value="1"> 支持</label> | ||||
<label class="l-height-28"><input type="radio" name="apienabled" value="0" checked> 不支持</label> | |||||
<label class="l-height-28"><input type="radio" name="apienabled" value="0" checked="checked"> 不支持</label> | |||||
<span class="btn btn-success btn-sm ml-2" title="更新秘钥" onclick="makeAPIKey()"><i class="fa fa-repeat"></i></span> | <span class="btn btn-success btn-sm ml-2" title="更新秘钥" onclick="makeAPIKey()"><i class="fa fa-repeat"></i></span> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -47,7 +47,7 @@ | |||||
<label><img src="../static/web/img/g_t3.jpg"><input type="radio" name="liststyle" onclick="ChangeListStyle()" value="3"></label> | <label><img src="../static/web/img/g_t3.jpg"><input type="radio" name="liststyle" onclick="ChangeListStyle()" value="3"></label> | ||||
</td> | </td> | ||||
<td> | <td> | ||||
<label><img src="../static/web/img/g_t4.jpg"><input type="radio" name="liststyle" onclick="ChangeListStyle()" value="4" checked></label> | |||||
<label><img src="../static/web/img/g_t4.jpg"><input type="radio" name="liststyle" onclick="ChangeListStyle()" value="4" checked="checked"></label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -162,7 +162,7 @@ | |||||
<option value="lastpost">最后评论时间</option> | <option value="lastpost">最后评论时间</option> | ||||
<option value="postnum">评论总数</option> | <option value="postnum">评论总数</option> | ||||
</select> | </select> | ||||
<label class="l-height-28"><input type="radio" name="order" value="desc" checked> 由高到低</label> | |||||
<label class="l-height-28"><input type="radio" name="order" value="desc" checked="checked"> 由高到低</label> | |||||
<label class="l-height-28"><input type="radio" name="order" value="asc"> 由低到高</label> | <label class="l-height-28"><input type="radio" name="order" value="asc"> 由低到高</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -40,11 +40,11 @@ | |||||
<input type="hidden" name="adminstyle" value="newDedeBIZ"> | <input type="hidden" name="adminstyle" value="newDedeBIZ"> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
<label>管理员账号</label> | <label>管理员账号</label> | ||||
<input type="text" name="userid" id="iptUserid" class="form-control" placeholder="请输入管理员账号" required> | |||||
<input type="text" name="userid" id="iptUserid" class="form-control" placeholder="请输入管理员账号" required="required"> | |||||
</div> | </div> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
<label>管理员密码</label> | <label>管理员密码</label> | ||||
<input type="password" name="pwd" id="iptPwd" class="form-control" placeholder="请输入管理员密码" required> | |||||
<input type="password" name="pwd" id="iptPwd" class="form-control" placeholder="请输入管理员密码" required="required"> | |||||
</div> | </div> | ||||
<div id="vdimgck" class="form-group" style="display:none"> | <div id="vdimgck" class="form-group" style="display:none"> | ||||
<label>验证码</label> | <label>验证码</label> | ||||
@@ -37,7 +37,7 @@ | |||||
<td>相关选项:</td> | <td>相关选项:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="saveset" value="0"> 不保存当前选项</label> | <label><input type="radio" name="saveset" value="0"> 不保存当前选项</label> | ||||
<label><input type="radio" name="saveset" value="1" checked> 保存当前选项</label> | |||||
<label><input type="radio" name="saveset" value="1" checked="checked"> 保存当前选项</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -65,7 +65,7 @@ | |||||
<td><input type="text" name="rank_new" id="rank_new" value="20"></td> | <td><input type="text" name="rank_new" id="rank_new" value="20"></td> | ||||
<td><input type="text" name="money_new" id="money_new" value="0"></td> | <td><input type="text" name="money_new" id="money_new" value="0"></td> | ||||
<td><input type="text" name="scores_new" id="scores_new" value="100"></td> | <td><input type="text" name="scores_new" id="scores_new" value="100"></td> | ||||
<td><input type="checkbox" name="check_new" id="check_new" value="1" checked> 添加等级</td> | |||||
<td><input type="checkbox" name="check_new" id="check_new" value="1" checked="checked"> 添加等级</td> | |||||
<td></td> | <td></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -277,7 +277,7 @@ | |||||
<option value="KB">KB</option> | <option value="KB">KB</option> | ||||
<option value="GB">GB</option> | <option value="GB">GB</option> | ||||
</select> | </select> | ||||
<label><input type="checkbox" name="autosize" id="autosize" value="1" checked>自动获取</label> | |||||
<label><input type="checkbox" name="autosize" id="autosize" value="1" checked="checked">自动获取</label> | |||||
</td> | </td> | ||||
<td width="120">需会员权限:</td> | <td width="120">需会员权限:</td> | ||||
<td align="left"> | <td align="left"> | ||||
@@ -336,7 +336,7 @@ | |||||
<input type='text' name='softurlfirst<?php echo $startNum;?>' class='admin-input-lg' value='<?php echo $siteurl;?>'> + | <input type='text' name='softurlfirst<?php echo $startNum;?>' class='admin-input-lg' value='<?php echo $siteurl;?>'> + | ||||
<input type='text' name='softurl<?php echo $startNum;?>' class='admin-input-sm'> = | <input type='text' name='softurl<?php echo $startNum;?>' class='admin-input-sm'> = | ||||
<input type='text' name='servermsg<?php echo $startNum;?>' class='admin-input-sm' value='<?php echo $sitename;?>'> | <input type='text' name='servermsg<?php echo $startNum;?>' class='admin-input-sm' value='<?php echo $sitename;?>'> | ||||
<label><input type='checkbox' name='need<?php echo $startNum;?>' value='1' checked> 启用</label> | |||||
<label><input type='checkbox' name='need<?php echo $startNum;?>' value='1' checked="checked"> 启用</label> | |||||
</div> | </div> | ||||
<?php | <?php | ||||
$startNum++; | $startNum++; | ||||
@@ -392,7 +392,7 @@ | |||||
</td> | </td> | ||||
<td width="120">发布选项:</td> | <td width="120">发布选项:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ishtml" value="1" checked> 生成网页</label> | |||||
<label><input type="radio" name="ishtml" value="1" checked="checked"> 生成网页</label> | |||||
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | <label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -171,7 +171,7 @@ | |||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<label>栏目id:<input type="text" name="typeid<?php echo $i?>" id="_typeid<?php echo $i?>" value="0" class="admin-input-sm"></label> | <label>栏目id:<input type="text" name="typeid<?php echo $i?>" id="_typeid<?php echo $i?>" value="0" class="admin-input-sm"></label> | ||||
<label>关键词:<input type="text" name="keywords<?php echo $i?>" id="keywords<?php echo $i?>" value="" class="admin-input-lg">(英文逗号分开)</label> | <label>关键词:<input type="text" name="keywords<?php echo $i?>" id="keywords<?php echo $i?>" value="" class="admin-input-lg">(英文逗号分开)</label> | ||||
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" checked> 按文档列表</label> | |||||
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" checked="checked"> 按文档列表</label> | |||||
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1"> 自动获取文档</label> | <label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1"> 自动获取文档</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -229,7 +229,7 @@ | |||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<label>栏目id:<input type="text" name="typeid<?php echo $i?>" id="_typeid<?php echo $i?>" value="0" class="admin-input-sm"></label> | <label>栏目id:<input type="text" name="typeid<?php echo $i?>" id="_typeid<?php echo $i?>" value="0" class="admin-input-sm"></label> | ||||
<label>关键词:<input type="text" name="keywords<?php echo $i?>" id="keywords<?php echo $i?>" value="" class="admin-input-lg">(空格分开)</label> | <label>关键词:<input type="text" name="keywords<?php echo $i?>" id="keywords<?php echo $i?>" value="" class="admin-input-lg">(空格分开)</label> | ||||
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" checked> 按文档列表</label> | |||||
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" checked="checked"> 按文档列表</label> | |||||
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1"> 自动获取文档</label> | <label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1"> 自动获取文档</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -46,7 +46,7 @@ | |||||
$t = $dedeSysTables[$i]; | $t = $dedeSysTables[$i]; | ||||
echo "<tr align='center'>"; | echo "<tr align='center'>"; | ||||
?> | ?> | ||||
<td><input type="checkbox" name="tables" value="<?php echo $t;?>" checked></td> | |||||
<td><input type="checkbox" name="tables" value="<?php echo $t;?>" checked="checked"></td> | |||||
<td><?php echo $t;?></td> | <td><?php echo $t;?></td> | ||||
<td><?php echo TjCount($t,$dsql);?></td> | <td><?php echo TjCount($t,$dsql);?></td> | ||||
<td> | <td> | ||||
@@ -59,7 +59,7 @@ | |||||
if (isset($dedeSysTables[$i])) { | if (isset($dedeSysTables[$i])) { | ||||
$t = $dedeSysTables[$i]; | $t = $dedeSysTables[$i]; | ||||
?> | ?> | ||||
<td><input type="checkbox" name="tables" value="<?php echo $t;?>" checked></td> | |||||
<td><input type="checkbox" name="tables" value="<?php echo $t;?>" checked="checked"></td> | |||||
<td><?php echo $t;?></td> | <td><?php echo $t;?></td> | ||||
<td><?php echo TjCount($t,$dsql);?></td> | <td><?php echo TjCount($t,$dsql);?></td> | ||||
<td> | <td> | ||||
@@ -61,7 +61,7 @@ | |||||
<td colspan="2"> | <td colspan="2"> | ||||
<span>运行SQL命令行:</span> | <span>运行SQL命令行:</span> | ||||
<label><input type="radio" name="querytype" value="0"> 单行命令</label> | <label><input type="radio" name="querytype" value="0"> 单行命令</label> | ||||
<label><input type="radio" name="querytype" value="2" checked> 多行命令</label> | |||||
<label><input type="radio" name="querytype" value="2" checked="checked"> 多行命令</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -64,7 +64,7 @@ | |||||
<td>是否编译文档:</td> | <td>是否编译文档:</td> | ||||
<td> | <td> | ||||
<?php if (!DEDEBIZ_SAFE_MODE) {?><label><input type="radio" name="ismake" value="1"> 含模板标记,要编译</label><?php }?> | <?php if (!DEDEBIZ_SAFE_MODE) {?><label><input type="radio" name="ismake" value="1"> 含模板标记,要编译</label><?php }?> | ||||
<label><input type="radio" name="ismake" value="0" checked> 不含模板标记,不需要编译</label> | |||||
<label><input type="radio" name="ismake" value="0" checked="checked"> 不含模板标记,不需要编译</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -39,14 +39,14 @@ | |||||
<td>是否允许游客投票:</td> | <td>是否允许游客投票:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="isallow" value="0"> 是</label> | <label><input type="radio" name="isallow" value="0"> 是</label> | ||||
<label><input type="radio" name="isallow" value="1" checked> 否</label> | |||||
<label><input type="radio" name="isallow" value="1" checked="checked"> 否</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>是否允许查看投票:</td> | <td>是否允许查看投票:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="view" value="0"> 是</label> | <label><input type="radio" name="view" value="0"> 是</label> | ||||
<label><input type="radio" name="view" value="1" checked> 否</label> | |||||
<label><input type="radio" name="view" value="1" checked="checked"> 否</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -59,7 +59,7 @@ | |||||
<tr> | <tr> | ||||
<td>是否多选:</td> | <td>是否多选:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ismore" value="0" checked> 单选</label> | |||||
<label><input type="radio" name="ismore" value="0" checked="checked"> 单选</label> | |||||
<label><input type="radio" name="ismore" value="1"> 多选</label> | <label><input type="radio" name="ismore" value="1"> 多选</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -79,7 +79,7 @@ | |||||
<tr> | <tr> | ||||
<td>是否启用:</td> | <td>是否启用:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="isenable" value="0" checked> 是</label> | |||||
<label><input type="radio" name="isenable" value="0" checked="checked"> 是</label> | |||||
<label><input type="radio" name="isenable" value="1"> 否</label> | <label><input type="radio" name="isenable" value="1"> 否</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -68,7 +68,7 @@ function GetFormItem($ctag, $admintype = 'admin') | |||||
foreach ($items as $v) { | foreach ($items as $v) { | ||||
$v = trim($v); | $v = trim($v); | ||||
if ($v != '') { | if ($v != '') { | ||||
$myformItem .= ($i == 0 ? "<div class='form-check form-check-inline'><label class='form-check-label'><input type='radio' name='$fieldname' class='form-check-input' value='$v' checked> $v</label></div>" : "<div class='form-check form-check-inline'><label class='form-check-label'><input type='radio' name='$fieldname' class='form-check-input' value='$v'> $v</label></div>"); | |||||
$myformItem .= ($i == 0 ? "<div class='form-check form-check-inline'><label class='form-check-label'><input type='radio' name='$fieldname' class='form-check-input' value='$v' checked='checked'> $v</label></div>" : "<div class='form-check form-check-inline'><label class='form-check-label'><input type='radio' name='$fieldname' class='form-check-input' value='$v'> $v</label></div>"); | |||||
$i++; | $i++; | ||||
} | } | ||||
} | } | ||||
@@ -80,7 +80,7 @@ | |||||
<tr> | <tr> | ||||
<td>关键词模式:</td> | <td>关键词模式:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="kwtype" value="1" checked> 或</label> | |||||
<label><input type="radio" name="kwtype" value="1" checked="checked"> 或</label> | |||||
<label><input type="radio" name="kwtype" value="0"> 与</label> | <label><input type="radio" name="kwtype" value="0"> 与</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -26,11 +26,11 @@ | |||||
<input type="hidden" name="gourl" value="<?php if (!empty($gourl)) echo $gourl;?>"> | <input type="hidden" name="gourl" value="<?php if (!empty($gourl)) echo $gourl;?>"> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
<label>会员账号</label> | <label>会员账号</label> | ||||
<input type="text" name="userid" id="iptUserid" class="form-control" placeholder="请输入登录会员账号" required> | |||||
<input type="text" name="userid" id="iptUserid" class="form-control" placeholder="请输入登录会员账号" required="required"> | |||||
</div> | </div> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
<label>会员密码</label> | <label>会员密码</label> | ||||
<input type="password" name="pwd" id="iptPwd" class="form-control" placeholder="请输入登录会员密码" required> | |||||
<input type="password" name="pwd" id="iptPwd" class="form-control" placeholder="请输入登录会员密码" required="required"> | |||||
</div> | </div> | ||||
<div id="vdimgck" class="form-group" style="display:none"> | <div id="vdimgck" class="form-group" style="display:none"> | ||||
<label>验证码</label> | <label>验证码</label> | ||||
@@ -25,25 +25,25 @@ | |||||
<input type="hidden" name="pid" value="<?php echo $pid;?>"> | <input type="hidden" name="pid" value="<?php echo $pid;?>"> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
<label>会员账号</label> | <label>会员账号</label> | ||||
<input type="text" name="userid" id="iptUserid" class="form-control" placeholder="请输入会员账号" required> | |||||
<input type="text" name="userid" id="iptUserid" class="form-control" placeholder="请输入会员账号" required="required"> | |||||
</div> | </div> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
<label>会员密码</label> | <label>会员密码</label> | ||||
<input type="password" name="userpwd" id="iptUserpwd" class="form-control" placeholder="请输入会员密码" required> | |||||
<input type="password" name="userpwd" id="iptUserpwd" class="form-control" placeholder="请输入会员密码" required="required"> | |||||
</div> | </div> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
<label>确认会员密码</label> | <label>确认会员密码</label> | ||||
<input type="password" name="userpwdok" id="iptUserpwdok" class="form-control" placeholder="请输入确认会员密码" required> | |||||
<input type="password" name="userpwdok" id="iptUserpwdok" class="form-control" placeholder="请输入确认会员密码" required="required"> | |||||
</div> | </div> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
<label>验证码</label> | <label>验证码</label> | ||||
<div class="input-group"> | <div class="input-group"> | ||||
<input type="text" name="vdcode" id="iptValidate" class="form-control text-uppercase" placeholder="请输入验证码" required> | |||||
<input type="text" name="vdcode" id="iptValidate" class="form-control text-uppercase" placeholder="请输入验证码" required="required"> | |||||
<img src="<?php echo $cfg_cmsurl;?>/apps/vdimgck.php" id="validateimg" onClick="this.src='<?php echo $cfg_cmsurl;?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码"> | <img src="<?php echo $cfg_cmsurl;?>/apps/vdimgck.php" id="validateimg" onClick="this.src='<?php echo $cfg_cmsurl;?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码"> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
<div class="form-group form-check"> | <div class="form-group form-check"> | ||||
<input type="checkbox" id="iptLicence" class="form-check-input"> | |||||
<input type="checkbox" id="iptLicence" class="form-check-input" checked="false"> | |||||
<label class="form-check-label licence" for="iptLicence">我已阅读并接受<a href="">《会员注册条款》</a>和<a href="">《隐私保护条例》</a></label> | <label class="form-check-label licence" for="iptLicence">我已阅读并接受<a href="">《会员注册条款》</a>和<a href="">《隐私保护条例》</a></label> | ||||
</div> | </div> | ||||
<div class="form-group"><button type="submit" class="btn btn-success btn-md btn-block">注册</button></div> | <div class="form-group"><button type="submit" class="btn btn-success btn-md btn-block">注册</button></div> | ||||
@@ -22,11 +22,11 @@ | |||||
<input type="hidden" name="gourl" value="<?php if (!empty($gourl)) echo $gourl;?>"> | <input type="hidden" name="gourl" value="<?php if (!empty($gourl)) echo $gourl;?>"> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
<label>会员账号</label> | <label>会员账号</label> | ||||
<input type="text" name="userid" id="iptUserid" class="form-control" placeholder="请输入账号" required> | |||||
<input type="text" name="userid" id="iptUserid" class="form-control" placeholder="请输入会员账号" required="required"> | |||||
</div> | </div> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
<label>邮箱</label> | <label>邮箱</label> | ||||
<input type="text" name="mail" id="iptMail" class="form-control" placeholder="请输入邮箱" required> | |||||
<input type="text" name="mail" id="iptMail" class="form-control" placeholder="请输入邮箱" required="required"> | |||||
</div> | </div> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
<label>找回方式</label> | <label>找回方式</label> | ||||
@@ -40,7 +40,7 @@ | |||||
<div class="form-group"> | <div class="form-group"> | ||||
<label>验证码</label> | <label>验证码</label> | ||||
<div class="input-group"> | <div class="input-group"> | ||||
<input type="text" name="vdcode" id="iptValidate" class="form-control text-uppercase" placeholder="请输入验证码" required> | |||||
<input type="text" name="vdcode" id="iptValidate" class="form-control text-uppercase" placeholder="请输入验证码" required="required"> | |||||
<img src="<?php echo $cfg_cmsurl;?>/apps/vdimgck.php" id="validateimg" onclick="this.src='<?php echo $cfg_cmsurl;?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码"> | <img src="<?php echo $cfg_cmsurl;?>/apps/vdimgck.php" id="validateimg" onclick="this.src='<?php echo $cfg_cmsurl;?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码"> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
@@ -28,7 +28,7 @@ | |||||
<?php if (empty($key)) {?> | <?php if (empty($key)) {?> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
<label>会员临时密码</label> | <label>会员临时密码</label> | ||||
<input type="password" name="pwdtmp" id="iptPwdtmp" class="form-control" placeholder="请输入临时密码"> | |||||
<input type="password" name="pwdtmp" id="iptPwdtmp" class="form-control" placeholder="请输会员临时密码"> | |||||
</div> | </div> | ||||
<?php } else {?> | <?php } else {?> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
@@ -38,11 +38,11 @@ | |||||
<?php }?> | <?php }?> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
<label>会员新密码</label> | <label>会员新密码</label> | ||||
<input type="password" name="pwd" id="iptPwd" class="form-control" placeholder="请输入新密码"> | |||||
<input type="password" name="pwd" id="iptPwd" class="form-control" placeholder="请输入会员新密码"> | |||||
</div> | </div> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
<label>会员确认密码</label> | <label>会员确认密码</label> | ||||
<input type="password" name="pwdok" id="iptPwdok" class="form-control" placeholder="请输入确认密码"> | |||||
<input type="password" name="pwdok" id="iptPwdok" class="form-control" placeholder="请输入会员确认密码"> | |||||
</div> | </div> | ||||
<div><button type="submit" class="btn btn-success btn-md btn-block">下一步</button></div> | <div><button type="submit" class="btn btn-success btn-md btn-block">下一步</button></div> | ||||
</form> | </form> | ||||