Location: PHPKode > projects > Private Message System > pmsys-2.3.0/includes/functions.php
<?php

/******************************************************************
* $Id: functions.php,v 1.8 2003/08/22 19:50:56 allowee Exp $
*
* Copyright (C) 2001-2003 PMS Dev Team
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA  02111-1307, USA.
*
* The "GNU General Public License" (GPL) is available at
* http://www.gnu.org/copyleft/gpl.html.
******************************************************************/


function senttime($format = 0, $timestamp){
	global $timezoneoffset, $timeoffset, $dateformat, $hourdiff;

	if($format == 0){
	$format = $dateformat;
	}

	return @date($format, $timestamp - $hourdiff);
}


function pms_die($reason) {
// top template

// error template

// footer template
}

Return current item: Private Message System