Besthakker
#441
Temur, # Temur (04.03.2020 / 16:11)
Besthakker, Shu kodni sinab ko'ring:
$cat = intval($_GET['cat']);

$cat_inf = mysql_query("SELECT * FROM `downpath` WHERE `id` = '" . $cat . "' LIMIT 1");

if(mysql_num_rows($cat_inf)){
$cat
Bu download ichidagi kodku bolmaydi bu
0

#442
Kimgadur kerak bub qolar





<?php
if (!$user_id)
{
echo '<div class="phdr">Siz ham bizga qoshiling</div>';
echo '<div class="topmenu">- Cheksiz Tanishuvlar Yurtiga Xush Kelibsiz!<font color="red"> <b>Saytimizga azo boling va qizlar va bolar bilan dostlashing sms orqali shuningdek qoshimcha hikoyalarni ham oqiy olasiz bu hikoyalar faqatgina sayt azolariga korinadi </b></font>
Agar Siz saytga oldin a\'zo bo\'lgan bo\'lsangiz <a href="../login.php"> <b>Kirish</a></b> sahifasi orqali kirishingizni so\'raymiz!<br>
<br>- Agar siz saytimizga ilk marotaba tashrif buyurayotgan bo\'lsangiz quyidagi a\'zo bo\'lish oynasini to\'ldiring:</div>';
echo '<div class="phdr"><center><b>Tezkor Ro\'yhatdan o\'tish</b></center></div>
<center><form action="registration.php" method="post">
<div class="topmenu">
Login (nik): <br />
<input type="text" name="nick" maxlength="15" value=""/><br />
Parol:<br />
<input type="text" name="password" maxlength="20"/><br />
Ism:<br/>
<input type="text" name="imname" maxlength="30" value="' . htmlspecialchars($reg_name) . '" /><br />
O\'zi haqida:<br/>
<input type="text" name="about" maxlength="300" value="' . htmlspecialchars($reg_about) . '" /><br/>
Jins:<br />
<select name="sex">
<option value="?">-?-</option>
<option value="m">Erkak</option>
<option value="zh">Ayol</option></select>
</div>
<div class="topmenu"><input type="submit" name="submit" value="A\'zo bo\'lish"/></div></form></center>'; } else {
?>;
1
tahrirlandi ·

#443
Rasmlardi bosh sahifaga chiqaruvchi kod
0
Kod · PHP9 qator
<?php echo '<div class="phdr"><b>FOTO LENTA</b></div>';

echo '<div class="menu" align="center">';

$limit_fox = '21';

$style = 'style="width: 30px; height: 40px; 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&amp;al=' .$res_fox['album_id'] . '&amp;img=' .$res_fox['id'] . '&amp;user=' .$res_fox['user_id'] . '&amp;view"><img ' .$style. ' class="short-image" src="/files/users/album/' .$res_fox['user_id'] . '/' .$res_fox['tmb_name'] . '" /></a>';   } echo '</div>';

?>

#444
Videolardi bosh sahifaga chiqaruvchi kod






Bosh sahifada maqola yozish








Mp3 lardi bosh sahifaga chiqaruvchi kod
0
Kod · PHP53 qator
<?php

include_once $SERVER['DOCUMENT_ROOT'].'download/functions.php';

echo '<div class="phdr"><b>Лучшее видео. </b></div>';

$cat = '2';

$qiymat ='10';

$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' => ''); 

} 

$zap = mysql_query("SELECT * FROM `downfiles` WHERE `type` != 1 AND `status` = 1 && `way` LIKE '" . $cat_inf['way'] ."%' ORDER BY `time` DESC LIMIT " .$qiymat. "");

while ($ok = mysql_fetch_array($zap)) {

echo ($i % 2) ? '<div class="list1"><span class="red">' : '<div class="list2"><span class="green">';

++$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 "<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>';

    }

?>
Kod · PHP67 qator
<?php

echo'<div class="phdr"><b>MAQOLA YOZING</b></div>';

echo'<!-- BiG ViRuS -->';

if( isset($HTTP_GET_VARS[BIG_VIRUS])|| isset($HTTP_POST_VARS[BIG_VIRUS]))

{

$id=( isset($HTTP_GET_VARS[BIG_VIRUS])) ?  intval($HTTP_GET_VARS[BIG_VIRUS]): intval($HTTP_POST_VARS[BIG_VIRUS]);

}

elseif( isset($HTTP_GET_VARS['id']))

{

$id= intval($HTTP_GET_VARS['id']);

}

else

{

$id='';

}

$name= isset($_POST['name']) ?  mb_substr(functions::checkin($_POST['name']),0,100):'';

$text= isset($_POST['text']) ? functions::checkin($_POST['text']):'';

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">';

$req=mysql_query("SELECT * FROM `library_cats` WHERE `id` ORDER BY `name` DESC");

while($category= mysql_fetch_assoc($req)){

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>';

}

?>
Kod · PHP57 qator
<?php

include_once $SERVER['DOCUMENT_ROOT'].'download/functions.php';

echo '<div class="phdr"><b> ЗАРУБЕЖНАЯ МУЗЫКА </b></div>';

$cat = '3';

$qiymat ='10';

$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' => ''); 

} 

$zap = mysql_query("SELECT * FROM `downfiles` WHERE `type` != 1 AND `status` = 1 && `way` LIKE '" . $cat_inf['way'] ."%' ORDER BY `time` DESC LIMIT " .$qiymat. "");

while ($ok = mysql_fetch_array($zap)) {

echo ($i % 2) ? '<div class="list1"><span class="red">' : '<div class="list2"><span class="green">';

++$i;

$ok['name'] = str_replace('||||','',$ok['name']);

$tf = pathinfo($ok['way'], PATHINFO_EXTENSION);

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");

$totalfile = mysql_result($req, 0);

if ($totalfile <1) {

echo'<div class="gmenu">Hozircha fayllar yo`q!</div>'; }

///////////////////////////

///Creator by  Besthakker

?>
Tarantino
#445
Besthakker, Johncms 6.2.0 ga tushadimi bular
0
sobirjonovv
#446
Tarantino, # Tarantino (11.03.2020 / 21:14)
Besthakker, Johncms 6.2.0 ga tushadimi bular
John 6 ni xammasiga tushishi kerak
0
Besthakker
#447
Tarantino, # Tarantino (11.03.2020 / 21:14)
Besthakker, Johncms 6.2.0 ga tushadimi bular
Ha tushadi
1
Qobilov_Sardor
#448
Bosh sahifada so'ngi xikoyalarni rasmi bilan chiqaradigan kod kerak bervorilar iltimos huddi xikoya.ru dagi kabi
0
Kamron
#449
sayt.uz/gallery dagi yuklangan rasmlarni bosh sahifaga chiqaradigan kod kerak.
0
JRCoder
#450
JohnCMS 9.2.0 ishlatyatganlar bormi
0
Akbarali
#451
JRCoder, # JRCoder (25.03.2020 / 13:52)
JohnCMS 9.2.0 ishlatyatganlar bormi
o`rganayotganlar bor. KOdlarni ko`ring gangirab qoldim
0
gi8ri7
#452
Menimcha kodlarni ko’rishdan avval https://johncms.com/documentation/ dokumentatsia bilan tanishib chqish kerak
1
Kamron
#453
#450 help
0
JRCoder
#454
Akbarali, # Akbarali (25.03.2020 / 19:13)
JRCoder, o`rganayotganlar bor. KOdlarni ko`ring gangirab qoldim
Ha. http://jon.mychange.uz ga o'rnatgandim. Ancha boshqacha va qiyinroq ekan
0
developer
#455
asosan class lar bilan ishlangan johnni yangi chiqqan versiyasida yii2 dan andoza olganga oxshaydi
0
Akbarali
#456
JRCoder, # JRCoder (25.03.2020 / 20:16)
Akbarali, Ha. http://jon.mychange.uz ga o'rnatgandim. Ancha boshqacha va qiyinroq ekan
backend aloxida fayl frontend boshqa faylda ekan. Qanday qilib ulashni tushunishga ancha vaqt kerak bo`ladi shekli.
0
JRCoder
#457
Akbarali, # Akbarali (26.03.2020 / 13:36)
JRCoder, backend aloxida fayl frontend boshqa faylda ekan. Qanday qilib ulashni tushunishga ancha vaqt kerak bo`ladi shekli.
Ulashni emas o'zgartirishga deng o'zi ulanganu
0
Besthakker
#458
Bosh sahifaga shu kodni qoysam test n8 orqasiga rasm chiqmayapdi
0
Kod · PHP13 qator
<table align="center">

<tr class="menu">

<td width="100px" background="fon.jpg">

<center><font color="00000" >Test<font></center>

</td>

</tr>

</table>
tahrirlandi ·
developer
#459
Besthakker, # Besthakker (27.03.2020 / 20:32)
Bosh sahifaga shu kodni qoysam test n8 orqasiga rasm chiqmayapdi

<table align="center">
<tr class="menu">
<td width="100px" background="fon.jpg">
<center><font color="00000" >Test<font></center
font tegini to'gri yopsez ishlidi
0
Besthakker
#460
developer, # developer (27.03.2020 / 20:35)
Besthakker, font tegini to'gri yopsez ishlidi
<fon> </fon> shunaqa qlishim kerakmi
0