• CoD PHP
286 subscribers
4 photos
5 files
7 links
~ نشر كافة الاكواد بلغة الـphp ، ☑️
@IHFIBOT- تابعه لـ


• @IH8FI ¦ لـ الإنستا 🔰
Download Telegram
Channel created
- "اختصاص القناة📢،"

- "نشر اكواد بلغه الـphp ♥️"

- اضغط للدخول

- "تاريخ الانشاء"
- الاثنين🗓"،،
- "2018/16/7"🗓،
• CoD PHP pinned Deleted message
- كود /start بي ماركدون + انلاين♥️

if ($text == '/start') {
bot('sendMessage', ['chat_id' => $chat_id, 'text' => "- مرحبا بك ؛ [$name](tg://user?id=$chat_id)

▪️┊هناا خلي كليشة بوتك
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
[• اضغط هنا وتابع جديدنا 🌐؛](https://t.me/BoTs0)", 'parse_mode' => "MarkDown", 'disable_web_page_preview' => true, 'reply_markup' => json_encode(['inline_keyboard' => [[['text' => "• اضغط هنا وتابع جديدنا 🇮🇶؛", 'url' => "https://t.me/M1_m2s"]], ]]) ]);
}


#توجيه_فقط
• CoD PHP pinned «- "اختصاص القناة📢،" - "نشر اكواد بلغه الـphp ♥️" - اضغط للدخول - "تاريخ الانشاء" - الاثنين🗓"،، - "2018/16/7"🗓،»
if ($text == "تفعيل" ) {
$get = json_decode(file_get_contents("data.json"), true);
if (!in_array($id, $get['groups'])) {
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>" ╮ـ┈┉━━┅┄┈┉━┅┈╭
❪ تم تفعيل المجموعه 💯✓❫
❪ايديك↭❨ $from_id ❩ ✪❫
❪عدد الأعضاء【 $result2】
❪نوع المجموعة↭ $tc ❫
╯┈┉━━┅┄┈┉━┅┈ـ╰"
]);
}else{
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>" ╮ـ┈┉━━┅┄┈┉━┅┈╭
❪ تم تفعيل المجموعه سابقآ ✓❫
╯┈┉━━┅┄┈┉━┅┈ـ╰"
]);
}
}



كود تفعيل لبوتات الحماية والردود
كتاباتي ⚜
ᵈᵉᵛ ˢᵘʰᵉˡ ᶰᵃʲᵃᵐ
- كود كيبورد تكدر تضيف بعد بي وتحذف ♥️

if($text == '/start'){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>'مرحبا بك عزيزي',
'reply_markup'=>json_encode([
'keyboard'=>[
[
['text'=>'هلو1'],['text'=>'هلو2']
],
[
['text'=>'هلو3']
],
]
])
]);
}


- جواب الكيبورد♥️

if($text == "هلو1"){
bot('sendmessage',[
chat_id=>$chat_id,
"text"=> "هلوات"
]);
}
if($text == "هلو2"){
bot('sendmessage',[
chat_id=>$chat_id,
"text"=> "2هلوات"
]);
}
if($text == "هلو3"){
bot('sendmessage',[
chat_id=>$chat_id,
"text"=> "هلوات3"
]);
}


#توجيه_فقط
$k = $text;
$k = str_replace('‏ᘞ̇' , 'ض' , $text);
$k = str_replace('ࡎ' , ' ص' , $k);
$k = str_replace(' ‏ɹɹ̈̇' , ' ث' , $k);
$k = str_replace(' ‏ᓆ' , ' ق', $k);
$k = str_replace(' ‏ᓅ' , ' ف' , $k);
$k = str_replace('ﻏ̲' , 'غ', $k);
$k = str_replace('‏ξ' , 'ع' , $k);
$k = str_replace('‏උ' , 'خ' , $k);
$k = str_replace('‏ᓗ̥' , 'ج' , $k);
$k = str_replace('‏ɹɹ̈̇ɹ' , 'ش', $k);
$k = str_replace('‏ɹɹɹ' , 'س' , $k);
$k = str_replace('‏ʟ̤ɾʅ' , 'ي' , $k);
$k = str_replace('‏ ɹ̣' , 'ب' , $k);
$k = str_replace('‏ᒧ' , 'ل' , $k);
$k = str_replace('‏І͛' , 'ا' , $k);
$k = str_replace('‏ɹ̈' , 'ت' , $K);
$k = str_replace('‏Ủ' , 'ن' , $k);
$k = str_replace('םــ' , 'م' , $k);
$k = str_replace('‏ᓚ۶ᒧ' , 'ك' , $k);
$k = str_replace('מ' , 'ط' , $k);
$k = str_replace('‏ↄ̇' , 'ذ' , $k);
$k = str_replace('‏ᘘ' , 'ظ' , $k);
$k = str_replace('۶' , 'ء' , $k);
$k = str_replace('‏૭' , 'و' , $k);
$k = str_replace('‏ȷ' , 'ر' , $k);
$k = str_replace('ى' , 'ى' , $k);
$k = str_replace('‏j' , 'ز' , $k);
$k = str_replace('ظ' , 'ظ' , $k);
$k = str_replace('‏୬' , 'و' , $k);
$k = str_replace('‏බ' , 'ه' , $k)

