Useful Coders | IT News
73 subscribers
58 photos
3 videos
92 files
36 links
Download Telegram
☄️ Oʻz saytingizda Treding maʼlumotlarini koʻrsatish uchun kod

<!-- TradingView Widget BEGIN --> <div class="tradingview-widget-container"> <div class="tradingview-widget-container__widget"></div> <div class="tradingview-widget-copyright"><a href="https://www.tradingview.com/" rel="noopener nofollow" target="_blank"><span class="blue-text">Track all markets on TradingView</span></a></div> <script type="text/javascript" src="https://s3.tradingview.com/external-embedding/embed-widget-symbol-overview.js" async> { "symbols": [ [ "Apple", "AAPL|1D" ], [ "Google", "GOOGL|1D" ], [ "Microsoft", "MSFT|1D" ] ], "chartOnly": false, "width": "100%", "height": "100%", "locale": "en", "colorTheme": "light", "autosize": true, "showVolume": false, "showMA": false, "hideDateRanges": false, "hideMarketStatus": false, "hideSymbolLogo": false, "scalePosition": "right", "scaleMode": "Normal", "fontFamily": "-apple-system, BlinkMacSystemFont, Trebuchet MS, Roboto, Ubuntu, sans-serif", "fontSize": "10", "noTimeScale": false, "valuesTracking": "1", "changeMode": "price-and-percent", "chartType": "area", "maLineColor": "#2962FF", "maLineWidth": 1, "maLength": 9, "headerFontSize": "medium", "lineWidth": 2, "lineType": 0, "dateRanges": [ "1d|1", "1m|30", "3m|60", "12m|1D", "60m|1W", "all|1M" ] } </script> </div> <!-- TradingView Widget END -->


👀 Buni shunchaki kodingizga qoʻshib olasiz

🌐 @ACode_UI & @UsefulCoders

Bitta stars bosvorila
Please open Telegram to view this post
VIEW IN TELEGRAM
👍2
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Notification Animation</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div id="notification" class="hidden">Bu sizning bildirishnomangiz!</div>
<button onclick="showNotification()">Bildirishnomani ko'rsatish</button>
<script src="script.js"></script>
</body>
</html>

Bildrishnoma sayt uchun!

@UsefulCoders
Live stream started
Live stream finished (20 minutes)
Qaysi kodni tarqataylik?
kino-bot.zip
1 MB
Kinobot kodi
Dasturlash tili: Python


@UsefulCoders
👍2
PulBot.zip
10.5 KB
💰 PulBot Kodi
💬 Manba: @AcodersUz
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥 PHP da HTML teglarini olib tashlashning eng oson usuli strip_tags() funksiyasidan foydalanishdir. Ushbu funksiya berilgan matn ichidagi barcha HTML teglarini olib tashlaydi.

<?php$html_content = "<p>This is a <strong>sample</strong> HTML content with <a href='#'>links</a>.</p>";
$clean_content = strip_tags($html_content);
echo $clean_content; // Natija: This is a sample HTML content with links.
?>


💬 Manba: @Uzbek_PHP
💡 @UsefulCoders
Please open Telegram to view this post
VIEW IN TELEGRAM
PHPYuklabBot.php
50.8 KB
💬 Bu kod yordamida bot ochib shaxsiy kodlaringizni osongina sotsangiz bo'ladi!
🚀 Manba: @Education_PHP
Please open Telegram to view this post
VIEW IN TELEGRAM
AvtoXabar.php
7.6 KB
AvtoXabar bot kodi
🔗 Manba: @PersonalCoder
👤 Dasturchi: @Azizbeekh
Please open Telegram to view this post
VIEW IN TELEGRAM
if($text=="/my"){
$getp = file_get_contents("https://api.telegram.org/bot$token/getUserProfilePhotos?user_id=$uid&limit=1");
$json = json_decode($getp);
$photo = $json->result->photos[0][0]->file_id;
bot('sendPhoto',[
'chat_id'=>$cid,
'photo'=>$photo,
'reply_to_message_id'=>$mid,
'parse_mode'=>'html',
]);
}


👤 Foydalanuvchini profil rasmini olib beruvchi funksiya!
🌐 @UsefulCoders
Please open Telegram to view this post
VIEW IN TELEGRAM
return bot('setmessagereaction', [
'chat_id' => $cid,
'message_id' => $mid,
'reaction' => json_encode(array([
'type' => 'emoji',
'emoji' => $reaction,
])
)
]);
}

