require("inc/db_conn.php"); // Change color based on section // Yellow: About BrickFest PDX 2004 // Red: News & Announcements // Blue: Events & Expo // White: Register // Brown: Log In // Green: Community Projects // Gray: Links & FAQs $thisSection = "red"; /* Include this before your html code */ include "./poll/db/poll_cookie.php"; ?>
/* path */ $poll_path = "D:/Web/brickfest.com/www/poll/db"; require $poll_path."/include/config.inc.php"; require $poll_path."/include/$POLLDB[class]"; require $poll_path."/include/class_poll.php"; $CLASS["db"] = new polldb_sql; $CLASS["db"]->connect(); $php_poll = new poll(); /* the first poll */ echo $php_poll->poll_process(4); ?>
include("inc/footer.php"); ?>