Register for your free account! | Forgot your password?

You last visited: Today at 14:40

  • 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
 
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
 
elite*gold: 20
Join Date: Nov 2007
Posts: 2,853
Received Thanks: 1,870
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
 
elite*gold: 0
Join Date: Oct 2009
Posts: 433
Received Thanks: 65
Meh.. Thanks
Scotticus is offline  
Old 02/09/2010, 17:52   #4
 
elite*gold: 0
Join Date: May 2009
Posts: 48
Received Thanks: 16
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
 
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



« [HELP] D-Shop | Buff Icon »



All times are GMT +1. The time now is 14:40.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

BTC: 3KeUpz52VCbhmLwuwydqxu6U1xsgbT8YT5
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

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