Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=37010
Postga havola
gi8ri7 [1900] [off]
Viruzbek,
<?php include_once $SERVER['DOCUMENT_ROOT'].'download/functions.php'; echo '<div class="phdr">Yangi Kliplar</div>'; $cat ='2'; }else{ } $total = mysql_result(mysql_query("SELECT COUNT(*) FROM `downfiles` WHERE `type` != 1 AND `status` = 1 && `way` LIKE '" . $cat_inf['way'] ."%'"), 0); $zap = mysql_query("SELECT * FROM `downfiles` WHERE `type` != 1 AND `status` = 1 && `way` LIKE '" . $cat_inf['way'] ."%' ORDER BY `time` DESC LIMIT " . $start . "," . $kmess); echo ($i % 2) ? '<div class="menu">' : '<div class="menu">'; $i; $new = mysql_result(mysql_query("SELECT COUNT(*) FROM `downfiles` WHERE `time` > '" . (time() - 86400) . "' AND `id` = '" . $ok['id'] . "'"), 0); echo "<img class='ulty' src='/download/files/".$ok['way'].".GIF' width='50' height='60'> <a href='/download/" . str_replace(' ', '_', $ok['name']) . "_".$ok['id'].".html'>".$ok['name']."</a> (" . size_convert($ok['size']) . ")"; if($new > 0){ echo '<span class="red"> New!</span>'; }else{ echo ''; } echo "</div>"; } if ($total > $kmess){ echo '<p>' . functions::display_pagination('?get=fayl&', $start, $total, $kmess) . '</p>'; } ?>