Location: PHPKode > projects > PHPDug > templates/simple/login.html
{OVERALL_HEADER}
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="200" valign="top">
	IF("{LOGGEDIN}"=="0"){<a href="signup.php">{LANG_JOIN}</a><br><a href="login.php">{LANG_LOGIN}</a><br>{:IF}
	IF("{LOGGEDIN}"=="1"){<a href="{SITE_URL}editprofile.php">{LANG_EDITPROFILE}</a><br>{:IF}
      <a href="{SITE_URL}add_story.php">{LANG_SUBMITS}</a><br>
	IF("{LOGGEDIN}"=="1"){<a href="{SITE_URL}logout.php">{LANG_LOGOUT}</a><br>{:IF}
      <br>
	  <strong>{LANG_CATS}</strong><br>
      <br>
      {LOOP: CATS}
	  IF("{CATS.parent_id}"!="0"){&nbsp;&nbsp;{:IF}
	  <a href="{CATS.cat_url}">{CATS.cat_title}</a><br>
	  {/LOOP: CATS}
	  <br>
    <br></td>
    <td valign="top"><strong>{LANG_LOGIN}</strong><br>
    <br>
	<span class="error">{LOGIN_ERROR}</span>
	<br>
	<br>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="200"><form name="form1" method="post" action="{SITE_URL}login.php">
          <table width="200" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td>{LANG_USERNAME}</td>
            </tr>
            <tr>
              <td><input name="username" type="text" id="username"></td>
            </tr>
            <tr>
              <td>{LANG_PASSWORD}</td>
            </tr>
            <tr>
              <td><input name="password" type="password" id="password"></td>
            </tr>
            <tr>
              <td>{LANG_REMEMBER}
                <input name="remember" type="checkbox" id="remember" value="1"></td>
            </tr>
            <tr>
              <td><input type="submit" name="Submit" value="{LANG_LOGIN}">
                <input name="redirect" type="hidden" id="redirect" value="{REDIRECT}"></td>
            </tr>
          </table>
        </form></td>
        <td>&nbsp;</td>
        <td align="right" valign="top"><form name="form2" method="post" action="{SITE_URL}login.php">
          <table width="200" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td align="left" valign="top"><strong>{LANG_CANTLOG}</strong><br>
                <br>
                <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td>{LANG_EMAILAD}</td>
                  </tr>
                  <tr>
                    <td><input type="text" name="email"></td>
                  </tr>
                  <tr>
                    <td><input type="submit" name="Submit" value="{LANG_RETPASS}"></td>
                  </tr>
                </table>
                </td>
            </tr>
          </table>
        </form></td>
      </tr>
    </table>
	</td>
  </tr>
</table>
{OVERALL_FOOTER}
Return current item: PHPDug