<?php if (session_id() == "") { session_start(); } $docroot = $_SERVER['DOCUMENT_ROOT']; require_once $docroot . "/config.php"; require_once $docroot . "/models/twextra_model.php"; require_once $docroot . "/controllers/twextra_controller.php"; require_once $docroot . "/banner.php"; require_once $docroot . "/header_html.php"; $screen_name = $_SESSION['user']; require_once $docroot . "/tw.lib.php"; //validate access; validate_access_twetest(); display_about($screen_name); //......................................................................................... function display_about($screen_name = '') { //configuration parameters: $config_params = Config::getConfigParams(); $css = $config_params['css']; $tweet_size_max = $config_params['tweet_size_max']; $tweet_size_max_google = $config_params['tweet_size_max_google']; $hostname = $config_params['hostname']; $doctype = $config_params['doctype']; $html_attribute = $config_params['html_attribute']; $banner = banner('', 'banner'); //(user, banner_class) $footer = $config_params['footer']; //
<?php include 'db_connect.php'; include 'output_fns.php'; include 'fns.php'; do_html_header(); display_about(); do_html_fooer();