我参考- <div class="loginarea">
- <form id="loginform" action="{S_URL}/batch.login.php?action=login" method="post">
- <fieldset>
- <legend>登录</legend>
- <p>用户名 <input type="text" name="username" id="username" /></p>
- <p>密 码 <input type="password" name="password" id="password" /></p>
- <p>有效期 <select name="cookietime">
- <option value="0" >浏览器进程</option>
- <option value="315360000" >永久</option>
- <option value="2592000" >一个月</option>
- <option value="86400" >一天</option>
- <option value="3600" >一小时</option>
- </select></p>
- <p> <button type="submit" id="loginsubmit" name="loginsubmit" value="true">登录</button></p>
- <input type="hidden" name="refer" value="$refer" />
- </fieldset>
- </form>
- </div>
复制代码 和要改的模板 弄了如下表单:- <div id="LoginBox">
- <form id="loginform" method="post" name="login163" action="{S_URL}/batch.login.php?action=login" onsubmit="return fLoginFormSubmit();" target="_top" style="position:relative">
- <div id="LoginBox-title"></div>
- <div >
- <table width="100%" border="0" cellspacing="0" cellpadding="0" id="LoginBox-input-table">
- <tr>
- <td width="54" height="33" align="right">用户名</td>
- <td><label><input type="text" name="username" id="username" class="inp" onMouseOver="fEvent('mouseover',this)" onFocus="fEvent('focus',this)" onBlur="fEvent('blur',this)" onMouseOut="fEvent('mouseout',this)"/>
- </label></td>
- </tr>
- <tr>
- <td height="33" align="right">密 码</td>
- <td><input type="password" name="password" id="password" class="inp" onMouseOver="fEvent('mouseover',this)" onFocus="fEvent('focus',this)" onBlur="fEvent('blur',this)" onMouseOut="fEvent('mouseout',this)"/></td>
- </tr>
- <tr>
- <td height="33" align="right">有效期</td>
- <td><select name="cookietime" class="sel" id="selType">
- <option value="0" >浏览器进程</option>
- <option value="315360000" >永久</option>
- <option value="2592000" >一个月</option>
- <option value="86400" >一天</option>
- <option value="3600" >一小时</option>
- </select> </td>
- </tr>
- <tr>
- <td height="32"> </td>
-
- </tr>
- <tr>
- <td height="36"> </td>
- <td align="left"><table border="0" cellpadding="0" cellspacing="0" id="btn1-border" onMouseOver="this.style.borderColor='#00FF00'"
- onMouseOut="this.style.borderColor='#D2E1EE'">
- <tr>
-
- <td ><input name="loginsubmit" type="submit" id="btn1" value="登录网站" title="登录网站" onclick="setCookie('ntes_mail_firstpage','normal')"/ style="border:#70B1CF 1px solid;background-position: -15px -196px; line-height:20px">
- <input type="hidden" name="refer" value="$refer" /></td>
- </tr>
- </table>
- </form>
- </div>
复制代码 进行认真对照 按照您说的都一样 可是 还是登陆不了 |