Autor | Zpráva | ||
---|---|---|---|
llubbo Profil * |
#1 · Zasláno: 1. 4. 2007, 09:47:21
čaffte
mám taký problém s mojou knihou návštev...a to taký že ju neviem dať do stredo iframu...PLZ pomôžte mi...tu je kód tej knihy: <html> <style type="text/css"> BODY{ scrollbar-face-color:black; scrollbar-arrow-color:white; scrollbar-track-color:red; } </style> <head> <title></title> <link rel=StyleSheet href="/s.css" type="text/css"> </head> <body><div align="center"><b><u><font color="gray" face="Times New Roman, Times, Serif" size="4"> Tu môžete vložit odkaz.</font></u></b></center> <table width="520" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <form method="post" action="kniha.php"> <table border=0 width=10% cellspacing=0 cellpadding=0> <tr> <td> <b><font color="white" face="Times New Roman, Times, Serif" size="3"> Meno: </td> <td> <input type="text" name="meno" size="20"> </td> </tr> <tr> <td colspan=2> <b><font color="white" face="Times New Roman, Times, Serif" size="3"> Text: <textarea name="odkaz" cols="30" rows="3" wrap=virtual></textarea> </font></b> </td> </tr> <tr> <td colspan=2 align=center> <input type="submit" value="Poslat"> </td> </tr> </table> </form> </td></tr> </font> </b> <tr><td> <? if (($meno=="") and ($mail=="") and ($odkaz!="")) { } if (($meno!="") or ($mail!="")) { $meno=strip_tags($meno); $mail=strip_tags($mail); $web=strip_tags($web); $odkaz=strip_tags($odkaz,"<|>,<>,<*>"); $odkaz=nl2br($odkaz); } if (($mail!="") and ($meno!="")) {$mail="|<a href=mailto:$mail>$mail</a>";} else {$mail=""; } if ($web!="") {$web="|<a href=http://$web>$web</a>";} else {$web="";} if (($meno!="") or ($mail!="")) { $old = @fread(@fopen("kniha/board.dat","r"),@filesize("kniha/board.dat")); //nastavit formatovanie odkazov $new = "<hr color=black>".date("d.n.Y")." $meno $mail $web<br><br>$odkaz "; $old = $new.$old; $f = fopen("kniha/board.dat","w"); fputs($f,$old); fclose($f); } include("kniha/board.dat"); ?> </td></tr> </table> </body> </html> |
||
Časová prodleva: 17 let
|
Toto téma je uzamčeno. Odpověď nelze zaslat.
0