message)){ $message = $update->message; $from_id = $update->message->from->id; $chat_id = $update->message->chat->id; $first_name = $update->message->from->first_name; $tc = $update->message->chat->type; $text = $update->message->text; $first_name = $update->message->from->first_name; $message_id = $update->message->message_id; }elseif(isset($update->callback_query)){ $chat_id = $update->callback_query->message->chat->id; $data = $update->callback_query->data; $query_id = $update->callback_query->id; $message_id = $update->callback_query->message->message_id; $in_text = $update->callback_query->message->text; $from_id = $update->callback_query->from->id; } #-----------------------------# function bot($method,$datas=[]){ $url = "https://api.telegram.org/bot".API_KEY."/".$method; $ch = curl_init(); curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch,CURLOPT_RETURNTRANSFER,true); curl_setopt($ch,CURLOPT_POSTFIELDS,$datas); $res = curl_exec($ch); if(curl_error($ch)){ var_dump(curl_error($ch)); }else{ return json_decode($res); } } #-----------------------------# function sendmessage($chat_id,$text,$keyboard = null) { bot('sendMessage',[ 'chat_id' => $chat_id, 'text' => $text, 'parse_mode' => "HTML", 'disable_web_page_preview' => true, 'reply_markup' => $keyboard ]); } #-----------------------------# function deleteDirectory($dir) { if (!file_exists($dir)) { return true; } if (!is_dir($dir)) { return unlink($dir); } foreach (scandir($dir) as $item) { if ($item == '.' || $item == '..') { continue; } if (!deleteDirectory($dir . DIRECTORY_SEPARATOR . $item)) { return false; } } return rmdir($dir); } #-----------------------------# if(!is_dir("data")){ mkdir("data"); } if(!is_dir("data/user")){ mkdir("data/user"); } if(!is_dir("data/code")){ mkdir("data/code"); } if(!is_dir("data/vpn")){ mkdir("data/vpn"); } if(!is_dir("data/vpn/v2ray")){ mkdir("data/vpn/v2ray"); } if(!is_dir("data/vpn/ex1")){ mkdir("data/vpn/ex1"); } if(!is_dir("data/vpn/ex2")){ mkdir("data/vpn/ex2"); } if(!is_dir("data/vpn/ex3")){ mkdir("data/vpn/ex3"); } if(!is_dir("data/vpn/ex4")){ mkdir("data/vpn/ex4"); } if(!is_dir("data/vpn/ex5")){ mkdir("data/vpn/ex5"); } if(!is_dir("data/vpn/ex6")){ mkdir("data/vpn/ex6"); } if(!is_dir("data/vpn/ex7")){ mkdir("data/vpn/ex7"); } if(!is_dir("data/vpn/ex8")){ mkdir("data/vpn/ex8"); } if(!is_dir("data/vpn/ex9")){ mkdir("data/vpn/ex9"); } if(!is_dir("data/vpn/ex10")){ mkdir("data/vpn/ex10"); } if(!is_dir("data/vpn/ex11")){ mkdir("data/vpn/ex11"); } if(!is_dir("data/vpn/ex12")){ mkdir("data/vpn/ex12"); } if(!is_dir("data/vpn/ex13")){ mkdir("data/vpn/ex13"); } if(!is_dir("data/vpn/ex14")){ mkdir("data/vpn/ex14"); } if(!is_dir("data/vpn/ex15")){ mkdir("data/vpn/ex15"); } if(!is_dir("data/vpn/ex16")){ mkdir("data/vpn/ex16"); } if(!is_dir("data/vpn/ex17")){ mkdir("data/vpn/ex17"); } if(!is_dir("data/vpn/ex18")){ mkdir("data/vpn/ex18"); } if(!is_dir("data/vpn/ex19")){ mkdir("data/vpn/ex19"); } if(!is_dir("data/vpn/ex20")){ mkdir("data/vpn/ex20"); } if(!is_dir("data/vpn/ex21")){ mkdir("data/vpn/ex21"); } if(!is_dir("data/vpn/ex22")){ mkdir("data/vpn/ex22"); } if(!is_dir("data/vpn/ex23")){ mkdir("data/vpn/ex23"); } if(!is_dir("data/vpn/ex24")){ mkdir("data/vpn/ex24"); } if(!is_dir("data/user/$from_id")){ mkdir("data/user/$from_id"); } if(!is_dir("data/vpn/extestacc")){ mkdir("data/vpn/extestacc"); } if(!is_dir("data/user/$from_id/vpn")){ mkdir("data/user/$from_id/vpn"); } if(!is_dir("data/user/$from_id/vpn/extestacc")){ mkdir("data/user/$from_id/vpn/extestacc"); } if(!is_dir("data/user/$from_id/vpn/ex1")){ mkdir("data/user/$from_id/vpn/ex1"); } if(!is_dir("data/user/$from_id/vpn/ex2")){ mkdir("data/user/$from_id/vpn/ex2"); } if(!is_dir("data/user/$from_id/vpn/ex3")){ mkdir("data/user/$from_id/vpn/ex3"); } if(!is_dir("data/user/$from_id/vpn/ex4")){ mkdir("data/user/$from_id/vpn/ex4"); } if(!is_dir("data/user/$from_id/vpn/ex5")){ mkdir("data/user/$from_id/vpn/ex5"); } if(!is_dir("data/user/$from_id/vpn/ex6")){ mkdir("data/user/$from_id/vpn/ex6"); } if(!is_dir("data/user/$from_id/vpn/ex7")){ mkdir("data/user/$from_id/vpn/ex7"); } if(!is_dir("data/user/$from_id/vpn/ex8")){ mkdir("data/user/$from_id/vpn/ex8"); } if(!is_dir("data/user/$from_id/vpn/ex9")){ mkdir("data/user/$from_id/vpn/ex9"); } if(!is_dir("data/user/$from_id/vpn/ex10")){ mkdir("data/user/$from_id/vpn/ex10"); } if(!is_dir("data/user/$from_id/vpn/ex11")){ mkdir("data/user/$from_id/vpn/ex11"); } if(!is_dir("data/user/$from_id/vpn/ex12")){ mkdir("data/user/$from_id/vpn/ex12"); } if(!is_dir("data/user/$from_id/vpn/ex13")){ mkdir("data/user/$from_id/vpn/ex13"); } if(!is_dir("data/user/$from_id/vpn/ex14")){ mkdir("data/user/$from_id/vpn/ex14"); } if(!is_dir("data/user/$from_id/vpn/ex15")){ mkdir("data/user/$from_id/vpn/ex15"); } if(!is_dir("data/user/$from_id/vpn/ex16")){ mkdir("data/user/$from_id/vpn/ex16"); } if(!is_dir("data/user/$from_id/vpn/ex17")){ mkdir("data/user/$from_id/vpn/ex17"); } if(!is_dir("data/user/$from_id/vpn/ex18")){ mkdir("data/user/$from_id/vpn/ex18"); } if(!is_dir("data/user/$from_id/vpn/ex19")){ mkdir("data/user/$from_id/vpn/ex19"); } if(!is_dir("data/user/$from_id/vpn/ex20")){ mkdir("data/user/$from_id/vpn/ex20"); } if(!is_dir("data/user/$from_id/vpn/ex21")){ mkdir("data/user/$from_id/vpn/ex21"); } if(!is_dir("data/user/$from_id/vpn/ex22")){ mkdir("data/user/$from_id/vpn/ex22"); } if(!is_dir("data/user/$from_id/vpn/ex23")){ mkdir("data/user/$from_id/vpn/ex23"); } if(!is_dir("data/user/$from_id/vpn/ex24")){ mkdir("data/user/$from_id/vpn/ex24"); } if(!file_exists("data/user/$from_id/coin.txt")){ file_put_contents("data/user/$from_id/coin.txt", "10000"); #جایزه وجود به ربات برای اولین بار } if(!file_exists("data/user/$from_id/testacc.txt")){ file_put_contents("data/user/$from_id/testacc.txt", "no"); # وضعیت دریافت اکانت تست } if(!file_exists("data/helpcont")){ file_put_contents("data/helpcont", "😑متن راهنما تنظیم نشده است !"); } if(!file_exists("data/ex")){ file_put_contents("data/ex", "0"); } if(!file_exists("data/v2ray")){ file_put_contents("data/v2ray", "0"); } if(!file_exists("data/osm")){ file_put_contents("data/osm", "خاموش"); } if(!file_exists("data/channel")){ file_put_contents("data/channel", "none"); } #-----------------------------# $allmmber = scandir ("data/user"); #-----------------------------# $step = file_get_contents ("data/user/$from_id/step.txt"); $coin = file_get_contents ("data/user/$from_id/coin.txt"); $sendprivacy = file_get_contents ("data/user/$from_id/sendprivacy.txt"); $extest = file_get_contents ("data/user/$from_id/testacc.txt"); $helpcont = file_get_contents ("data/helpcont"); $cart = file_get_contents ("data/cart"); $o = "🔘 بازگشت"; $oo = "🔘 برگشت"; $channel = file_get_contents ("data/channel"); $truechannel = json_decode(file_get_contents("https://api.telegram.org/bot$token/getChatMember?chat_id=@$channel&user_id=".$from_id)); $tch = $truechannel->result->status; $pooyaosm = file_get_contents ("data/osm"); #-----------------------------# #-----------------------------# $ex1 = file_get_contents ("data/ex1"); $ex2 = file_get_contents ("data/ex2"); $ex3 = file_get_contents ("data/ex3"); $ex4 = file_get_contents ("data/ex4"); $ex5 = file_get_contents ("data/ex5"); $ex6 = file_get_contents ("data/ex6"); $ex7 = file_get_contents ("data/ex7"); $ex8 = file_get_contents ("data/ex8"); $ex9 = file_get_contents ("data/ex9"); $ex10 = file_get_contents ("data/ex10"); $ex11 = file_get_contents ("data/ex11"); $ex12 = file_get_contents ("data/ex12"); $ex13 = file_get_contents ("data/ex13"); $ex14 = file_get_contents ("data/ex14"); $ex15 = file_get_contents ("data/ex15"); $ex16 = file_get_contents ("data/ex16"); $ex17 = file_get_contents ("data/ex17"); $ex18 = file_get_contents ("data/ex18"); $ex19 = file_get_contents ("data/ex19"); $ex20 = file_get_contents ("data/ex20"); $ex21 = file_get_contents ("data/ex21"); $ex22 = file_get_contents ("data/ex22"); $ex23 = file_get_contents ("data/ex23"); $ex24 = file_get_contents ("data/ex24"); #-----------------------------# #-----------------------------# $key1 = json_encode(['keyboard'=>[ [['text'=>"🚀 خرید سرویس جدید"]], [['text'=>"👨🏼‍💻 حساب کاربری"],['text'=>"[🎊] کد هدیه"],['text'=>"📡 سرویس ها"]], [['text'=>"💰 افزایش موجودی"],['text'=>"🧬 آموزش اتصال"]], [['text'=>"👤 ارتباط با ما"],['text'=>"🎁 اکانت تست"]], ], 'input_field_placeholder'=>"Zarin Robot", 'resize_keyboard' =>false]); $key2 = json_encode(['keyboard'=>[ [['text'=>"🇩🇪 سرور آلمان"],['text'=>"🇺🇸 سرور آمریکا"]], //[['text'=>"🇦🇹 سرور اتریش"],['text'=>"🇹🇷 سرور ترکیه"]], [['text'=>"🇫🇷 سرور فرانسه"],['text'=>"🇳🇱 سرور هلند"]], [['text'=>"$o"]], ], 'input_field_placeholder'=>"Zarin Robot", 'resize_keyboard' =>false]); $keyaddconfig = json_encode(['keyboard'=>[ [['text'=>"🇩🇪 سرور آلمان"],['text'=>"🇺🇸 سرور آمریکا"]], //[['text'=>"🇦🇹 سرور اتریش"],['text'=>"🇹🇷 سرور ترکیه"]], [['text'=>"🇫🇷 سرور فرانسه"],['text'=>"🇳🇱 سرور هلند"]], [['text'=>"🎁 اکانت تست"]], [['text'=>"$o"]], ], 'input_field_placeholder'=>"Zarin Robot", 'resize_keyboard' =>false]); $keyDE = json_encode(['keyboard'=>[ [['text'=>"🇩🇪 یک ماهه"],['text'=>"🇩🇪 سه ماهه"]], [['text'=>"🇩🇪 شش ماهه"],['text'=>"🇩🇪 یک ساله"]], [['text'=>"$o"]], ], 'input_field_placeholder'=>"Zarin Robot", 'resize_keyboard' =>false]); $keyUS = json_encode(['keyboard'=>[ [['text'=>"🇺🇸 یک ماهه"],['text'=>"🇺🇸 سه ماهه"]], [['text'=>"🇺🇸 شش ماهه"],['text'=>"🇺🇸 یک ساله"]], [['text'=>"$o"]], ], 'input_field_placeholder'=>"Zarin Robot", 'resize_keyboard' =>false]); $keyAT = json_encode(['keyboard'=>[ [['text'=>"🇦🇹 یک ماهه"],['text'=>"🇦🇹 سه ماهه"]], [['text'=>"🇦🇹 شش ماهه"],['text'=>"🇦🇹 یک ساله"]], [['text'=>"$o"]], ], 'input_field_placeholder'=>"Zarin Robot", 'resize_keyboard' =>false]); $keyTR = json_encode(['keyboard'=>[ [['text'=>"🇹🇷 یک ماهه"],['text'=>"🇹🇷 سه ماهه"]], [['text'=>"🇹🇷 شش ماهه"],['text'=>"🇹🇷 یک ساله"]], [['text'=>"$o"]], ], 'input_field_placeholder'=>"Zarin Robot", 'resize_keyboard' =>false]); $keyFR = json_encode(['keyboard'=>[ [['text'=>"🇫🇷 یک ماهه"],['text'=>"🇫🇷 سه ماهه"]], [['text'=>"🇫🇷 شش ماهه"],['text'=>"🇫🇷 یک ساله"]], [['text'=>"$o"]], ], 'input_field_placeholder'=>"Zarin Robot", 'resize_keyboard' =>false]); $keyNL = json_encode(['keyboard'=>[ [['text'=>"🇳🇱 یک ماهه"],['text'=>"🇳🇱 سه ماهه"]], [['text'=>"🇳🇱 شش ماهه"],['text'=>"🇳🇱 یک ساله"]], [['text'=>"$o"]], ], 'input_field_placeholder'=>"Zarin Robot", 'resize_keyboard' =>false]); #------------------------------# $keyDEadd = json_encode(['keyboard'=>[ [['text'=>"🇩🇪 یک ماهه"],['text'=>"🇩🇪 سه ماهه"]], [['text'=>"🇩🇪 شش ماهه"],['text'=>"🇩🇪 یک ساله"]], [['text'=>"$o"]], ], 'input_field_placeholder'=>"Zarin Robot", 'resize_keyboard' =>false]); $keyUSadd = json_encode(['keyboard'=>[ [['text'=>"🇺🇸 یک ماهه"],['text'=>"🇺🇸 سه ماهه"]], [['text'=>"🇺🇸 شش ماهه"],['text'=>"🇺🇸 یک ساله"]], [['text'=>"$o"]], ], 'input_field_placeholder'=>"Zarin Robot", 'resize_keyboard' =>false]); $keyATadd = json_encode(['keyboard'=>[ [['text'=>"🇦🇹 یک ماهه"],['text'=>"🇦🇹 سه ماهه"]], [['text'=>"🇦🇹 شش ماهه"],['text'=>"🇦🇹 یک ساله"]], [['text'=>"$o"]], ], 'input_field_placeholder'=>"Zarin Robot", 'resize_keyboard' =>false]); $keyTRadd = json_encode(['keyboard'=>[ [['text'=>"🇹🇷 یک ماهه"],['text'=>"🇹🇷 سه ماهه"]], [['text'=>"🇹🇷 شش ماهه"],['text'=>"🇹🇷 یک ساله"]], [['text'=>"$o"]], ], 'input_field_placeholder'=>"Zarin Robot", 'resize_keyboard' =>false]); $keyFRadd = json_encode(['keyboard'=>[ [['text'=>"🇫🇷 یک ماهه"],['text'=>"🇫🇷 سه ماهه"]], [['text'=>"🇫🇷 شش ماهه"],['text'=>"🇫🇷 یک ساله"]], [['text'=>"$o"]], ], 'input_field_placeholder'=>"Zarin Robot", 'resize_keyboard' =>false]); $keyNLadd = json_encode(['keyboard'=>[ [['text'=>"🇳🇱 یک ماهه"],['text'=>"🇳🇱 سه ماهه"]], [['text'=>"🇳🇱 شش ماهه"],['text'=>"🇳🇱 یک ساله"]], [['text'=>"$o"]], ], 'input_field_placeholder'=>"Zarin Robot", 'resize_keyboard' =>false]); #------------------------------# $back = json_encode(['keyboard'=>[ [['text'=>"$o"]], ], 'input_field_placeholder'=>"Zarin Robot", 'resize_keyboard' =>false]); $key3 = json_encode(['keyboard'=>[ [['text'=>"➕ افزودن وی پی ان"],['text'=>"📊 وضعیت ربات"]], [['text'=>"🔑 خدمات ارسال"],['text'=>"❌ حذف کل اکانتها"]], [['text'=>"ℹ سایر خدمات"],['text'=>"💳 تنظیمات مالی"]], [['text'=>"⚙ تنظیمات مدیریتی"]], ], 'input_field_placeholder'=>"Zarin Robot", 'resize_keyboard' =>false]); $key4 = json_encode(['keyboard'=>[ [['text'=>"افزودن اکسپرس"],['text'=>"افزودن کانفیگ"]], [['text'=>"$oo"]], ], 'input_field_placeholder'=>"Zarin Robot", 'resize_keyboard' =>false]); $bk = json_encode(['keyboard'=>[ [['text'=>"$oo"]], ], 'input_field_placeholder'=>"Zarin Robot", 'resize_keyboard' =>false]); $key5 = json_encode(['keyboard'=>[ [['text'=>"♧ تنظیم متن راهنمای اتصال"]], [['text'=>"🎺 تنظیمات کانال"],['text'=>"$oo"]], ],'resize_keyboard' =>false]); $key6 = json_encode(['keyboard'=>[ [['text'=>"🔐 پیام خصوصی"]], [['text'=>"📥 فوروارد همگانی"],['text'=>"📤 ارسال همگانی"]], [['text'=>"$oo"]], ],'resize_keyboard' =>false]); $key7 = json_encode(['keyboard'=>[ //[['text'=>"تنظیمات درگاه پرداخت"]], [['text'=>"💳 ثبت شماره کارت"],['text'=>"💰 تعیین قیمت"]], [['text'=>"➖ کاهش پول"],['text'=>"➕ افزایش پول"]], [['text'=>"$oo"]], ],'resize_keyboard' =>false]); $key8 = json_encode(['keyboard'=>[ [['text'=>"💵 پول همگانی"]], [['text'=>"🏵ساخت کد هدیه"]], [['text'=>"$oo"]], ],'resize_keyboard' =>false]); #-----------------------------# $keyup = json_encode(['inline_keyboard' => [ [['text' =>"Robot update",'callback_data'=>"/start"]], [['text' =>"آپدیت ربات",'callback_data'=>"/start"]], ]]); #-----------------------------# #-----------------------------# if ($pooyaosm == "روشن"){ if($tch != 'member' && $tch != 'creator' && $tch != 'administrator' && $chat_id != $dev){ bot('sendmessage', [ 'chat_id' => $chat_id, 'text' => " ▫️شما در کانال اسپانسر عضو نیستید ⚜️ ◼️عضو شوید و سپس /start را بفرستید", 'parse_mode' => "html", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "@$channel", 'url' => "https://telegram.me/$channel"] ], ] ]) ]); exit(); }} #-----------------------------# if($text == "/start" || $text == $o){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ▪︎ سلام $first_name عزیز به ربات فروش وی پی ان ما خوش آمدی : ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); /*bot('sendMessage',[ 'chat_id'=>$dev, 'text'=>"سلام ادمین عزیز $dev [🌵] یک کاربر ربات فروش فیلتر شکن $namebot را استارت کرد [🌹] ایدی عددی [😎]: $from_id ایدی تلگرام [🙂]: @$username نام حساب کاربر [🍀]: $first_name", ]);*/ file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# /*if($text == "🚀 خرید سرویس جدید"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ لطفا سرویس مورد نظرتون رو انتخاب کنید : 💳 قیمت کانفیگ V2rayNG |🌵| : $v2ray 💳 قیمت اکسپرس وی پی ان : ناموجود ", 'reply_markup'=>$key2, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); }*/ #-----------------------------# if($text == "📡 سرویس ها"){ $scan1 = scandir ("data/vpn/ex1"); $scan1_1 = count ($scan1) - 2; $scan2 = scandir ("data/vpn/ex2"); $scan2_2 = count ($scan2) - 2; $scan3 = scandir ("data/vpn/ex3"); $scan3_3 = count ($scan3) - 2; $scan4 = scandir ("data/vpn/ex4"); $scan4_4 = count ($scan4) - 2; $scan5 = scandir ("data/vpn/ex5"); $scan5_5= count ($scan5) - 2; $scan6 = scandir ("data/vpn/ex6"); $scan6_6 = count ($scan6) - 2; $scan7 = scandir ("data/vpn/ex7"); $scan7_7 = count ($scan7) - 2; $scan8 = scandir ("data/vpn/ex8"); $scan8_8 = count ($scan8) - 2; $scan9 = scandir ("data/vpn/ex9"); $scan9_9 = count ($scan9) - 2; $scan10 = scandir ("data/vpn/ex10"); $scan10_10 = count ($scan10) - 2; $scan11 = scandir ("data/vpn/ex11"); $scan11_11 = count ($scan11) - 2; $scan12 = scandir ("data/vpn/ex12"); $scan12_12 = count ($scan12) - 2; $scan13 = scandir ("data/vpn/ex13"); $scan13_13 = count ($scan13) - 2; $scan14 = scandir ("data/vpn/ex14"); $scan14_14 = count ($scan14) - 2; $scan15 = scandir ("data/vpn/ex15"); $scan15_15 = count ($scan15) - 2; $scan16 = scandir ("data/vpn/ex16"); $scan16_16 = count ($scan16) - 2; $scan17 = scandir ("data/vpn/ex17"); $scan17_17= count ($scan17) - 2; $scan18 = scandir ("data/vpn/ex18"); $scan18_18 = count ($scan18) - 2; $scan19 = scandir ("data/vpn/ex19"); $scan19_19 = count ($scan19) - 2; $scan20 = scandir ("data/vpn/ex20"); $scan20_20 = count ($scan20) - 2; $scan21 = scandir ("data/vpn/ex21"); $scan21_21 = count ($scan21) - 2; $scan22 = scandir ("data/vpn/ex22"); $scan22_22 = count ($scan22) - 2; $scan23 = scandir ("data/vpn/ex23"); $scan23_23= count ($scan23) - 2; $scan24 = scandir ("data/vpn/ex24"); $scan24_24 = count ($scan24) - 2; $keyom = json_encode(['inline_keyboard' => [ [['text' =>"تعداد سرویس",'callback_data'=>"a"],['text'=>"قیمت",'callback_data'=>"a"],['text' =>"نام سرویس",'callback_data'=>"a"]], [['text' =>"$scan1_1",'callback_data'=>"a"],['text'=>"$ex1",'callback_data'=>"a"],['text' =>"🇩🇪 یک ماهه",'callback_data'=>"a"]], [['text' =>"$scan2_2",'callback_data'=>"a"],['text'=>"$ex2",'callback_data'=>"a"],['text' =>"🇩🇪 سه ماهه",'callback_data'=>"a"]], [['text' =>"$scan3_3",'callback_data'=>"a"],['text'=>"$ex3",'callback_data'=>"a"],['text' =>"🇩🇪 شش ماهه",'callback_data'=>"a"]], [['text' =>"$scan4_4",'callback_data'=>"a"],['text'=>"$ex4",'callback_data'=>"a"],['text' =>"🇩🇪 یک ساله",'callback_data'=>"a"]], [['text' =>"$scan5_5",'callback_data'=>"a"],['text'=>"$ex5",'callback_data'=>"a"],['text' =>"🇺🇸 یک ماهه",'callback_data'=>"a"]], [['text' =>"$scan6_6",'callback_data'=>"a"],['text'=>"$ex6",'callback_data'=>"a"],['text' =>"🇺🇸 سه ماهه",'callback_data'=>"a"]], [['text' =>"$scan7_7",'callback_data'=>"a"],['text'=>"$ex7",'callback_data'=>"a"],['text' =>"🇺🇸 شش ماهه",'callback_data'=>"a"]], [['text' =>"$scan8_8",'callback_data'=>"a"],['text'=>"$ex8",'callback_data'=>"a"],['text' =>"🇺🇸 یک ساله",'callback_data'=>"a"]], /*[['text' =>"$scan9_9",'callback_data'=>"a"],['text'=>"$ex9",'callback_data'=>"a"],['text' =>"🇦🇹 یک ماهه",'callback_data'=>"a"]], [['text' =>"$scan10_10",'callback_data'=>"a"],['text'=>"$ex10",'callback_data'=>"a"],['text' =>"🇦🇹 سه ماهه",'callback_data'=>"a"]], [['text' =>"$scan11_11",'callback_data'=>"a"],['text'=>"$ex11",'callback_data'=>"a"],['text' =>"🇦🇹 شش ماهه",'callback_data'=>"a"]], [['text' =>"$scan12_12",'callback_data'=>"a"],['text'=>"$ex12",'callback_data'=>"a"],['text' =>"🇦🇹 یک ساله",'callback_data'=>"a"]], [['text' =>"$scan13_13",'callback_data'=>"a"],['text'=>"$ex13",'callback_data'=>"a"],['text' =>"🇹🇷 یک ماهه",'callback_data'=>"a"]], [['text' =>"$scan14_14",'callback_data'=>"a"],['text'=>"$ex14",'callback_data'=>"a"],['text' =>"🇹🇷 سه ماهه",'callback_data'=>"a"]], [['text' =>"$scan15_15",'callback_data'=>"a"],['text'=>"$ex15",'callback_data'=>"a"],['text' =>"🇹🇷 شش ماهه",'callback_data'=>"a"]], [['text' =>"$scan16_16",'callback_data'=>"a"],['text'=>"$ex16",'callback_data'=>"a"],['text' =>"🇹🇷 یک ساله",'callback_data'=>"a"]],*/ [['text' =>"$scan17_17",'callback_data'=>"a"],['text'=>"$ex17",'callback_data'=>"a"],['text' =>"🇫🇷 یک ماهه",'callback_data'=>"a"]], [['text' =>"$scan18_18",'callback_data'=>"a"],['text'=>"$ex18",'callback_data'=>"a"],['text' =>"🇫🇷 سه ماهه",'callback_data'=>"a"]], [['text' =>"$scan19_19",'callback_data'=>"a"],['text'=>"$ex19",'callback_data'=>"a"],['text' =>"🇫🇷 شش ماهه",'callback_data'=>"a"]], [['text' =>"$scan20_20",'callback_data'=>"a"],['text'=>"$ex20",'callback_data'=>"a"],['text' =>"🇫🇷 یک ساله",'callback_data'=>"a"]], [['text' =>"$scan21_21",'callback_data'=>"a"],['text'=>"$ex21",'callback_data'=>"a"],['text' =>"🇳🇱 یک ماهه",'callback_data'=>"a"]], [['text' =>"$scan22_22",'callback_data'=>"a"],['text'=>"$ex22",'callback_data'=>"a"],['text' =>"🇳🇱 سه ماهه",'callback_data'=>"a"]], [['text' =>"$scan23_23",'callback_data'=>"a"],['text'=>"$ex23",'callback_data'=>"a"],['text' =>"🇳🇱 شش ماهه",'callback_data'=>"a"]], [['text' =>"$scan24_24",'callback_data'=>"a"],['text'=>"$ex24",'callback_data'=>"a"],['text' =>"🇳🇱 یک ساله",'callback_data'=>"a"]], ]]); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🎴 وضعیت سرویس های وی پی ان و همچنین قیمت های آنها به شرح ذیل می باشد :", 'reply_markup'=>$keyom, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# /* $ex1_1 = number_format($ex1); $ex2_2 = number_format($ex2); $ex3_3 = number_format($ex3); $ex4_4 = number_format($ex4); $ex5_5 = number_format($ex5); $ex6_6 = number_format($ex6); if($text == "کانفیگ حجمی"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔻 یکی از پلن های کانفیگ حجمی رو در زیر انتخاب نمایید 💰قیمت 5 گیگ :ناموجود 💰قیمت 10 گیگ :ناموجود 💰قیمت 15 گیگ : $ex3_3 تومان 💰قیمت 30 گیگ : $ex4_4 تومان 💰قیمت 50 گیگ : $ex5_5 تومان 💰قیمت 100 گیگ : ناموجود 📃توضیحات : ✅ این اکانت مناسب آپلود و دانلود و گشت و گذار ،تماشا و دانلود فایل، تماشا فیلم در Instagram،Whatsap ،شبکه های اجتماعی و است محدودیت اتصال این اکانت 1 دستگاه همزمان می باشد", 'reply_markup'=>$keyex, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); }*/ #-----------------------------# if($text == "🚀 خرید سرویس جدید"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ لطفا کشور مورد نظرتون رو انتخاب کنید : 💳 قیمت کانفیگ : کلیک کنید ", 'reply_markup'=>$key2, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇩🇪 سرور آلمان"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 🔻 یکی از پلن های کانفیگ نامحدود رو در زیر انتخاب نمایید 💰قیمت یک ماهه : $ex1 💰قیمت سه ماهه : $ex2 💰قیمت شش ماهه : $ex3 💰قیمت یک ساله : $ex4 📃توضیحات : ✅ این اکانت ها مناسب آپلود و دانلود و گشت و گذار ،تماشا و دانلود فایل، تماشا فیلم در Instagram،Whatsap ،شبکه های اجتماعی و... است. ", 'reply_markup'=>$keyDE, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇺🇸 سرور آمریکا"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 🔻 یکی از پلن های کانفیگ نامحدود رو در زیر انتخاب نمایید 💰قیمت یک ماهه : $ex5 💰قیمت سه ماهه : $ex6 💰قیمت شش ماهه : $ex7 💰قیمت یک ساله : $ex8 📃توضیحات : ✅ این اکانت ها مناسب آپلود و دانلود و گشت و گذار ،تماشا و دانلود فایل، تماشا فیلم در Instagram،Whatsap ،شبکه های اجتماعی و... است. ", 'reply_markup'=>$keyUS, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇦🇹 سرور اتریش"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 🔻 یکی از پلن های کانفیگ نامحدود رو در زیر انتخاب نمایید 💰قیمت یک ماهه : $ex9 💰قیمت سه ماهه : $ex10 💰قیمت شش ماهه : $ex11 💰قیمت یک ساله : $ex12 📃توضیحات : ✅ این اکانت ها مناسب آپلود و دانلود و گشت و گذار ،تماشا و دانلود فایل، تماشا فیلم در Instagram،Whatsap ،شبکه های اجتماعی و... است. ", 'reply_markup'=>$keyAT, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇹🇷 سرور ترکیه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 🔻 یکی از پلن های کانفیگ نامحدود رو در زیر انتخاب نمایید 💰قیمت یک ماهه : $ex13 💰قیمت سه ماهه : $ex14 💰قیمت شش ماهه : $ex15 💰قیمت یک ساله : $ex16 📃توضیحات : ✅ این اکانت ها مناسب آپلود و دانلود و گشت و گذار ،تماشا و دانلود فایل، تماشا فیلم در Instagram،Whatsap ،شبکه های اجتماعی و... است. ", 'reply_markup'=>$keyTR, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇫🇷 سرور فرانسه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 🔻 یکی از پلن های کانفیگ نامحدود رو در زیر انتخاب نمایید 💰قیمت یک ماهه : $ex17 💰قیمت سه ماهه : $ex18 💰قیمت شش ماهه : $ex19 💰قیمت یک ساله : $ex20 📃توضیحات : ✅ این اکانت ها مناسب آپلود و دانلود و گشت و گذار ،تماشا و دانلود فایل، تماشا فیلم در Instagram،Whatsap ،شبکه های اجتماعی و... است. ", 'reply_markup'=>$keyFR, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇳🇱 سرور هلند"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 🔻 یکی از پلن های کانفیگ نامحدود رو در زیر انتخاب نمایید 💰قیمت یک ماهه : $ex21 💰قیمت سه ماهه : $ex22 💰قیمت شش ماهه : $ex23 💰قیمت یک ساله : $ex24 📃توضیحات : ✅ این اکانت ها مناسب آپلود و دانلود و گشت و گذار ،تماشا و دانلود فایل، تماشا فیلم در Instagram،Whatsap ،شبکه های اجتماعی و... است. ", 'reply_markup'=>$keyNL, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# if($text == "🇩🇪 سرور آلمان"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 🔻 لطفا یکی از پلن هارو انتخاب کنید: ", 'reply_markup'=>$keyDEadd, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇺🇸 سرور آمریکا"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 🔻 لطفا یکی از پلن هارو انتخاب کنید: ", 'reply_markup'=>$keyUSadd, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇦🇹 سرور اتریش"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 🔻 لطفا یکی از پلن هارو انتخاب کنید: ", 'reply_markup'=>$keyATadd, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇹🇷 سرور ترکیه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 🔻 لطفا یکی از پلن هارو انتخاب کنید: ", 'reply_markup'=>$keyTRadd, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇫🇷 سرور فرانسه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 🔻 لطفا یکی از پلن هارو انتخاب کنید: ", 'reply_markup'=>$keyFRadd, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇳🇱 سرور هلند"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 🔻 لطفا یکی از پلن هارو انتخاب کنید: ", 'reply_markup'=>$keyNLadd, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# test Create V2Ray elseif($text == "🎁 اکانت تست"){ $scan = scandir ("data/vpn/extestacc"); $tv2ray = count ($scan) - 2; if($extest == "yes"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متاسفانه شما قبلا اکانت تست خود را دریافت نموده اید!", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); file_put_contents ("data/user/$from_id/testacc.txt","yes"); $scan = scandir("data/vpn/extestacc"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/extestacc/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/extestacc/acc.v2ray","$a"); unlink ("data/vpn/extestacc/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# Germany Create V2Ray elseif($text == "🇩🇪 یک ماهه"){ $scan = scandir ("data/vpn/ex1"); $tv2ray = count ($scan) - 2; if($coin < $ex1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex1; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex1"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex1/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex1/acc.v2ray","$a"); unlink ("data/vpn/ex1/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# elseif($text == "🇩🇪 سه ماهه"){ $scan = scandir ("data/vpn/ex2"); $tv2ray = count ($scan) - 2; if($coin < $ex2){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex2; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex2"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex2/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex2/acc.v2ray","$a"); unlink ("data/vpn/ex2/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# elseif($text == "🇩🇪 شش ماهه"){ $scan = scandir ("data/vpn/ex3"); $tv2ray = count ($scan) - 2; if($coin < $ex3){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex3; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex3"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex3/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex3/acc.v2ray","$a"); unlink ("data/vpn/ex3/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# elseif($text == "🇩🇪 یک ساله"){ $scan = scandir ("data/vpn/ex4"); $tv2ray = count ($scan) - 2; if($coin < $ex4){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex4; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex4"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex4/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex4/acc.v2ray","$a"); unlink ("data/vpn/ex4/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# USA Create V2Ray elseif($text == "🇺🇸 یک ماهه"){ $scan = scandir ("data/vpn/ex5"); $tv2ray = count ($scan) - 2; if($coin < $ex5){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex5; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex5"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex5/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex5/acc.v2ray","$a"); unlink ("data/vpn/ex5/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# elseif($text == "🇺🇸 سه ماهه"){ $scan = scandir ("data/vpn/ex6"); $tv2ray = count ($scan) - 2; if($coin < $ex6){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex6; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex6"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex6/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex6/acc.v2ray","$a"); unlink ("data/vpn/ex6/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# elseif($text == "🇺🇸 شش ماهه"){ $scan = scandir ("data/vpn/ex7"); $tv2ray = count ($scan) - 2; if($coin < $ex7){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex7; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex7"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex7/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex7/acc.v2ray","$a"); unlink ("data/vpn/ex7/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# elseif($text == "🇺🇸 یک ساله"){ $scan = scandir ("data/vpn/ex8"); $tv2ray = count ($scan) - 2; if($coin < $ex8){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex8; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex8"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex8/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex8/acc.v2ray","$a"); unlink ("data/vpn/ex8/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# AT Create V2Ray elseif($text == "🇦🇹 یک ماهه"){ $scan = scandir ("data/vpn/ex9"); $tv2ray = count ($scan) - 2; if($coin < $ex9){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex9; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex9"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex9/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex9/acc.v2ray","$a"); unlink ("data/vpn/ex9/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# elseif($text == "🇦🇹 سه ماهه"){ $scan = scandir ("data/vpn/ex10"); $tv2ray = count ($scan) - 2; if($coin < $ex10){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex10; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex10"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex10/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex10/acc.v2ray","$a"); unlink ("data/vpn/ex10/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# elseif($text == "🇦🇹 شش ماهه"){ $scan = scandir ("data/vpn/ex11"); $tv2ray = count ($scan) - 2; if($coin < $ex11){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex11; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex11"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex11/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex11/acc.v2ray","$a"); unlink ("data/vpn/ex11/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# elseif($text == "🇦🇹 یک ساله"){ $scan = scandir ("data/vpn/ex12"); $tv2ray = count ($scan) - 2; if($coin < $ex12){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex12; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex12"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex12/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex12/acc.v2ray","$a"); unlink ("data/vpn/ex12/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# TR Create V2Ray elseif($text == "🇹🇷 یک ماهه"){ $scan = scandir ("data/vpn/ex13"); $tv2ray = count ($scan) - 2; if($coin < $ex13){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex13; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex13"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex13/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex13/acc.v2ray","$a"); unlink ("data/vpn/ex13/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# elseif($text == "🇹🇷 سه ماهه"){ $scan = scandir ("data/vpn/ex14"); $tv2ray = count ($scan) - 2; if($coin < $ex14){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex14; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex14"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex14/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex14/acc.v2ray","$a"); unlink ("data/vpn/ex14/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# elseif($text == "🇹🇷 شش ماهه"){ $scan = scandir ("data/vpn/ex15"); $tv2ray = count ($scan) - 2; if($coin < $ex15){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex15; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex15"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex15/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex15/acc.v2ray","$a"); unlink ("data/vpn/ex15/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# elseif($text == "🇹🇷 یک ساله"){ $scan = scandir ("data/vpn/ex16"); $tv2ray = count ($scan) - 2; if($coin < $ex16){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex16; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex16"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex16/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex16/acc.v2ray","$a"); unlink ("data/vpn/ex16/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# FR Create V2Ray elseif($text == "🇫🇷 یک ماهه"){ $scan = scandir ("data/vpn/ex17"); $tv2ray = count ($scan) - 2; if($coin < $ex17){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex17; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex17"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex17/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex17/acc.v2ray","$a"); unlink ("data/vpn/ex17/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# elseif($text == "🇫🇷 سه ماهه"){ $scan = scandir ("data/vpn/ex18"); $tv2ray = count ($scan) - 2; if($coin < $ex18){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex18; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex18"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex18/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex18/acc.v2ray","$a"); unlink ("data/vpn/ex18/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# elseif($text == "🇫🇷 شش ماهه"){ $scan = scandir ("data/vpn/ex19"); $tv2ray = count ($scan) - 2; if($coin < $ex19){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex19; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex19"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex19/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex19/acc.v2ray","$a"); unlink ("data/vpn/ex19/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# elseif($text == "🇫🇷 یک ساله"){ $scan = scandir ("data/vpn/ex20"); $tv2ray = count ($scan) - 2; if($coin < $ex20){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex20; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex20"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex20/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex20/acc.v2ray","$a"); unlink ("data/vpn/ex20/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# NL Create V2Ray elseif($text == "🇳🇱 یک ماهه"){ $scan = scandir ("data/vpn/ex21"); $tv2ray = count ($scan) - 2; if($coin < $ex21){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex21; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex21"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex21/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex21/acc.v2ray","$a"); unlink ("data/vpn/ex21/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# elseif($text == "🇳🇱 سه ماهه"){ $scan = scandir ("data/vpn/ex22"); $tv2ray = count ($scan) - 2; if($coin < $ex22){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex22; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex22"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex22/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex22/acc.v2ray","$a"); unlink ("data/vpn/ex22/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# elseif($text == "🇳🇱 شش ماهه"){ $scan = scandir ("data/vpn/ex23"); $tv2ray = count ($scan) - 2; if($coin < $ex23){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex23; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex23"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex23/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex23/acc.v2ray","$a"); unlink ("data/vpn/ex23/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# elseif($text == "🇳🇱 یک ساله"){ $scan = scandir ("data/vpn/ex24"); $tv2ray = count ($scan) - 2; if($coin < $ex24){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $ex24; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/ex24"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/ex24/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/ex24/acc.v2ray","$a"); unlink ("data/vpn/ex24/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# /*elseif($text == "V2rayNG |🌵|"){ $scan = scandir ("data/vpn/v2ray"); $tv2ray = count ($scan) - 2; if($coin < $v2ray){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ متأسفانه موجودی شما جهت خرید این سرویس کافی نیست .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } if($tv2ray < 1){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "متاسفانه تعداد اکانت های این سرویس به اتمام رسیده است . لطفا بعدا مراجعه کنید .", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); exit(); } else{ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا کمی صبر کنید ربات درحال ساخت فیلتر شکن شما می باشد ...", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); sleep ('5'); $a = $coin - $v2ray; file_put_contents ("data/user/$from_id/coin.txt",$a); $scan = scandir("data/vpn/v2ray"); $random = $scan[rand(2, count($scan) - 1)]; $a = file_get_contents ("data/vpn/v2ray/$random"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ کانفیگ شما ساخته شد . `$a` ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/vpn/v2ray/acc.v2ray","$a"); unlink ("data/vpn/v2ray/$random"); file_put_contents ("data/user/$from_id/step.txt","none"); } }*/ #-----------------------------# #-----------------------------# if($text == "[🎊] کد هدیه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "👈 کد هدیه را وارد کنید :", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","okpopoa"); } elseif ($step == "okpopoa"and $text != $o){ $a = file_exists("data/code/$text"); if($text == $a){ $aa = file_get_contents ("data/code/$text"); $b = $coin + $aa; file_put_contents ("data/user/$from_id/coin.txt",$b); unlink ("data/code/$text"); sendmessage ($chat_id , "کد هدیه با موفقیت وارد شد و مبلغ $aa به حساب شما افزوده شد." , $back); file_put_contents ("data/user/$from_id/step.txt","none"); }else{ sendmessage ($chat_id , "کد هدیه اشتباه یا استفاده شده است."); file_put_contents ("data/user/$from_id/step.txt","none"); } } #-----------------------------# #-----------------------------# #-----------------------------# if($text == "🧬 آموزش اتصال"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "$helpcont", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# if($text == "👨🏼‍💻 حساب کاربری"){ /*$scan = scandir ("data/user/$from_id/vpn/v2ray"); $scan1 = scandir ("data/user/$from_id/vpn/ex"); $v2raybuy = count ($scan) - 2; $exbuy = count ($scan1) - 2;*/ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 📌 وضعیت کاربری شما در ربات ما : 🔢 شناسه عددی شما : `$chat_id` 💳 موجودی کل شما : *$coin تومان* ", 'reply_markup'=>$key1, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# if($text == "💰 افزایش موجودی"){ $rand = rand (1,9); $rand1 = rand (1,9); $a = $rand + $rand1; bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ♻️ لطفا جهت احراز هویت حاصل جمع زیر را وارد کنید : $rand + $rand1 = ? ", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/rand","$a"); file_put_contents ("data/user/$from_id/step.txt","rand"); } elseif($step == "rand" and $text != $o){ $b = file_get_contents ("data/user/$from_id/rand"); if($text != $b){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "❌ حاصل وارد شده اشتباه است . لطفا دوباره تلاش کنید و از اعداد انگلیسی استفاده کنید .", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","rand"); } else{ $keycart = json_encode(['inline_keyboard' => [ [['text' =>"ارسال رسید",'callback_data'=>"sendres"]], [['text' =>"هدیه روزانه",'callback_data'=>"coinfsree"]], [['text' =>"خرید مستقیم از طریق زرین پال",'callback_data'=>"zarin"]], ]]); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ احراز هویت با موفقیت انجام شد. 💳 برای شارژ حساب خود ابتدا مبلغ مورد نظر خود را به کارت زیر واریز کنید سپس از طریق دکمه ارسال رسید ، رسید بانکی را ارسال کنید . شماره کارت : `$cart` با کلیک روی شماره کارت به صورت خودکار برای شما کپی می شود . ", 'reply_markup'=>$keycart, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","card"); } } #--------------Noovix.ir---------------# if($data == "sendres"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅ لطفا عکس رسید را برای من ارسال کنید :", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","ovidsource"); } elseif($step == "ovidsource" and $text != $o){ $photo = $update->message->photo; $file_id = $update->message->photo[count($update->message->photo) - 1]->file_id; bot ('sendphoto',[ 'chat_id'=>$dev, 'photo'=>"$file_id", 'caption'=>" ✅ فرستاده شده توسط کاربر `$chat_id` ", 'parse_mode'=>"Markdown", ]); sendmessage ($chat_id,"رسید یا موفقیت ارسال شد ." , $key1); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# if($data == "coinfsree"){ $d = file_get_contents("data/user/$from_id/date.txt"); date_default_timezone_set('Asia/Tehran'); $t = date('Y/m/d'); if($d != $t){ $x = rand(500,1500); $coin += $x; file_put_contents("data/user/$from_id/coin.txt", $coin); file_put_contents("data/user/$from_id/date.txt", $t); bot('sendMessage',[ 'chat_id'=>$chat_id, 'text'=>" هدیه امروز شما $x سکه است |🎊| امید ادامه ما شمایید لطفا مارو حمایت کنید ", 'parse_mode'=>'html', 'reply_markup'=>json_encode([ 'inline_keyboard'=>[ ] ]) ]); }else{ bot('sendMessage',[ 'chat_id'=>$chat_id, 'text'=>"شما قبلا جایزه روزانتون رو دریافت کردید |😑|",'parse_mode'=>'MarkDown', ]); } } #-----------------------------# if($text == "👤 ارتباط با ما"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا سوال و یا مشکل خود را در قالب یک پیام ارسال نمایید و یا در صورت نیاز به پشتیبانی بیشتر به آیدی زیر پیام دهید : |🌵|: @$support", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","sendmes"); } elseif($step == "sendmes" and $text != $o){ $textmes = "✍ پیغام : $text ✅ فرستاده شده توسط کاربر `$chat_id` جهت ارسال پاسخ به کاربر وارد مسیر زیر در پنل شوید : 🔑 خدمات ارسال >> 🔐 پیام خصوصی"; if($text){ sendmessage ($dev , $textmes); sendmessage ($chat_id , "✅ پیام شما با موفقیت ارسال شد ‌."); file_put_contents ("data/user/$from_id/step.txt","none"); }else{ sendmessage ($chat_id , "🖊 شما فقط میتوانید متن ارسال کنید ."); } } #-----------------------------# if($text == "/support"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "لطفا سوال و یا مشکل خود را در قالب یک پیام ارسال نمایید و یا در صورت نیاز به پشتیبانی بیشتر به آیدی زیر پیام دهید : |🌵|: @$support", 'reply_markup'=>$back, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","sendmes1"); } elseif($step == "sendmes1" and $text != $o){ $textmes = "✍ پیغام : $text ✅ فرستاده شده توسط کاربر `$chat_id` "; if($text){ sendmessage ($dev , $textmes); sendmessage ($chat_id , "✅ پیام شما با موفقیت ارسال شد ‌."); file_put_contents ("data/user/$from_id/step.txt","none"); }else{ sendmessage ($chat_id , "🖊 شما فقط میتوانید متن ارسال کنید ."); } } #-----------------------------# if($data == 'zarin'){ if($onoffzarin == "off"){ bot('sendMessage',[ 'chat_id'=>$chat_id, 'text'=>"❌ این بخش از طرف مدیریت خاموش میباشد", 'parse_mode'=>"HTML", ]); } elseif($onoffzarin == "on"){ file_put_contents("data/user/$from_id/step.txt","zarinpal"); bot('sendmessage',[ 'chat_id'=>$chat_id, 'text'=>"💳 مبلغی که میخواهید شارژ کنید را به ریال وارد کنید", 'reply_to_message_id'=>$message_id, 'reply_markup'=>json_encode([ 'keyboard'=>[ [['text'=>$o]], ],'resize_keyboard'=>true, ]) ]); } } if($step == "zarinpal" and $text != $oo){ $keyzarin = json_encode(['inline_keyboard' => [ [['text'=>"💳 | پرداخت $text",'url'=>"$web/pay/index.php?amount=$text&id=$from_id&money=$coin"]], //[['text' =>"ارسال رسید",'url'=>"https://noovix.ir"]] ]]); bot('sendmessage',[ 'chat_id'=>$chat_id, 'text'=>"💳 درگاه پرداخت ساخته شد ✅ بعد پرداخت موجودی خودکار واریز میشود ⚠️ قبل از ورود به درگاه پرداخت فیلتر شکن خود را خاموش نمایید تا اختلالی در روند کار پیش نیاید!", 'reply_markup'=>$keyzarin, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# #-----------------------------# elseif($from_id == $dev){ if($text == "/panel" || $text == $oo || $text == "پنل"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "👍 سلام ادمین عزیز خوش آمدی :", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #---------------Noovix.ir--------------# if($text == "➕ افزودن وی پی ان"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅ یکی از کشورها را برای افزودن کانفیگ انتخاب نمایید :", 'reply_markup'=>$keyaddconfig, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🎁 اکانت تست"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_test"); } if($step == "create_test" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/extestacc/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# if($text == "🇩🇪 یک ماهه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex1"); } if($step == "create_ex1" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex1/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# if($text == "🇩🇪 سه ماهه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex2"); } if($step == "create_ex2" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex2/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇩🇪 شش ماهه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex3"); } if($step == "create_ex3" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex3/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇩🇪 یک ساله"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex4"); } if($step == "create_ex4" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex4/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇺🇸 یک ماهه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex5"); } if($step == "create_ex5" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex5/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇺🇸 سه ماهه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex6"); } if($step == "create_ex6" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex6/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇺🇸 شش ماهه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex7"); } if($step == "create_ex7" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex7/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇺🇸 یک ساله"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex8"); } if($step == "create_ex8" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex8/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇦🇹 یک ماهه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex9"); } if($step == "create_ex9" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex9/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇦🇹 سه ماهه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex10"); } if($step == "create_ex10" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex10/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇦🇹 شش ماهه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex11"); } if($step == "create_ex11" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex11/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇦🇹 یک ساله"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex12"); } if($step == "create_ex12" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex12/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇹🇷 یک ماهه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex13"); } if($step == "create_ex13" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex13/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇹🇷 سه ماهه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex14"); } if($step == "create_ex14" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex14/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇹🇷 شش ماهه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex15"); } if($step == "create_ex15" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex15/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇹🇷 یک ساله"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex16"); } if($step == "create_ex16" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex16/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇫🇷 یک ماهه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex17"); } if($step == "create_ex17" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex17/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇫🇷 سه ماهه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex18"); } if($step == "create_ex18" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex18/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇫🇷 شش ماهه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex19"); } if($step == "create_ex19" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex19/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇫🇷 یک ساله"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex20"); } if($step == "create_ex20" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex20/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇳🇱 یک ماهه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex21"); } if($step == "create_ex21" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex21/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇳🇱 سه ماهه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex22"); } if($step == "create_ex22" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex22/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇳🇱 شش ماهه"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex23"); } if($step == "create_ex23" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex23/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🇳🇱 یک ساله"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","create_ex24"); } if($step == "create_ex24" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/ex24/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "افزودن کانفیگ"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 لطفا کد کانکشن کانفیگ v2ray را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","cratev2ray"); } if($step == "cratev2ray" and $text != $oo){ $rand = rand (1000,100000); file_put_contents ("data/vpn/v2ray/$rand",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅🔑 کانکشن v2ray با موفقیت ذخیره شد و برای فروش اماده شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "ℹ سایر خدمات"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🙂 لطفا یکی از دسته های موجود را انتخاب کنید :", 'reply_markup'=>$key5, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# if($text == "💳 ثبت شماره کارت"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ شماره کارت خود را با اعداد انگلیسی وارد کنید : شماره کارت فعلی : $cart ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","pooya"); } if($step == "pooya" and $text != $oo){ file_put_contents ("data/cart",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "👍 شماره کارت با موفقیت ثبت شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# if($text == "♧ تنظیم متن راهنمای اتصال"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " ✅ متن راهنمای اتصال را وارد کنید : انگلیسی یا فارسی یا تلفیقی یا ... مشکلی ندارد . متن فعلی : $helpcont ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","helpo"); } if($step == "helpo" and $text != $oo){ file_put_contents ("data/helpcont",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅ با موفقیت ثبت شد", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# if($text == "💰 تعیین قیمت"){ $moni = json_encode(['inline_keyboard' => [ [['text' =>"🇩🇪 یک ماهه",'callback_data'=>"d1"]], [['text' =>"🇩🇪 سه ماهه",'callback_data'=>"d2"]], [['text' =>"🇩🇪 شش ماهه",'callback_data'=>"d3"]], [['text' =>"🇩🇪 یک ساله",'callback_data'=>"d4"]], [['text' =>"🇺🇸 یک ماهه",'callback_data'=>"d5"]], [['text' =>"🇺🇸 سه ماهه",'callback_data'=>"d6"]], [['text' =>"🇺🇸 شش ماهه",'callback_data'=>"d7"]], [['text' =>"🇺🇸 یک ساله",'callback_data'=>"d8"]], [['text' =>"🇦🇹 یک ماهه",'callback_data'=>"d9"]], [['text' =>"🇦🇹 سه ماهه",'callback_data'=>"d10"]], [['text' =>"🇦🇹 شش ماهه",'callback_data'=>"d11"]], [['text' =>"🇦🇹 یک ساله",'callback_data'=>"d12"]], [['text' =>"🇹🇷 یک ماهه",'callback_data'=>"d13"]], [['text' =>"🇹🇷 سه ماهه",'callback_data'=>"d14"]], [['text' =>"🇹🇷 شش ماهه",'callback_data'=>"d15"]], [['text' =>"🇹🇷 یک ساله",'callback_data'=>"d16"]], [['text' =>"🇫🇷 یک ماهه",'callback_data'=>"d17"]], [['text' =>"🇫🇷 سه ماهه",'callback_data'=>"d18"]], [['text' =>"🇫🇷 شش ماهه",'callback_data'=>"d19"]], [['text' =>"🇫🇷 یک ساله",'callback_data'=>"d20"]], [['text' =>"🇳🇱 یک ماهه",'callback_data'=>"d21"]], [['text' =>"🇳🇱 سه ماهه",'callback_data'=>"d22"]], [['text' =>"🇳🇱 شش ماهه",'callback_data'=>"d23"]], [['text' =>"🇳🇱 یک ساله",'callback_data'=>"d24"]], ]]); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🙂 قصد تغییر دادن قیمت کدام سرویس را دارید ؟", 'reply_markup'=>$moni, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# if($text == "📊 وضعیت ربات"){ $scan = scandir ("data/user"); $alluser = count ($scan) - 2; bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " • نوع ربات : اختصاصی 💳 • وضعیت ربات : روشن ✅ • تعداد کاربران : $alluser کاربر ", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# if($text == "➕ افزایش پول"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "💳 لطفا مبلغ مورد نظرتون رو با اعداد انگلیسی و به تومان وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","plus"); } if($step == "plus" and $text != $oo){ file_put_contents ("data/plus",$text); sendmessage ($chat_id , "🔢 اکنون ایدی عددی کاربر مورد نظر را وارد کنید ." , $bk); file_put_contents ("data/user/$from_id/step.txt","plus1"); } if($step == "plus1" and $text != $o){ $coink = file_get_contents ("data/user/$text/coin.txt"); $a = file_get_contents ("data/plus"); $b = $coink + $a; sendmessage ($chat_id , "✅ با موفقیت انجام شد ."); file_put_contents ("data/user/$text/coin.txt",$b); sendmessage ($text , " 💳 از طرف مدیریت مبلغ $a تومان برای ما فرستاده شد . "); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# if($text == "➖ کاهش پول"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "💳 لطفا مبلغ مورد نظرتون رو با اعداد انگلیسی و به تومان وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","pluss"); } if($step == "pluss" and $text != $oo){ file_put_contents ("data/plus",$text); sendmessage ($chat_id , "🔢 اکنون ایدی عددی کاربر مورد نظر را وارد کنید ." , $bk); file_put_contents ("data/user/$from_id/step.txt","pluss1"); } if($step == "pluss1" and $text != $o){ $coink = file_get_contents ("data/user/$text/coin.txt"); $a = file_get_contents ("data/plus"); $b = $coink - $a; sendmessage ($chat_id , "✅ با موفقیت انجام شد ."); file_put_contents ("data/user/$text/coin.txt",$b); sendmessage ($text , " 💳 از طرف مدیریت مبلغ $a تومان از ما کم شد . "); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# if($data == "d1"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex1 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd1"); } if($step == "exd1" and $text != $oo){ file_put_contents ("data/ex1",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# if($data == "d2"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex2 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd2"); } if($step == "exd2" and $text != $oo){ file_put_contents ("data/ex2",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d3"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex3 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd3"); } if($step == "exd3" and $text != $oo){ file_put_contents ("data/ex3",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d4"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex4 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd4"); } if($step == "exd4" and $text != $oo){ file_put_contents ("data/ex4",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d5"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex5 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd5"); } if($step == "exd5" and $text != $oo){ file_put_contents ("data/ex5",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d6"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex6 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd6"); } if($step == "exd6" and $text != $oo){ file_put_contents ("data/ex6",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d7"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex7 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd7"); } if($step == "exd7" and $text != $oo){ file_put_contents ("data/ex7",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d8"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex8 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd8"); } if($step == "exd8" and $text != $oo){ file_put_contents ("data/ex8",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d9"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex9 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd9"); } if($step == "exd9" and $text != $oo){ file_put_contents ("data/ex9",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d10"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex10 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd10"); } if($step == "exd10" and $text != $oo){ file_put_contents ("data/ex10",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d11"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex11 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd11"); } if($step == "exd11" and $text != $oo){ file_put_contents ("data/ex11",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d12"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex12 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd12"); } if($step == "exd12" and $text != $oo){ file_put_contents ("data/ex12",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d13"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex13 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd13"); } if($step == "exd13" and $text != $oo){ file_put_contents ("data/ex13",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d14"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex14 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd14"); } if($step == "exd14" and $text != $oo){ file_put_contents ("data/ex14",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d15"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex15 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd15"); } if($step == "exd15" and $text != $oo){ file_put_contents ("data/ex15",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d16"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex16 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd16"); } if($step == "exd16" and $text != $oo){ file_put_contents ("data/ex16",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d17"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex17 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd17"); } if($step == "exd17" and $text != $oo){ file_put_contents ("data/ex17",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d18"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex18 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd18"); } if($step == "exd18" and $text != $oo){ file_put_contents ("data/ex18",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d19"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex19 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd19"); } if($step == "exd19" and $text != $oo){ file_put_contents ("data/ex19",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d20"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex20 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd20"); } if($step == "exd20" and $text != $oo){ file_put_contents ("data/ex20",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d21"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex21 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd21"); } if($step == "exd21" and $text != $oo){ file_put_contents ("data/ex21",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d22"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex22 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd22"); } if($step == "exd22" and $text != $oo){ file_put_contents ("data/ex22",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d23"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex23 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd23"); } if($step == "exd23" and $text != $oo){ file_put_contents ("data/ex23",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($data == "d24"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 💳 قیمت مد نظرتون رو برای این سرویس با یک عدد انگلیسی و به تومان وارد کنید . مثال : 5000 قیمت فعلی این سرویس : $ex24 ", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","exd24"); } if($step == "exd24" and $text != $oo){ file_put_contents ("data/ex24",$text); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "قیمت سرویس با موفقیت عوض شد .", 'reply_markup'=>$key3, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #-----------------------------# if($text == "🔑 خدمات ارسال"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> " 🛡 یکی از خدمات موجود را انتخاب کنید : ", 'reply_markup'=>$key6, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# if($text == "💳 تنظیمات مالی"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "🔑 یکی از خدمات موجود را انتخاب کنید :", 'reply_markup'=>$key7, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# if($text == "📤 ارسال همگانی"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "📣 متن مورد نظرتون رو برای من ارسال کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","senall"); } elseif($step == "senall" and $text != $oo){ if($text){ $allmmber = scandir ("data/user"); foreach ($allmmber as $sendall){ sendmessage ($sendall , $text); } sendmessage ($chat_id , "✅ پیام شما با موفقیت ارسال شد ‌."); file_put_contents ("data/user/$from_id/step.txt","none"); }else{ sendmessage ($chat_id , "🖊 شما فقط میتوانید متن ارسال کنید ."); } } #-----------------------------# if($text == "🔐 پیام خصوصی"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "👤 لطفا آیدی عددی فردی که میخواهید پیغام خصوصی برایش ارسال فرمایید را وارد کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","sendpri"); } elseif($step == "sendpri" and $text != $oo){ file_put_contents ("data/user/$from_id/sendprivacy.txt","$text"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "📣 متن مورد نظرتون رو برای من ارسال کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","sendprivacy"); } elseif($step == "sendprivacy" and $text != $oo){ bot('sendmessage',[ 'chat_id'=> $sendprivacy, 'text'=> "$text", ]); file_put_contents ("data/user/$from_id/step.txt","none"); sendmessage ($chat_id , "✅ پیام شما با موفقیت ارسال شد ‌."); file_put_contents ("data/user/$from_id/step.txt","none"); file_put_contents ("data/user/$from_id/sendprivacy.txt","none"); } } #-----------------------------# if($text == "📥 فوروارد همگانی"){ bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "📣 رسانه مورد نظرتون رو برای من ارسال کنید :", 'reply_markup'=>$bk, 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","senalll"); } elseif($step == "senalll" and $text != $oo){ $allmmber = scandir ("data/user"); foreach ($allmmber as $sendall){ bot('forwardMessage',[ 'from_chat_id'=> $from_id, 'message_id'=> $message_id, 'chat_id'=> $sendall, ]); } sendmessage ($chat_id , "✅ پیام شما با موفقیت ارسال شد ‌."); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# if($text == "🎺 تنظیمات کانال"){ $keykhoda = json_encode(['keyboard'=>[ [['text'=>"خاموش|روشن قفل"],['text'=>"ست کانال"]], [['text'=>"$oo"]], ],'resize_keyboard' =>false]); sendmessage ($chat_id , "⚙ یکی از وضعیت های موجود را انتخاب کنید :" , $keykhoda); } elseif($text == "خاموش|روشن قفل"){ if ($pooyaosm == "خاموش"){ file_put_contents ("data/osm","روشن"); sendmessage ($chat_id , "🔑قفل جوین اجباری کانال فعال شد ."); file_put_contents ("data/user/$from_id/step.txt","none"); }else{ file_put_contents ("data/osm","خاموش"); sendmessage ($chat_id , "🔑قفل جوین اجباری کانال غیر فعال شد ."); file_put_contents ("data/user/$from_id/step.txt","none"); } } if($text == "افزودن اکسپرس"){ sendmessage ($chat_id , "اپدیت اینده اضافه می شود ."); } #-----------------------------# if($text == "❌ حذف کل اکانتها"){ DeleteDirectory ("data/vpn"); bot('sendmessage',[ 'chat_id'=> $chat_id, 'text'=> "✅ تمام اکانت های ثبت شده برای فروش از سرور ربات پاک شدند ‌.", 'parse_mode'=>"Markdown", 'reply_to_message_id'=>$message_id, ]); file_put_contents ("data/user/$from_id/step.txt","none"); } #-----------------------------# #--------------Noovix.ir---------------# if($text == "⚙ تنظیمات مدیریتی"){ sendmessage ($chat_id , "👑 یکی از تنظیمات موجود را انتخاب کنید :" , $key8); file_put_contents ("data/user/$from_id/step.txt","none"); } if($text == "💵 پول همگانی"){ sendmessage ($chat_id , "🪙 لطفا مبلغ را به تومان و با اعداد انگلیسی وارد کنید :" , $bk); file_put_contents ("data/user/$from_id/step.txt","cow"); } if($step == "cow" and $text != $oo){ $allmmber = scandir ("data/user"); foreach ($allmmber as $alluser){ $a = file_get_contents ("data/user/$alluser/coin.txt"); $b = $a + $text; file_put_contents ("data/user/$alluser/coin.txt",$b); sendmessage ($alluser , "💸 از طرف مدیریت مبلغ $text تومان به صورت #همگانی به ما تعلق گرفت ."); } sendmessage ($chat_id , "📤 مبلغ $text تومان به همه ی کاربران ربات ارسال شد ." ); file_put_contents ("data/user/$from_id/step.txt","none"); } #--------------Noovix.ir---------------# if($text == "🏵ساخت کد هدیه"){ sendmessage ($chat_id , "🫠مبلغ کد هدیه را وارد کنید . عدد انگلیسی و به تومان " , $bk); file_put_contents ("data/user/$from_id/step.txt","okpooya"); } if($step == "okpooya" and $text != $oo){ $rand = rand (10000,100000); file_put_contents ("data/code/$rand",$text); sendmessage ($chat_id , "کد هدیه با موفقیت ساخته شد و به کانال مورد نظر ارسال گردید . /n کد هدیه : $rand"); file_put_contents ("data/user/$from_id/step.txt","none"); bot('sendmessage',[ 'chat_id'=>"@$channel", 'text'=>"کد هدیه جدیدی در ربات ایجاد شد ✅ 〰〰〰〰〰〰〰〰〰〰〰〰〰 مبلغ هدیه : $text 🔸 کد هدیه : $rand 🔹 ربات : @$username_bot 〰〰〰〰〰〰〰〰〰〰〰〰〰", 'ParseMode'=>"Markdown", ]); } #-----------------------------# if ($text == "ست کانال"){ bot ('sendmessage',[ 'chat_id'=>$chat_id, 'text'=>"آیدی کانال خود را بدون @ ارسال کنید .", 'reply_markup'=>$bk, ]); file_put_contents ("data/user/$from_id/step.txt","setidok"); } if ($step == "setidok" and $text != $oo){ bot ('sendmessage',[ 'chat_id'=>$chat_id, 'text'=>"کانال @$text با موفقیت ذخیره شد", 'reply_markup'=>$bk, ]); file_put_contents ("data/channel","$text"); file_put_contents ("data/user/$from_id/step.txt","none"); } // #-----------------------------# #-----------------------------# #-----------------------------# /* طراحی شده توسط تیم نویکس | Noovix.ir */ ?>