Siema mam taki problem zrobiłem stronke normalne podstrony działaja dobrze np.przykładowa podstrona


ta podstrona jest zapisana w pliku .txt w folderze teksty wiec wszystko działa normalnie

nie wiem jak wywołac podstrone zeby była wyświetlana prawidłowo a chodzi o podstrona ze zdjeciami

strona z galerią znajduje sie w http://www.darecznik.w.tkb.pl/minigal/



w folderze teksty w pliku "0.txt" napisałem

  1. <? require  ( "http://www.darecznik.w.tkb.pl/minigal" ) ; ?>


myslałem ze bedzie działac sad.gif podobny problem jest z dołączaniem ksiegi gosci jak zrobic zeby wszystko dobrze działało i zeby nie zmieniało ściezek tak jak np. w podstronie ze zdjeciami

KOD INDEXU STRONY GŁÓWNEJ



  1. <html>
  2.  
  3.  
  4.  
  5. <body>
  6.  
  7. <div align="center">
  8. <center>
  9. <table border="0" width="488" height="702" cellspacing="0" cellpadding="0">
  10. <tr>
  11. <td width="711" height="164" colspan="2"><map name="FPMap0">
  12. <area href="?go=omnie" shape="rect" coords="266, 60, 393, 106">
  13. <area href="http://www.darecznik.w.tkb.pl/ksiega_gosci" target="_blank" shape="rect" coords="401, 60, 536, 108">
  14. <area href="http://FORUM" target="_blank" shape="rect" coords="549, 61, 643, 104">
  15. <area href="http://www.darecznik.w.tkb.pl/minigal" target="_blank" shape="rect" coords="653, 62, 779, 107">
  16. <area href="http://rofererek.go.pl" shape="rect" coords="17, 49, 260, 114"></map><img border="0" src="/Obrazki/index_01.gif" usemap="#FPMap0" width="780" height="164"></td>
  17. </tr>
  18. <tr>
  19. <td width="701" height="73" style="background-image: url('/Obrazki/index_02.gif'); background-repeat: repeat" colspan="2"></td>
  20. </tr>
  21. <tr>
  22. <td width="108" height="514" valign="top"><map name="FPMap1">
  23. <area href="http://rofererek.go.pl" shape="rect" coords="0, 16, 101, 46">
  24. <area href="?go=mechanika" shape="rect" coords="0, 55, 100, 80">
  25. <area href="?go=download" shape="rect" coords="0, 88, 95, 117">
  26. <area href="?go=sondy" shape="rect" coords="0, 127, 81, 152">
  27. <area href="?go=livecam" shape="rect" coords="0, 160, 75, 183">
  28. <area href="?go=tips" shape="rect" coords="0, 193, 61, 222">
  29. <area href="?go=stat" shape="rect" coords="0, 235, 54, 261">
  30. <area href="?go=wysypisko" shape="rect" coords="0, 266, 92, 300">
  31. <area href="?go=linki" shape="rect" coords="0, 305, 58, 336"></map><img border="0" src="/menu1.jpg" usemap="#FPMap1" width="185" height="800"></td>
  32. <td width="605" height="514" valign="top">
  33.  
  34.  
  35. <? $go=$_GET["go"]; /* to działa tylko i
  36. wyłącznie, gdy pliki podłączane są z katalogu "teksty" i mają rozszerzenie *.txt */ if(!isset($go)) { include("http:/lkh"); } else { if(is_file("teksty/$go.txt")) { include("teksty/$go.txt"); } else echo "nie ma
  37. jeszcze takiej strony ale nie długo będzie biggrin.gif"; } ?>
  38.  
  39.  
  40.  
  41. <?if (!isset ($_GET['go'])){ echo 'Lista linków:<br><a href="index.php?go=upload/index">Link 1</a>';} else if ( file_exists( $_GET['go'].'.txt' ) ){ include $_GET['go'].'.txt';}else{ include 'index.txt';}?>
  42.  
  43. </tr>
  44. <tr>
  45. <td width="701" height="46" colspan="2" style="background-image: url('/Obrazki/index_04.gif')"></td>
  46. </tr>
  47. </table>
  48. </center>
  49. </div>
  50.  
  51. </body>
  52.  
  53. </html>


dziaki za pomoc smile.gif