Login   Register  
PHP Classes
elePHPant
Icontem

File: newsbox.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.php  >  Download  
File: newsbox.php
Role: Application script
Content type: text/plain
Description: newsbox.php
Class: News Box
Display random news items stored in a file
Author: By
Last change:
Date: 7 years ago
Size: 189 bytes
 

Contents

Class file image Download
<?php
include 'newsbox.class.php';
$news = new Newsbox();
if(isset(
$_GET) && $_GET['disp'] == 'ajax') {
    echo 
$news->DisplayNewsbox();
} else {
    return 
$news->DisplayNewsbox();
}
?>