Hey jeg kan bare ikke få tekst hvid i dette script.
Håber at der er en der har 5min til og hjælpe med det,
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title><?=$title?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="<?=$background?>" link="<?=$link?>" vlink="<?=$visited_link?>" alink="<?=$active_link?>" topmargin="0" marginheight="0" style="font-family:<?=$font_face?>">
<center>
<font size="6" color="<?=$title_color?>"><b><?=$title?></b></font><br>
<br><br>
<table width="600" cellpadding="0" cellspacing="1" border="0">
<tr bgcolor="<?=$table_border?>">
<td>
<table width="100%" cellpadding="4" cellspacing="1" border="0">
<tr>
<td bgcolor="<?=$table_top?>" colspan="3" width="100%">
<font size="2" color="#ffffff"><b><a href="<?="$self?do=add_form&page=$page"?>">Skriv Hilsen</a></font></b>
</td>
</tr>
<?
$jml_page = ceil($jmlrec/$max_entry_per_page);
$nomrec = $page * $max_entry_per_page - $max_entry_per_page;
$no = $page*$max_entry_per_page-$max_entry_per_page;
//$no = ($jmlrec - $page * $max_entry_per_page) + $max_entry_per_page + 1;
if ($jmlrec == 0) {
echo '<tr><td colspan="3" bgcolor="#000000" align="center"><font color='#FFFFFF'><font size="3">Ingen beskeder endnu</font></td></tr>';
}
$w = 0; //--Color
for ($i=0; $i<$max_entry_per_page; $i++) {
$nomrec++;
$no++;
//$no--;
$recno = $nomrec-1;
if (isset($record[$recno])) {
$row = explode("|~|",$record[$recno]);
if ($w==0) {
$warna = $table_content_1a;
$warna2 = $table_content_1b;
$w=1;
} else {
$warna = $table_content_2a;
$warna2 = $table_content_2b;
$w=0;
}
echo "<tr>
<td bgcolor=\\"$warna2\\" align=\\"center\\" valign=\\"top\\" width=\\"15\\">
<font size=\\"2\\">$no</font>
</td>
<td bgcolor=\\"$warna\\" width=\\"570\\">
<table border=\\"0\\" width=\\"100%\\">
<tr>
<td>
<font color='#FFFFFF'>
<font size=\\"1\\">$row[2]</font><br>
<font size=\\"2\\"><b>$row[3]</b></font> </font>
</td>
<font color='#FFFFFF'>";
echo "</font><td align=\\"right\\" valign=\\"top\\">
<font color='#FFFFFF'>";
if (trim($row[4]) != "") {
echo "</font><a href=\\"mailto:$row[4]\\"><font color='#FFFFFF'><img src=\\"imgs/email.gif\\" border=\\"0\\" alt=\\"$row[4]\\"></font></a><font color='#FFFFFF'>";
}
if (trim($row[6]) != "" && trim($row[6]) != "http://") {
if (ereg("^http://", trim($row[6]))) echo " </font> <a href=\\"$row[6]\\" target=\\"_blank\\">
<font color='#FFFFFF'><img src=\\"imgs/homepage.gif\\" border=\\"0\\" alt=\\"$row[6]\\"></font></a><font color='#FFFFFF'>";
else echo " </font>
<a href=\\%22http:/$row[6]\\%22 target=\\"_blank\\">
<font color='#FFFFFF'><img src=\\"imgs/homepage.gif\\" border=\\"0\\" alt=\\"$row[6]\\"></font></a><font color='#FFFFFF'>";
}
echo '</font></td></tr></table><font color='#FFFFFF'>';
echo "<br></font><table border=\\"0\\" width=\\"100%\\">
<tr><td width=\\"5\\"> </td><td>
<font color='#FFFFFF'>
<font size=\\"2\\" face=\\"$message_font_face\\" size=\\"$message_font_size\\">".stripslashes($row[5])."</font>
</font>
</td></tr>
</table>
<font color='#FFFFFF'>";
echo '</font></td>';
echo "<td valign=\\"top\\" bgcolor=\\"$warna2\\" align=\\"center\\" width=\\"15\\">
<a href=\\"$self?do=del&id=$row[1]&page=$page\\">
<img src=\\"imgs/del.gif\\" alt=\\"Delete entry # $no\\" border=0 align=\\"center\\"></a>
</td>
</tr>";
} //--end if
} //--end for
echo "<tr><td colspan=\\"3\\" bgcolor=\\"$table_bottom\\" align=\\"center\\" width=\\"600\\"><font size=\\"2\\">
<font color='#FFFFFF'>";
if ($jml_page > 1) {
if ($page != 1) echo "[</font><a href=\\"$self?page=1\\"><font color='#FFFFFF'>Top</font></a><font color='#FFFFFF'>] "; else echo '[Top] ';
echo 'Page # ';
if ($jml_page > 10) {
if ($page < 5) {
$start = 1;
$stop = 10;
} elseif ($jml_page - $page < 5) {
$start = $jml_page - 9;
$stop = $jml_page;
} else {
$start = $page-4;
$stop = $page+5;
}
if ($start != 1) echo '... ';
for ($p=$start; $p<=$stop; $p++) {
if ($p == $page) echo "<font color=\\"$active_link\\"><b>$p</b></font> ";
else echo "</font><a href=\\"$self?page=$p\\"><font color='#FFFFFF'>$p</font></a><font color='#FFFFFF'> ";
}
if ($stop != $jml_page) echo '... ';
echo "of $jml_page ";
} else {
for ($p=1; $p<=$jml_page; $p++) {
if ($p == $page) echo "<font color=\\"$active_link\\"><b>$p</b></font> ";
else echo "</font><a href=\\"$self?page=$p\\"><font color='#FFFFFF'>$p</font></a><font color='#FFFFFF'> ";
}
}
if ($page != $jml_page) echo "[</font><a href=\\"$self?page=$jml_page\\"><font color='#FFFFFF'>Bottom</font></a><font color='#FFFFFF'>]";
else echo '[bottom]';
} else echo 'Side #1 of 1';
echo '</font></td></tr>';
?>
</table>
</td>
</tr>
</table>
<br>
</center>
</body>
</html>