=======================================
   S26X Income Bot — FULL PHP Package
=======================================

cPanel / webhook ready. All systems in separate files.

ফাইল স্ট্রাকচার (সব ফাইল):
---------------------------
s26x_bot_full/
├── index.php                 ← Webhook entry + message/callback router
├── config.php                ← BOT_TOKEN, OWNER_ID, SECRET_ADMIN, Premium Emojis
├── functions.php             ← Telegram API, DB, keyboards, Gmail SMTP check,
│                               force-join, referral commission, approve/reject
├── README.txt
├── data/
│   └── bot_data.json         ← Auto JSON storage (writable 755/775)
└── handlers/
    ├── start.php             ← /start + referral join
    ├── user.php              ← Balance, Refer, Support, Tutorial
    ├── task_menu.php         ← Task list menu
    ├── gmail.php             ← Gmail task + জমা দিন + SMTP check
    ├── instagram.php         ← Instagram 2FA + TOTP
    ├── facebook.php          ← Facebook UID + Cookie
    ├── withdraw.php          ← bKash / Nagad / Binance
    ├── admin.php             ← Full admin panel, clear accounts, settings
    ├── forcejoin.php         ← Force join helpers
    └── referral.php          ← Referral helpers


সিস্টেম লিস্ট (আগের মতো):
-------------------------
✅ Premium Telegram emoji
✅ Force Join (public + private links)
✅ Gmail Task
   - Account pool upload (first_name email)
   - 🗑️ Clear Uploaded Accounts button
   - জমা দিন → SMTP/API email exists check
   - Secret 50/50 admin path
   - Channel notify + Approve/Reject
✅ Instagram 2FA Task (TOTP)
✅ Facebook Task (UID + Cookie)
✅ Withdraw: bKash, Nagad, Binance
✅ Referral + commission %
✅ Admin: rewards, passwords, channels, fees, broadcast
✅ Tutorial videos per task


cPanel সেটআপ:
-------------
1. ZIP আনজিপ → public_html/s26x_bot_full/

2. config.php এ সেট করুন:
   - BOT_TOKEN
   - OWNER_ID
   - SECRET_ADMIN_ID

3. data/ folder permission: 755 বা 775

4. Webhook:
   https://YOURDOMAIN.com/s26x_bot_full/index.php?setwebhook=1

   অথবা:
   https://api.telegram.org/botTOKEN/setWebhook?url=https://YOURDOMAIN.com/s26x_bot_full/index.php

5. টেলিগ্রাম: /start
   অ্যাডমিন: /admin


Gmail চেক নোট:
--------------
জমা দিন চাপলে gmail-smtp-in.l.google.com:25 দিয়ে চেক হয়।
হোস্টিং যদি port 25 ব্লক করে, চেক ফেল হতে পারে — সাপোর্টে unblock চাইবেন।


PHP: 7.4+ / 8.x + curl + allow_url_fopen (SMTP check এর জন্য)
=======================================
