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. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..