Jump to content
Fórum Script Brasil
  • 0

Modificar Página php "Rank Counter Strike"


andersonb8
 Share

Question

Olá a todos.

Alguém poderia me ajudar a modificar essa página.

psychostats.jpg

Gostaria de retirar todo o conteúdo da página e fica-se só que circulei de vermelho. 

O código da página é este daqui.

<?php

define("PSYCHOSTATS_PAGE", true);
include(dirname(__FILE__) . "/includes/common.php");
$cms->init_theme($ps->conf['main']['theme'], $ps->conf['theme']);
$ps->theme_setup($cms->theme);
$cms->theme->page_title('Lista de Servidores Ativos');

// collect url parameters ...
$validfields = array('s');
$cms->theme->assign_request_vars($validfields, true);

$servers = array();
$servers = $ps->db->fetch_rows(1, 
    "SELECT * " . 
    "FROM $ps->t_config_servers " . 
    "WHERE enabled=1 " . 
    "ORDER BY idx,host,port"
);

for ($i=0; $i < count($servers); $i++) {
    $servers[$i]['ip'] = gethostbyname($servers[$i]['host']);
}

// assign variables to the theme
$cms->theme->assign(array(
    'servers'    => $servers
));

// display the output
$basename = basename(__FILE__, '.php');
$cms->theme->add_css('css/2column.css');    // this page has a left column
$cms->theme->add_css('css/query.css');
$cms->theme->add_js('js/' . $basename . '.js');
$cms->full_page($basename, $basename, $basename.'_header', $basename.'_footer');

?>

Vai ficar tipo um banner, pra quem usar meus pcs na lan house

tela.jpg

 

=====================================================================

Aviso: Duvidas devem ser postadas no forum Principal ( PHP )

 

Edited by Jhonas
Regras do Forum
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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

  • Forum Statistics

    • Total Topics
      149.6k
    • Total Posts
      646.2k
×
×
  • Create New...