// Main config file
include "./includes/conf/rp.php";
// Database functions
include "./includes/database/db.php";
?>
Killradio.org
|
|
|
|
$date = getdate();
$hours = $date['hours'];
if ($hours > 12) {
$ampm = "pm";
$hours = $hours - 12;
} else {
$ampm = "am";
}
$minutes = $date['minutes'];
if (strlen($minutes) == 1){
$minutes = "0" . $minutes;
}
$seconds = $date['seconds'];
if (strlen($seconds) == 1){
$seconds = "0" . $seconds;
}
$timezone = date("T");
print "$hours:$minutes:$seconds $ampm $timezone";
?>
| |