Location: PHPKode > projects > PHPFreeNews > phpfn/NewsHeadlines.php
<?php

/*	+--------------------------------------------------------------
	| PHPFreeNews - News Headlines on your website                |
	| Developed by Jim Willsher.                                  |
	| http://www.phpfreenews.co.uk                                |
	+-------------------------------------------------------------+
*/

require_once('Config/Config.php');
require_once('Inc/ListingFunctions.php');
require_once("Inc/ScriptFunctions.php");
require_once("Inc/ViewFunctions.php");
require_once('Inc/Functions.php');

// =============================================================================

// We are in headline mode
$InitiallyShowHeadlinesOnly_Saved = $InitiallyShowHeadlinesOnly;
$ShowTwistie_Saved = $ShowTwistie;

$InitiallyShowHeadlinesOnly = 1;
$ShowTwistie = 0;

// Display according to the specified mode (or the default)

switch ($NewsMode)
{
	case 1:
		PagedListing();
		break;
	case 2:
		LimitedListing();
		break;
	case 3:
		YearMonthListing();
		break;
	default:
		PagedListing();
		break;
}

$InitiallyShowHeadlinesOnly = $InitiallyShowHeadlinesOnly_Saved;
$ShowTwistie = $ShowTwistie_Saved;
?>
Return current item: PHPFreeNews