Location: PHPKode > projects > Skrupel User Game Administration > login.php
<?
include ("./include/conf.inc.php");
include ("$basepfath/inc.conf.php");

if ($HTTP_GET_VARS["fu"]==1)
 {
 $header = new EasyTemplate ("$usedpfath/templates/usedheader.tpl");
 $footer = new EasyTemplate ("$usedpfath/templates/usedfooter.tpl");
 $header -> assign("TITLE","Skrupel - UsedComm");
 $header -> assign("URL",$usedurl);
 $header -> easy_print();
 ?>
   <body text="#000000" bgcolor="#000000" scroll="no" background="<?=$baseurl?>/bilder/hintergrund.gif" link="#000000" vlink="#000000" alink="#000000" leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0">
   <script language="JavaScript">
   <!--
   if(parent.frames.length>=1){
   window.top.location.href="login.php?fu=1";
   }
   //-->
   function check()
    {
    if(document.formular.loginname.value == "")
	 {
     alert("Bitte den Namen angeben");
     document.formular.loginname.focus();
     return false;
     }
    if(document.formular.loginpass.value == "")
	 {
     alert("Bitte das Passwort angeben");
     document.formular.loginpass.focus();
     return false;
     }
	return true;
    }
   </script>
   <center>
   <table border="0" height="100%" cellspacing="0" cellpadding="0">
   	<tr>
     <td>
     <table border="0" cellspacing="0" cellpadding="0" background="<?=$baseurl?>/bilder/login.gif">
      <tr>
       <td><img src="<?=$baseurl?>/bilder/empty.gif" border="0" width="1" height="1"></td>
       <td><img src="<?=$baseurl?>/bilder/empty.gif" border="0" width="628" height="1"></td>
       <td><img src="<?=$baseurl?>/bilder/empty.gif" border="0" width="1" height="1"></td>
      </tr>
      <tr>
       <td><img src="<?=$baseurl?>/bilder/empty.gif" border="0" width="1" height="347"></td>
       <td valign="top">
       <center>
        <img src="<?=$baseurl?>/bilder/empty.gif" border="0" width="1" height="30"><br>
        <img src="<?=$baseurl?>/bilder/logo_login.gif" width="329" height="208"><br>
        <table border="0" cellspacing="0" cellpadding="4">
         <tr>
          <td><form action="index.php" method="post" name="formular" onSubmit="return check();"></td>
          <td align="right">Benutzername&nbsp;</td>
          <td><input type="text" name="loginname" class="eingabe" maxlength="50" style="width:350px;" value=""></td>
          <td></td>
         </tr>
         <tr>
          <td></td>
          <td align="right">Passwort&nbsp;</td>
          <td><input type="password" name="loginpass" class="eingabe" maxlength="50" style="width:350px;" value=""></td>
          <td></td>
         </tr>
         <tr>
          <td></td>
          <td align="right">&nbsp;</td>
          <td><input type="submit" name="submit" value="Login" style="width:350px;"></td>
          <td></form></td>
         </tr>
        </table>
       </center>
       </td>
       <td><img src="<?=$baseurl?>/bilder/empty.gif" border="0" width="1" height="347"></td>
      </tr>
      <tr>
       <td><img src="<?=$baseurl?>/bilder/empty.gif" border="0" width="1" height="1"></td>
       <td><img src="<?=$baseurl?>/bilder/empty.gif" border="0" width="628" height="1"></td>
       <td><img src="<?=$baseurl?>/bilder/empty.gif" border="0" width="1" height="1"></td>
      </tr>
     </table>
    </td>
   </tr>
  </table>
 </center>
 <?
 $footer -> easy_print();
 }
?>
Return current item: Skrupel User Game Administration