Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=70108
Postga havola
AkMaL [413] [off]
shuni qayerida xato bor 1-elseif dan o'tolmayapti
40 soniyadan keyin yozdi:
yangilikdagi izohlarga qarab unvon berishi kerak
function newscom($var) { } function status($var) { $ChEcKeD = newscom($var); if ($ChEcKeD == 0 || $ChEcKeD <= 15) { $status = '<span style="color:#0000FF;">Yangilardan</span>'; $stars = $ChEcKeD; } if ($ChEcKeD >= 16 || $ChEcKeD <= 30) { $status = '<span style="color:#0000FF;">aktiv</span>'; $stars = $ChEcKeD; } if ($ChEcKeD >= 31 || $ChEcKeD <= 50) { $status = '<span style="color:#0000FF;">faol</span>'; $stars = $ChEcKeD; } elseif ($ChEcKeD >= 51) { $status = '<span style="color:#0000FF;">Sayt faxri</span>'; $stars = $ChEcKeD; } else { $status = NULL; $stars = NULL; } }
shuni qayerida xato bor 1-elseif dan o'tolmayapti
40 soniyadan keyin yozdi:
yangilikdagi izohlarga qarab unvon berishi kerak