%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/dordingu/public_html/ragnars/admin/
Upload File :
Create Path :
Current File : /home/dordingu/public_html/ragnars/admin/news.inc

<?php
/**********************************************************************************************/
/*                   Setup                                                                    */
/* you will need to change the folowing lines                                                 */ 
/**********************************************************************************************/



// added version 1.30
$time_offset="0";                                  // time zone off set.  
                                                   // if you would like your news to show up at 
                                                   // your time and not at the time of the server 
                                                   // you can add a time zone off set. +1 hour -2 hours 
						   // example.
						   //  ="-1";  ="+12";	                          
// done add                         
                          
/*       Graphical settings*/                                                   
// removed in version 1.4 due to template support.




// display note: below only for the main page that your users will see

// max number of news to display if you want to see all of them use $show_news="all"; or supply a number
$show_news="all";


// removed in version 1.4 due to date format support
//$show_date="Y";			// Y if you want to see the date of the news N if not
//$show_time="Y";			// Y if you want to see the time the news was inserted N if not

$date_format="d/m/Y H:i";
                                           
/* Don't change anything below this line                                                       */ 
 
// added in version 1.30  
// user supplys a time zone off set for there server.	
 function time_zone($time_offset)
	{
	$offset=substr($time_offset,0,1);
	switch ($offset){
		case "+":
			$time_offset=str_replace("+","",$time_offset);
			$now=time()+($time_offset*3600);
			break;
		case "-":	
			$time_offset=str_replace("-","",$time_offset);
			$now=time()-($time_offset*3600);
			break;
		default:
			$now=time();
			break;
	}
		
	return $now;
	}
?>	

Zerion Mini Shell 1.0