Yangi formatda davom etish uchun: https://uzfor.net/view.php?id=736&page=115
Johncms bo'yicha umumiy savollar
Mavzu fayllari (121)
Xabarlar
, # (04.12.2019 / 20:47)
Johnda download/admin.php dan bo'lim yaratolmayapman. Yoki bo'lim yaratish uchun hostingdan download/files/ papkasini ichidan papka ochish kerakmi? Kim biladi??download/admin.php orqali ochasiz u avto bazaga papka ochadi
Johnda download/admin.php dan bo'lim yaratolmayapman. Yoki bo'lim yaratish uchun hostingdan download/files/ papkasini ichidan papka ochish kerakmi? Kim biladi??download/admin.php orqali ochasiz u avto bazaga papka ochadi
, # (04.12.2019 / 20:47)
Johnda download/admin.php dan bo'lim yaratolmayapman. Yoki bo'lim yaratish uchun hostingdan download/files/ papkasini ichidan papka ochish kerakmi? Kim biladi??MySQL tablitsa ochilmagan)
Johnda download/admin.php dan bo'lim yaratolmayapman. Yoki bo'lim yaratish uchun hostingdan download/files/ papkasini ichidan papka ochish kerakmi? Kim biladi??MySQL tablitsa ochilmagan)
, # (04.12.2019 / 20:56)
khan, Iltimos , iloji bo'lsa skrinshot olib to'liq o'rgating. Men xech ocholmayapman.oddiy qilb downloadni instal qilvoring
va download/files papkasida
papkalar busa ochrb tasheng
khan, Iltimos , iloji bo'lsa skrinshot olib to'liq o'rgating. Men xech ocholmayapman.oddiy qilb downloadni instal qilvoring
va download/files papkasida
papkalar busa ochrb tasheng
MαҺmud Mεdια, # MαҺmud Mεdια (05.12.2019 / 19:05)
Chatdagi xabarlarni sanaydigan kodni aytvoringlar.[2/+1] shunaqami yoki umumiy xabarlarmi?
Chatdagi xabarlarni sanaydigan kodni aytvoringlar.[2/+1] shunaqami yoki umumiy xabarlarmi?
[] LACOSTE [], # [] LACOSTE [] (05.12.2019 / 19:47)
MαҺmud Mεdια, [2/+1] shunaqami yoki umumiy xabarlarmi?Xuddi sunaqa. Maydon.ru da menyuda suhbatxonani oldida sanab turibdiku, shunaqa.
MαҺmud Mεdια, [2/+1] shunaqami yoki umumiy xabarlarmi?Xuddi sunaqa. Maydon.ru da menyuda suhbatxonani oldida sanab turibdiku, shunaqa.
MαҺmud Mεdια, # MαҺmud Mεdια (05.12.2019 / 19:49)
[] LACOSTE [], Xuddi sunaqa. Maydon.ru da menyuda suhbatxonani oldida sanab turibdiku, shunaqa.Axa. Bazani titkilab chiqay yozib qoyaman
[] LACOSTE [], Xuddi sunaqa. Maydon.ru da menyuda suhbatxonani oldida sanab turibdiku, shunaqa.Axa. Bazani titkilab chiqay yozib qoyaman
+ (1): sobirjonovv,
MαҺmud Mεdια, # MαҺmud Mεdια (05.12.2019 / 19:49)
[] LACOSTE [], Xuddi sunaqa. Maydon.ru da menyuda suhbatxonani oldida sanab turibdiku, shunaqa.maydon.ru kimniki?
[] LACOSTE [], Xuddi sunaqa. Maydon.ru da menyuda suhbatxonani oldida sanab turibdiku, shunaqa.maydon.ru kimniki?
MαҺmud Mεdια, # MαҺmud Mεdια (05.12.2019 / 19:49)
[] LACOSTE [], Xuddi sunaqa. Maydon.ru da menyuda suhbatxonani oldida sanab turibdiku, shunaqa.Mana
[] LACOSTE [], Xuddi sunaqa. Maydon.ru da menyuda suhbatxonani oldida sanab turibdiku, shunaqa.Mana
$chat = mysql_result(mysql_query("SELECT COUNT(*) FROM `m_chat` where `time` >= '" . (time() - 86400) . "'"), 0); $chat_all = mysql_result(mysql_query("SELECT COUNT(*) FROM `m_chat` "), 0); echo'<div class="menu"> <img style="margin-bottom:-2px;" src="'.$home.'/img/spechbubble.png" width="14"/> <a href="chat">Muloqot</a> ['.$chat_all.'/<font color="red">+'.$chat.'</font>]</div>';
+ (1): sobirjonovv,
Apalon4ik, <?php
/**
* @package JohnCMS
* @link http://johncms.com
* @copyright Copyright (C) 2008-2011 JohnCMS Community
* @license LICENSE.txt (see attached file)
* @version VERSION.txt (see attached file)
* @author http://johncms.com/about
*/
defined('_IN_JOHNCMS') or die('Error: restricted access');
$headmod = isset($headmod) ? mysql_real_escape_string($headmod) : '';
echo'<!DOCTYPE html>' .
"\n" . '<html lang="' . core::$lng_iso . '">' .
"\n" . '<head>' .
"\n" . '<meta charset="utf-8">' .
"\n" . '<meta http-equiv="X-UA-Compatible" content="IE=edge">' .
"\n" . '<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes">' .
"\n" . '<meta name="HandheldFriendly" content="true">' .
"\n" . '<meta name="MobileOptimized" content="width">' .
"\n" . '<meta content="yes" name="apple-mobile-web-app-capable">' .
"\n" . '<meta name="Generator" content="JohnCMS, http://johncms.com .
(!empty($set['meta_key']) ? "\n" . '<meta name="keywords" content="' . $set['meta_key'] . '">' : '') .
(!empty($set['meta_desc']) ? "\n" . '<meta name="description" content="' . $set['meta_desc'] . '">' : '') .
"\n" . '<link rel="stylesheet" href="' . $set['homeurl'] . '/theme/' . $set_user['skin'] . '/style.css">' .
"\n" . '<link rel="shortcut icon" href="' . $set['homeurl'] . '/favicon.ico">' .
"\n" . '<title>' . $textl . '</title>' .
"\n" . '</head><body>' . core::display_core_errors();
/*
-----------------------------------------------------------------
Рекламный модуль
-----------------------------------------------------------------
*/
$cms_ads = array();
if (!isset($_GET['err']) && $act != '404' && $headmod != 'admin') {
$view = $user_id ? 2 : 1;
$layout = ($headmod == 'mainpage' && !$act) ? 1 : 2;
$req = mysql_query("SELECT * FROM `cms_ads` WHERE `to` = '0' AND (`layout` = '$layout' or `layout` = '0') AND (`view` = '$view' or `view` = '0') ORDER BY `mesto` ASC");
if (mysql_num_rows($req)) {
while (($res = mysql_fetch_assoc($req)) !== FALSE) {
$name = explode("|", $res['name']);
$name = htmlentities($name[mt_rand(0, (count($name) - 1))], ENT_QUOTES, 'UTF-8');
if (!empty($res['color'])) $name = '<span style="color:#' . $res['color'] . '">' . $name . '</span>';
// Если было задано начертание шрифта, то применяем
$font = $res['bold'] ? 'font-weight: bold;' : FALSE;
$font .= $res['italic'] ? ' font-style:italic;' : FALSE;
$font .= $res['underline'] ? ' text-decoration:underline;' : FALSE;
if ($font) $name = '<span style="' . $font . '">' . $name . '</span>';
@$cms_ads[$res['type']] .= '<a href="' . ($res['show'] ? functions::checkout($res['link']) : $set['homeurl'] . '/go.php?id=' . $res['id']) . '">' . $name . '</a><br/>';
if (($res['day'] != 0 && time() >= ($res['time'] + $res['day'] * 3600 * 24)) || ($res['count_link'] != 0 && $res['count'] >= $res['count_link']))
mysql_query("UPDATE `cms_ads` SET `to` = '1' WHERE `id` = '" . $res['id'] . "'");
}
}
}
/*
-----------------------------------------------------------------
Рекламный блок сайта
-----------------------------------------------------------------
*/
if (isset($cms_ads[0])) echo $cms_ads[0];
echo '<div class="logo" style="padding:8px;"><center><a href="/"><img src="/logo.png" alt="FMenejer.Ru" width="180" height="40"/></a></center></div>';
/*
-----------------------------------------------------------------
Выводим логотип и переключатель языков
-----------------------------------------------------------------
*//*
echo '<table style="width: 100%;" class="header" ><tr>' .
'<td valign="bottom"><a href="' . $set['homeurl'] . '"><center><img src="/images/iimage.png" width=280 height=70/></center></a></td>' .
($headmod == 'mainpage' && count(core::$lng_list) > 1 ? '<td align="right"><a href="' . $set['homeurl'] . '/go.php?lng"><b>' . strtoupper(core::$lng_iso) . '</b></a> <img src="' . $set['homeurl'] . '/images/flags/' . core::$lng_iso . '.gif" alt=""/> </td>' : '') .
'</tr></table>';
*/
/*
-----------------------------------------------------------------
Выводим верхний блок с приветствием
-----------------------------------------------------------------
*/$month=date("m", time() + (core::$system_set['timeshift'] + core::$user_set['timeshift']) * 3600);
$year=date("y", time() + (core::$system_set['timeshift'] + core::$user_set['timeshift']) * 3600);
$day=date("d", time() + (core::$system_set['timeshift'] + core::$user_set['timeshift']) * 3600);
$sec=date("s", time() + (core::$system_set['timeshift'] + core::$user_set['timeshift']) * 3600);
$array_month['01']="yanvar";
$array_month['02']="fevral";
$array_month['03']="mart";
$array_month['04']="aprel";
$array_month['05']="may";
$array_month['06']="iyun";
$array_month['07']="iyul";
$array_month['08']="avgust";
$array_month['09']="sentabr";
$array_month['10']="oktabr";
$array_month['11']="noyabr";
$array_month['12']="dekabr";
echo '<div class="phdr">';
//SOAT
$soat=date("H",time() + $set['timeshift'] * 3600);
$l1="Hayrli kun, ";
$l2="Hayrli kech, ";
$l3="Hayrli tun, ";
$l4="Hayrli tong, ";
echo '<img src="../img/wifi2.ico" weidth=17 height=17/> ';
//Olib chiqish
if($soat==0){echo "$l3";}
if($soat==1){echo "$l3";}
if($soat==2){echo "$l3";}
if($soat==3){echo "$l3";}
if($soat==4){echo "$l3";}
if($soat==5){echo "$l4";}
if($soat==6){echo "$l4";}
if($soat==7){echo "$l4";}
if($soat==8){echo "$l4";}
if($soat==9){echo "$l4";}
if($soat==10){echo "$l1";}
if($soat==11){echo "$l1";}
if($soat==12){echo "$l1";}
if($soat==13){echo "$l1";}
if($soat==14){echo "$l1";}
if($soat==15){echo "$l1";}
if($soat==16){echo "$l1";}
if($soat==17){echo "$l1";}
if($soat==18){echo "$l2";}
if($soat==19){echo "$l2";}
if($soat==20){echo "$l2";}
if($soat==21){echo "$l2";}
if($soat==22){echo "$l2";}
if($soat==23){echo "$l2";}
echo '<b> ' . ($user_id ? '' . $login . '!' : $lng['guest'] . '!') . '</b><br/><span class="fr"><img src="../img/time.ico" weidth=17 height=17/> <b>'.$day.'-'.$array_month[$month].'</b> <b>' . date("H:i", time() + $set['timeshift'] * 3600) . ':'.$sec.'</b></span></div>';
/*
-----------------------------------------------------------------
Главное меню пользователя
-----------------------------------------------------------------
*/
echo '<div class="tmn" align="center">' .
/// (isset($_GET['err']) || $headmod != "mainpage" || ($headmod == 'mainpage' && $act) ? '<a href=\'' . $set['homeurl'] . '\'>' . $lng['homepage'] . '</a> | ' : '') .
($user_id && $headmod != 'man' ? '<a href="' . $set['homeurl'] . '/man/"><span class=red><b>FM 2018</span></b></a> ' : '') .
($user_id && $headmod != 'profile' ? '| <a href="' . $set['homeurl'] . '/users/profile.php"><span class=green><b>Anketa</span></b></a>' : '') .
($user_id && $headmod != 'office' ? ' | <a href="' . $set['homeurl'] . '/users/profile.php?act=office"><span class=blue><b>' . $lng['personal'] . '</span></b></a><br/>' : '') .
(!$user_id && $headmod != 'login' ? ' <a href="' . $set['homeurl'] . '/login.php">' . $lng['login'] . '</a> | ' : '') .
(!$user_id && $headmod != 'registration' ? ' <a href="' . $set['homeurl'] . '/registration.php">A\'zo bo\'lish</a>' : '') .
'</div><div class="maintxt">';
/*
-----------------------------------------------------------------
Рекламный блок сайта
-----------------------------------------------------------------
echo '<div class="phdr"><b><span class="red">REKLAMA</span></b></div>';
if (!empty($cms_ads[1])) echo '<div class="menu">' . $cms_ads[1] . '</div>';
-----------------------------------------------------------------
Фиксация местоположений посетителей
-----------------------------------------------------------------
*/
$sql = '';
$set_karma = unserialize($set['karma']);
if ($user_id) {
// Фиксируем местоположение авторизованных
if (!$datauser['karma_off'] && $set_karma['on'] && $datauser['karma_time'] <= (time() - 86400)) {
$sql .= " `karma_time` = '" . time() . "', ";
}
$movings = $data
/**
* @package JohnCMS
* @link http://johncms.com
* @copyright Copyright (C) 2008-2011 JohnCMS Community
* @license LICENSE.txt (see attached file)
* @version VERSION.txt (see attached file)
* @author http://johncms.com/about
*/
defined('_IN_JOHNCMS') or die('Error: restricted access');
$headmod = isset($headmod) ? mysql_real_escape_string($headmod) : '';
echo'<!DOCTYPE html>' .
"\n" . '<html lang="' . core::$lng_iso . '">' .
"\n" . '<head>' .
"\n" . '<meta charset="utf-8">' .
"\n" . '<meta http-equiv="X-UA-Compatible" content="IE=edge">' .
"\n" . '<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes">' .
"\n" . '<meta name="HandheldFriendly" content="true">' .
"\n" . '<meta name="MobileOptimized" content="width">' .
"\n" . '<meta content="yes" name="apple-mobile-web-app-capable">' .
"\n" . '<meta name="Generator" content="JohnCMS, http://johncms.com .
(!empty($set['meta_key']) ? "\n" . '<meta name="keywords" content="' . $set['meta_key'] . '">' : '') .
(!empty($set['meta_desc']) ? "\n" . '<meta name="description" content="' . $set['meta_desc'] . '">' : '') .
"\n" . '<link rel="stylesheet" href="' . $set['homeurl'] . '/theme/' . $set_user['skin'] . '/style.css">' .
"\n" . '<link rel="shortcut icon" href="' . $set['homeurl'] . '/favicon.ico">' .
"\n" . '<title>' . $textl . '</title>' .
"\n" . '</head><body>' . core::display_core_errors();
/*
-----------------------------------------------------------------
Рекламный модуль
-----------------------------------------------------------------
*/
$cms_ads = array();
if (!isset($_GET['err']) && $act != '404' && $headmod != 'admin') {
$view = $user_id ? 2 : 1;
$layout = ($headmod == 'mainpage' && !$act) ? 1 : 2;
$req = mysql_query("SELECT * FROM `cms_ads` WHERE `to` = '0' AND (`layout` = '$layout' or `layout` = '0') AND (`view` = '$view' or `view` = '0') ORDER BY `mesto` ASC");
if (mysql_num_rows($req)) {
while (($res = mysql_fetch_assoc($req)) !== FALSE) {
$name = explode("|", $res['name']);
$name = htmlentities($name[mt_rand(0, (count($name) - 1))], ENT_QUOTES, 'UTF-8');
if (!empty($res['color'])) $name = '<span style="color:#' . $res['color'] . '">' . $name . '</span>';
// Если было задано начертание шрифта, то применяем
$font = $res['bold'] ? 'font-weight: bold;' : FALSE;
$font .= $res['italic'] ? ' font-style:italic;' : FALSE;
$font .= $res['underline'] ? ' text-decoration:underline;' : FALSE;
if ($font) $name = '<span style="' . $font . '">' . $name . '</span>';
@$cms_ads[$res['type']] .= '<a href="' . ($res['show'] ? functions::checkout($res['link']) : $set['homeurl'] . '/go.php?id=' . $res['id']) . '">' . $name . '</a><br/>';
if (($res['day'] != 0 && time() >= ($res['time'] + $res['day'] * 3600 * 24)) || ($res['count_link'] != 0 && $res['count'] >= $res['count_link']))
mysql_query("UPDATE `cms_ads` SET `to` = '1' WHERE `id` = '" . $res['id'] . "'");
}
}
}
/*
-----------------------------------------------------------------
Рекламный блок сайта
-----------------------------------------------------------------
*/
if (isset($cms_ads[0])) echo $cms_ads[0];
echo '<div class="logo" style="padding:8px;"><center><a href="/"><img src="/logo.png" alt="FMenejer.Ru" width="180" height="40"/></a></center></div>';
/*
-----------------------------------------------------------------
Выводим логотип и переключатель языков
-----------------------------------------------------------------
*//*
echo '<table style="width: 100%;" class="header" ><tr>' .
'<td valign="bottom"><a href="' . $set['homeurl'] . '"><center><img src="/images/iimage.png" width=280 height=70/></center></a></td>' .
($headmod == 'mainpage' && count(core::$lng_list) > 1 ? '<td align="right"><a href="' . $set['homeurl'] . '/go.php?lng"><b>' . strtoupper(core::$lng_iso) . '</b></a> <img src="' . $set['homeurl'] . '/images/flags/' . core::$lng_iso . '.gif" alt=""/> </td>' : '') .
'</tr></table>';
*/
/*
-----------------------------------------------------------------
Выводим верхний блок с приветствием
-----------------------------------------------------------------
*/$month=date("m", time() + (core::$system_set['timeshift'] + core::$user_set['timeshift']) * 3600);
$year=date("y", time() + (core::$system_set['timeshift'] + core::$user_set['timeshift']) * 3600);
$day=date("d", time() + (core::$system_set['timeshift'] + core::$user_set['timeshift']) * 3600);
$sec=date("s", time() + (core::$system_set['timeshift'] + core::$user_set['timeshift']) * 3600);
$array_month['01']="yanvar";
$array_month['02']="fevral";
$array_month['03']="mart";
$array_month['04']="aprel";
$array_month['05']="may";
$array_month['06']="iyun";
$array_month['07']="iyul";
$array_month['08']="avgust";
$array_month['09']="sentabr";
$array_month['10']="oktabr";
$array_month['11']="noyabr";
$array_month['12']="dekabr";
echo '<div class="phdr">';
//SOAT
$soat=date("H",time() + $set['timeshift'] * 3600);
$l1="Hayrli kun, ";
$l2="Hayrli kech, ";
$l3="Hayrli tun, ";
$l4="Hayrli tong, ";
echo '<img src="../img/wifi2.ico" weidth=17 height=17/> ';
//Olib chiqish
if($soat==0){echo "$l3";}
if($soat==1){echo "$l3";}
if($soat==2){echo "$l3";}
if($soat==3){echo "$l3";}
if($soat==4){echo "$l3";}
if($soat==5){echo "$l4";}
if($soat==6){echo "$l4";}
if($soat==7){echo "$l4";}
if($soat==8){echo "$l4";}
if($soat==9){echo "$l4";}
if($soat==10){echo "$l1";}
if($soat==11){echo "$l1";}
if($soat==12){echo "$l1";}
if($soat==13){echo "$l1";}
if($soat==14){echo "$l1";}
if($soat==15){echo "$l1";}
if($soat==16){echo "$l1";}
if($soat==17){echo "$l1";}
if($soat==18){echo "$l2";}
if($soat==19){echo "$l2";}
if($soat==20){echo "$l2";}
if($soat==21){echo "$l2";}
if($soat==22){echo "$l2";}
if($soat==23){echo "$l2";}
echo '<b> ' . ($user_id ? '' . $login . '!' : $lng['guest'] . '!') . '</b><br/><span class="fr"><img src="../img/time.ico" weidth=17 height=17/> <b>'.$day.'-'.$array_month[$month].'</b> <b>' . date("H:i", time() + $set['timeshift'] * 3600) . ':'.$sec.'</b></span></div>';
/*
-----------------------------------------------------------------
Главное меню пользователя
-----------------------------------------------------------------
*/
echo '<div class="tmn" align="center">' .
/// (isset($_GET['err']) || $headmod != "mainpage" || ($headmod == 'mainpage' && $act) ? '<a href=\'' . $set['homeurl'] . '\'>' . $lng['homepage'] . '</a> | ' : '') .
($user_id && $headmod != 'man' ? '<a href="' . $set['homeurl'] . '/man/"><span class=red><b>FM 2018</span></b></a> ' : '') .
($user_id && $headmod != 'profile' ? '| <a href="' . $set['homeurl'] . '/users/profile.php"><span class=green><b>Anketa</span></b></a>' : '') .
($user_id && $headmod != 'office' ? ' | <a href="' . $set['homeurl'] . '/users/profile.php?act=office"><span class=blue><b>' . $lng['personal'] . '</span></b></a><br/>' : '') .
(!$user_id && $headmod != 'login' ? ' <a href="' . $set['homeurl'] . '/login.php">' . $lng['login'] . '</a> | ' : '') .
(!$user_id && $headmod != 'registration' ? ' <a href="' . $set['homeurl'] . '/registration.php">A\'zo bo\'lish</a>' : '') .
'</div><div class="maintxt">';
/*
-----------------------------------------------------------------
Рекламный блок сайта
-----------------------------------------------------------------
echo '<div class="phdr"><b><span class="red">REKLAMA</span></b></div>';
if (!empty($cms_ads[1])) echo '<div class="menu">' . $cms_ads[1] . '</div>';
-----------------------------------------------------------------
Фиксация местоположений посетителей
-----------------------------------------------------------------
*/
$sql = '';
$set_karma = unserialize($set['karma']);
if ($user_id) {
// Фиксируем местоположение авторизованных
if (!$datauser['karma_off'] && $set_karma['on'] && $datauser['karma_time'] <= (time() - 86400)) {
$sql .= " `karma_time` = '" . time() . "', ";
}
$movings = $data
yordam kerak pulini beraman
zadc.ru xostingidan foydalanaman scriptni o'rnatsam tema ishlamayapti yani dizayn ranglari chiqmayapti
zadc.ru xostingidan foydalanaman scriptni o'rnatsam tema ishlamayapti yani dizayn ranglari chiqmayapti
MyActive, qaysi sayt
DjHuSo, # DjHuSo (06.12.2019 / 14:52)
MyActive, johncms boʻlsa sayt sozlamalaridan homeurlni toʻgʻri yozing tamomundan emas dizayn ishlamayapti
MyActive, johncms boʻlsa sayt sozlamalaridan homeurlni toʻgʻri yozing tamomundan emas dizayn ishlamayapti
MyActive, # MyActive (06.12.2019 / 15:19)
DjHuSo, undan emas dizayn ishlamayaptiSh/x ga o'ting taxlab beraman. Agar o'ziz qilmoqchi bo'sez, incfiles/head.php da style ulangan joyda xatolik bo'lishi mumkin!
DjHuSo, undan emas dizayn ishlamayaptiSh/x ga o'ting taxlab beraman. Agar o'ziz qilmoqchi bo'sez, incfiles/head.php da style ulangan joyda xatolik bo'lishi mumkin!
hamma scriptni ornataman desam shunaqa deyapti dizayn tema ishlamayapti
Biriktirilgan fayllar [1]:
— photo_2019-12-06_15-35-01.jpg (57.96 KB) (84 ↴)
— photo_2019-12-06_15-35-01.jpg (57.96 KB) (84 ↴)
MyActive, # MyActive (06.12.2019 / 15:38)
hamma scriptni ornataman desam shunaqa deyapti dizayn tema ishlamayaptiYana aytaman instalda tema yoq. Sz toliq ornating uni yani chmod larini togrlang
hamma scriptni ornataman desam shunaqa deyapti dizayn tema ishlamayaptiYana aytaman instalda tema yoq. Sz toliq ornating uni yani chmod larini togrlang
Tavsiya etamiz:
- Hoziroq maydonlarni to'ldiring va reklamangizni joylashtiring!
Mavzuga oid xabarlar soni: 3101 ta
So'ngi faollik vaqti: 15:21:31, 19 Apr 2022