include ("config.php");
mysql_connect($GLOBALS["ezContentsDBServer"],$GLOBALS["ezContentsDBLogin"],$GLOBALS["ezContentsDBPassword"]);
include ("settings.php");
include ("functions.php");
?>
echo $GLOBALS["gsSitetitle"]; ?>
">
">
if($GLOBALS["gsUseFrames"] != 'Y')
{
include ("style.php");
}
?>
if($GLOBALS["gsUseFrames"] == 'Y')
{
?>
}
else
{
?>
">
echo $GLOBALS["PAGE_ALIGN_BEG"] ?>
">
//header
include ("top.php");
?>
|
" height="100%">
" height="100%" valign="top" align="left" class="menuback">
" height="1" border="0">
//menu
include ("menu.php");
?>
|
//contents
if($GLOBALS["groupid"] == "")
{
$groupid = $GLOBALS["gsHomepageGroup"];
}
if($GLOBALS["contentid"] == "")
{
include ("showcontents.php");
}
else
{
include ("showdetails.php");
}
?>
|
echo $GLOBALS["PAGE_ALIGN_END"] ?>
}
?>
function sHomeLink($GroupID)
{
$strQuery = "select * from groups where groupid='".$GroupID."'";
$result = mysql_db_query($GLOBALS["ezContentsDBName"], $strQuery);
$rs = mysql_fetch_array ($result);
if($rs["grouplink"] != "")
{
$homepagelink = $rs["grouplink"];
}
else
{
$homepagelink = "showcontents.php?groupid=".$rs["groupid"];
}
mysql_free_result ($result);
return $homepagelink;
}
?>