hPanel Tools - UPLOAD GUIDE  (by Daksh B)
==========================================

1) cPanel > File Manager > public_html me ye poora ZIP upload karke "Extract" karo.
   (index.php seedha public_html me aani chahiye)

2) Apni files in folders me upload karo:

   library/<folder>/free/   -> FREE files  (customer direct download karega)
   library/<folder>/paid/   -> PAID files  (Buy Now dabane par UPI QR popup khulega)

   Folders (sab me free + paid dono bane hue hain):
     - library/php-scripts/   (PHP Scripts)
     - library/plugins/   (Plugins)
     - library/themes/   (Themes)
     - library/modules/   (Modules)
     - library/hooks/   (Hooks)
     - library/windows-tools/   (Windows Tools)
     - library/software/   (Software)
     - library/websites/   (Websites)
     - library/saas/   (SaaS)
     - library/web-tools/   (Web Tools)
     - library/templates/   (Templates)
     - library/mobile-apps/   (Mobile Apps)
     - library/apis-libraries/   (APIs & Libraries)
     - library/browser-extensions/   (Browser Extensions)

3) Site par files AUTOMATIC dikh jati hain - koi database ya setting nahi chahiye.

4) PAID file ka price: file ke naam me "__" ke baad number likho.
     Invoice-Pro__499.zip      ->  Title "Invoice Pro", Price Rs 499 (USD auto)
     Invoice-Pro__5usd.zip     ->  Title "Invoice Pro", Price $5   (INR auto = 5 x USD rate)
   Site par price INR aur USD DONO me dikhta hai; header me "Rs INR | $ USD" toggle button hai
   (visitor ka choice yaad rehta hai; India ke bahar ke visitors ko pehli baar USD dikhta hai).
   USD rate Admin > Settings > "USD -> INR rate" me badlo (default 95). Admin me har item ke liye
   Price INR aur Price USD dono fields hain (ek khali/0 chhodo to doosra auto calculate hota hai).

5) Naya folder chahiye? library/ ke andar naya directory bana do
   (jaise library/chrome-extensions/free aur .../paid). Site use khud detect kar legi.

6) Admin panel:  yoursite.com/?admin   (default password: Admin@12345 - turant badlo)
     - Settings me UPI ID + QR image upload karo (Buy popup ke liye)
     - Settings > "Email sending method": Automatic / Brevo API / Custom SMTP / PHP mail()
       Custom SMTP me koi bhi service chalegi (Gmail, Zoho, Hostinger, SendGrid, Brevo SMTP...):
       host, port, encryption (TLS 587 / SSL 465), username, password, From email daalo.
       Save ke baad niche "Send a test email" se turant check karo - fail hone par exact error dikhta hai.
       Contact form + customer delivery email dono isi method se jaate hain.
     - USD PAYMENT (PayPal): Settings me "PayPal.Me username" daalo (paypal.me/yourname ka yourname) aur optional PayPal email.
       Jab visitor $ USD toggle chunta hai to Buy popup me UPI QR ki jagah "Pay $5 with PayPal" button aata hai
       (paypal.me/yourname/5USD par seedha amount ke saath khulta hai). INR chunne par pehle jaisa UPI QR.
       PayPal.Me bina business account ke bhi banta hai; PayPal par "Goods & Services" payment se customer protection milti hai.
     - Har file ka title / description / price / discount / ON-OFF yahin se change hota hai
     - Downloads count aur errors yahin dikhte hain

7) About page ki photo: apni image (JPG/PNG/WEBP) profile/ folder me upload karo.
   Us folder ki sabse nayi image About section me apne aap dikhti hai.
   (Folder khali ho to default photo dikhti hai.)

8) PAID FILE CUSTOMER KO BHEJNA (payment confirm hone ke baad):
     - Admin panel > "Send paid file to customer" me file select karo, customer ka email daalo, Send dabao.
     - Customer ko professional email jati hai (secure download button ke saath).
     - Customer link kholkar wahi email likhta hai jo aapne daala tha - email match hone par hi download shuru hota hai.
     - Link validity (3/7/14/30 din) aur max downloads (1/3/5/10) aap chunte ho.
     - "Deliveries" table me status, downloads count, Resend (naya link), Revoke aur Delete milta hai.
     - Email ke liye Brevo API key ya Custom SMTP set karo (nahi to hosting ka mail() use hota hai, jo spam me ja sakta hai).
       Email na jaye to admin ko link screen par dikha diya jata hai, aap use manually bhej sakte ho.
     - Settings me "Site URL" optional hai - email me link ka domain wahi dikhega.

9) READY PAID PRODUCTS (pehle se daale hue, har ek $5):
     library/php-scripts/paid/Contact-Form-Script__5usd.zip   (PHP contact form: SMTP, spam protection, inbox)
     library/plugins/paid/Popup-Builder-Lite__5usd.zip        (WordPress popup plugin)
     library/modules/paid/Login-Module__5usd.zip              (PHP login/register/reset module)
   Inko replace/delete karna ho to bas wahi file badal do. Description/price Admin se edit hota hai.

10) POLICY PAGES (footer me links + "We accept" payment icons):
     ?page=privacy  (Privacy Policy)   ?page=terms  (Terms & Conditions)   ?page=refund  (Refund Policy)
     Refund policy me likha hai ki digital product hone ki wajah se refund lagu nahi hota; sirf duplicate payment,
     payment ke baad delivery na hona, ya galat/corrupt file jaise limited cases me help milti hai.
     Ye templates hain - apne business ke hisaab se padh lo; zarurat ho to kisi lawyer se check karwa lo.
     Text badalna ho to index.php me policyDocs() function dhundho.

11) Zaruri baatein:
     - Bade ZIP upload ke liye cPanel > MultiPHP INI Editor me upload_max_filesize badhao
       (ya File Manager / FTP se upload karo - uski limit nahi hoti)
     - library/ ko web se direct open hone se block kiya gaya hai (.htaccess), isliye
       paid files sirf site ke through hi milti hain.
     - File ka naam badalne par uska download count reset ho jata hai.
     - data/ aur uploads/ folders site khud use karti hai - inhe delete mat karo.
