pffffffffffffffffffffffffffff check this out
the generator.php
<?php
//---------------
// Made by Daedalus email : daedalus at hotmail dot fr
//---------------
$ServerHost=""; // Server's Host - IP
$MySQLPort=""; // Server's MySQL Port
$MySQLLogin=""; // Server's MySQL Username
$MySQLPass=""; // Server's MySQL Password
$MySQLDB=""; // Server's MySQL Database Name
$filename = './helios.js'; //generated javascript file you need to put attribute 777 in your folder
//-----------------------------------------------------------------------------------------------
// Connection
mysql_connect($ServerHost.":".$MySQLPort,$MySQLLogin,$MySQLPass) or die('Cannot connect to MySQL Server. Error in connect.php');
mysql_select_db($MySQLDB) or die('Cannot find database. Error in connect.php');
?>
index.php
<?php require 'generator.php'; ?>
<html>
<head>
<title>Castle Control</title>
<style type="text/css">
body {margin: 5px; font: 11px Verdana, Arial, Helvetica, sans-serif; background-color: #171717;}
.castleWrapper{width:405px; margin:20px; padding:10px; border:1px solid #000000; color: #FF9900; overflow: auto; text-align: left;}
.castlePic{width:149px; height:99px; border:1px solid #ff9900; float:left; margin-right:10px;}
.castleInfo div{width:400px;}
.castleName{width:450px; background: #000000; color: #FF9900; margin-bottom:5px; padding:2px;}
#AdenPic{background:url(./castle_control_image/aden.jpg) no-repeat;}
#DionPic{background:url(./castle_control_image/dion.jpg) no-repeat;}
#GiranPic{background:url(./castle_control_image/giran.jpg) no-repeat;}
#GludioPic{background:url(./castle_control_image/gludio.jpg) no-repeat;}
#GoddardPic{background:url(./castle_control_image/goddard.jpg) no-repeat;}
#InnadrilPic{background:url(./castle_control_image/innadril.jpg) no-repeat;}
#OrenPic{background:url(./castle_control_image/oren.jpg) no-repeat;}
#RunePic{background:url(./castle_control_image/rune.jpg) no-repeat;}
#SchuttgartPic{background:url(./castle_control_image/schuttgart.jpg) no-repeat;}
</style>
<script language="javascript" type="text/javascript" src="./helios.js"></script>
</head>
<body>
<script language="javascript">
document.write(gludioinfo);
document.write(dioninfo);
document.write(giraninfo);
document.write(oreninfo);
document.write(adeninfo);
document.write(innadrilinfo);
document.write(goddardinfo);
document.write(runeinfo);
document.write(schuttgartinfo);
</script>
</body>
</html>