Login   Register  
PHP Classes
elePHPant
Icontem

File: newsbox.config.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Russell Nash  >  News Box  >  newsbox.config.php  >  Download  
File: newsbox.config.php
Role: Configuration script
Content type: text/plain
Description: newsbox.config.php
Class: News Box
Display random news items stored in a file
Author: By
Last change:
Date: 8 years ago
Size: 3,142 bytes
 

Contents

Class file image Download
<?php
/*
#####################################################################
#                                                                    #
#    Newsbox                                                            #
#    Config file                                                        #
#                                                                    #
#####################################################################
#                                                                    #
#    Set common values                                                #
#                                                                    #
#####################################################################
*/
$cfg['common']['NewsboxStyle']            =    "1";            //    0 = flat, 1 = 3D
$cfg['common']['NewsboxSource']            =    "news.inc";        //    News source textfile
$cfg['common']['NewsboxWidth']            =    "700";            //    Newsbox width, can accept % or specific
$cfg['common']['NewsboxHeading']        =    "Chattalot Latest News";//    Newsbox heading text
$cfg['common']['NewsboxHeadingColor']    =    "#D50000";        //    Newsbox heading color
$cfg['common']['NewsboxHeadingSize']    =    "18";            //    Newsbox heading size
$cfg['common']['Font']                    =    "Times";        //    Newsbox Font
$cfg['common']['CopyWrite']                =    "NewsBox by Evil Wizard Creations 2006 &copy; Original concept by Willowminx";        //    Newsbox CopyWrite
/*
#####################################################################
#                                                                    #
#    Set style specific values                                        #
#                                                                    #
#####################################################################
*/
$cfg['style']['BorderColor']            =    "#D50000";        //    Newsbox border color
$cfg['style']['BackgroundColor']        =    "#000000";        //    Newsbox background color
$cfg['style']['TextColor']                =    "#ffffff";        //    Newsbox text color
$cfg['style']['TextSize']                =    "12";            //    Newsbox text size
/*
#####################################################################
#                                                                    #
#    Set Left box specific values                                    #
#                                                                    #
#####################################################################
*/
$cfg['left']['HeadingTextColor']        =    "#0080FF";        //    Left Newsbox Heading text color
$cfg['left']['HeadingTextSize']            =    "14";            //    Left Newsbox heading size
$cfg['left']['HeadingText']                =    "Admin List";    //    Left Newsbox Heading text
$cfg['left']['TextColor']                =    "#ffffff";        //    Left Newsbox text color
$cfg['left']['TextSize']                =    "10";            //    Left Newsbox text size
$cfg['left']['Text']                    =    "ChattalotHost
(f)politics?
Evil Wizard
Goodgirl"
;                                                    //    Left Newsbox text can contain new lines, but no HTML as all tags will be removed
/*
#####################################################################
#                                                                    #
#    Set Right box specific values                                    #
#                                                                    #
#####################################################################
*/
$cfg['right']['HeadingTextColor']        =    "#0080FF";        //    Right Newsbox Heading text color
$cfg['right']['HeadingTextSize']        =    "14";            //    Right Newsbox heading size
$cfg['right']['HeadingText']            =    "Chatroom Team";//    Right Newsbox Heading text
$cfg['right']['TextColor']                =    "#ffffff";        //    Right Newsbox text color
$cfg['right']['TextSize']                =    "10";            //    Right Newsbox text size
$cfg['right']['Text']                    =    "ChatGuideFP
ForumHostMR
ChatGuideCD"
;                                                //    Right Newsbox text can contain new lines, but no HTML as all tags will be removed
return $cfg;
?>