# Installfest Webpage - a php/postgresql/apache instant Linux # installfest web page and database. # Copyright (C) 2001 Michael Davies (michaeld@senet.com.au) & Phil Hutton (phil@hutton.sh) # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA include_once "vars.inc"; include_once "colours.inc"; include_once "common.inc"; include_once "fest.inc"; include_once "festtemplate.inc"; include_once "../connmgr.inc"; function processAdminRequests() { global $displayminutes; if (isset($displayminutes) and ereg("^[0-9]+$", $displayminutes)) { $sql = "SELECT * FROM minutes WHERE id = $displayminutes;"; $connection = getdbconn(); if (!$connection) { echo "Whoops! an error occured connecting to the "; echo "LinuxSA database (for table minutes). Sorry.\n"; closedbconn(); exit; } #@$result = pg_exec ($connection, $sql); $result= mysql_query($sql); if (!$result) { echo "
"; echo "Please click "; echo "here"; echo " to reload this page, or your browser's Bacl key to try again."; } #@$rows = pg_NumRows($result); $rows=mysql_num_rows($result); $row=mysql_fetch_assoc($result); echo "
"; echo $row["info"]; echo "
\n";
echo "\n";
echo "\n";
echo "\n";
echo "\n";
echo "\n";
echo "
\n";
echo "
\n"; echo "