hey leutz... ich bekomm das prob einfach net gebacken... was soll den hier an zeile 45 falsch sein ( is die allerletzde mit " ?> " )
*help*
PHP-Code:
<?php
//////////////////////////////////////////
//Virtual-Meeting 0.1 //
//writen by Sven Nickel //
//copyright 2002 //
//////////////////////////////////////
// split jettime values into two variables--------
$jettime = explode(" ",$location);
//Mez----------------------------------------------
//Mezhour
$mezhour = $hour + $jettime[0] ;
if ($mezhour < 0) {
$mezhour = $mezhour + 24 ;
}
if ($mezhour >= 24) {
$mezhour = $mezhour - 24 ;
}
//Mezmin
$mezmin = $minutes + $jettime[1] ;
if ($mezmin < 0) {$mezmin = $mezmin + 60 ;}
if ($mezmin >= 60) {$mezmin = $mezmin - 60 ;
$mezhour = $mezhour + 1 ;}
//----------------------------------------------------
//citytime calculation
//New York***
//-hours-
$newyorkhour = $mezhour -6 ;
if ($newyorkhour < 0) {
$newyorkhour = $newyorkhour + 24 ;
}
if ($newyorkhour >= 24) {
$newyorkhour = $newyorkhour - 24 ;
//-minutes-
$newyorkmin = $mezmin ;
if ($newyorkmin < 0) {$newyorkmin = $newyorkmin + 60 ;}
if ($newyorkmin >= 60) {$newyorkmin = $newyorkmin - 60 ;
$newyorkmin = $newyorkmin + 1 ;}
?>
Kommentar