Exemplo n.º 1
0
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<?php 
$ServerName = str_replace('freshports', 'FreshPorts', $_SERVER['SERVER_NAME']);
?>
	<META HTTP-EQUIV="Refresh" CONTENT="1200; URL=http://<?php 
echo $ServerName . $_SERVER["PHP_SELF"];
?>
">
	<META http-equiv="Pragma"              content="no-cache">
	<META NAME="MSSmartTagsPreventParsing" content="TRUE">

</HEAD>

<?php 
freshports_body();
$ServerName = str_replace("freshports", "FreshPorts", $_SERVER["SERVER_NAME"]);
global $FreshPortsSlogan;
global $FreshPortsName;
?>

	<CENTER>
	<A HREF="http://<?php 
echo $ServerName;
?>
/" TARGET="_content"><IMG SRC="/images/freshports_mini.jpg" ALT="<?php 
echo "{$FreshPortsName} -- {$FreshPortsSlogan}";
?>
" TITLE="<?php 
echo "FreshPorts -- {$FreshPortsSlogan}";
?>
Exemplo n.º 2
0
function freshports_Start($ArticleTitle, $Description, $Keywords, $Phorum = 0)
{
    global $ShowAds;
    global $BannerAd;
    global $ShowAnnouncements;
    freshports_HTML_Start();
    freshports_Header($ArticleTitle, $Description, $Keywords, $Phorum);
    freshports_body();
    echo freshports_Logo();
    freshports_navigation_bar_top();
    if (isset($ShowAnnouncements)) {
        global $db;
        $Announcement = new Announcement($db);
        $NumRows = $Announcement->FetchAllActive();
        if ($NumRows > 0) {
            echo DisplayAnnouncements($Announcement);
        }
    }
}