Jump to content
  • 0

Question

Posted (edited)

Hello, I need some help in PHP.  Currently server status(ON/OFF, online) is showed by a list(1st server stat. and 2nd is lower), but I want to make it in a row. Manipulations in HTML/CSS files gave nothing. I think my problem is localized somewhere in last 15 strings. Thanks for your attention!

        }
        $tpl->LoadView( "server" );
        $tpl->Block( 'main' );
        $tpl->Block( 'item', false );
        if ( isset($LS[0]) )
            $tpl->Set( "login", $LS[0] );
        $tpl->Set( 'item', $tpl->GetResult("server_item", true) );
        if ( count($gsList) > 1 ) {
            $tpl->Block( 'total' );
            $tpl->Set( "total", $Total );
        } else
            $tpl->Block( 'total', false );
        $tpl->Build( "server" );
        if ( $l2cfg["cache"]["enable"] and $l2cfg['cache']['sList'] ) {
            $controller->SetCache( "mod_server", $tpl->GetResult("server"), $l2cfg['cache']['sList'] );
        }
    }
}
Edited by Scheglina

2 answers to this question

Recommended Posts

  • 0
Posted

Features from 2016.  :happyforever:

if ( $l2cfg["gs"][$_S]["fake"]["enable"] ) {
    $Online = intval( $Online * (1 + $l2cfg["gs"][$_S]["fake"]["percent"] / 100) );
}
  • 0
Posted

 

Features from 2016.  :happyforever:

if ( $l2cfg["gs"][$_S]["fake"]["enable"] ) {
    $Online = intval( $Online * (1 + $l2cfg["gs"][$_S]["fake"]["percent"] / 100) );

I wrote that i need help in code, not humor of 85 lvl. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...