<?php # # $Id: sidebar.php,v 1.2 2006-12-17 12:06:22 dan Exp $ # # Copyright (c) 1998-2006 DVL Software Limited # DEFINE('MAX_PORTS', 40); require_once $_SERVER['DOCUMENT_ROOT'] . '/../include/common.php'; require_once $_SERVER['DOCUMENT_ROOT'] . '/../include/freshports.php'; require_once $_SERVER['DOCUMENT_ROOT'] . '/../include/databaselogin.php'; require_once $_SERVER['DOCUMENT_ROOT'] . '/../include/getvalues.php'; $date = AddSlashes($_REQUEST['date']); $committer = AddSlashes($_REQUEST['committer']); $time = AddSlashes($_REQUEST['time']); freshports_HTML_Start(); ?> <HEAD> <TITLE><?php echo $FreshPortsTitle; ?> </TITLE> <STYLE TYPE="text/css"> BODY, TD, TR, P, UL, OL, LI, INPUT, SELECT, DL, DD, DT, FONT { font-family: Helvetica, Verdana, Arial, Clean, sans-serif; font-size: 12px; } ul { padding-left: 20px;}
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); } } }