• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Windows See Online Player Uptime and all that

Teddy

SweStream.se
Joined
Oct 2, 2008
Messages
3,797
Reaction score
10
Location
Sweden 172
i need help to fix my geisor website so i see Online Player Uptime and all here .. (under server online)
78561142.jpg




Layout
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250"/>
<title><?PHP echo $config['server']['serverName']; ?> - <?PHP echo $topic; ?></title>
<?PHP echo $layout_header; ?>
<meta http-equiv="Reply-to" content="" />
<meta name="Description" content="opis strony" />
<meta name="keywords" content="s³owa kluczowe" />
<meta name="Author" content="Autor" />
<meta name="Robots" content="ALL" />
<meta name="revisit-after" content="10" />
<link rel="stylesheet" type="text/css" href="<?PHP echo $layout_name.'/' ; ?>default.css" />
</head>

<body>

<div class="pds">
	<div class="pds1"> 
	<div><img src="<?PHP echo $layout_name.'/' ; ?>images/t.jpg" alt="" /></div>
	<div><img src="<?PHP echo $layout_name.'/' ; ?>images/t1.jpg" alt="" /></div>
    <div class="t2">
    	<div class="t2a"><img src="<?PHP echo $layout_name.'/' ; ?>images/t2a.jpg" alt="" /></div>
      <div class="t2b"><img src="<?PHP echo $layout_name.'/' ; ?>images/t2b.jpg" alt="" /></div>
        <div class="form">
			<?PHP if(!$logged) echo '<form action="?subtopic=accountmanagement" method="post"><span>Acc name: <input type="password" name="account_login" />&nbsp;&nbsp;&nbsp;Pass: <input type="password" name="password_login" /><input type="submit"  value="OK" style="background:none; border:none; font-weight:bold; width:30px;" /></span></form>';
else
        	echo 'You already log in. <a href="?subtopic=accountmanagement&action=logout">  Logout</a>'; ?>
      </div>
      <div class="f-info"><a href="?subtopic=createaccount">Create Account</a> | <a href="?subtopic=lostaccount">Lost Account?</a></div>
    </div>
   
	<div class="s">
    	<div class="s1">
		<div class="left">
	           <?PHP 
			if($config['status']['serverStatus_online'] == 1)
				echo '<div class="mng"><font color="green"><b> Server ONLINE</b></font></div><font size="1" color="white">&nbsp;&nbsp;&nbsp;Player Online: '.$config['status']['serverStatus_players'].' / '.$config['status']['serverStatus_playersMax'].'<br />&nbsp;&nbsp;&nbsp;Potworów: '.$config['status']['serverStatus_monsters'].'<br />&nbsp;&nbsp;&nbsp;Uptime: '.$config['status']['serverStatus_uptime'].'</font>';
			else
				echo '<div class="mng"><font color="green"><b> Server ONLINE</b></font></div>';
			?>
			<ul class="m1"> 
					
			<li><a href="?subtopic=whoisonline"><b><font size="1">Who is Online?</font></b></a></li>
			<li><a href="?subtopic=latestnews"><b><font size="1">News</font></b></a></li>
			</ul>
			<div class="mng">Account</div>
            <ul class="m1"> 
				<?PHP
				if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
					echo '<li><a href="?subtopic=adminpanel"><b><font size="1" color="red">Admin Panel</font></b></a></li>';
				if($logged)
					echo '<li><a href="?subtopic=accountmanagement"><b><font size="1">Login</font></b></a></li>
					<li><a href="?subtopic=accountmanagement&action=logout"><b><font size="1">Logout</font></b></a></li>';
				else
					echo '<li><a href="?subtopic=accountmanagement"><b><font size="1">Login</font></b></a></li>';
				?>
				<li><a href="?subtopic=createaccount"><b><font size="1" color="red">Create Account</font></b></a></li>
				<li><a href="?subtopic=tibiarules"><b><font size="1">SweddY Rules</font></b></a></li>
                  </ul>
        
        	<div class="mng">Community</div>
            <ul class="m1"> 
				<li><a href="?subtopic=radio"><b><font size="1">Radio</font></b></a></li>
				<li><a href="?subtopic=characters"><b><font size="1">Characters</font></b></a></li>
				<li><a href="?subtopic=guilds"><b><font size="1">Guilds</font></b></a></li>
				<li><a href="?subtopic=highscores"><b><font size="1">Highscores</font></b></a></li>
				<li><a href="?subtopic=killstatistics"><b><font size="1">KillStatistics</font></b></a></li>
				<?PHP if($config['site']['download_page'] == 1) echo '<li><a href="?subtopic=downloads"><b><font size="1">Download</font></b></a></li>'; ?>
				<?PHP if($config['site']['gallery_page'] == 1) echo '<li><a href="?subtopic=gallery"><b><font size="1">Images</font></b></a></li>'; ?>
				<?PHP if(!empty($config['site']['forum_link'])) echo '<li><a href="'.$config['site']['forum_link'].'"><b><font size="1">Forum</font></b></a></li>'; ?>
				<li><a href="?subtopic=team"><b><font size="1">Admins</font></b></a></li>
            </ul>
