ashais13 Posted May 31, 2007 Report Share Posted May 31, 2007 Kā var uztaisit kautko lidzigu sim demo srakstam newis taa kaa man seit tikai balta lapa!! vismaz varetu kaads pateikt kaa uzlikt bg vai ikonas priekshaa demkai!! Link to comment Share on other sites More sharing options...
cucumber Posted May 31, 2007 Report Share Posted May 31, 2007 (edited) <img src="icon_zip.gif"> <body style="background-image: url(bgfails)"> <table> ps. papeti css, html table, image Edited May 31, 2007 by cucumber Link to comment Share on other sites More sharing options...
Paulinjsh Posted May 31, 2007 Report Share Posted May 31, 2007 kas tā par tizlu html struktūru cucumber? Link to comment Share on other sites More sharing options...
cucumber Posted May 31, 2007 Report Share Posted May 31, 2007 Kada tizla struktura, tu ko, tie taksh keywordi :) Link to comment Share on other sites More sharing options...
ashais13 Posted May 31, 2007 Author Report Share Posted May 31, 2007 tur naw css tas ir 1 php skripts skaties !!! <?php if ($handle = opendir('C:/AppServ/www/demo/')) { while (false !== ($file = readdir($handle))) { if (strlen($file) > 4) { $gabali = explode("-", $file); $date = $gabali[1]; $mape = $gabali[2]; $mapesgabali = explode(".", $mape); $name = $mapesgabali[0]; $year = substr($date,0,2); $month = substr($date,2,2); $day = substr($date,4,2); $hour = substr($date,6,2); $minute = substr($date,8,2); echo "<center> $day.$month.$year $hour:$minute $name <a href=\"http://G-prikols.oo.lv/demo/$file\">Novilkt</a></br></center>"; } } closedir($handle); } ?> Link to comment Share on other sites More sharing options...
cucumber Posted May 31, 2007 Report Share Posted May 31, 2007 (edited) Ieliec starp <?php echo "<body bgcolor="#ccc" >"; if ($handle = opendir('C:/AppServ/www/demo/')) { // un pirms closedir($handle); } echo "</body>"; ?> ps. Un pagugle par html table vai div. Edited May 31, 2007 by cucumber Link to comment Share on other sites More sharing options...
ashais13 Posted May 31, 2007 Author Report Share Posted May 31, 2007 nesapratu!!! Link to comment Share on other sites More sharing options...
cucumber Posted May 31, 2007 Report Share Posted May 31, 2007 Partaisi tak kodu, neticu ka pats rakstiji sho php kodu. <?php echo "<body bgcolor="#ccc" >"; if ($handle = opendir('C:/AppServ/www/demo/')) { while (false !== ($file = readdir($handle))) { if (strlen($file) > 4) { $gabali = explode("-", $file); $date = $gabali[1]; $mape = $gabali[2]; $mapesgabali = explode(".", $mape); $name = $mapesgabali[0]; $year = substr($date,0,2); $month = substr($date,2,2); $day = substr($date,4,2); $hour = substr($date,6,2); $minute = substr($date,8,2); echo "<center> $day.$month.$year $hour:$minute $name <a href=\"http://G-prikols.oo.lv/demo/$file\">Novilkt</a></br></center>"; } } closedir($handle); } echo "</body>"; ?> Link to comment Share on other sites More sharing options...
4e4en Posted May 31, 2007 Report Share Posted May 31, 2007 No gign.lv sperts :) tad ar;i tur prasi Link to comment Share on other sites More sharing options...
ashais13 Posted May 31, 2007 Author Report Share Posted May 31, 2007 (edited) es vai tad teicu ka es vinju taisiju gign taads bija bet man gribetos lai butu drusk koshaks!! un tas kods ko tu ieliki neiet!!! Edited May 31, 2007 by ashais13 Link to comment Share on other sites More sharing options...
cucumber Posted May 31, 2007 Report Share Posted May 31, 2007 Toch, tiko pamaniju otrai rindai jaizkatas shita, echo "<body bgcolor=\"#ccc\" >"; ps. Tu no php neko nezini? Link to comment Share on other sites More sharing options...
ashais13 Posted May 31, 2007 Author Report Share Posted May 31, 2007 varetu vel kads pateikt kaa to ikonu priekhsa dabuut!! :) Link to comment Share on other sites More sharing options...
hackerman Posted May 31, 2007 Report Share Posted May 31, 2007 http://paste.php.lv/5618 Link to comment Share on other sites More sharing options...
cucumber Posted May 31, 2007 Report Share Posted May 31, 2007 Mosh paprasi, lai kads tev visu skriptu uzraksta, NE. Vispar cienas nav, tev pateica, kur meklet un ko, kapec man jatere laiks uz to? Link to comment Share on other sites More sharing options...
hackerman Posted May 31, 2007 Report Share Posted May 31, 2007 Cucumber, vaitad tik grūti bija pierakstīt <img src="">? ;D Link to comment Share on other sites More sharing options...
Recommended Posts