![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 6 Pomógł: 0 Dołączył: 13.01.2009 Ostrzeżenie: (0%) ![]() ![]() |
moj kod dziala na localhoscie a na serwerze ovh nistety nie, nie reaguje na klikane linki nic sie nie zmienia o co chodzi:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1250" /> <title>Untitled Document</title> <style type="text/css"> body{ font-family:thoma, Helvetica, sans-serif; color:#000033; } .a1{ position:relative; margin:auto; width:800px; border:0px solid #ccc; } .menu{ padding:30px; margin:10px; border-top:10px solid #ccc; border-bottom:10px solid #ccc; text-align:center; font-weight: bold; font-size: 20px; } .menu a{ padding:0px 0px; color:#006699; } .tresc{ } </style> </head> <body> <div class="a1"> <div class="menu"> <a href="index.php?id=witaj">WITAJ</a> <a href="index.php?id=serwis">SERWIS</a> <a href="index.php?id=monitoring">MONITORING</a> <a href="index.php?id=strony">STRONY INTRNETOWE</a> <a href="index.php?id=kontakt">KONTAKT</a> </div> <div class="tresc"> <!-- Tutaj jest wstawiana tre¶ć z plików zewnętrznych --> <?php if(empty($id) or $id=="witaj"){ include("dane/witaj.html"); } if($id=="serwis"){ include("dane/serwis.html"); } if($id=="monitoring"){ include("dane/monitoring.html"); } if($id=="strony"){ include("dane/strony.html"); } if($id=="kontakt"){ include("dane/kontakt.html"); } ?> </div> </div> </body> </html> generalnie to chyba chodzi o ta czesc: <?php if(empty($id) or $id=="witaj"){ include("dane/witaj.html"); } if($id=="serwis"){ include("dane/serwis.html"); } if($id=="monitoring"){ include("dane/monitoring.html"); } if($id=="strony"){ include("dane/strony.html"); } if($id=="kontakt"){ include("dane/kontakt.html"); } ?> |
|
|
![]() ![]() |
![]() |
Aktualny czas: 20.08.2025 - 15:06 |