04.07.2010, 20:00 
		
	
	
		Hallo,
Ich möchte etwas in diesen code einfügen:
und in diesen möchte ich dieses php script einbauen:
wenn ich es direkt einfüge geht es nicht...
bitte helft mir
lg
mc
	
	
	
	
Ich möchte etwas in diesen code einfügen:
Code:
<style type="text/css">
#notificationbar {
    position: fixed;
    bottom: 0px;
    left: 0px;
    z-index: 7132;
    width: 100%;
    height: 32px;
    background: transparent url(http://static4.gigagfx.de/2008/grafik/notification/kachel.png) repeat-x;
    color: #fff;
    text-align: center;
    padding: 18px 0 2px 0;
    font-size: 14px;
    font-family: Arial, Helvetica, Verdana, sans-serif;
}
* html #notificationbar {
    position: absolute;
}
#notificationloading {
    vertical-align: middle;
}
.notificationmessage,
.notificationmessage a {
    color: #00a513;
    text-decoration: none;
}
.ntf_arrow {
    vertical-align: middle;
    margin-bottom: 2px;
}
.okbtn {
    cursor: pointer;
    vertical-align: bottom;
}
</style>
<div id="notificationbar">
<div id="notificationtext"><img id='notificationloading' src='http://static4.gigagfx.de/spacer.gif' width='21' height='20' alt='' style='visibility:hidden;' /> 
</table>
</div>und in diesen möchte ich dieses php script einbauen:
Code:
<?php
$ip = "funnymetin2.ath.cx";   // Server IP angeben
$login = "11002";   // Login Server port angeben (Standart 11002)
$char = "13000";   // Char Server port angeben (Standart 13000)
$world = "13003";   // World Server port angeben (Standart 13003)
$mysql = "3306";   // MySQL port angeben (Standart 3306)
$on_img = "on.gif";   // Pfad zum Online image angeben.
$off_img = "off.gif";  // Pfad zum Offline image angeben.
// MySQL Server 
@$fp = fsockopen($ip, $mysql, $errno, $errstr, 30);
if (!$fp) {echo 'MySQL Server : <img src="'.$off_img.'"/>   ';} else {echo 'MySQL Server : <img src="'.$on_img.'"/>  |  ';}
// Login Server
@$fp = fsockopen($ip, $login, $errno, $errstr, 30);
if (!$fp) {echo 'Login Server : <img src="'.$off_img.'"/>   ';} else {echo 'Login Server : <img src="'.$on_img.'"/>  |  ';}
// Char Server
@$fp = fsockopen($ip, $char, $errno, $errstr, 30);
if (!$fp) {echo 'Char Server : <img src="'.$off_img.'"/>   ';} else {echo 'Char Server : <img src="'.$on_img.'"/>  |  ';}
// World Server
@$fp = fsockopen($ip, $world, $errno, $errstr, 30);
if (!$fp) {echo 'World Server : <img src="'.$off_img.'"/>   ';} else {echo 'World Server : <img src="'.$on_img.'"/>   ';}
?>wenn ich es direkt einfüge geht es nicht...
bitte helft mir

lg
mc
 
  

 


 
			![[Bild: banner.png]](https://www.mybb.de/files/images/banner.png)