Location: PHPKode > projects > ProPHP > ProPHP/content/ads_home/index.php
<?php
/*****************************************************************
************* BKWORKS PRO PHP V 0.5 BETA 1 ***********************
******************** BRYAN KOOIENGA ******************************
****************** DECEMBER 20, 2007 *****************************
*****************************************************************/
	if(!defined("INDEX")) {
		die("Hacking Attempt Detected.");
	}
	if($_SESSION['user'] == "") {
		include("content/homepage/index.php");
	} else {
?>
<center>
<h3>Welcome, <? echo $_SESSION['user']; ?></h3>
<?php if(strtoupper($_SESSION['user']) == "ADMIN") { echo "<a href=\"?view=admin\">Admin Panel</a><br>\n"; } ?>
<a href="?view=adoptions">Ad Options</a><br>
<a href="?view=adscripts">Get Ad Scripts</a><br>
<a href="?view=profile">Change Password</a><br>
<a href="?view=logoff">Log Off</a>
</center>
<?php
	}
?>
Return current item: ProPHP