--------------
كود زخرفه 💐

قديم عدي ضيفه لـ اي ملف حيضل البوت يزخرفه 🔖

خلي اخر الملف 📁

#توجيه
- كود الحصول على فيزا كارد وهميه♥️

$ca = file_get_contents
("https://mrdg.ml/MrDG/ca.php");
if($text =="فيزا"){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"
This card information :
$ca
",
'parse_mode'=>"Markdown",
]);
}


#توجيه_فقط
- كود الحصول على معايدة حسب الاسم♥️

if ($text != '/start'){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"

[📮┇تم عمل التهنئه اضغط للوصول اليها](http://fiter.me/s.php?n=$text)",
'parse_mode'=>"MarkDown",
'disable_web_page_preview'=>true,
]);
}

#توجيه_فقط
- كود البحث بألمواقع♥️📌

if($txt != "/start"){
bot('sendMessage',[
'chat_id'=>$chat_id,
'message_id'=>$message_id,
'text'=>"*تم العثور ع نتائج كثيرة 🔔*

اختر الموقع الذي تريد البحث فيه☑️🔍

*By :* @lSDKl",
'parse_mode'=>"Markdown",
'reply_markup'=> json_encode([
'inline_keyboard'=>[
[
['text'=>"App store 🌐", 'url'=>"https://www.apple.com/us/search?q=$txt"],
],
[
['text'=>"Google 📈", 'url'=>"https://www.google.com.iq/search?q=$txt"],
],
[
['text'=>"Youtube 🎥", 'url'=>"https://m.youtube.com/results?q=$txt&sm=3"],
],
[
['text'=>"instagram 📯", 'url'=>"https://www.instagram.com/$txt"],
],

[
['text'=>"Telegram 📪", 'url'=>"https://www.telegram.me/$txt"],
],
[
['text'=>"Github 🐱", 'url'=>"https://github.com/search?utf8=✓&q=$txt"],
],
]
])
]);
}


#توجيه_فقط
- كود الاشتراك الاجباري♥️📌
- تخلي قبل شرط /start 💗🌝


$ch = "معرف قناتك";
$join = file_get_contents("https://api.telegram.org/bot".API_KEY."/getChatMember?chat_id=$ch&user_id=".$from_id);
if($message && (strpos($join,'"status":"left"') or strpos($join,'"Bad Request: USER_ID_INVALID"') or strpos($join,'"status":"kicked"'))!== false){
bot('sendMessage', [
'chat_id'=>$chat_id,
'text'=>"كليشه الاشتراك",
]);return false;}



#توجيه_فقط
if($text=="رتبتي" and $you == "creator"){
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"🎫¦ رتبتك » المنشىء 🏌🏻
🌿
",
'reply_to_message_id'=>$message->message_id,
]);
}
if($text=="رتبتي" and $you == "administrator"){
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"🎫¦ رتبتك » ادمن في البوت 🎖
🌿",
'reply_to_message_id'=>$message->message_id,
]);
}
if($text=="رتبتي" and $you == "member"){
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"🎫¦ رتبتك » فقط عضو 🙍🏼‍♂️
🌿",
'reply_to_message_id'=>$message->message_id,
]);
}


| كـود رتبتي 🚸

لـ بوتات حمايه فقط 👋🏿اذا جان بوتك غير حمايه وبي كود موقعي عادي ضيفه يصير 🎓

