Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=35090
Postga havola
Mp3shou [12] [ban]
SnipeR, <?php
include_once $SERVER['DOCUMENT_ROOT'].'download/functions.php';
echo '<div class="phdr"><center><b>Узбекские песни</b><center></div>';
$cat ='1';
$cat_inf = mysql_query("SELECT * FROM `downpath` WHERE `id` = '" . $cat . "' ORDER BY `id` = '" . $id . "' DESC LIMIT " . $start . "," . $kmess);
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);
$zap = mysql_query("SELECT * FROM `downfiles` WHERE `type` != 1 AND `status` = 1 && `way` LIKE '" . $cat_inf['way'] ."%' ORDER BY `time` DESC LIMIT " . $start . "," . $kmess);
while ($ok = mysql_fetch_array($zap)) {
$i;
$ok['name'] = str_replace('||||','',$ok['name']);
$new = mysql_result(mysql_query("SELECT COUNT(*) FROM `downfiles` WHERE `time` > '" . (time() - 86400) . "' AND `id` = '" . $ok['id'] . "'"), 0);
echo "<div class='menu'><img src='/images/mus.png' width='16' height='16' alt='' /> <a href='/download/" . str_replace(' ', '_', $ok['name']) . "_".$ok['id'].".html'>".$ok['name']."</a> (" . size_convert($ok['size']) . ")";
if($new > 0){
echo '<img src="'.$home.'/images/new-24.png" alt="*"/>';
}else{
echo '';
}
echo "</div>";
}
if ($total > $kmess){
echo '<div class="news><a href="/download/dir_1.html"> <b> <img src="/images/arrow-53-16.png " alt="icon"> Cмотреть все </b> </a></div>';
}
?>
include_once $SERVER['DOCUMENT_ROOT'].'download/functions.php';
echo '<div class="phdr"><center><b>Узбекские песни</b><center></div>';
$cat ='1';
$cat_inf = mysql_query("SELECT * FROM `downpath` WHERE `id` = '" . $cat . "' ORDER BY `id` = '" . $id . "' DESC LIMIT " . $start . "," . $kmess);
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);
$zap = mysql_query("SELECT * FROM `downfiles` WHERE `type` != 1 AND `status` = 1 && `way` LIKE '" . $cat_inf['way'] ."%' ORDER BY `time` DESC LIMIT " . $start . "," . $kmess);
while ($ok = mysql_fetch_array($zap)) {
$i;
$ok['name'] = str_replace('||||','',$ok['name']);
$new = mysql_result(mysql_query("SELECT COUNT(*) FROM `downfiles` WHERE `time` > '" . (time() - 86400) . "' AND `id` = '" . $ok['id'] . "'"), 0);
echo "<div class='menu'><img src='/images/mus.png' width='16' height='16' alt='' /> <a href='/download/" . str_replace(' ', '_', $ok['name']) . "_".$ok['id'].".html'>".$ok['name']."</a> (" . size_convert($ok['size']) . ")";
if($new > 0){
echo '<img src="'.$home.'/images/new-24.png" alt="*"/>';
}else{
echo '';
}
echo "</div>";
}
if ($total > $kmess){
echo '<div class="news><a href="/download/dir_1.html"> <b> <img src="/images/arrow-53-16.png " alt="icon"> Cмотреть все </b> </a></div>';
}
?>