templatedir/header.inc"); if ((eregi("Mac",$user_agent)) || (eregi("Firefox",$user_agent))) { // is mac or Firefox include("$Config->templatedir/macmenu.inc"); }else{ include("$Config->templatedir/menu.inc"); } include("$Config->templatedir/signup.inc"); } else { include("$Config->templatedir/header1.inc"); include("$Config->templatedir/macmenu.inc"); } ?> homepage; } $qpage=get_selected_category($cid); ($qpage)? $page=dbase_fetch_object($qpage): ""; ?>



templatedir/title.inc"); ?>
pagetype == "1") { include("normal.inc"); } if ($page->pagetype == "2") { include("gallery.inc"); } if ($page->pagetype == "3") { include("slideshow.inc"); } } else { include("normalstrip.inc"); } ?>



templatedir/footer.inc"); /*********FUNCTION TO RETRIEVE THE LINKS TO UPLOADED FILES**************/ function get_file_links($cid){ $qid = db_query(" SELECT f.id ,f.name ,f.image1 ,f.date ,f.intro ,f.linktext ,pf.menu_id FROM files f ,menu_files pf WHERE f.id = pf.file_id AND pf.menu_id = $cid ORDER BY f.id"); return $qid; } /***********************************************************************/ ?>