1. 程式人生 > >帝國cms提交後返回地址變數:ecmsfrom

帝國cms提交後返回地址變數:ecmsfrom

設計檢視:


程式碼模式下的表單程式碼

<table width="300" border="0" cellpadding="3" cellspacing="1" bgcolor="#8CBDEF">
<form name="login" method="post" action="/e/enews/index.php">
    <tr>
      <td height="25" colspan="2">
                  <div align="center"><strong><font color="#FFFFFF">會員登陸</font></strong></div>
      </td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td width="97" height="25">使用者帳號</td>
      <td width="188" height="25">
        <input name="username" type="text">


      </td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td height="25">使用者密碼</td>
      <td height="25">
        <input name="password" type="password">
      </td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td height="25">儲存時間</td>
      <td height="25">
        <select name="lifetime">
          <option value="0">不儲存</option>
          <option value="3600">一小時</option>
          <option value="86400">一天</option>
          <option value="2592000">一個月</option>
          <option value="315360000">永久</option>
        </select>

      </td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td height="25">驗證碼</td>
      <td height="25">
        <input name="key" type="text" size="6"> <img src="/e/ShowKey?ecms">
      </td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td height="25">&nbsp;</td>
      <td height="25">
        <input type="submit" name="Submit" value="登陸"> <input type="button" name="Submit" value="註冊" onclick="self.location.href='/e/member/register/';">
        <input name="enews" type="hidden" value="login">
</td>
    </tr>
</form>
</table>