<?PHP
if($config['site']['shop_system'] == 1)
{
			echo '<div class="mng">Shop</div>
			<ul class="m1"> 
				<li><a href="http://sweddy.mine.nu/index.php?subtopic=buypoints&system=daopay"><b><font size="1" color="red"><blink>Buy Points [Phone/Sms]</blink></font></b></a></li>
				<li><a href="http://sweddy.mine.nu/index.php?subtopic=paypal"><b><font size="1" color="red"><blink>Buy Points [Paypal/Card]</blink></font></b></a></li>
				<li><a href="?subtopic=shopsystem"><b><font size="1">Sweddy Items</font></a></li>';
				if($logged)
					echo '<li><a href="?subtopic=shopsystem&action=show_history"><b><font size="1">Buyed</font></a></li>';
			echo '</ul>';
}
?>
        	<div class="mng">Library</div>
            <ul class="m1"> 
				<li><a href="?subtopic=experiencetable"><b><font size="1">Experience Table</font></b></a></li>
                  </ul>
				  
        	<div class="mng">Links</div>
            <ul class="m1"> 
				<li><a href="http://otland.net"><b><font size="1">Otland</font></b></a></li>
				<li><a href="http://otfans.net"><b><font size="1">Otfans</font></b></a></li>
                  </ul>
		</div>
		<div class="right">
			<div class="tekst">
			<?PHP echo $main_content; ?>
			</div>
        </div>
		<div style="clear:both;"></div>
        </div>
	</div>
	<div><img src="<?PHP echo $layout_name.'/' ; ?>images/d.jpg" alt=""  /></div>
</div>

</div>

</body>
</html>
 
Hey chipsen how can i fix that players online/offline got colors in highscore like yours? thanks. RED And Green on their names.

OP: i Dont know i only saw few with uptime function.
 
Hey chipsen how can i fix that players online/offline got colors in highscore like yours? thanks. RED And Green on their names.

OP: i Dont know i only saw few with up-time function.
Huh ?
make a own thread ? i cant help you :S ?
i still need help whit me problem ..
 
try this:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250"/>
<title><?PHP echo $config['server']['serverName']; ?> - <?PHP echo $topic; ?></title>
<?PHP echo $layout_header; ?>
<meta http-equiv="Reply-to" content="" />
<meta name="Description" content="opis strony" />
<meta name="keywords" content="s³owa kluczowe" />
<meta name="Author" content="Autor" />
<meta name="Robots" content="ALL" />
<meta name="revisit-after" content="10" />
<link rel="stylesheet" type="text/css" href="<?PHP echo $layout_name.'/' ; ?>default.css" />
</head>

<body>

<div class="pds">
	<div class="pds1"> 
	<div><img src="<?PHP echo $layout_name.'/' ; ?>images/t.jpg" alt="" /></div>
	<div><img src="<?PHP echo $layout_name.'/' ; ?>images/t1.jpg" alt="" /></div>
    <div class="t2">
    	<div class="t2a"><img src="<?PHP echo $layout_name.'/' ; ?>images/t2a.jpg" alt="" /></div>
      <div class="t2b"><img src="<?PHP echo $layout_name.'/' ; ?>images/t2b.jpg" alt="" /></div>
        <div class="form">
			<?PHP if(!$logged) echo '<form action="?subtopic=accountmanagement" method="post"><span>Acc name: <input type="password" name="account_login" />&nbsp;&nbsp;&nbsp;Pass: <input type="password" name="password_login" /><input type="submit"  value="OK" style="background:none; border:none; font-weight:bold; width:30px;" /></span></form>';
