
przykład :
http://cod2mp.ovh.org/index.php?file=Server
Mam nadzieje że pomożecie

Swat napisał(a):skrypta
Swat napisał(a):tak ogólnie to są same opisy co i jak , ja tam skryptów nie widze
Q: My Server Monitor is all squished up!
A: Just remove the first two lines of code from your html - your monitor will then display correctly!
Remove:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
and, if present, the line following that looks similar to:
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Q: I followed the instructions to add the monitor to my PHP Nuke site, but it won't work!
A: If you are using PHP Nuke v2.1 or above, you may have to make an amendment to the instructions we posted. Here is the sample code if you are using the newer version: // Print EXAMPLE HTML layout. // Below is just the sample code to get you started on creating your own layout. // We're assuming that if you want to use the XML/PHP API solution that // you'd rather tweak this output yourself. So we've kept it simple for you below. // Details //print "".$smon['DETAILS']['name']." Server Details
\n"; // Time to tokenise the IP and PORT out $token = strtok($smon['DETAILS']['ip'],":"); $sip = $token; $token = strtok(":"); $sport = $token; $content = ""; $content .= "
".$smon['DETAILS']['name']."
"; $content .= "
"; $content .= "
"; $content .= "
"; $content .= "
"; $content .= "Game ".$smon['DETAILS']['game'].""; $content .= "
Server IP ".$sip."
Server Port ".$sport."
Map ".$smon['DETAILS']['map']."
"; $content .= "Current Players
"; $content .= "
"; $content .= "
"; while (list ($key, $val) = each ($smon['PLAYERS'])){ $content .= "
"; $content .= "
"; $content .= "
"; } $content .= "Player Score Ping
"; $content .= $key; $content .= " "; $content .= $smon['PLAYERS'][$key]['KILLS']; $content .= " "; $token = strtok ( $smon['PLAYERS'][$key]['CONNECTED'], ":" ); $token = strtok ( ":" ); $token = strtok ( ":" ); $content .= $token; $content .= "
"; // end of file Thanks very much to our Exclusive Subscriber, Submistrix, for providing this!
Tomashek L. napisał(a):Trza szukać Wink
Swat napisał(a):Daj link gdzie to znalazłeś
Powróć do Grafika & Webmastering
Użytkownicy przeglądający to forum: Brak zarejestrowanych użytkowników oraz 1 gość