Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=80135
Postga havola
Besthakker [929] [off]
Videolardi bosh sahifaga chiqaruvchi kod
Bosh sahifada maqola yozish
Mp3 lardi bosh sahifaga chiqaruvchi kod
<?php include_once $SERVER['DOCUMENT_ROOT'].'download/functions.php'; echo '<div class="phdr"><b>Лучшее видео. </b></div>'; $cat = '2'; $qiymat ='10'; }else{ } $zap = mysql_query("SELECT * FROM `downfiles` WHERE `type` != 1 AND `status` = 1 && `way` LIKE '" . $cat_inf['way'] ."%' ORDER BY `time` DESC LIMIT " .$qiymat. ""); echo ($i % 2) ? '<div class="list1"><span class="red">' : '<div class="list2"><span class="green">'; ++$i; $new = mysql_result(mysql_query("SELECT COUNT(*) FROM `downfiles` WHERE `time` > '" . (time() - 86400) . "' AND `id` = '" . $ok['id'] . "'"), 0); echo "<a href='/download/" . str_replace(' ', '_', $ok['name']) ."_".$ok['id'].".html'>" .$ok['name']."</a>"; if($new > 0){ }else{ echo '<span class="blue"><b> *New*</b></span>'; } echo '</div>'; } ?>
Bosh sahifada maqola yozish
<?php echo'<div class="phdr"><b>MAQOLA YOZING</b></div>'; echo'<!-- BiG ViRuS -->'; { } { } else { $id=''; } if($user_id){ echo'<div class="menu"><form name="form" enctype="multipart/form-data" action="library/index.php?act=addnew&" . BIG_VIRUS ."=$id" method="post"> <p>Maqola nomi <small>(max. 100)</small>:<br> <input type="text" name="name" value="'.$name.'" /></p> <p>Maqolaga mos keluvchi bo\'limni tanlang:<br>'; echo'<select name="id">'; echo'<option value="'.$category['id'].'">'.$category['name'].'</option>'; } echo'</select></p><p>Maqola matni <small>(iltimos batafsilroq yozing)</small>:<br> <textarea name="text" rows="'.$set_user['field_h'].'" cols="20">'.$text.'</textarea></p> <p><input type="checkbox" name="comments" value="1" checked="checked" /> Fikr bildirishga ruxsat berish</p><p><input type="submit" name="submit" value="Yozish" /></p></form></div>'; }else{ echo'<div class="menu">Maqola yozish uchun <a href="registration.php">Ro`yhatdan o`tishingiz</a> shart.</div>'; } ?>
Mp3 lardi bosh sahifaga chiqaruvchi kod
<?php include_once $SERVER['DOCUMENT_ROOT'].'download/functions.php'; echo '<div class="phdr"><b> ЗАРУБЕЖНАЯ МУЗЫКА </b></div>'; $cat = '3'; $qiymat ='10'; }else{ } $zap = mysql_query("SELECT * FROM `downfiles` WHERE `type` != 1 AND `status` = 1 && `way` LIKE '" . $cat_inf['way'] ."%' ORDER BY `time` DESC LIMIT " .$qiymat. ""); echo ($i % 2) ? '<div class="list1"><span class="red">' : '<div class="list2"><span class="green">'; ++$i; echo "<img src='/img/mus.png'> <a href='/download/" . str_replace(' ', '_', $ok['name']) ."_".$ok['id'].".html'>".$ok['name'].".[".$tf."]</a>"; echo "</span> <span style='float:right; font-size: 9px;'>[" . size_convert($ok['size']). "]</span> </div>"; } $req = mysql_query("SELECT COUNT(*) FROM `downfiles` WHERE `pathid` = '" . $cat . "' AND `status` = 1"); if ($totalfile <1) { echo'<div class="gmenu">Hozircha fayllar yo`q!</div>'; } /////////////////////////// ///Creator by Besthakker ?>