GIF89a;
Direktori : /home/serb/www/ |
Current File : /home/serb/www/userauthentication-process.php |
<? session_start(); include("lib/globals.php"); include("lib/common.php"); include("lib/functions.php"); if($_POST) { $qur="SELECT * FROM admin_login WHERE username='".$_POST['username']."' AND password='".$_POST['passWord']."'" ; $res=execute_query($qur); $row=mysql_fetch_array($res); // echo $row['user_status']; $num=mysql_num_rows($res); if($num>0) { $_SESSION['authacctype']='adminpro'; $_SESSION['authislogin']='yes'; ?> <script language="javascript"> location.href="approve-post.php?id=<?=$_POST['authid']?>"; </script> <? } else { ?> <script language="javascript"> alert('You are not a Authenticated member to access this link.'); location.href="index.php"; </script> <? } } ?>