Location: PHPKode > projects > PBBoard > PBBoard_v2.1.4/Upload/engine/systems/misc.class.php
<?php

/**
 * PowerBB Engine - The Engine Helps You To Create Bulletin Board System.
 */

/**
 * @package 	: 	PowerBBMisc
 * @author 		: 	Mohammed Q. Hussain <hide@address.com>
 * @start 		: 	16/6/2006 
 * @updated 	: 	31/08/2008 06:32:02 AM 
 */

class PowerBBMisc
{
	var $Engine;
	
	function PowerBBMisc($Engine)
	{
		$this->Engine = $Engine;
	}
	
	function GetForumAge($param)
	{
     	$age = time() - $param['date'];
     	$age = ceil($age/(60*60*24));
     	
     	return $age;
	}
}

?>
Return current item: PBBoard