############################################################ # \-\-\-\-\-\-\ MyOnlineBusiness scripts /-/-/-/-/-/-/ # ############################################################ # MyPTRsite Version 2.0 # # Written by MyOnlineBusiness team # # Created 01/10/03 Last Modified 01/10/03 # # Scripts Home: http://www.myOnlineBusiness.net # # ###################################################################################################################### ?> if($action=='Login to my account' || $action=='Cancel my membership' || $action=='Resend password') { $id=$HTTP_POST_VARS['id']; $password=$HTTP_POST_VARS['password']; $sql=mysql_query("SELECT * FROM users WHERE fid=$id AND fpassword='$password'")or die(mysql_error()); if(mysql_num_rows($sql)) { //session_start(); session_register("login"); $login=$id; } } ?> $sq=mysql_query('SELECT * FROM setupinfo'); $ar=mysql_fetch_array($sq); extract($ar); ?>
|
||||||
switch($tp) { case('faq'): include('faq.php'); break; case('member'): include('member.php'); break; case('signup'): include('signup.php'); break; case('terms'): include('terms.php'); break; case('advertise'): include('advertise.php'); break; case('member'): include('member.php'); break; case('user'): include('user.php'); break; case('goldmember'): include('goldmember.php'); break; case('contacts'): include('contacts.php'); break; case('register'): include('register.php'); break; case('adstats'): include('adstats.php'); break; case('ntpemorder'): include('ntpemorder.php'); break; case('tpemorder'): include('tpemorder.php'); break; case('visitorder'): include('visitorder.php'); break; case('suorder'): include('suorder.php'); break; case('banorder'): include('banorder.php'); break; case(''): include('home.php'); break; } ?> if($act=='logout') { @session_unregister('login'); @session_destroy(); echo"YOU ARE LOGGED OUT! SEE YOU SOON!"; } ?> | ||||||
© 2002-2003
. Programming by myPTRsite.com |