Location: PHPKode > projects > Pointter PHP CMS > pointtercms_package/pointtercms_package/pointtercms/includes/member.php
<?php 

/***************************************************************************
 * Product Name			: Pointter PHP Content Management System
 * Version 			: V 1.2
 * Release Date			: 01/02/11
 * Copyright			: (C) 2011 PangramSoft / Murat Cevik
 * Program URL			: http://www.pointter.com
 * Company URL			: http://www.pangramsoft.com
 * Email Address                : hide@address.com
 
 ***************************************************************************/
 

/****************************************************************************

Pointter PHP Content Management System is licensed under Creative Commons Attribution Non-commercial No Derivatives 3.0 Unported (by-nc-nd) License.
To view a copy of this license, (a) visit http://creativecommons.org/licenses/by-nc-nd/3.0/ or (b) send a letter to Creative Commons, 171 2nd Street, 
Suite 300, San Francisco, California, 94105, USA.” 

You must not remove/modify/alter the copyright informations both visible and invisible forms in the source code and you must not remove/modify/alter 
the copyright informations in the footer part of the script including the Pointter image (png format file), hard link and title tag.

Please contact the copyright holder PangramSoft / Murat Cevik for a commercial license to remove the copyright information in the footer part of the script.


*****************************************************************************/

if ($member_onoff==1)

{


 if (!isset($_COOKIE[tuser]) OR !isset($_COOKIE[tpass]))
 {
 echo '<form action="logincheck.php" method="post">';
 echo '<table cellpadding="10" style="background-image:url(pixel_3.png);width:210px;" align="center" cellspacing="0"><tr><td style="background-image:url(pixel_1.png);" class="header" align="left"><b>'.$member_name.'</b></td></tr>';
 echo '<tr><td align="left">';
 echo 'Username:'.'<br/><input class="smalltag" type="text" name="tuser" size="30"/><br/><br/>';
 echo 'Password:'.'<br/><input class="smalltag" type="password" name="tpass" size="30"/>';
 echo '<br/><a class="link" href="forgotpassword.php">(Password Forgotten?)</a><br/><br/>';
 echo '<input class="button" type="submit" value="Log In"/><br/><br/>';
 echo '<a class="link" href="createaccount.php">Create An Account?</a>'; 
 echo '</td></tr></table></form><br/><br/>';

 }
 else
 {

 include 'configset/conn.php';

 $m_query=mysql_query("SELECT * FROM Members WHERE EmailAddress='$_COOKIE[tuser]' AND Password='$_COOKIE[tpass]'");

 $mem_row=mysql_fetch_array($m_query);

 echo '<table cellpadding="10" style="background-image:url(pixel_3.png);width:210px;" align="center" cellspacing="0"><tr><td style="background-image:url(pixel_1.png);" class="header" align="left"><b>'.$member_name.'</b></td></tr>';
 echo '<tr><td align="center">';
 //echo 'Welcome'." ".$mem_row[FirstName]." ".$mem_row[LastName]."!".'<br/><br/>';
 echo '<a href="memberinfo.php" title="Member Info"><img src="siteicons/myinfo_small.png" border="0" alt="account icon"/></a><br/><br/>';
 echo '<a href="memberblogs.php" title="Member Blogs"><img src="siteicons/myblogs_small.png" border="0" alt="blog icon"/></a><br/><br/>';
 echo '<a href="logout.php" title="Logout"><img src="siteicons/logout_small.png" border="0" alt="log out icon"/></a>';
 echo '</td></tr></table><br/><br/>';

 mysql_close($connect);
 }

}

?>
Return current item: Pointter PHP CMS