Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 04:36

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

Advertisement



GM/Admin Online Homepage Script

Discussion on GM/Admin Online Homepage Script within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
bloody2009's Avatar
 
elite*gold: 15
Join Date: Feb 2010
Posts: 572
Received Thanks: 114
GM/Admin Online Homepage Script

Hey Epvpers,

wie die Überschrift eig. schon sagt, will ich auf meiner Homepage einbauen, dass man dort die jeweilgen GM's / Admin's sieht und schauen kann ob diese online sind.

Hier mal ein Beispiel wie ich mir das vorgestellt habe:

Habe nach so einem Homepage Script schon gesucht nur leider nichts gefunden, was mir weiter geholfen hätte.

Deshalb frag ich euch mal
Falls ihr so ein Homepage Script habt, ist es nicht schlimm wenn dort nur GM's angezeigt werden, dass kann ich mir dann selbst umschreiben.

Danke im vorraus

Mfg bloody2009.
bloody2009 is offline  
Old 12/10/2011, 11:18   #2
 
elite*gold: 0
Join Date: Jan 2011
Posts: 356
Received Thanks: 103
PHP Code:
<table style="width: 300px; margin: auto;">
    <tr>
        <th style="width: 100px;">Name</th>
        <th style="width: 100px;">Status</th>
    </tr>
<h2><p><p><?php
    $db 
= @mssql_select_db("CHARACTER_01_DBF");
    
$sql "SELECT * FROM CHARACTER_TBL WHERE m_chAuthority = 'P'"
    
$result mssql_query($sql);
    while(
$consulta mssql_fetch_array($result)) {
    if(
$consulta['MultiServer'] != '0'){
        
$consulta['status'] = '<font color="#00FF00">Online</font>'
    }else{
        
$consulta['status'] = '<font color="#FF0000">Offline</font>'
    }    
    echo 
'<tr>';
    echo 
'<th>'.$consulta['m_szName'].'</th>';
    echo 
'<th>'.$consulta['status'].'</th>';
    echo 
'</tr>';
    }
?></h2>    
</table>
Zeigt alle Admins ( P ) an.
Musst du dan nur halt die anderen hinzufügen.
schmizi is offline  
Thanks
2 Users
Old 12/10/2011, 11:19   #3
 
bloody2009's Avatar
 
elite*gold: 15
Join Date: Feb 2010
Posts: 572
Received Thanks: 114
Schnell,qualitiv sehr gut
danke!
bloody2009 is offline  
Old 12/10/2011, 12:58   #4
 
Doomm's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 150
Received Thanks: 42
Oder du machst es so :

PHP Code:
<table style="width: 300px; margin: auto;">
    <tr>
        <th style="width: 100px;">Name</th>
        <th style="width: 100px;">Status</th>
    </tr>
<h2><p><p><?php
    $db 
= @mssql_select_db("CHARACTER_01_DBF");
    
$sql "SELECT * FROM CHARACTER_TBL WHERE m_chAuthority != 'F'"
    
$result mssql_query($sql);
    while(
$consulta mssql_fetch_array($result)) {
    if(
$consulta['MultiServer'] != '0'){
        
$consulta['status'] = '<font color="#00FF00">Online</font>'
    }else{
        
$consulta['status'] = '<font color="#FF0000">Offline</font>'
    }    
    echo 
'<tr>';
    echo 
'<th>'.$consulta['m_szName'].'</th>';
    echo 
'<th>'.$consulta['status'].'</th>';
    echo 
'</tr>';
    }
?></h2>    
</table>
So werden alle angezeigt die nicht als Normaler User in der DB stehen.
Doomm is offline  
Reply


Similar Threads Similar Threads
[Homepage] Online Script buggy
05/12/2011 - Flyff Private Server - 7 Replies
Hai, ich habe bei mir festgestellt das mein Homepage Script der eigentlich anzeigen sollte, wie viel on sind, nicht richtig funzt. Und zwar zeigt er viel mehr als ingame on sind an. Hier mal mein Script:



All times are GMT +2. The time now is 04:36.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.