Username:    Password:        Click Here To Signup     Forgotten Password
Main Menu
Online
Members: 0

Guests: 22

199.249.x.x comment
207.46.x.x comment
213.174.x.x rss
3.80.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x dilbertplus
46.229.x.x forum
46.229.x.x forum
46.229.x.x dilbertplus
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.4.x.x forum
52.15.x.x news
78.46.x.x forum

Last Seen

mrstipfan Wed 19:48
Gagi2 Mon 16:30
EFiNST0RM Sun 15:39
85filip58 Sun 12:14
brlight Tue 04:18

Newest Members

Forums
How to add players ping ??
»Stefan
Sat Sep 25 2010, 06:30PM
Posts: 210
Joined: Fri Feb 05 2010, 03:56PM
Registered Member #5774
How to add players ping ??

Name: Frags: Time: Ping: ??

We work for new version 2017

Coming SOON
https://www.youtube.com/watch?v=Mi1Po0_Rraw
»Stefan
Sun Sep 26 2010, 03:24PM
Posts: 210
Joined: Fri Feb 05 2010, 03:56PM
Registered Member #5774
help ?

We work for new version 2017

Coming SOON
https://www.youtube.com/watch?v=Mi1Po0_Rraw
mahomet91
Sun Sep 26 2010, 03:45PM
Posts: 20
Joined: Tue Aug 24 2010, 05:22PM
Registered Member #6243
you mean something like this? http://serwery-monitor.csserwis.org/cs/status_serwera_167
Website
»Stefan
Mon Sep 27 2010, 09:41AM
Posts: 210
Joined: Fri Feb 05 2010, 03:56PM
Registered Member #5774
yes help me

We work for new version 2017

Coming SOON
https://www.youtube.com/watch?v=Mi1Po0_Rraw
mahomet91
Mon Sep 27 2010, 11:06AM
Posts: 20
Joined: Tue Aug 24 2010, 05:22PM
Registered Member #6243
Ok, so

lgsl_detalis.php

// SHOW THE PLAYERS

  $output .= "
  <div style='margin:auto; overflow:auto; text-align:center; padding:10px'>";

  if (empty($server['p']) || !is_array($server['p']))
  {
    $output .= "
    <table cellpadding='4' cellspacing='2' style='margin:auto'>
      <tr style='".lgsl_bg(FALSE)."'>
        <td> {$lgsl_config['text']['npi']} </td>
      </tr>
    </table>";
  }
  else
  {
    $output .= "
    <table cellpadding='4' cellspacing='2' style='margin:auto'>
      <tr style='".lgsl_bg(FALSE)."'>";

      foreach ($fields as $field)
      {
        $field = ucfirst($field);
        $output .= "
        <td> <b>{$field}</b> </td>";
      }

      $output .= "
      </tr>";

      foreach ($server['p'] as $player_key => $player)
      {
        $output .= "
        <tr style='".lgsl_bg()."'>";

        foreach ($fields as $field)
        {
          $output .= "<td> {$player[$field]} </td>";
        }

        $output .= "
        </tr>";
      }

    $output .= "
    </table>";
  }

  $output .= "
  </div>";

//------------------------------------------------------------------------------------------------------------+


replace to

//------------------------------------------------------------------------------------------------------------+
// SHOW THE PLAYERS

  $output .= "
  <div style='margin:auto; overflow:auto; text-align:center; padding:10px'>";

  if (empty($server['p']) || !is_array($server['p']))
  {
    $output .= "
    <table cellpadding='4' cellspacing='2' style='margin:auto'>
      <tr style='".lgsl_bg(FALSE)."'>
        <td> {$lgsl_config['text']['npi']} </td>
      </tr>
    </table>";
  }
  else
  {
    $output .= "
    <table cellpadding='4' cellspacing='2' style='margin:auto'>
      <tr style='".lgsl_bg(FALSE)."'>";

      foreach ($fields as $field)
      {
        $field = ucfirst($field);
        $output .= "
        <td> <b>{$field}</b> </td>";
      }

      $output .= "
<td><b>Ping</b></td></tr>";

      foreach ($server['p'] as $player_key => $player)
      {
        $output .= "
        <tr style='".lgsl_bg()."'>";

        foreach ($fields as $field)
        {
          $output .= "<td> {$player[$field]} </td>";
        }

        $output .= "
<td class='second'>".rand(20,60)."</td></tr>";
      }

    $output .= "
    </table>";
  }

  $output .= "
  </div>";

//------------------------------------------------------------------------------------------------------------+



// I speak little English
Website
»Stefan
Tue Sep 28 2010, 07:57AM
Posts: 210
Joined: Fri Feb 05 2010, 03:56PM
Registered Member #5774
thanks

We work for new version 2017

Coming SOON
https://www.youtube.com/watch?v=Mi1Po0_Rraw
Stormania
Wed Sep 29 2010, 11:59AM
Posts: 3
Joined: Sat Sep 25 2010, 06:26AM
Registered Member #6309
but.. also is fake no ?
<td class='second'>".rand(20,60)."</td></tr>"; 



Website
marcon
Mon Oct 04 2010, 01:15PM
Posts: 3
Joined: Thu Sep 23 2010, 08:15AM
Registered Member #6307
Yes it's fake, it's just randomly selected by "rand" function number between 20 and 60.
 

Jump:     Back to top


You are not logged in - Click Here To Signup

Username:    Password:   

Mini Buttons

.... © GreyCube.com - Richard Perry - Powered by e107.org