Songgi aktivlik

  JohnCMSda bosh sahifaga chiqarish
Admin Admin (SV!) [Off] [#] (27.04.2020 / 00:13)
Assalamu alaykum aziz saytimiz foydalanuvchilari va mehmonlari! Bu mavzuda biz bir birimizga kerak kodlarni ulashamiz, bilmasvoylarga bilog'onlar yordam qilamiz...
Admin Admin (SV!) [Off] [#] (27.04.2020 / 11:16)
Download dagi yuklamalarni vaqt va bo`lim bo`yicha bosh sahifaga chiqarish:
  1. <?php
  2. include_once $SERVER['DOCUMENT_ROOT'].'download/functions.php';
  3. echo '<div class="phdr"><b>Yangi taronalar</b></div>';
  4. $cat ='22';
  5. $cat_inf = mysql_query("SELECT * FROM `downpath` WHERE `id` = '" . $cat . "' LIMIT 1");
  6. if(mysql_num_rows($cat_inf)){
  7. $cat_inf = mysql_fetch_assoc($cat_inf);
  8. }else{
  9. $cat_inf = array('way' => '');
  10. }
  11. $total = mysql_result(mysql_query("SELECT COUNT(*) FROM `downfiles` WHERE `type` != 1 AND `status` = 1 && `way` LIKE '" . $cat_inf['way'] ."%'"), 0);
  12. $zap = mysql_query("SELECT * FROM `downfiles` WHERE `type` != 1 AND `status` = 1 && `way` LIKE '" . $cat_inf['way'] ."%' ORDER BY `time` DESC LIMIT " . $start . "," . 15);
  13. while ($ok = mysql_fetch_array($zap)) {
  14. echo ($i % 2) ? '<div class="menu">' : '<div class="menu">';
  15. $i;
  16. $ok['name'] = str_replace('||||','',$ok['name']);
  17. $new = mysql_result(mysql_query("SELECT COUNT(*) FROM `downfiles` WHERE `time` > '" . (time() - 86400) . "' AND `id` = '" . $ok['id'] . "'"), 0);
  18. echo "<img src='/img/mp3.png' width='16' height='16' alt='icon'/> <a href='/download/" . str_replace(' ', '_', $ok['name']) . "_".$ok['id'].".html'>".$ok['name']."</a>";
  19. echo"<small> (" . size_convert($ok['size']) . ")</small>";
  20. if($new > 0){
  21. echo '<span class="red"> NEW!</span>';
  22. }else{
  23. echo '';
  24. }
  25.  
  26.  
  27. echo "</div>";
  28. }
  29.  
  30. if ($total > $kmess){
  31. echo '<div class="menu"><p>' . functions::display_pagination('?get=fayl&amp;', $start, $total, $kmess) . '</p></div>';
  32. }
  33. ?>
IslamUz IslamUz [Off] [#] (10.05.2020 / 18:08)
Salom Admin musiqani qaysi kod bosh menyuga chiqarib ketovradi misol uchun 10 qator qilib
Admin Admin (SV!) [Off] [#] (14.05.2020 / 06:39)
IslamUz, id orqali chiqariladi
Alpha_KinG Alpha_KinG [Off] [#] (22.05.2020 / 00:12)
# IslamUz (10.05.2020 / 18:08)
Salom Admin musiqani qaysi kod bosh menyuga chiqarib ketovradi misol uchun 10 qator qilib
Tepadagi qoldirilgan kodni cat joyiga downloaddagi o'sha categorya idsini yozing masalan example.com/download/dir_6.html bo'ladi. Cat joyiga 6 sonini yozasiz. Limit joyiga 10 sonini yozsez 10ta qilib chiqarib beradi. Bu kodni cat joyini o'zgartirib, mp3 , video , yuklamalarni bosh sahifaga chqaraverasiz.
sesdende sesdende [Off] [#] (06.06.2020 / 10:00)
545454545454
Admin Admin (SV!) [Off] [#] (07.06.2020 / 22:00)
sesdende, Telefon raqamizmi bu?
  Umumiy: 7

Avtor bo'yicha filtrlash
Mavzuni ko'chirish

Forumga

Yangilar tepada
S Admin b.n aloqa0 / 3
S Kirish | S Ro'yxatdan o'tish
Bosh sahifaga

© WapMas.Ga

Топ рейтинг сайтов UZSAYT.RUGEGTOP.RU - Топ рейтинг WAP сайтов!Statok.netUzMasterS.Ru
© JohnCMS