Bekmurod
#1301
JAMES_RODRIGUEZ, # JAMES_RODRIGUEZ (13.08.2018 / 07:47)
"< shunaqa belgilar bazaga &lt; shunga o'xshab yozilyapti bu nimadan?
Filtrdan bo'lishi mumkun.
html_entity_decode() shu funksiya orqali tog'irlab ko'ring.
http://www.php.su/html_entity_decode
ƒυтвσĻιѕт
#1302
Bekmurod,
  1. $wtext = "O`yinchi <a href='player.php?id=$atpj[id]'>$atpj[name]</a> jamoasiga sotildi <a href='club.php?id=$atpj[zarplat]'>$atpj2[name]</a>. Kelishuv summasi <b>$".number_format($atpj[cena],0,'.',' ')."</b> ni tashkil etdi.";
  2. $etext = "Jamoa safini <a href='player.php?id=$atpj[id]'>$atpj[name]</a>, <a href='club.php?id=$atpj[team_id]'>$atpj1[name]</a> jamoasidan o`tgan o`yinchi to`ldirdi. Kelishuv summasi <b>$".number_format($atpj[cena],0,'.',' ')."</b> ni tashkil etdi.";}
  3. mysql_query("insert into fman_news set time=$realtime, pl_id=0, club_id=$atpj[team_id], text='$wtext'");
  4. mysql_query("insert into fman_news set time=$realtime, pl_id=0, club_id=$atpj[team_id], text='$etext'");


shuni qanday qilib o'zgartirishim kerak
Besthakker
#1303
Ushbu kodni pages/mainmenu.php ga urnatadimi yoki birorta fayl ochib ichiga tashaladimi



1.
$fayllar= mysql_result( mysql_query("SELECT COUNT(*) FROM `download` WHERE `type` = 'file' "),0);
2.
$yuklash= mysql_result( mysql_query("SELECT SUM(`ip`) FROM `download` WHERE `ip` > '0' "),0);
3.
echo'
4.
<div class="phdr" style="text-align: center"><b>Ma\'lumot</b></div>
5.
<div class="menu" style="text-align: center">
6.
Barchasi '.$fayllar.' ta fayl,
7.
Hammasi bo\'lib: '.$yuklash.' martta yuklandi!
8.
</div>
9.
';
uddaburon
#1304
#1298 ga qaravorila
Fanat_FCB
#1305
Boburuz, Biror fayl ochib saqlaysiz va mainmenu.php ga include 'fayl.php'; deb chiqarasiz
360
Viruzbek
#1306
Johnda video bosh sahifa chiqarish kere simba download ekan lekin qande chiqarish bilmayabman johnni endi organyabman
Akbarali
#1307
Viruzbek, Bosh sahifaning o'zida onlayn ko'rish kerakmi yoki havolasi bo'lsa yetadimi. John nechinchi versiya.
Bekmurod
#1308
JAMES_RODRIGUEZ, Kodni bazaga yozishda emas chiqarishda
  1. $text=html_entity_decode($text);
  2. echo $text;

qiling bo'ldi.
KooL
#1309
Johncms 6.2 library rasmga pechat bosadigan kod kerak. Iloji bo'lsa tayyor.php men bilgan kod ishlamadi
360
Viruzbek
#1310
Akbarali, # Akbarali (14.08.2018 / 07:22)
Viruzbek, Bosh sahifaning o'zida onlayn ko'rish kerakmi yoki havolasi bo'lsa yetadimi. John nechinchi versiya.
Havolasi ni chiqardim endi screenshoot chiqmadi john 6.2
ƒυтвσĻιѕт
#1311
  1. <?php
  2. define('_IN_JOHNCMS', 1);
  3. $headmod = 'tournament23454';
  4. $textl = 'Кубковые турниры';
  5. require_once ("../incfiles/core.php");
  6. require_once ("../incfiles/head.php");
  7. $q = mysql_query("select * from fman_matches where id=$id");
  8. $m = mysq_fetch_array($q);
  9. // Новички
  10. if ($id) {
  11. mysql_query("insert into `r_cupgame` set `rez1`=$m[sc1], `rez2`='$m[sc2]', `pen1`='$m[pen1]', `pen2`='$m[pen2]', `id_report`='$m[id]' where `id`='$id'");
  12.  
  13. header('location: /man/match.php?id='.$id);
  14. }
  15.  
  16.  
  17. require_once ("../incfiles/end.php");
  18. ?>


