Please open Telegram to view this post
VIEW IN TELEGRAM
๐6โก1๐ฅ1
<?php
$to_email = "Yuborish_uchun@example.com";
$body = "Siz yutuq yutdingiz!"
$headers = "Yuboruvchi: @example.com";
if (mail($to_email, $body, $headers)) {
echo "$to_email ga yuborildi!";
} else {
echo "Yuborilmadi!";
}
?>
Please open Telegram to view this post
VIEW IN TELEGRAM
Qaysi bot kodini tarqatamiz โผ๏ธ
Please open Telegram to view this post
VIEW IN TELEGRAM
RiseBuilder.zip
441.4 KB
v2.0 versiyasi.
โฌ๏ธ Qo'shilgan yangilanishlar:
โข Maker bot ichidagi konstruktor bot sozlandi
โข MakerBot hatoliklari sozlandi
โข Referal konkurs tizimi
โข kichik o'zgarishlar
โข cashback sozlamalari
โข MakerBot botlari soni 18 taga yetdi
โข Dizaynga bog'liq kichik yangilanishlar
โ๏ธ Kodda 1 - 2 ta kichik xatolar kuzatilishi mumkin.
MANBA:
Tarqatildi: @UsefulCoders
โฌ๏ธ Qo'shilgan yangilanishlar:
โข Maker bot ichidagi konstruktor bot sozlandi
โข MakerBot hatoliklari sozlandi
โข Referal konkurs tizimi
โข kichik o'zgarishlar
โข cashback sozlamalari
โข MakerBot botlari soni 18 taga yetdi
โข Dizaynga bog'liq kichik yangilanishlar
โ๏ธ Kodda 1 - 2 ta kichik xatolar kuzatilishi mumkin.
MANBA:
@ITMaktabi1Tarqatildi: @UsefulCoders
$step = file_get_contents("id/step/$idi.txt");
mkdir("id");
mkdir("id/step");
$tx = $message->text;
$idi = $message->from->id;
if($tx == "๐ Mashxur odamlar"){
file_put_contents("id/step/$idi.txt","photo");
bot('SendMessage',[
'chat_id'=>$idi,
'text'=>"Qaysi mashxur odamlar haqida malumot olmoqchisiz, yuboring.",
'reply_markup'=>$ortga,
'parse_mode'=>"markdown",
]);
}
}
if($step=="photo"){
bot('sendPhoto',[
'chat_id'=>$idi,
'photo'=>"https://newssearch.yandex.uz/news/search?text=$tx",
'caption'=>"โ
<b> Ma'lumot topildi
โ
Qidirilgan odam: $tx </b>",
'parse_mode'=>"html",
'reply_markup'=>$ortga,
]);
unlink("id/step/$idi.txt");
exit();
}
}Please open Telegram to view this post
VIEW IN TELEGRAM
Qanaqa bot kodi yoki bot funksyasi kerak โ๏ธ
Please open Telegram to view this post
VIEW IN TELEGRAM
Game-Donate.php
97.2 KB
Please open Telegram to view this post
VIEW IN TELEGRAM
if($data=="havo"){
bot('editMessageText',[
'chat_id'=>$ccid,
'message_id'=>$mmid,
'text'=>"โ
๏ธSiz Ob-Havo bolimidasiz!
Iltimos Viloyatingizni tanlang!โคต๏ธ",
'parse_mode'=>'markdown',
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>'โ
๏ธNamangan','callback_data'=>"ob=namangan"],
['text'=>'โ
๏ธToshkent','callback_data'=>"ob=tashkent"]],
[['text'=>"โ
๏ธFarg'ona",'callback_data'=>"ob=ferghana"],
['text'=>'โ
๏ธSamarqand','callback_data'=>"ob=samarkand"]],
[['text'=>'โ
๏ธBuxoro','callback_data'=>"ob=bukhara"],
['text'=>'โ
๏ธJizzax','callback_data'=>"ob=jizzakh"]],
[['text'=>'โ
๏ธAndijon','callback_data'=>"ob=andijan"],
['text'=>'โ
๏ธNukus','callback_data'=>"ob=nukus"]],
[['text'=>'โ
๏ธGuliston','callback_data'=>"ob=gulistan"],
['text'=>'โ
๏ธNavoiy','callback_data'=>"ob=navoi"]],
[['text'=>'โ
๏ธXiva','callback_data'=>"ob=khiva"],
['text'=>'โ
๏ธTermiz','callback_data'=>"ob=termez"]],
[['text'=>'โ
๏ธQarshi','callback_data'=>"ob=karshi"],
['text'=>'โ
๏ธUrganch','callback_data'=>"ob=urgench"]],
[['text'=>'โ
๏ธZarafshon','callback_data'=>"ob=zarafshan"],
['text'=>'โฉ๏ธOrtga','callback_data'=>"inline"]],
]
])
]);
}
if(mb_stripos($data,"ob")!==false){
$szs = explode("=",$data);
$arrContextOptions=array(
"ssl"=>array(
"verify_peer"=>false,
"verify_peer_name"=>false,
),
);
$masterbek = file_get_contents("http://obhavo.uz/$szs[1]", false, stream_context_create($arrContextOptions));
$ex1=explode("\n",$masterbek);
$kungr=str_replace('<p class="forecast">',' ',$ex1[98]);
$kungr=str_replace('</p>',' ',$kungr);
$oqgr=str_replace('<p class="forecast">',' ',$ex1[103]);
$oqgr=str_replace('</p>',' ',$oqgr);
$tongr=str_replace('<p class="forecast">',' ',$ex1[93]);
$tongr=str_replace('</p>',' ',$tongr);
$bugun=str_replace('<div class="current-day">',' ',$ex1[61]);
$bugun=str_replace('</div>',' ',$bugun);
$bugun = trim($bugun);
$vil=str_replace('<h2>',' ',$ex1[60]);
$vil=str_replace('</h2>',' ',$vil);
$vil=str_replace(''','',$vil);
$vil = trim($vil);
$tongr = trim($tongr);
$oqgr = trim($oqgr);
$kungr = trim($kungr);
$havo1=str_replace('<div class="current-forecast-desc">',' ',$ex1[71]);
$havo1=str_replace('</div>',' ',$havo1);
$havo1=str_replace(''','',$havo1);
$havo1 = trim($havo1);
$gr1=str_replace('<span><strong>',' ',$ex1[67]);
$gr1=str_replace('</strong></span>',' ',$gr1);
$gr1= trim($gr1);
$gr2=str_replace('<span>',' ',$ex1[68]);
$gr2=str_replace('</span>',' ',$gr2);
$gr2= trim($gr2);
$nam=str_replace('<p>',' ',$ex1[75]);
$nam=str_replace('</p>',' ',$nam);
$nam= trim($nam);
$bosim=str_replace('<p>',' ',$ex1[77]);
$bosim=str_replace('</p>',' ',$bosim);
$bosim= trim($bosim);
$shamol=str_replace('<p>',' ',$ex1[76]);
$shamol=str_replace('</p>',' ',$shamol);
$shamol=str_replace(''','',$shamol);
$shamol= trim($shamol);
$oy=str_replace('<p>',' ',$ex1[80]);
$oy=str_replace('</p>',' ',$oy);
$oy=str_replace(''','',$oy);
$oy= trim($oy);
$qch=str_replace('<p>',' ',$ex1[81]);
$qch=str_replace('</p>',' ',$qch);
$qch= trim($qch);
$qb=str_replace('<p>',' ',$ex1[82]);
$qb=str_replace('</p>',' ',$qb);
$qb= trim($qb);
bot('editMessageText',[
'chat_id'=>$ccid,
'message_id'=>$mmid,
'text'=>"*๐Bugun ๐ฐ$vil shahrida:โคต๏ธ
โโโโโโโโโโโโโโ
๐Bugun: $gr1 ... $gr2, โ๏ธ$havo1
โโโโโโโโโโโโโโ
๐Tong: โ๏ธ $tongr C
๐Kun: โ๏ธ $kungr C
๐Oqshom: ๐ค $oqgr C
โโโโโโโโโโโโโโ
๐ฌ $shamol
๐ง $nam
๐ก$bosim
โโโโโโโโโโโโโโ
๐$oy
โโโโโโโโโโโโโโ
๐$qch
๐$qb
โโโโโโโโโโโโโโ
$sana*
โโโโโโโโโโโโโโ
$mkm
",
'parse_mode' => 'markdown',
'disable_web_page_preview'=>true,
'reply_markup'=>json_encode([
'inline_keyboard' => [
[['text'=>"โฉ๏ธOrqaga",'callback_data'=>"pogoda"]]
]
]),
]);
}Please open Telegram to view this post
VIEW IN TELEGRAM
๐ฅ6โค1โก1