View file game/chat/themes/4/index.php

File size: 2.52Kb
<?php
header("Content-type:text/html; charset=utf-8");
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>';
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">';
echo '<title>'.$my_title.'</title>
<style type="text/css">
body {font-size: 11; font-family: Courier new; padding: 0px 0px 0px 0px; color: #000000; background-color: #000000 }
a:link,a:active,a:visited {text-decoration: none; color: #660000;}
a:hover {text-decoration: none; color: #666999 }
table {margin: 0px; padding: 0px;  font-size: 11px;}
.b {margin: 3px; padding: 4px; border-top: 1px dashed #660000; border-bottom: 1px dashed #660000; border-left: 3px solid #663300; border-right: 3px solid #663300; font-size: 11px; color: #000000;}
.b:hover {margin: 3px; padding: 4px; background-color: #CCCCCC; border-top: 1px dashed #660000; border-bottom: 1px dashed #660000; border-left: 3px solid #996633; border-right: 3px solid #996633; font-size: 11px; color: #000000;}
.c {margin: 0px; padding: 0px; font-size: 11px; color: #666633;}
.d {background-color: #CCCC99;}
img {margin: 0px; border: 0px;}
textarea {width: 100%;  background-color: #CCCC99; font-size: 11px; color: #660000;}
input {margin: 2px; padding: 2px; border: 1px solid #666600; background-color: #CCCC99; font-size: 11px; color: #660000;}
input:hover {margin: 2px; padding: 2px; border: 1px solid #666600; background-color: #E5E5E5; font-size: 11px; color: #660000;}
</style>
</head><body><!--Themes by Vantuz-->';

echo '<table border="0" align="center" cellspacing="0" cellpadding="0">
<tr><td>
<img src="themes/4/left_up0.gif" />
</td>
		
<td width="100%" background="themes/4/up000000.gif"></td>
		
<td><img src="themes/4/right_up.gif" />
</td></tr>
	   
<tr><td background="themes/4/left0000.gif">
</td><td width="100%" bgcolor="#999999">
<p class="c">
<img align="right" src="themes/4/logo0000.gif" />
</p></td>
<td background="themes/4/right000.gif"></td></tr>
	   
<tr><td background="themes/4/left0000.gif"></td>
		
<td width="100%" height="7"  background="themes/4/separate.gif">
</td><td background="themes/4/right000.gif"></td></tr>
		
<tr><td width="7" height="100%"  background="themes/4/left0000.gif">
</td><td width="100%" bgcolor="#999999">';

echo '<div>';
function myhtml($myhtml) {
$myhtml = str_replace("img/act1.gif","themes/4/act.gif",$myhtml);
$myhtml = str_replace("img/act2.gif","themes/4/act.gif",$myhtml);
$myhtml = str_replace("img/act3.gif","themes/4/act.gif",$myhtml);

return $myhtml; }
ob_start(myhtml);
?>