yeah,
also tried that with meta tags 🙁
this is what i have now, i still need to refresh and get the `ol POSTDATA refresh warning 🙁
----- header.inc.php
<?php
global $version;
global $logo_large;
global $logo_alt;
print('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<HEAD>
<TITLE>' . $version . ' :: ' . $page . '</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
a:link {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
text-transform: capitalize;
text-decoration:none;
color:#000000;
text-align: center;
vertical-align: middle;
}
.reason {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-style: italic;
font-weight: bold;
text-align: center;
vertical-align: middle;
}
.postAmble {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-style: italic;
font-weight: bold;
color: #FF0000;
text-align: center;
vertical-align: middle;
}
.rule {
width: 30%;
height: 2px;
}
.picCentre {
text-align: center;
vertical-align: middle;
}
.copyright {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
text-transform: capitalize;
text-align: center;
vertical-align: middle;
}
.version {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
text-align: center;
vertical-align: middle;
}
-->
</style>
</HEAD>
<BODY>');
if(is_readable("$logo_large")){
print('
<div class="picCentre">
<img src="' . $logo_large . '" border="0" align="middle" alt="' . $logo_alt .'">
</div>
');
}
print('
<HR class="rule">
');
?>
----- subskribe.php
/**
* Function to generate the administration page for the database file
*/
function showAdmin(){
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
include('header.inc.php');
print ('
<TABLE align="center" width="50%" />
<TR>
<td align="center" />
<form action="'.$_SERVER['PHP_SELF'].'" method="POST">');
print('
<TEXTAREA style="WIDTH: 337px; HEIGHT: 159px" rows=8 cols=35>
');
// output all subskribers in the database to the textarea
displayUsers();
print ('
</TEXTAREA>
<BR><Br>
');
print (entries() . ' subskribers in database.
<BR> ' .
$file .
' <br><br>
<INPUT style="WIDTH: 192px; HEIGHT: 22px" size=23 name="subskriber" id="subskriber">
<INPUT type=submit value="Add" name="add" id="add" onSubmit="">
<INPUT type=submit value="Remove" name="delete" id="delete">
</form>
</TD>
</TR>
</TABLE>
');
include('footer.inc.php');
}
thanx again
g00fy