Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Panele

Parašė Jupiter· 2008 Rugp. 18 16:08:24
#1

Sveiki.Kas galetu pagelbeti?Kas siame kode blogai kai idedu i panele ismeta man eror'a .

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/ahujel/public_html/administration/panel_editor.php(111) : eval()'d code on line 3





Stai pats skriptas kuri idedu i panele.
openside("Statusas");
  echo '
    print'<table width="150">';
    $server  = "85.232.156.72";
    $portg   = "7777";
    $portl   = "9014";
    $timeout = "5";

    if ($server and $port and $timeout) {
        $game =  @fsockopen("$server", $portg, $errno, $errstr, $timeout);
        $login =  @fsockopen("$server", $portl, $errno, $errstr, $timeout);
    }
    print'<tr><td align="center"><strong>Server Status</strong></td></tr>';
    if($login) { print'<tr><td>Login:</td><td><font color="#00FF00"><strong> Online</strong></font><br><br></td></tr>'; }
    else { print'<tr><td>Login:</td><td><font color="#FF0000"><strong> Offline</strong></font><br><br></td></tr>'; }
    if($game) { print'<tr><td>Game:</td><td><font color="#00FF00"><strong> Online</strong></font></td></tr>'; }
    else { print'<tr><td>Game:</td><td"><font color="#FF0000"><strong> Offline</strong></td></tr>'; }
    print'</table>';
closeside();