Location: PHPKode > scripts > PHP Classified script made easy > php-classified-script-made-easy/openclassifiedsdownload24124/Files/manager/redirect.php
<?PHP
include("adminpro_class.php");
$prot=new protect();
$curUser=$prot->getUser();
$group=$prot->getGroup();
$admin=$prot->getAdmin();
if($group == "1") {
$link = "/admin.php";
echo "<META HTTP-EQUIV='refresh' content='0;URL=admin.php'>

<link rel='stylesheet' href='inc/style.css' type='text/css' />
<style type='text/css'>
<!--
.style1 {
	color: #FFFFFF;
	font-weight: bold;
}
.style7 {
	color: #1B6CAD;
	font-size: 11px;
}
.style8 {font-size: 20px}
-->
</style>
<img src='images/spacer.gif' width='1' height='95' /> <br /><div align='center'>
<div class='sidebox'>
	<div class='boxhead'>
	  <h2><div align='left'>Redirecting</div> </h2>
	</div>
	<div class='boxbody'><br/><div align='center'><span class='style8'>    Please wait while you are being redirected </span><br />
    <br/><a href='".$link."' class='style7'>Click Here If Not Automatically Redirected</a> </div>
	  </p></div>
</div></div>


";
}
else{
$link = "login.php";
echo "<META HTTP-EQUIV='refresh' content='0;URL=login.php?e=id'>

<link rel='stylesheet' href='inc/style.css' type='text/css' />
<style type='text/css'>
<!--
.style1 {
	color: #FFFFFF;
	font-weight: bold;
}
.style7 {
	color: #1B6CAD;
	font-size: 11px;
}
.style8 {font-size: 20px}
-->
</style>
<img src='images/spacer.gif' width='1' height='95' /> <br /><div align='center'>
<div class='sidebox'>
	<div class='boxhead'>
	  <h2><div align='left'>Redirecting</div> </h2>
	</div>
	<div class='boxbody'><br/><div align='center'><span class='style8'>    Please wait while you are being redirected </span><br />
    <br/><a href='".$link."' class='style7'>Click Here If Not Automatically Redirected</a> </div>
	  </p></div>
</div></div>



";
}
?>
Return current item: PHP Classified script made easy