Mikijs Posted January 2, 2008 Report Share Posted January 2, 2008 Ko jūs teiktu ja nokačājat jebkādu free templeiti no jebkura web-template lapas un 10 sek laika uzstādiet to kā sava portāla / lapas primāro dizainu? :D nereāli ne? bet .. ja tā padom.aaa.. iemet linkus kuri norada tikai <a href="?atvert=sakums">Sākums</a> (ka pa piemeru) un ieliec šo kodu tuur kur tu gribi lai uzrādās lapas saturs.. <? if(!isset($atvert)) $atvert="sakums"; $invalide = array('/','/\/',':','.'); $atvert = str_replace($invalide,' ',$atvert); if(!file_exists($atvert.".php")) $atvert = "sakums"; include($atvert.".php"); ?> Piemēram <html> <head> <title> Mana lapa </title> </head> <body> <div align="center"><h2><strong>Mana Lapa :D</strong></h2></div><hr> <?php if(!isset($atvert)) $atvert="sakums"; $invalide = array('/','/\/',':','.'); $atvert = str_replace($invalide,' ',$atvert); if(!file_exists($atvert.".php")) $atvert = "sakums"; include($atvert.".php"); ?> <hr> <font size="1">Tavi kopiraiti</font> </body> </html> :D Link to comment Share on other sites More sharing options...
Aleksejs Posted January 2, 2008 Report Share Posted January 2, 2008 NEREĀLI!!! Link to comment Share on other sites More sharing options...
andrisp Posted January 2, 2008 Report Share Posted January 2, 2008 Mjā, ja viss būtu tik vienkārši, kā Mikijam liekas... :] Link to comment Share on other sites More sharing options...
marcis Posted January 2, 2008 Report Share Posted January 2, 2008 Nav nereāli, bet nekas sakarīgs 10 sek laikā nevar uztapt Link to comment Share on other sites More sharing options...
Delfins Posted January 2, 2008 Report Share Posted January 2, 2008 nu templeitiem tā ir... 10 sec var uztaisīt tikai parastāko gatavo php/etc include vai statistku page... "Lore ipsum" vietā ieliekam kodu/tekstu :) Automātiski tas gan nebūs tik reāli. Link to comment Share on other sites More sharing options...
mounkuls Posted January 2, 2008 Report Share Posted January 2, 2008 (edited) Nekas tur nesanaks man liekas. include nozime, ka faktiski darbiba notiek taja faila! templeitos buus visadi linki uz citiem failiem vadoties no ta index faila kaa /images/bg.png , /css/style.css un vel visadi, kuri neshances. Ja tas links kas itka galvenaja ved uz to index failu, tad tapat url paradis kur esi Edited January 2, 2008 by mounkuls Link to comment Share on other sites More sharing options...
marcis Posted January 2, 2008 Report Share Posted January 2, 2008 mounkuls, tas gan bij lieki. Linki jebkurā gadījumā būs jāizlabo Link to comment Share on other sites More sharing options...
mounkuls Posted January 2, 2008 Report Share Posted January 2, 2008 (edited) Nu izlabot jau var ar repleisu, bet ne jau dazhu minushu laika. Tie faili ko ieklauj atrasties var pat uz cita hosta reizem (visadi flash gabalini un tml.). Edited January 2, 2008 by mounkuls Link to comment Share on other sites More sharing options...
Mikijs Posted January 2, 2008 Author Report Share Posted January 2, 2008 Nezinu man sanak viss :) http://playforfun.tk ir "index.php" uz kacata dizaina un viss iet ka smerets ja pamanisi tad visi linki ir "index.php?site=...." Link to comment Share on other sites More sharing options...
mounkuls Posted January 2, 2008 Report Share Posted January 2, 2008 Nu ir, jaa. Freima visu ieliki. Bet tapat nav patikami ja rada ka visi linki ved uz to teiksminju. Es ja ko tadu ieraugu, uzreiz tada ka neuzticiba un saku skatit source pirmam kartam. Link to comment Share on other sites More sharing options...
Recommended Posts