=====================================
   LUXOR IPTV - Administration Panel
=====================================

Web panel to manage your Xtream servers and configure the LUXOR IPTV app.


FEATURES
--------
- Configure up to 5 Xtream servers (main + 4 backups)
- Priority system (app tries servers in order 1-5)
- Connection statistics
- Customization (app name, colors)


HOSTING REQUIREMENTS
--------------------
- PHP 7.4 or higher
- MySQL 5.7 or higher
- PHP PDO extension enabled

Most shared hosting providers (Hostinger, GoDaddy, Namecheap, etc.)
meet these requirements.


INSTALLATION
------------

1. UPLOAD FILES
   Upload the entire "admin-panel" folder to your hosting using FileZilla
   or your hosting's file manager.

2. RUN INSTALLER
   Open in your browser:
   https://your-domain.com/admin-panel/install/setup.php

3. CONFIGURE DATABASE
   The installer will ask for your MySQL database details:
   - Host (usually "localhost")
   - Database name
   - Username
   - Password

   You can find these details in your hosting control panel (cPanel, hPanel, etc.)

4. CREATE ADMIN USER
   Enter the username and password you want to use to access the panel.
   IMPORTANT! Save these credentials in a safe place.

5. DELETE INSTALL FOLDER
   For security, you MUST delete the "install" folder after installation.


USING THE PANEL
---------------

1. Go to: https://your-domain.com/admin-panel/
2. Log in with the username and password you created during installation
3. Go to "Servers" and add your main Xtream server
4. Optionally add backup servers


CONFIGURE IN THE APP
--------------------

1. Open the LUXOR IPTV app
2. Go to Settings > Admin Panel
3. Enter your license code
4. Enter your panel URL (your-domain.com)
5. Done! Your users will only need username and password


TROUBLESHOOTING
---------------

"Invalid code" error:
- Verify that your license code is active

"No servers configured" error:
- Make sure to add at least one server in the panel
- Verify that the server is marked as "Active"


SUPPORT
-------
Telegram: https://t.me/Sertev_apps


=====================================
© LUXOR IPTV - Admin Panel v1.0.0
=====================================