#هدوء
$new = array('هله اجه الكروب كله يرحب بي 💋',
'لضل صنم رحمه للكعبه احجي سولف اني اسولف وياك 🤗❤️',
'نورت الكروب 💋',
"هله بريحه هلي بكروبنه $title",
'ضويت الكروب شمعه ❤️',
'الجه الزين كله 💋',
'هلا بيك حبيبي نورت 🌝',
'نورت كلبي 💋',
'صير حباب ولضل ثكيل 🤷🏼‍♀️',
'❤️ نورتنه يروح عمتك ☺️',
'صير خوش عضو بالكروب ترا اطردك 🙃',
'نـَْﮩْْ❀ُུـَ❀﴿💡﴾ـۖؐـورتـ❥',
'مٰ̲ہٰٰنہٰٰوِٰڕٰ حہٰٰبྀ̲ہ؏ۤـٖٓہٰٰمٰ̲ہٰٰڕٰيِٰہٰٰ┊※🌝️‘’💛',);
$reply_new = array_rand($new, 1);


| كود يرحب بـ يدخل للكروب 👋🏻

| يرحب ب اكثر من رد مثل مموجود فوك 👆🏿 تكدر تغير ترحيبات وتضيفله بعد هم 🛰

|هـدوء
$msgs = json_decode(file_get_contents('msgs.json'),true);
$update = json_decode(file_get_contents('php://input'));
$message = $update->message;
$text = $message->text;
$chat_id = $message->chat->id;
$from_id = $message->from->id;
if($message){
$msgs['msgs'][$chat_id][$from_id] = ($msgs['msgs'][$chat_id][$from_id]+1);
file_put_contents('msgs.json', json_encode($msgs));}
if($text == "msg" or $text == "رسائلي"){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>' 〈🔖عدد رسائلك هيه 〉
〈 💁‍♂ ┇ $re_user 〉' .$msgs['msgs'][$chat_id][$from_id],]);}



كود عدد رسائلي▪️
الامر ( رسائلي) او( msg ) 💬.....
.
- كود شتراك اجباري + العضو من يشترك بلقناة البوت يبلغلك📌♥️،

$username = $update->message->from->username;
$reply = $message->reply_to_message->message_id;
$list = file_get_contents("blocklist.txt");
$rep = $message->reply_to_message->forward_from;
$id = $rep->id;
$ch = "@BoTs0";
$sudo = 500144557;
$join = file_get_contents("https://api.telegram.org/bot".API_KEY."/getChatMember?chat_id=$ch&user_id=".$from_id);
if($message && (strpos($join,'"status":"left"') or strpos($join,'"Bad Request: USER_ID_INVALID"') or strpos($join,'"status":"kicked"'))!== false){
bot('sendMessage', [
'chat_id'=>$chat_id,
'text'=>"🚸• اشترك اولا،
@BoTs0",
]);
bot("sendmessage",[
"chat_id"=>$sudo,
"text"=>"- العضو قام بألاشتراك في قناة البوت ، 📌
- معلومات العضو الذي قام بألاشتراك ؛

• الاسم ؛ $name
• الايدي ؛ $from_id
• المعرف ؛ @$username
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎ ",
]);
die('مشيولي');
}


#توجيه_فقط
$rdod = json_decode(file_get_contents("rep.json"),true);
if(preg_match("/^(اضف)(.*)/",$text)){
$text = str_replace("اضف ","",$text);
$text = explode("\n",$text);
bot("sendMessage",[
"chat_id"=>$chat_id,
"text"=>"تم اضافة الرد بنجاح ❤️✔️"
]);
$rdod[$text[0]] = $text[1]; file_put_contents(")"rep.json",json_encode($rdod));
}
foreach($rdod as $key => $val){
if($text == $key){
bot("sendMessage",[
"chat_id"=>$chat_id,
"text"=>$rdod[$key],
"reply_to_message_id"=>$message->message_id,
]);
}


| كـود اضف رد 🚠

| ضيفه لـ اي بوت عدك 📥

| هـدوء
ججمـعهہ مـبآرگة ♥️
آلهہم صـلي ع مـحمـد وآلهہ مـحمـد
آسـتغفرآللهہ آلعضـيم 💙🙏