from the site, where this extra is included! // -> use absolute path if you have it included in files with different directories! // (e.g. /home/www/htdocs/mysite.com/vwar/) // -> if included in your _header.php/_footer.php, it is normally: './' // -> if not, use: './../' $vwar_xroot = "./../"; // limit display to x headlines $numheadlines = 10; // after how many chars a news headline will be cut $newslength = 15; // the replace sign for the headline if it is cut $cutsign = "..."; // include header- & footer-information (1=enabled / 0=disabled) $include = 0; // ###################################################################################### ##################################### display headlines ################################ // check, if we need to get some global vars or if we need to include them if( !defined ("VWAR_COMMON_INCLUDED") ) { $vwar_root = $vwar_xroot; require_once ( $vwar_root . "includes/functions_common.php" ); } if ( $include == 1 ) { include_once ( $vwar_root . "_header.php" ); } // unset vars to prevent sql-injections $wherecategory = ""; ?>