Yangi formatda davom etish uchun: https://uzfor.net/view.php?id=38425&page=2
Masterlardan maslahatlar
Mavzu fayllari (2)
Xabarlar
Master larga meni shaxsan maslahatim.
1. Haqiqatdan ham shu yo'nalishda ketmoqchimisiz?
2. Unda dasturlash tilini o'rganing
3. Agar imkon bo'lsa realni ustozga borib o'rgangan yaxshi (vaqt va samaradorlikdan yutasiz).
P/s: lark, keo va h.k larga vaqtingiz va pulingizni behuda yo'qotmang (chunk I dasturlashni bilmasdan turib masterlik qilishingiz. G'ishtsiz imorot qilishdek gap).
Xulosa: Dasturlashni yaxshi o'rganing katta proektlar boshlaysiz!!!
1. Haqiqatdan ham shu yo'nalishda ketmoqchimisiz?
2. Unda dasturlash tilini o'rganing
3. Agar imkon bo'lsa realni ustozga borib o'rgangan yaxshi (vaqt va samaradorlikdan yutasiz).
P/s: lark, keo va h.k larga vaqtingiz va pulingizni behuda yo'qotmang (chunk I dasturlashni bilmasdan turib masterlik qilishingiz. G'ishtsiz imorot qilishdek gap).
Xulosa: Dasturlashni yaxshi o'rganing katta proektlar boshlaysiz!!!
+ (1): Fokuschi,
vds/vps olgandim panel upravleniyasi yo'q ekan ispmaneger zakaz qilganim yo'q lekin bepul vesta panel ga umid qilgandim o'rnatilmagan ekan tiketga vesta panel yo'q ekan o'rnatib bering desam o'ziz o'rnatishiz kerak deyishdi
vps ni isp va vestasiz qanday boshqarish kirish mumkun nima maslaxat berasizlar
vps ni isp va vestasiz qanday boshqarish kirish mumkun nima maslaxat berasizlar
Salom do'stlar avvalom Bayram muborak.
Maqsadga o'tsam
SHahrim, Kollejim va maktabim haqida sayt ochmoqchiman. Qaysi CMS ni taklif qilasizlar? Saytga nimalar qo'shgan ma'qul? Saytni albatta Kollej va Maktab rahbarlaridan ruxsat olgan holda ochmoqchiman. barcha ma'lumotlar saytga yuklanadi Talab takliflaringni kutib qolaman
Maqsadga o'tsam
SHahrim, Kollejim va maktabim haqida sayt ochmoqchiman. Qaysi CMS ni taklif qilasizlar? Saytga nimalar qo'shgan ma'qul? Saytni albatta Kollej va Maktab rahbarlaridan ruxsat olgan holda ochmoqchiman. barcha ma'lumotlar saytga yuklanadi Talab takliflaringni kutib qolaman
- (1): NetLizard,
Salom, man yangiliklarga asoslangan sayt yaratdim, faqat mysql yordamisiz. Keyn news degan papkaga 1.php 2.php 3.php qilib yangilik mavzsi, rasmi va linklarni yartab chiqyapman. Endi o'sha papkadan fayllarni include $_SERVER['DOCUMENT_ROOT']."/news/ ($_GET view.php"; ko'rinishida index.php ga chiqarib, 10tadan, yangi sahifa ochilib surilib borish tartibida joylashtirishim kerak. M-n: index.php?page=2 page=3 ko'rinishida. Kim menga yordam bera oladi. Menda negadir xech o'xshamayapdi. Yordam berganni quruq qo'ymiman
MenTaLiST, # MenTaLiST (01.09.2019 / 22:09)
Salom do'stlar avvalom Bayram muborak.
Maqsadga o'tsam
SHahrim, Kollejim va maktabim haqida sayt ochmoqchiman. Qaysi CMS ni taklif qilasizlar? Saytga nimalar qo'shgan ma'qul? Saytni albatta KollejMaktab saytlariga Wordpers yorvoradi qolganlari sholpillab qoladi
Salom do'stlar avvalom Bayram muborak.
Maqsadga o'tsam
SHahrim, Kollejim va maktabim haqida sayt ochmoqchiman. Qaysi CMS ni taklif qilasizlar? Saytga nimalar qo'shgan ma'qul? Saytni albatta KollejMaktab saytlariga Wordpers yorvoradi qolganlari sholpillab qoladi
+ (1): Apalon4ik,
Aytgancha tepada phpni o`rganish bo`yicha darslik so`rashibdi. Китобларим кўп амо тузуроғини юкладим.
пхп 4 бўйича дарслик
пхп 4 бўйича дарслик
- (1): NetLizard,
Biriktirilgan fayllar [1]:
— php_4.pdf (1178.32 KB) (136 ↴)
— php_4.pdf (1178.32 KB) (136 ↴)
Akbarali, # Akbarali (06.09.2019 / 18:36)
MenTaLiST, Maktab saytlariga Wordpers yorvoradi qolganlari sholpillab qoladiishlashni bilganlar johncmsda ham "normalniy" sayt ochib yurgizib yuribti, ularda sholpillagani yo'q lekin))
MenTaLiST, Maktab saytlariga Wordpers yorvoradi qolganlari sholpillab qoladiishlashni bilganlar johncmsda ham "normalniy" sayt ochib yurgizib yuribti, ularda sholpillagani yo'q lekin))
Benyamin, # Benyamin (17.09.2019 / 17:53)
Akbarali, ishlashni bilganlar johncmsda ham "normalniy" sayt ochib yurgizib yuribti, ularda sholpillagani yo'q lekin))Лекин купчили Вордпресда ёряпти. Дастурлашни тўлиқ билган одамга хеч қанақа ксмсни керакги хам бўлмаяпти лекин
Akbarali, ishlashni bilganlar johncmsda ham "normalniy" sayt ochib yurgizib yuribti, ularda sholpillagani yo'q lekin))Лекин купчили Вордпресда ёряпти. Дастурлашни тўлиқ билган одамга хеч қанақа ксмсни керакги хам бўлмаяпти лекин
saytdan reklamani qana olib tashasa boladi
Fanat_FCB, jonscmc fmeneger.tk
Fanat_FCB, qilib bolmayapdi
zokirjon, http://fmeneger.tk/panel/index.php?act=ads&type=1
Shunga kirin yoki bazadan incfiles/head.php ni qaren
Shunga kirin yoki bazadan incfiles/head.php ni qaren
khan, oziz togirlab bering
zokirjon, # zokirjon (09.10.2019 / 20:22)
khan, oziz togirlab beringBu ishni ozingiz qilsangiz kelgusi safar bemalol qiynalmasdan yana qayta bajara olasz bu sizga foyda boladi.
khan, oziz togirlab beringBu ishni ozingiz qilsangiz kelgusi safar bemalol qiynalmasdan yana qayta bajara olasz bu sizga foyda boladi.
khan, head.php da reklama yogakanda
khan, <?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) : '';
$textl = isset($textl) ? $textl : $set['copyright'];
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="menu" style="padding:6px;"><center><a href="/"><img src="/best_logo.png" alt="FanatUz.Ru" width="350" height="80"/></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/calendar.jpg" 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/soat.jpg" weidth=17 height=17/> <b>'.$day.'-'.$array_month[$month].'</b> <b>' . date("H:i", time() + $set['timeshift'] * 3600) . ':'.$sec.'</b></span></div>';
/*
-----------------------------------------------------------------
Главное меню пользователя
-----------------------------------------------------------------
*/
if (!$user_id) { echo '<div class=""><table style="background: #3a3a4e;" width="100%" cellpadding="0" cellspacing="0"><tbody><tr><td style="width: 1%;"><a class="head_panel" href="/login.php">Kirish</a> </td><td style="width: 1%;"><a class="head_panel" href=" /registration.php">A`zo bo`lish</a> </td></center> </tr></tbody> </table>';
}else{
echo "<div class='tmn' align='center'><b><a href='".$set['homeurl'] . "/users/profile.php'><font color=red>".$lng['profile']."</font></a> | ";
echo "<a href='".$set['homeurl'] . "/users/profile.php?act=office'><font color=green>Shaxsiy</font></a> | <a href='".$set['homeurl']."/man'><font color=blue>FM 2019</font></a></b></center></div>";
}
echo '<div class="maintxt">';
/*
-----------------------------------------------------------------
Рекламный блок сайта
-----------------------------------------------------------------
*/
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 = $datauser['movings'];
if ($datauser['lastdate'] < (time() - 300)) {
$movings = 0;
$sql .= " `sestime` = '" . time() . "', ";
}
if ($datauser['place'] != $headmod) {
++$movings;
$sql .= " `place` = '" . mysql_
/**
* @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) : '';
$textl = isset($textl) ? $textl : $set['copyright'];
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="menu" style="padding:6px;"><center><a href="/"><img src="/best_logo.png" alt="FanatUz.Ru" width="350" height="80"/></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/calendar.jpg" 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/soat.jpg" weidth=17 height=17/> <b>'.$day.'-'.$array_month[$month].'</b> <b>' . date("H:i", time() + $set['timeshift'] * 3600) . ':'.$sec.'</b></span></div>';
/*
-----------------------------------------------------------------
Главное меню пользователя
-----------------------------------------------------------------
*/
if (!$user_id) { echo '<div class=""><table style="background: #3a3a4e;" width="100%" cellpadding="0" cellspacing="0"><tbody><tr><td style="width: 1%;"><a class="head_panel" href="/login.php">Kirish</a> </td><td style="width: 1%;"><a class="head_panel" href=" /registration.php">A`zo bo`lish</a> </td></center> </tr></tbody> </table>';
}else{
echo "<div class='tmn' align='center'><b><a href='".$set['homeurl'] . "/users/profile.php'><font color=red>".$lng['profile']."</font></a> | ";
echo "<a href='".$set['homeurl'] . "/users/profile.php?act=office'><font color=green>Shaxsiy</font></a> | <a href='".$set['homeurl']."/man'><font color=blue>FM 2019</font></a></b></center></div>";
}
echo '<div class="maintxt">';
/*
-----------------------------------------------------------------
Рекламный блок сайта
-----------------------------------------------------------------
*/
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 = $datauser['movings'];
if ($datauser['lastdate'] < (time() - 300)) {
$movings = 0;
$sql .= " `sestime` = '" . time() . "', ";
}
if ($datauser['place'] != $headmod) {
++$movings;
$sql .= " `place` = '" . mysql_
Tavsiya etamiz:
- Hoziroq maydonlarni to'ldiring va reklamangizni joylashtiring!
Mavzuga oid xabarlar soni: 91 ta
So'ngi faollik vaqti: 14:50:34, 3 Dec 2021