<table width="650" border="0" cellpadding="3" cellspacing="0">
<!-- HEADING -->
<!-- HEADING -->
<?php
//BEGIN HEADING
echo("<tr>");
echo("<td valign=\"top\" bgcolor=\"#C0C0C0\">");
if ($_GET["type"] == "res" and $_SESSION["ADDRESRC"] == 1){
echo("<b><a href=\"main.php?menu=viewresrc&act=viewresrc&valign=top&page=" . $_SESSION["pageSHOWresources"] . "\">My resources overview</a> >");
}
if ($_GET["type"] == "project" and $_SESSION["ADDPROJECT"] == 1){
echo("<b><a href=\"main.php?menu=viewresrc&act=viewproject&valign=top&page=" . $_SESSION["pageSHOWprojects"] . "\">My projects overview</a> >");
}
echo("Details</b>");
echo("</td>");
echo("</tr>");
//BEGIN DETERMINE PAGE NUMBER
if ($_GET["page"] == "" or empty($_GET["page"]) or !isset($_GET["page"])){
$page = 1;
}
else{
$page = $_GET["page"];
}
$_SESSION["pageSHOWdetails"] = $page;
//END DETERMINE PAGE NUMBER
//************* S H O W R E S O U R C E D E T A I L S **************
if ($_GET["type"] == "res" and $_SESSION["ADDRESRC"] == 1){
include("../objects/showDETAILSresource.php");
}
if ($_GET["type"] == "project" and $_SESSION["ADDPROJECT"] == 1){
include("../objects/showDETAILSproject.php");
}
//make sure to safe guard agains peepers
?>
</tr>
</td>
</table>