Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 3.5.0.0
- * @ Author : DeZender
- * @ Release on : 22.06.2018
- * @ Official site : http://DeZender.Net
- *
- */
- date_default_timezone_set('Asia/Jakarta');
- error_reporting(0);
- $belajarcode = new Databases();
- if ($belajarcode->get_lisensi('sosiopedia.web.id', 'gU4XBY9MxRkraiOL0EwtfAFZd86uKN1213', '5') == false) {
- exit('UNTUK MEMBELI LISENSI SILAHKAN HUBUNGI PEMBUAT SCRIPT');
- }
- $date = date('Y-m-d');
- $time = date('H:i:s');
- $operating_system = $_SERVER['HTTP_USER_AGENT'];
- class Databases
- {
- private $db_server = null;
- private $db_user = null;
- private $db_password = null;
- private $db_name = null;
- public $mysqli = null;
- public function __construct()
- {
- $this->db_connect();
- }
- private function db_connect()
- {
- $this->db_server = 'localhost';
- $this->db_user = 'fgmxcdir_smm';
- $this->db_password = 'ba=SW~E#%291';
- $this->db_name = 'fgmxcdir_smm';
- $this->mysqli = new mysqli($this->db_server, $this->db_user, $this->db_password, $this->db_name);
- return $this->mysqli;
- }
- public function website()
- {
- $result = $this->mysqli->query('SELECT * FROM website');
- return $result;
- }
- public function chart_order($table, $limit)
- {
- $result = $this->mysqli->query('SELECT * FROM ' . $table . ' WHERE ' . $limit);
- return $result->num_rows;
- }
- public function count_order($tabel, $limit)
- {
- $check_data = $this->mysqli->query('SELECT * FROM ' . $tabel . ' WHERE ' . $limit);
- return $check_data->num_rows;
- }
- public function user_order($tabel, $limit)
- {
- $check_data = $this->mysqli->query('SELECT SUM(price) AS total FROM ' . $tabel . ' WHERE ' . $limit);
- ................................................................
- ...............................
- ..........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement