Register for your free account! | Forgot your password?

You last visited: Today at 19:41

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



How do I...

Discussion on How do I... within the Dekaron Private Server forum part of the Dekaron category.

Reply
 
Old   #1
 
Scotticus's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 433
Received Thanks: 65
How do I...

How do I.. Or where would I get a script like this for my front page?

Cant find any over on DK Underground..

Thanks


Scotticus is offline  
Old 02/09/2010, 11:01   #2
 
janvier123's Avatar
 
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,891
Quote:
Originally Posted by Scotticus View Post
Cant find any over on DK Underground..
i have nothing against your but you need to learn to search!
ppl are just sooooooo lazy, cant even search



you may report me but that's the truth!
janvier123 is offline  
Thanks
1 User
Old 02/09/2010, 11:06   #3
 
Scotticus's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 433
Received Thanks: 65
Meh.. Thanks
Scotticus is offline  
Old 02/09/2010, 17:52   #4
 
alexzzzzz's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 59
Received Thanks: 22
put this in a php file.

PHP Code:

<div class="online">
          <?php
                Error_reporting
(0);
                
$fp = @fsockopen('24.245.23.68'50005$errno$errstr2);
                if(
$fp){ echo "Online"; }
                else{ echo 
"Offline"; }
                
fclose($fp);
                
?>
          </div>
<div class="playeronline">
  <?php
            $result1 
mssql_query("SELECT user_no FROM account.dbo.USER_PROFILE WHERE login_flag = '1100'",$con);
            
$row1 mssql_num_rows($result1);
            echo 
"$row1";
            
?>
</div>

<div class="registerd">
  <?php
            $result2 
mssql_query("SELECT user_no FROM account.dbo.USER_PROFILE WHERE user_no <> '999999999'",$con);
            
$row2 mssql_num_rows($result2);
            echo 
"$row2";
            
?>
</div>

<div class="registerd">
  <?php
            $result3 
mssql_query("SELECT user_no FROM character.dbo.USER_PROFILE WHERE user_no <> '999999999'",$con);
            
$row2 mssql_num_rows($result2);
            echo 
"$row3";
            
?>
</div>

<div class="time">
  <?php
            $today 
date("F j, Y, g:i a"); 
            echo 
"$today";
            
?>
</div>
Why am i so nice... :P
alexzzzzz is offline  
Thanks
1 User
Old 02/09/2010, 18:06   #5
 
Scotticus's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 433
Received Thanks: 65
Quote:
Originally Posted by alexzzzzz View Post
put this in a php file.

PHP Code:

<div class="online">
          <?php
                Error_reporting
(0);
                
$fp = @fsockopen('24.245.23.68'50005$errno$errstr2);
                if(
$fp){ echo "Online"; }
                else{ echo 
"Offline"; }
                
fclose($fp);
                
?>
          </div>
<div class="playeronline">
  <?php
            $result1 
mssql_query("SELECT user_no FROM account.dbo.USER_PROFILE WHERE login_flag = '1100'",$con);
            
$row1 mssql_num_rows($result1);
            echo 
"$row1";
            
?>
</div>

<div class="registerd">
  <?php
            $result2 
mssql_query("SELECT user_no FROM account.dbo.USER_PROFILE WHERE user_no <> '999999999'",$con);
            
$row2 mssql_num_rows($result2);
            echo 
"$row2";
            
?>
</div>

<div class="registerd">
  <?php
            $result3 
mssql_query("SELECT user_no FROM character.dbo.USER_PROFILE WHERE user_no <> '999999999'",$con);
            
$row2 mssql_num_rows($result2);
            echo 
"$row3";
            
?>
</div>

<div class="time">
  <?php
            $today 
date("F j, Y, g:i a"); 
            echo 
"$today";
            
?>
</div>
Why am i so nice... :P

Thanks again!
Scotticus is offline  
Reply




All times are GMT +1. The time now is 19:41.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.