Shuni qayerida xato bor?
gi8ri7
#1312
JAMES_RODRIGUEZ,
  1. <?php
  2. define('_IN_JOHNCMS', 1);
  3. $headmod = 'tournament23454';
  4. $textl = 'Кубковые турниры';
  5. require_once ("../incfiles/core.php");
  6. require_once ("../incfiles/head.php");
  7. $q = mysql_query("select * from fman_matches where id=$id");
  8. $m = mysq_fetch_array($q);
  9. // Новички
  10. if ($id) {
  11. mysql_query("insert into `r_cupgame` set `rez1`=$m[sc1], `rez2`='$m[sc2]', `pen1`='$m[pen1]', `pen2`='$m[pen2]', `id_report`='$m[id]' where `id`='$id'");
  12.  
  13. header('location: /man/match.php?id='.$id.'');
  14. }
  15.  
  16.  
  17. require_once ("../incfiles/end.php");
  18. ?>

Tekshirib ko'ringchi
ƒυтвσĻιѕт
#1313
Master-X, ish bermadi
410
uDesign
#1314
JAMES_RODRIGUEZ, Xatoyingiz mysq_fetch_array() emas mysql_fetch_array() bo`lishi kerak
  1. <?php
  2. define('_IN_JOHNCMS', 1);
  3. $headmod = 'tournament23454';
  4. $textl = 'Кубковые турниры';
  5. require_once ("../incfiles/core.php");
  6. require_once ("../incfiles/head.php");
  7. $q = mysql_query("select * from fman_matches where id = '$id'");
  8. // Новички
  9. if ($id) {
  10. mysql_query("insert into `r_cupgame` set `rez1`='" . $m['sc1'] . "', `rez2`='" . $m['sc2'] . "', `pen1`='" . $m['pen1'] . "', `pen2`='" . $m['pen2'] . "', `id_report`='" . $m['id'] . "' where `id`='" . $id . "'");
  11.  
  12. header('location: /man/match.php?id=' . $id);
  13. }
  14.  
  15.  
  16. require_once ("../incfiles/end.php");
  17. ?>
ƒυтвσĻιѕт
#1315
uDesign, hozir redirect bo'lyapti ammo bazaga yozmayapti r_cupgamega
11 daqiqa 42 soniyadan keyin yozdi:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE `id` = '12'' at line 6

shunaqa xato beryapti
74
inco-media
#1316
JAMES_RODRIGUEZ, redirect yozgan qatorizda bitta ' qolib ketgan menimcha
ƒυтвσĻιѕт
#1317
inco-media, to'g'rialb yozib bera olasizmi
74
inco-media
#1318
JAMES_RODRIGUEZ,
  1. header('location: /man/match.php?id="'.$id.'"');

endi koringchi
ƒυтвσĻιѕт
#1319
inco-media, xato u yerda emas mysql kodda
1 daqiqa 40 soniyadan keyin yozdi:
Bazaga yozmayapti xabar
KooL
#1320
Downloaddagi 1ta papkadagi yuklamalarni tasodifiy chiqib turadigan qilish kerak. Misol tasodifiy hikoyalar chiqadiganday qilish kerak. Shunga yordam beringlar

Kunduzi: °C

8 Feb 2026 yil
Joylashuv aniqlanmadi
CORES.UZ
Платформа разработчиков
который можно найти всё
UZFOR.NET - Rasmiy guruh
t.me/@uzfornet_rasmiy