SHARE
TWEET

Untitled

a guest Jan 12th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /*
  3.  *
  4.  * @ This file is created by http://DeZender.Net
  5.  * @ deZender (PHP5 Decoder for ionCube Encoder)
  6.  *
  7.  * @ Version        :   3.5.0.0
  8.  * @ Author         :   DeZender
  9.  * @ Release on     :   22.06.2018
  10.  * @ Official site  :   http://DeZender.Net
  11.  *
  12.  */
  13.  
  14. date_default_timezone_set('Asia/Jakarta');
  15. error_reporting(0);
  16. $belajarcode = new Databases();
  17.  
  18. if ($belajarcode->get_lisensi('sosiopedia.web.id', 'gU4XBY9MxRkraiOL0EwtfAFZd86uKN1213', '5') == false) {
  19.     exit('UNTUK MEMBELI LISENSI SILAHKAN HUBUNGI PEMBUAT SCRIPT');
  20. }
  21.  
  22. $date = date('Y-m-d');
  23. $time = date('H:i:s');
  24. $operating_system = $_SERVER['HTTP_USER_AGENT'];
  25.  
  26. class Databases
  27. {
  28.     private $db_server = null;
  29.     private $db_user = null;
  30.     private $db_password = null;
  31.     private $db_name = null;
  32.     public $mysqli = null;
  33.  
  34.     public function __construct()
  35.     {
  36.         $this->db_connect();
  37.     }
  38.  
  39.     private function db_connect()
  40.     {
  41.         $this->db_server = 'localhost';
  42.         $this->db_user = 'fgmxcdir_smm';
  43.         $this->db_password = 'ba=SW~E#%291';
  44.         $this->db_name = 'fgmxcdir_smm';
  45.         $this->mysqli = new mysqli($this->db_server, $this->db_user, $this->db_password, $this->db_name);
  46.  
  47.         return $this->mysqli;
  48.     }
  49.  
  50.     public function website()
  51.     {
  52.         $result = $this->mysqli->query('SELECT * FROM website');
  53.  
  54.         return $result;
  55.     }
  56.  
  57.     public function chart_order($table, $limit)
  58.     {
  59.         $result = $this->mysqli->query('SELECT * FROM ' . $table . ' WHERE ' . $limit);
  60.  
  61.         return $result->num_rows;
  62.     }
  63.  
  64.     public function count_order($tabel, $limit)
  65.     {
  66.         $check_data = $this->mysqli->query('SELECT * FROM ' . $tabel . ' WHERE ' . $limit);
  67.  
  68.         return $check_data->num_rows;
  69.     }
  70.  
  71.     public function user_order($tabel, $limit)
  72.     {
  73.         $check_data = $this->mysqli->query('SELECT SUM(price) AS total FROM ' . $tabel . ' WHERE ' . $limit);
  74. ................................................................
  75. ...............................
  76. ..........
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top