Location: PHPKode > projects > CsWebmail > cswebmail-3.10/cswebmail-3.10/templates/login_form.php
<script type="text/javascript">
if (top.location != self.location) {
  top.location = self.location.href;
}
$(document).ready(function(){
  $('#user_name').focus();
  $('#notice').fadeIn(1500);
});

</script>
<?if(!$_SERVER["HTTPS"]){?>
<div class="notice" id="notice" style="display:none">
Use <a href="https://<?=$_SERVER['SERVER_NAME'].dirname($_SERVER['PHP_SELF'])?>">
https://<?=$_SERVER['SERVER_NAME'].dirname($_SERVER['PHP_SELF'])?></a> for secure connection
</div>
<?}?>
<table class="content hsides w100">
  <tr><td>Try <a href="./mobile.php">Mobile <?=VERSION?></a> on your smart-phone or PDA.</td></tr>
  <tr>
    <td class="middle center" style="height:400px">
      <br/><br/><br/><br/>
      <form action="<?=$_SERVER['PHP_SELF']; ?>" method="post" name="login_form">
      <input name="action" value="login" type="hidden">
      <table align="center" cellpadding="7" cellspacing="0">
        <tr>
        <th rowspan="3" class="middle center" style="border-style: none;-moz-border-radius: 50px 0px 0px 50px;">
        <img src="<?=$GLOBALS['THEMES'][$theme_name]['image']?>">
        </th>
          <td class="right bold" style="border-color:#BBB;border-style: solid none none solid;border-width: 1px;">
          <nobr>user name</nobr>
          </td>
          <td style="border-color:#BBB;border-style: solid none none none;border-width: 1px;">
            <input id="user_name" name="user_name" type="text" style="width: 150px"/>
          </td>
        </tr>
        <tr>
          <td class="right bold" style="border-color:#BBB;border-style: solid none none solid;border-width: 1px;">
            <b>password</b>
          </td>
          <td style="border-color:#BBB;border-style: solid none none none;border-width: 1px;">
            <input name="user_password" type="password" style="width: 150px"/>
          </td>
        </tr>
        <tr>
         <td colspan="2" class="top" style="border-color:#BBB;border-style: solid none solid solid;border-width: 1px;">
           <input type="checkbox" name="remember" value="true"/> remember me
           <div class="center">
           <input value="enter" type="submit"/>
           </div>
         </td>
        </tr>
      </table>
      </form>
<?if($_SERVER['SERVER_NAME'] == 'webmail.cs.bgu.ac.il'){?>
  <br/><br/>
  <div class="huge">
  <a href="http://frodo.cs.bgu.ac.il/wiki/">Visit our F.A.Q.</a>
  </div>
<?}?>
  <br/><br/>
  <div class="small">
  lab staff &copy; <?=date('Y')?>
  <br/>
  <a href="http://www.cs.bgu.ac.il" target="_blank">CS Department</a>
  of
  <a href="http://www.bgu.ac.il" target="_blank">Ben Gurion University of Negev</a>
  </div>
    </td>
  </tr>
  <tr><td>
<a href="http://httpd.apache.org">
  <img src="./images/apachelogo.gif" align="center" title="powered by apache"/>
</a>
<a href="http://www.php.net">
  <img src="./images/phplogo.gif" align="center" alt="powered by php"/>
</a>
<a href="http://www.gentoo.org">
  <img src="./images/gentoo_logo.gif" align="center" alt="powered by gentoo"/>
</a>
<a href="http://www.mozilla.org/products/firefox/">
  <img src="./images/firefox_logo.gif" align="center" alt="get firefox!"/>
</a>

<script type="text/javascript" language="javascript1.2">
<!--
EXs=screen;EXw=EXs.width;navigator.appName!="Netscape"?EXb=EXs.colorDepth:EXb=EXs.pixelDepth;
//-->
</script>
<script type="text/javascript">
<!--
var EXlogin='csmail' // Login
var EXvsrv='s9' // VServer
navigator.javaEnabled()==1?EXjv="y":EXjv="n";
EXd=document;EXw?"":EXw="na";EXb?"":EXb="na";
EXd.write("<img src=\"http://e0.extreme-dm.com",
          "/"+EXvsrv+".g?login="+EXlogin+"&amp;",
          "jv="+EXjv+"&amp;j=y&amp;srw="+EXw+"&amp;srb="+EXb+"&amp;",
          "l="+escape(EXd.referrer)+"\" height=1 width=1>");
//-->
</script>
<noscript>
<img height="1" width="1" alt="" src="http://e0.extreme-dm.com/s9.g?login=csmail&amp;j=n&amp;jv=n"/>
</noscript>
  </td></tr>
</table>

<div class="small gray">
[ created by <a href="http://www.cs.bgu.ac.il/~ygleyzer/">Yanik Gleyzer</a> ]
&nbsp;&nbsp;
[ all questions to <a href="mailto:<?=ADMIN_EMAIL; ?>?Subject=<?=VERSION?>"><?=ADMIN_EMAIL; ?></a> ]
&nbsp;&nbsp;
[ This site is optimised for <code>1024&times;768</code> full screen window ]
&nbsp;&nbsp;
[ used <span class="red"><?=$GLOBALS['DEFAULT_THEME']?></span> theme ]
</div>
Return current item: CsWebmail