Yangi formatda davom etish uchun: https://uzfor.net/view.php?id=90&page=6
JohnCMS da bosh sahifaga chiqarish
Mavzu fayllari (15)
Xabarlar
userlar yuklagan rasmlarni bosh sahifaga qanaqib chiqarsa bo'ladi? Fotoalbumdagi rasmlar chiqishi kerak
SnipeR, <?php
include_once $SERVER
['DOCUMENT_ROOT' ]. 'download/functions.php' ;
$cat = '4' ; //Rasm Kategoriya id`si
$cat_inf = mysql_query
("SELECT * FROM `downpath` WHERE `id` ='" . $cat . "' LIMIT 1" );
if( mysql_num_rows ( $cat_inf )){
$cat_inf = mysql_fetch_assoc ($cat_inf );
}else{
$cat_inf = array( 'way' => '' );
}
$total = mysql_result ( mysql_query
("SELECT COUNT(*) FROM `downfiles` WHERE `type` != 1 AND `status` = 1 && `way` LIKE '" . $cat_inf ['way' ] . "%'" ), 0 );
if ( $total ) {
echo '<style>.ulty {
display : inline-block;
vertical-align: top;
height : 60px;
width : 60px;
border-radius:9em;
}</style><div class="phdr">So`nggi rasmlar</div>';
$zap = mysql_query
("SELECT * FROM `downfiles` WHERE `type`!= 1 AND `status` = 1 && `way` LIKE '" . $cat_inf
['way' ] . "%' ORDER BY `time` DESC LIMIT 5"
);
echo "<div class='list2'>" ;
while ($ok = mysql_fetch_array ($zap )) {
echo "<img class='ulty' src='/download/files/" . $ok
['way' ]. "' width='50' height='50'><br/><a href='/download/files/" .$ok [ 'way']."'>[Yuklab olish]</a><br/> " ;
}
?>
ishlasa bitta + sizdan
include_once $SERVER
['DOCUMENT_ROOT' ]. 'download/functions.php' ;
$cat = '4' ; //Rasm Kategoriya id`si
$cat_inf = mysql_query
("SELECT * FROM `downpath` WHERE `id` ='" . $cat . "' LIMIT 1" );
if( mysql_num_rows ( $cat_inf )){
$cat_inf = mysql_fetch_assoc ($cat_inf );
}else{
$cat_inf = array( 'way' => '' );
}
$total = mysql_result ( mysql_query
("SELECT COUNT(*) FROM `downfiles` WHERE `type` != 1 AND `status` = 1 && `way` LIKE '" . $cat_inf ['way' ] . "%'" ), 0 );
if ( $total ) {
echo '<style>.ulty {
display : inline-block;
vertical-align: top;
height : 60px;
width : 60px;
border-radius:9em;
}</style><div class="phdr">So`nggi rasmlar</div>';
$zap = mysql_query
("SELECT * FROM `downfiles` WHERE `type`!= 1 AND `status` = 1 && `way` LIKE '" . $cat_inf
['way' ] . "%' ORDER BY `time` DESC LIMIT 5"
);
echo "<div class='list2'>" ;
while ($ok = mysql_fetch_array ($zap )) {
echo "<img class='ulty' src='/download/files/" . $ok
['way' ]. "' width='50' height='50'><br/><a href='/download/files/" .$ok [ 'way']."'>[Yuklab olish]</a><br/> " ;
}
?>
ishlasa bitta + sizdan
- (1): SnipeR,
userlar yuklagan rasmlarni bosh sahifaga qanaqib chiqarsa bo'ladi? Fotoalbumdagi rasmlar chiqishi kerak
Savol o’z kuchida
Savol o’z kuchida
- (1): Besthakker,
Boburuz, FROM `downpath`
FROM `downfiles`
Shu joylariga ham qarang. Bu downloaddagi rasmlarni chiqaradi.
FROM `downfiles`
Shu joylariga ham qarang. Bu downloaddagi rasmlarni chiqaradi.
Mana buni qarangchi
c&p
<?php echo '<div class="phdr"><b>Foydalanuvchilar fotoalbomidan</b></div>'; echo '<div class="menu" align="center">'; $limit_fox = '3'; $style = 'style="width: 60px; height: 60px; border: 1px solid rgba(0, 0, 0, 0.17); text- align: center;"'; $req_fox = mysql_query ("SELECT `id`, `user_id`, `album_id`, `tmb_name` FROM `cms_album_files` ORDER BY `time` DESC LIMIT $limit_fox "); while ($res_fox = mysql_fetch_array($req_fox)){ echo '<a href="../users/album.php? act=show&al=' . $res_fox ['album_id'] . '&img=' . $res_fox ['id'] . '&user=' . $res_fox ['user_id'] . '&view"><img ' . $style. ' class="short-image" src="../files/users/ album/' . $res_fox['user_id'] . '/' . $res_fox ['tmb_name'] . '" /></a>'; } echo '</div>'; ?>
c&p
+ (1): SnipeR,
Bosh sahifaga yangiliklarni shunday chiqorish Kodi kere
Johncms 6.x.x ga
Johncms 6.x.x ga
Biriktirilgan fayllar [1]:
— yyy.png (139.88 KB) (242 ↴)
— yyy.png (139.88 KB) (242 ↴)
BestMaker, Buni qanday bazaga zatil qilaman tugilgankun.zipni arxivdan chiqardim amma bazaga zatil qiladigan joyi yöqku
kutibxona bo'limlarini bosh sahifaga chiqarish kodi bormi?
DjUz, kutibxona maqolalarini huddi o'shnaqa qilib chiqaradigon qisa bo'ladi.
Murodillo96, # Murodillo96 (20.04.2018 / 22:10)
kutibxona bo'limlarini bosh sahifaga chiqarish kodi bormi?Shu mavzuga joylangan
kutibxona bo'limlarini bosh sahifaga chiqarish kodi bormi?Shu mavzuga joylangan
Сирожиддин, # Сирожиддин (21.04.2018 / 09:58)
Murodillo96, Shu mavzuga joylanganishlamadi u
Murodillo96, Shu mavzuga joylanganishlamadi u
Murodillo96, # Murodillo96 (20.04.2018 / 22:10)
kutibxona bo'limlarini bosh sahifaga chiqarish kodi bormi?Buni ishlatib ko'ringchi
kutibxona bo'limlarini bosh sahifaga chiqarish kodi bormi?Buni ishlatib ko'ringchi
Biriktirilgan fayllar [1]:
— johncms_v6_1_2_kutubxona_kategor.zip (0.59 KB) (205 ↴)
— johncms_v6_1_2_kutubxona_kategor.zip (0.59 KB) (205 ↴)
Clever, # Clever (21.04.2018 / 14:33)
Murodillo96, Buni ishlatib ko'ringchikategoriya yo'q deb yozuv chiqyapti lekin kategoriya bor
Murodillo96, Buni ishlatib ko'ringchikategoriya yo'q deb yozuv chiqyapti lekin kategoriya bor
Clever, script johm mod by big virus uzdown.ru ga modlagandi
Murodillo96, # Murodillo96 (22.04.2018 / 00:52)
Clever, script johm mod by big virus uzdown.ru ga modlagandiMarhamat!
Clever, script johm mod by big virus uzdown.ru ga modlagandiMarhamat!
Biriktirilgan fayllar [1]:
— kutubxona_kategoriyalarini_bosh_.zip (1.11 KB) (192 ↴)
— kutubxona_kategoriyalarini_bosh_.zip (1.11 KB) (192 ↴)
Tavsiya etamiz:
- Hoziroq maydonlarni to'ldiring va reklamangizni joylashtiring!
Mavzuga oid xabarlar soni: 536 ta
So'ngi faollik vaqti: 02:12:02, 25 Feb 2021