<!-- 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 -->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
Please open Telegram to view this post
VIEW IN TELEGRAM
<?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.
?>
Please open Telegram to view this post
VIEW IN TELEGRAM
PHPYuklabBot.php
50.8 KB
Please open Telegram to view this post
VIEW IN TELEGRAM
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',
]);
}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);
}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{}
}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);
?>
Please open Telegram to view this post
VIEW IN TELEGRAM
<?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"]],
]
])
]);
}
?>
#function
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!",
]);
}
} #function
Please open Telegram to view this post
VIEW IN TELEGRAM
👍5
Please open Telegram to view this post
VIEW IN TELEGRAM