JohnCMS uchun Galleryadagi rasmlarni bosh sahifaga chiqarish
Galleryadagi rasmlarni bosh sahifaga chiqarish !
echo'<div class="phdr"><b>Последние картинки из Галереи</b></div><div class="list1">'; $limit_gallery='5';// количество $req_gallery= mysql_query("SELECT `id`, `text`, `name` FROM `gallery` WHERE `type` = 'ft' ORDER BY `time` DESC LIMIT $limit_gallery "); echo'<a href="/gallery/index.php?id='.$res_gallery['id'].'" title="'.$res_gallery['text'].'"><img src="/gallery/foto/'.$res_gallery['name'].'" height="100px" width="100px"/></a> '; } echo'</div>';
Qo'shdi: AMIROV (31.05.2019 / 07:05)
Fikrlar: 1 ta