Kod 1.
<?php // ServerOnlineList v1.1 bY MultiGamer... PHP-script! $ip = "193.218.153.106:7777"; // Adres IP serwera $host = "193.218.153.106"; // Host FTP serwera $user = "s910"; // Użytkownik FTP serwera $pass = "ori09u5nv039PSRPa"; // Haslo do FTP serwera $file = "samp/scriptfiles/online.txt"; // modify only if your host's FTP doesn't go to the server's dir on connect $lang = "en"; // choose your preferred language here; supported: en, hu, sr // DON'T CHANGE ANYTHING AFTER THIS LINE!!! $conn = ftp_connect($host); ftp_login($conn, $user, $pass); ftp_get($conn, "online.txt", $file, FTP_ASCII); switch ($lang) { case "en": break; case "hu": break; case "sr": break; } { switch ($lang) { case "en": break; case "hu": break; case "sr": break; } } else { switch ($lang) { case "en": break; case "hu": break; case "se": break; } } ftp_close($conn); ?>
Kod 2. - Tutaj gdzie piszę "Wbuduj tutaj kod nr 1." proszę o poprawne wgranie kodu nr 1
<?php $template='<html> <head> <title>'.$pages['name'].'</title> {$headerinclude} </head> <body> {$header} <table border="0" cellspacing="'.$theme['borderwidth'].'" cellpadding="'.$theme['tablespace'].'" class="tborder"> <thead> <tr> <td class="thead"> <strong>'.$pages['name'].'</strong> </td> </tr> </thead> <tbody> <tr> <td class="trow1">Wbuduj tutaj kod nr 1.</td> </tr> </tbody> </table> <br /> {$footer} </body> </html>'; add_breadcrumb($pages['name']); output_page($page); ?>