query($q); /* Error occurred, return given name by default */ $num_rows = mysql_numrows($result); if ($num_rows == 0){ header("Location: index.php?pid=1"); } if(!$result || ($num_rows < 0)){ echo "Error displaying info"; return; } $dbarray = mysql_fetch_array($result); return $dbarray; } if ($colname_rscont == "") {$colname_rscont = "1";} $Content = displayContent($colname_rscont); function displayMenu(){ global $database, $session; $q = "SELECT pid, pname, menu_image FROM pages WHERE admin != '1' AND menu = '0' AND enabled = '1' ORDER BY menu_zorder ASC"; $result = $database->query($q); /* Error occurred, return given name by default */ $num_rows = mysql_numrows($result); if(!$result || ($num_rows < 0)){ echo "Error displaying info"; return; } if(!$num_rows == 0){ /* Display contents */ for($i=0; $i<$num_rows; $i++){ $pid = mysql_result($result,$i,"pid"); $pname = mysql_result($result,$i,"pname"); $menu_image = mysql_result($result,$i,"menu_image"); if ($menu_image) { $menu_image = explode("|",$menu_image); } $q2 = "SELECT * FROM filemgr_profiles WHERE pid = $pid"; $result2 = $database->query($q2); $num_rows2 = mysql_numrows($result2); if(!$num_rows2 == 0){ $location = mysql_result($result2,0,"location"); }else{$location = "";} if (($pid != "58") && ($pid != "84")){ echo "\"\" $zorder "; }else{ echo " >".$pname." "; } echo ""; }elseif ((($pid == "58") && ($session->config_help == "Yes")) || (($pid == "84") && ($session->config_links == "1"))){ echo "\"\" $zorder"; }else{ echo " >".$pname." "; } } } } } function chkLocation($pid) { global $database; $q2 = "SELECT * FROM filemgr_profiles WHERE pid = '$pid' AND enabled = '1'"; $result2 = $database->query($q2); if ($result2) { $num_rows2 = mysql_numrows($result2); if(!$num_rows2 == 0){ $location = mysql_result($result2,0,"location"); return $location; } } return; } function displayInclude($inc_id){ global $database; $q = "SELECT * FROM pages_include WHERE inc_id = '".$inc_id."'"; $result = $database->query($q); /* Error occurred, return given name by default */ $num_rows = mysql_numrows($result); if(!$result || ($num_rows < 0)){ echo "Error displaying info"; return; } $dbarray = mysql_fetch_array($result); return $dbarray; } $inc_id = $Content['include']; if (isset($inc_id)) { $ContentInclude = displayInclude($inc_id); } ?> - config_bgcolour != "") {echo "background-color:#".$session->config_bgcolour."; "; } if ($session->config_bgimage != "") {echo "background-image:url(/".$session->subdomain."images/header/".$session->config_bgimage."); "; } if ($session->config_bgrepeat != "") {echo "background-repeat:".$session->config_bgrepeat.";"; } echo "\""; echo " >"; ?>
config_header == "Yes") {?>
menu_direct == "0") { include("include/classes/menu.php"); } ?>
config_widthmenu-5; ?>


P.O.Box 5159
Moreland West
Victoria 3055 Australia

Phone/Fax (03) 9386 9993
Mobile: 0416 046901
Email: sales@aussie...

International
Phone/Fax 61 3 9386 9993
Mobile 61 416 046901


Photography by: Dean
from
Great Ocean Road Photography
Mobile: 0408 567 578

 
config_footer == "Yes") {?>