else
        	echo 'You already log in. <a href="?subtopic=accountmanagement&action=logout">  Logout</a>'; ?>
      </div>
      <div class="f-info"><a href="?subtopic=createaccount">Create Account</a> | <a href="?subtopic=lostaccount">Lost Account?</a></div>
    </div>
   
	<div class="s">
    	<div class="s1">
		<div class="left">
	           <?PHP 
			if($config['status']['serverStatus_online'] == 1)
				echo '<div class="mng"><font color="green"><b> Server ONLINE</b></font></div><li><font size="1" color="white">&nbsp;&nbsp;&nbsp;Player Online: '.$config['status']['serverStatus_players'].' / '.$config['status']['serverStatus_playersMax'].'</li><li>&nbsp;&nbsp;&nbsp;Potworów: '.$config['status']['serverStatus_monsters'].'</li><li>&nbsp;&nbsp;&nbsp;Uptime: '.$config['status']['serverStatus_uptime'].'</font></li>';
			else
				echo '<div class="mng"><font color="green"><b> Server ONLINE</b></font></div>';
			?>
			<ul class="m1"> 
					
			<li><a href="?subtopic=whoisonline"><b><font size="1">Who is Online?</font></b></a></li>
			<li><a href="?subtopic=latestnews"><b><font size="1">News</font></b></a></li>
			</ul>
			<div class="mng">Account</div>
            <ul class="m1"> 
				<?PHP
				if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
					echo '<li><a href="?subtopic=adminpanel"><b><font size="1" color="red">Admin Panel</font></b></a></li>';
				if($logged)
					echo '<li><a href="?subtopic=accountmanagement"><b><font size="1">Login</font></b></a></li>
					<li><a href="?subtopic=accountmanagement&action=logout"><b><font size="1">Logout</font></b></a></li>';
				else
					echo '<li><a href="?subtopic=accountmanagement"><b><font size="1">Login</font></b></a></li>';
				?>
				<li><a href="?subtopic=createaccount"><b><font size="1" color="red">Create Account</font></b></a></li>
				<li><a href="?subtopic=tibiarules"><b><font size="1">SweddY Rules</font></b></a></li>
                  </ul>
        
        	<div class="mng">Community</div>
            <ul class="m1"> 
				<li><a href="?subtopic=radio"><b><font size="1">Radio</font></b></a></li>
				<li><a href="?subtopic=characters"><b><font size="1">Characters</font></b></a></li>
				<li><a href="?subtopic=guilds"><b><font size="1">Guilds</font></b></a></li>
				<li><a href="?subtopic=highscores"><b><font size="1">Highscores</font></b></a></li>
				<li><a href="?subtopic=killstatistics"><b><font size="1">KillStatistics</font></b></a></li>
				<?PHP if($config['site']['download_page'] == 1) echo '<li><a href="?subtopic=downloads"><b><font size="1">Download</font></b></a></li>'; ?>
				<?PHP if($config['site']['gallery_page'] == 1) echo '<li><a href="?subtopic=gallery"><b><font size="1">Images</font></b></a></li>'; ?>
				<?PHP if(!empty($config['site']['forum_link'])) echo '<li><a href="'.$config['site']['forum_link'].'"><b><font size="1">Forum</font></b></a></li>'; ?>
				<li><a href="?subtopic=team"><b><font size="1">Admins</font></b></a></li>
            </ul>
<?PHP
if($config['site']['shop_system'] == 1)
{
			echo '<div class="mng">Shop</div>
			<ul class="m1"> 
				<li><a href="http://sweddy.mine.nu/index.php?subtopic=buypoints&system=daopay"><b><font size="1" color="red"><blink>Buy Points [Phone/Sms]</blink></font></b></a></li>
				<li><a href="http://sweddy.mine.nu/index.php?subtopic=paypal"><b><font size="1" color="red"><blink>Buy Points [Paypal/Card]</blink></font></b></a></li>
				<li><a href="?subtopic=shopsystem"><b><font size="1">Sweddy Items</font></a></li>';
				if($logged)
					echo '<li><a href="?subtopic=shopsystem&action=show_history"><b><font size="1">Buyed</font></a></li>';
			echo '</ul>';
}
?>
        	<div class="mng">Library</div>
            <ul class="m1"> 
				<li><a href="?subtopic=experiencetable"><b><font size="1">Experience Table</font></b></a></li>
                  </ul>
				  
        	<div class="mng">Links</div>
            <ul class="m1"> 
				<li><a href="http://otland.net"><b><font size="1">Otland</font></b></a></li>
				<li><a href="http://otfans.net"><b><font size="1">Otfans</font></b></a></li>
                  </ul>
		</div>
		<div class="right">
			<div class="tekst">
			<?PHP echo $main_content; ?>
			</div>
        </div>
		<div style="clear:both;"></div>
        </div>
	</div>
	<div><img src="<?PHP echo $layout_name.'/' ; ?>images/d.jpg" alt=""  /></div>
</div>

</div>

</body>
€</html>
 

Similar threads

Back
Top