Location: PHPKode > projects > pmchat > pmchat/loginpage.php
<?
include("db.inc");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>PM Tracker</title>
<link rel="stylesheet" href="../styles/blue.css" type="text/css">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<script language="javascript">

function addUser()
{

document.addTeamUserForm.submit();

}

function init()
{
	document.forms["loginForm"].elements["username"].focus();
}

function validateUser()
{
        var userName = document.loginForm.username.value;
        var password = document.loginForm.password.value;
        if(userName == "")
        {
                alert('Please enter user name');
                document.loginForm.userName.focus();
                return false;
        }
        if(password == "")
        {
                alert('Please enter password');
                document.loginForm.password.focus();
                return false;
        }
        return true;
}

</script></head>


<body class="bgNone" onload="init()">

<form name="addTeamUserForm" method="post" action="<?echo $addusersite;?>?pmtid=<?echo time();?>">
<?
if($registeruserpath!=$lregisteruserreturnpath)
{
?>
<input type="hidden" name="returnpath" value='<?echo $registeruserpath;?>'>
<?
}
?>
</form>

<form name="loginForm" method="post" action="login.php?pmtid=<?echo time();?>" target="_top" onsubmit="return validateUser();">
  <table width="100%" border="0" cellpadding="0" cellspacing="0" >
    <tbody><tr>
      <td height="30">&nbsp;</td>
    </tr>
    <tr>
      <td align="center" valign="top">
        <table width="750" class="outbrd1" border="0" align="center" cellpadding="0" cellspacing="0" height="199">
          <tbody><tr>
            <td width="10" height="196">&nbsp;</td>
            <td valign="top" height="196">
            	<table width="469" border="0" cellspacing="0" cellpadding="0" >
                <tbody><tr>
                  <td height="30" valign="bottom" class="homeHeader" width="202">
                  <img border="0" src="../images/logo.gif"></td>
                  <td height="30" valign="bottom" class="homeHeader" width="267" align="right">
                  &nbsp;</td>
                </tr>
                <tr>
                  <td align="left" class="text" colspan="2" width="469">&nbsp;</td>
                </tr>
              </tbody>
              </table>

              <br>
              <table width="97%" border="0" align="center" cellpadding="0" cellspacing="0" class="textblue">
	                      <tbody>
	                      <tr>
			      	                        <td align="center" valign="top"> <img border="0" src="../images/progress.gif" width="18" height="18"></td>
			      	                        <td width="426" class="text">Multi-Purpose Project Management Suite</td>
	                      </tr>
	                      <tr>
						           <td align="center" valign="top"> <img border="0" src="../images/progress.gif" width="18" height="18"></td>
						           <td class="text">Multi-User Support</td>
	                  		</tr>
	                      <tr>
	                        <td align="center" valign="top"> <img border="0" src="../images/progress.gif" width="18" height="18"></td>
	                        <td width="426" class="text">Task Oriented Schedule Management</td>
	                      </tr>
	                      <tr>
	                        <td align="center" valign="top">
	                        <img border="0" src="../images/progress.gif" width="18" height="18"></td>
	                        <td class="text">Sharing task assignment to multiple users</td>
	        	      </tr>
	        	      <tr>
						<td align="center" valign="top">
						<img border="0" src="../images/progress.gif" width="18" height="18"></td>
						<td class="text">Personal Scheduling of assigned tasks</td>
	        	      </tr>
	        	      <tr>
			            <td align="center" valign="top"> <img border="0" src="../images/progress.gif" width="18" height="18"></td>
			            <td class="text">Active technical support</td>
	                  </tr>

                </tbody>
                </table>


              </td>
            <td width="10" height="196">&nbsp;</td>
            <td width="250" rowspan="3" valign="top" height="197"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tbody><tr>
                  <td valign="top">
                  <div align="center">
                    <center>
                    <table width="100%" border="0" cellpadding="5" cellspacing="0" bgcolor="#CFDFFF" style="border-collapse: collapse" bordercolor="#111111" class="textblue" height="272">
                      <tbody><tr>
                        <td colspan="2" class="signIn" height="12">Sign In</td>
                      </tr>
                      <tr>
                        <td colspan="2" align="center" height="12"> &nbsp;</td>
                      </tr>
                <tr>
                <td width="36%" height="25" align="right" class="homtTextBold">Username</td>
                <td width="64%" height="25"><input type="hidden" name="clienttype" value="html">
                <input name="username" type="text" class="loginTextfield" value="" size="20">
                </td>
                </tr>
                <tr>
                <td height="25" align="right" class="homtTextBold">Password</td>
                <td height="25">
                <input name="password" type="password" class="loginTextfield" value="" size="20">
                </td>
                </tr>

                      <tr>
                        <td height="25">&nbsp;</td>
                        <td height="25"><input name="Submit" type="submit" class="loginButton" id="Submit3" value="  Login  " ></td>
                      </tr>
                       <tr>


                            <td colspan="2" align="center" valign="top" height="113"><font class="text">


                        		<a href="javascript:addUser();" style="font-weight:bold;font-size:18px;color:blue;">Free Sign Up</a>

                                        </font></td>
                                </tr>

                    </tbody></table></center>
                  </div>
                  </td>
                </tr>

              </tbody></table></td>
          </tr>
          <tr>
            <td height="1"></td>
            <td height="1" align="left" class="text"></td>
            <td height="1"></td>
          </tr>
          <tr>
            <td height="8"></td>
            <td height="8" align="center" class="hyperlinkblack">Best viewed
              in IE 5.5 &amp; above, Opera 7.2 &amp; above, Netscape 7.0 &amp;
              above, at a Screen Resolution of 1024 X 768 pixels.</td>
            <td height="8"></td>
          </tr>

        </tbody></table>
      </td>
    </tr>
  </tbody></table>

                          </form>


<script language="javascript">

document.cookie="role=";
document.cookie="userid=";
document.cookie="userteam=";
document.cookie="username=";
document.cookie="loginname=";
document.cookie="loggedin=false";


</script>

</body></html>
Return current item: pmchat