"; ?> function showfight1(){ var Info = window.open("./kampf4.php?","","status=no,hotkeys=no,Height=600,Width=820,scrollbars=yes"); } "; ?>

Kampf
 
$kampf_a1[name] vs. $kampf_a2[name]"; ?>

anzeigen'; } else{ ?>
"; ?> function showfight(){ var Info = window.open("./event_abholen.php?","","status=no,hotkeys=no,Height=600,Width=820,scrollbars=yes"); } "; $zeit_in_sek = getEventStatusBlocked($char_id); ?>


 

anzeigen'; } else{ ?>
Im Moment muss der Char vom '.$ab.' noch nicht abgeholt werden!

'; } } #######################Schatz Suche Kampf if($ab == "Schatz Suche") { $kampf_a = mysqli_fetch_array(db_query('select Timestampdiff(Second,now(),dauer) as dauer, Timestampdiff(Second,now(),cancel) as cancel from quests where charid = '.$char_id)); $zeit_in_sek = $kampf_a['dauer']; $cancel_zeit_in_sek = $kampf_a['cancel']; echo ""; echo "

Schatz Suche
 
"; ?>

anzeigen'; } else{ $jsfunction = "function t() { n=new Date(); s=$zeit_in_sek-Math.round((n.getTime()-v.getTime())/1000.); m=0; h=0; c=$cancel_zeit_in_sek-Math.round((n.getTime()-v.getTime())/1000.); if ( s < 0 ) { ht.innerHTML=\"anzeigen\"; } else { if ( s > 59 ) { m=Math.floor(s/60); s=s-m*60; } if ( m > 59 ) { h=Math.floor(m/60); m=m-h*60; } if ( s < 10 ) { s='0'+s; } if ( m < 10 ) { m='0'+m; } ht.innerHTML='Wartezeit zum Abholen: '+h+':'+m+':'+s+'

'; if( c < 0 ) { ht.innerHTML+='abbrechen'; } else { m=0; h=0; s=c; if ( s > 59 ) { m=Math.floor(s/60); s=s-m*60; } if ( m > 59 ) { h=Math.floor(m/60); m=m-h*60; } if ( s < 10 ) { s='0'+s; } if ( m < 10 ) { m='0'+m; } ht.innerHTML+='Wartezeit zum Abbrechen: '+h+':'+m+':'+s+'

'; } } window.setTimeout('t();',950); } "; ?>