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..
Question
Scheglina
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 Scheglina2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now