Jump to content
  • 0

Need Some Help In Php


Scheglina
 Share

Question

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
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Features from 2016.  :happyforever:

if ( $l2cfg["gs"][$_S]["fake"]["enable"] ) {
    $Online = intval( $Online * (1 + $l2cfg["gs"][$_S]["fake"]["percent"] / 100) );
}
Link to comment
Share on other sites

  • 0

 

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. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

 Share



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock