Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2015
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. <?php
  2. // Konfiguracja bazy danych
  3. $cs_sql['db_host'] = 'localhost'; // Host bazy danych
  4. $cs_sql['db_user'] = 'xxx'; // Uzytkownik bazy danych
  5. $cs_sql['db_pass'] = 'xxxx'; // Hasło
  6. $cs_sql['db_name'] = 'xxxx'; // Nazwa bazy danych
  7.  
  8. // Konfiguracja strony
  9. $cs_acp["title"] = "Sklep flux, mount za SMS"; // Tytul strony
  10. $cs_acp["name"] = "shoptrove.pl"; // Nazwa strony
  11. $cs_acp["contact"] = "xxxx"; // Mail Kontaktowy
  12. $license_key = "boskoboskigagfhf​gkh545"; // Klucz licencyjny bierzesz ze strony z której pobrałeś skrypt. Klucz pojawi się do 24h po kupnie skryptu)
  13.  
  14. // Konfiguracja uslugi MicroSMS
  15. $cs_microsms["userid"] = 0; // Numer identyfikacyjny uzytkowanika MicroSMS
  16. $cs_microsms["serviceid"] = 0; // Numer identyfikacyjny aktywowanej uslugi SMS Premium
  17. $cs_microsms["smsname"] = 'MSMS.CSSKIN'; // Tresc SMSa podanego przy tworzeniu konta SMS
  18.  
  19. // Konfiguracja uslugi PayPal
  20. $admin_email = "boskoboski@gmail.com"; // Adres PayPal'a
  21. $store_email = "boskoboski@gmail.com"; // Adres PayPal'a
  22. $item_description = "Services"; // Nie ruszać
  23. $item_id = "0001"; // Nie ruszać
  24. $script_base = ($_SERVER['HTTPS'] === null ? 'http' : 'https') . '://' . $_SERVER['SERVER_NAME']; // Nie ruszać
  25. $script_location = ($_SERVER['HTTPS'] === null ? 'http' : 'https') . '://' . $_SERVER['SERVER_NAME'] . '/wallet.php'; // Nie ruszać
  26. $title = "Platnosc PayPal"; // Nie ruszać
  27. $company = ""; // Nie ruszać
  28.  
  29.  
  30. // Tutaj nie powinieneś nic ruszać
  31. $db = new mysqli($cs_sql['db_host'], $cs_sql['db_user'], $cs_sql['db_pass'], $cs_sql['db_name']);
  32. $db->query("SET NAMES utf8");
  33. $db-> query("SET CHARACTER_SET utf8_unicode_ci");
  34. session_start();
  35. require 'p_hash.php';
  36. require 'u_api.php';
  37. require 'p_api.php';
  38.  
  39. $user = new User($db);
  40. $api = new API($db);
  41. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement