Mövzu - Isnize Yariyacag Kodlar Paylasacam (John Cms)

Isnize Yariyacag Kodlar Paylasacam (John Cms)



Alt bölmə: Lazimli Kodlar
Fəsil: Paylaşım

Tema faylları
Şərhlər 12
[c]# Admin ([time]13.04.2021 17:54[/time])
AslanGeo, Johncms işlədən helədə çox şəxs yoxdur.hər növ skriptlər paylaş[/c]Bilirem abi paylasacam
----
Dcms Social Ucun Super Bir Tema Isledib Qurmaga Deyer


http://azusta.az/best/files/80537a945c7aaa788ccfcdf1b99b5d8fdiz_dc.zip
20 Apr 2021, 14:38
0
AslanGeo, Johncms işlədən helədə çox şəxs yoxdur.hər növ skriptlər paylaş
13 Apr 2021, 21:54
0
ProHack,))))
12 Apr 2021, 15:42
0
Iwime yaramasa be ?)
12 Apr 2021, 08:41
0
bU KOD ISE YUKLEMELERI ONE CIXARAN KODDUR OZBEK FORMUNDAN TAPIB PAYLASIRAM



[code=php]cho '<div class="phdr">PULSUZ (TOP-10)</div>';
$total = mysql_result(mysql_query('SELECT COUNT(*) FROM `users` WHERE `komm` > 0'), 0);
$req = mysql_query("SELECT * FROM `users` WHERE `komm` > 0 ORDER BY `komm` DESC LIMIT 10");
if (mysql_num_rows($req)) {
while ($res = mysql_fetch_assoc($req)) {
echo '<div class="menu">';
if ($res['sex'])
echo functions::image(($res['sex'] == 'm' ? 'm' : 'w') . ($res['datereg'] > time() - 86400 ? '_new' : '') . '.png');
echo '<a href="/users/profile.php?user='.$res['id'].'">'.$res['name'].'</a></div>';
++$i;
}
} else {
echo '<div class="menu">Hazirda Fayl Yoxdur</div>';
}[/code]
----
Bu kod ise Istifadecinin ad gununu gosteren kod



[code=php]'<li><span class="gray">' . $lng_profile['birt'] . ':</span> ' . (empty($user['dayb']) ? '' : sprintf("%02d", $user['dayb']) . '.' . sprintf("%02d", $user['monthb']) . '.' . $user['yearofbirth']) . ' (' . (int)((time() - mktime(0, 0, 0, $user['monthb'], $user['dayb'], $user['yearofbirth'])) / (60 * 60 * 24 * 365.25)) . ')</li>' .[/code]
----
Bu kod ise Afto Ban Kodudur




[code=php]if(preg_match('/[A-Za-z0-9а-яА-Я]+.(com|uz|узб|ru|net|org|cn|рф|fm|ua|ру)/iu', $matn)) {
mysql_query("INSERT INTO `ban_table` SET `muddat` = '".time()+3600."', `user_id` = '".$user_id."'; ");
}
$matn = preg_replace('/[A-Za-z0-9а-яА-Я]+.(com|uz|узб|ru|net|org|cn|рф|fm|ua|ру)/iu', 'reklama', $matn);[/code]
12 Apr 2021, 00:01
0
Çox Sağol
11 Apr 2021, 19:46
0
Tesekur
11 Apr 2021, 19:00
0
[c]# [_ZaKoN_N!Ck_] ([time]11.04.2021 12:19[/time])
salam qaqa bu ne ise yariyir[/c]Etraflo yazmisam axi ayqa
11 Apr 2021, 18:20
0
salam qaqa bu ne ise yariyir
11 Apr 2021, 16:19
0
Aktual Movzu Kodu. Bu kod sizin movzularnizi Indexencixaracag Koddur. Qurulmasi pages papkasina aktual.php yaradirsiz kodu atirsiz ve include ‘pages/aktual.php’; bu kodu ise pages/main_menu.php ya ureyniz istediyniz yere ata bilersiz.







