All Data Structures Namespaces Files Functions Variables Pages
news.php File Reference

Go to the source code of this file.

## Variables

const | CURSCRIPT 'news'
| $newsfile = GAME_ROOT.'./gamedata/newsinfo.php'
| $newshtm = GAME_ROOT.TPLDIR.'/newsinfo.htm'
| $lnewshtm = GAME_ROOT.TPLDIR.'/lastnews.htm'
if(filemtime($newsfile) > filemtime($lnewshtm)) if(!isset($newsmode)) if($newsmode== 'last') elseif($newsmode== 'all') elseif($newsmode== 'chat') | else

## Variable Documentation

$lnewshtm = GAME_ROOT.TPLDIR.'/lastnews.htm'

Definition at line 13 of file news.php.

$newsfile = GAME_ROOT.'./gamedata/newsinfo.php'

Definition at line 11 of file news.php.

$newshtm = GAME_ROOT.TPLDIR.'/newsinfo.htm'

Definition at line 12 of file news.php.

const CURSCRIPT 'news'

Definition at line 3 of file news.php.

if (filemtime($newsfile) > filemtime($lnewshtm)) if (!isset($newsmode)) if ($newsmode== 'last') elseif ($newsmode== 'all') elseif ($newsmode== 'chat') else

Initial value:
{
include template('news')

Definition at line 62 of file news.php.