if(isset($message)){
$reactions = ['😇', '🤯', '🤝','🔥','❤️','🏆', '🤷‍♂️', '👍','👏','🤓','😎','👌',];
$randomReaction = $reactions[array_rand($reactions)];
reaction($cid, $mid, $randomReaction);
}


🎲 Random reaksiya bosib beadigan funksiya bot uchun.
🌐 @UsefulCoders
Please open Telegram to view this post
VIEW IN TELEGRAM
👍2
$update = json_decode(file_get_contents('php://input')); 
$type = $message->chat->type;
$text = $message->text;
$cid = $message->chat->id;
$ispremium = $message->from->is_premium;

if($text=="/start" and $type == "private"){
bot('sendmessage',[
'chat_id'=>$cid,
'reply_to_message_id'=>$mid,
'text'=>"👋 Salom bizni botimizga xush kelibsiz!",
'parse_mode' => 'html',
]);
if($ispremium){
bot('sendmessage',[
'chat_id'=>$cid,
'text'=>"<b>⭐️ Premiumingiz bor ekan!\n🧰 Kanalimizga ovoz bering!\n\nhttps://t.me/boost/UsefulCoders</b>",
'parse_mode' => 'html',
]);
}else{}
}


⭐️ Foydalanuvchini premiumi bo'lsa ovoz bering funksiya bot uchun.
🌐 @UsefulCoders
Please open Telegram to view this post
VIEW IN TELEGRAM
<?php
header('Content-Type: application/json');

$rand = rand(0000,9999);
$url = "https://dummyimage.com/279x100/ffffff/000000.jpg&text=$rand";
//@by_alik
$result = array('captcha'=>[
'kod'=>$rand,
'matn'=>"<b>Inson ekanligingizni tasdiqlang!</b>\n\nRasmdagi kodni kiriting:",
'photo_url'=>$url,
]);
//@TgWebCoder
echo json_encode($result, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);

?>


Captcha bot uchun
🌐 @UsefulCoders
Please open Telegram to view this post
VIEW IN TELEGRAM
KinoBot.php
24.6 KB
🤖 MySQLsiz Kino Bot
🚀 Maker Botlarga ham tushadi
⚙️ Manba: @sadiy_dev
🌐 @UsefulCoders
Please open Telegram to view this post
VIEW IN TELEGRAM
👍5🤝3🔥2
InvestorFun.php
77 KB
💰 Sarmoya bot yangi turi!
🔥 @ByDevs kanalidan oldik!
Please open Telegram to view this post
VIEW IN TELEGRAM
🥰2👍1
Live stream started
Live stream finished (34 minutes)
<?php
if(isset($message->video)){
bot('deleteMessage',[
'message_id'=>$mid,
'chat_id'=>$chat_id,
]);
bot('SendMessage',[
'chat_id'=>$chat_id,
'text'=>"🎥 <b>Video yubormang!</b>",
'parse_mode'=>"html",
'relpy_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>"👥 Guruhga qo'shish",'url'=>"https://t.me/$bot?startgroup=new"]],
]
])
]);
}
?>

➡️ Video yubormang funksiya!
#function
⚡️ @UsefulCoders
Please open Telegram to view this post
VIEW IN TELEGRAM
👍4
if(mb_stripos($text,"!ban")!==false){  
if($get == "administrator" or $get == "creator" or $uid==$admin){
bot('kickChatMember',[
'chat_id'=>$cid,
'user_id'=>$repid,
'can_send_messages'=>false,
'can_send_media_messages'=>false,
'can_send_other_messages'=>false,
'can_add_web_page_previews'=>false
]);
bot('sendmessage',[
'chat_id'=>$cid,
'parse_mode'=>'html',
'text'=>"<a href='tg://user?id=$repid'>$repname</a> guruhdan <b>KICK</b> va <b>BAN</b> qilindi!",
]);
}
}

➡️ Ban qilish funksiya!
#function
⚡️ @UsefulCoders
Please open Telegram to view this post
VIEW IN TELEGRAM
👍5
starsavto.php
2.5 KB
⭐️ Botlar uchun stars avto to'lov!
⚡️ MySQLlik botlar uchun ishlaydi
➡️ @UsefulCoders
Please open Telegram to view this post
VIEW IN TELEGRAM