[code=php] <?php
$set_forum = $datauser['set_forum'] ? unserialize($datauser['set_forum']) : array();
$settings = $set['lastThemes'] ? unserialize($set['lastThemes']) : array('totalThemes' => 5, 'timeCache' => 30);
if($settings['totalThemes'] > 0 && !$set_forum['viewThemes']) {
$themesOut = '';
$file_cache = 'files/cache/lastThemes.dat';
if(empty($user_id)){
echo '<div class="phdr"><b>&raquo; Forum: aktual mövzular</b></div>';
}else{
echo '<div class="phdr"><b>Dini Mövzular</b></div>';
}
$req = mysql_query("SELECT * FROM `forum` WHERE `type`='t' and edit!=1 " . ($rights >= 7 ? '' : " AND `close`!='1'") . " ORDER BY `time` DESC LIMIT ".($user_id=='' ? 5 : 5)."");
while (($res = mysql_fetch_assoc($req)) !== false) {
if ($res['close']) $themesOut .= '<div class="rmenu">';
else $themesOut .= $i % 2 ? '<div class="list2">' : '<div class="list1">';
$nickUser = mysql_fetch_assoc(mysql_query("SELECT `from` FROM `forum` WHERE `type` = 'm' AND `close` != '1' AND `refid` = '" . $res['id'] . "' ORDER BY `time` DESC LIMIT 1"));
$totalPosts = mysql_result(mysql_query("SELECT COUNT(*) FROM `forum` WHERE `type`='m' AND `refid`='" . $res['id'] . "'" . ($rights >= 7 ? '' : " AND `close` != '1'")), 0);
$endPage = ceil($totalPosts / $kmess);
$np = mysql_result(mysql_query("SELECT COUNT(*) FROM `cms_forum_rdm` WHERE `time` >= '" . $res['time'] . "' AND `topic_id` = '" . $res['id'] . "' AND `user_id`='$user_id'"), 0);

$icons = array(
($np ? (!$res['vip'] ? functions::image('op.gif') : '') : functions::image('np.gif')),
($res['vip'] ? functions::image('pt.gif') : ''),
($res['realid'] ? functions::image('rate.gif') : ''),
($res['edit'] ? functions::image('tz.gif') : '')
);
$themesOut .= functions::display_menu($icons, '&#160;', '&#160;') .
'<a href="forum/index.php?id=' . $res['id'] . '">' . $res['text'] . '</a>
'.($set_user['skin']=='gtouch' ? ($endPage>1 ? '<a href="/forum/index.php?id=' . $res['id'] . '&amp;page=' . $endPage . '">-&#187;</a>' : '') : '').'
<span class="count">[' . $totalPosts . ']';
if($set_user['skin']!='gtouch'){
if ($endPage > 1) $themesOut .= '<a href="/forum/index.php?id=' . $res['id'] . '&amp;page=' . $endPage . '">-&#187;</a>';
}
$themesOut .= '</span><div class="sub">' . $res['from'];
if (!empty($nickUser['from'])) $themesOut .= '&#160;/&#160;' . $nickUser['from'];
$themesOut .= ' <span class="gray"></span></div></div>';
++$i;
}
if ($settings['timeCache'] > 0 && time() < (filemtime($file_cache) + $settings['timeCache'])) {
echo file_get_contents($file_cache, $themesOut);
} else {
echo $themesOut;
if($settings['timeCache'] > 0)
file_put_contents($file_cache);
}
}

?>[/code]
11 Apr 2021, 16:10
0
Salam doslar Necesiz. Axsam Johncms Ucun Kodlar Paylasacam Isnize yarayar Insallah
11 Apr 2021, 16:06
0
Təbriklər ! Yeni mövzu uğurla yaradıldı! Əgər mövzu Qaydalara uyğun olmazsa silinəcək. Mövzudan kənara çıxmayın, mövzuda başqasının fikirlərinə hörmətlə yanaşın, probleminiz varsa şəxsidə həll edin, mövzuda artıq post yazmayın. Qeyd ! Ailəsinə hörmət edən, qeyrəti olan söyüş söyməz,forum reklam etməz
11 Apr 2021, 16:06
0
Bağışlayın, sizin üçün şərh yazmaq əlçatan deyil
Geriyə

azTOP.biz
Onlayn istifadəçilər
HAMISI