Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for ionCube Loader)
- *
- * @ Version : 2.0.0.4
- * @ Author : DeZender
- * @ Release on : 21.10.2015
- * @ Official site : http://DeZender.Net
- *
- */
- if (defined("SOPANEL_PROCESS"))
- {
- class SOPanel {
- public function sec($query) {
- if (is_numeric($query))
- {
- return $query;
- }
- $query = addslashes(strip_tags(trim(ms_escape_string($query))));
- return $query;
- }
- public function set_error($error) {
- echo $error;
- return $error;
- }
- public function GetIP() {
- if (getenv("HTTP_CLIENT_IP"))
- {
- $ip = getenv("HTTP_CLIENT_IP");
- }
- else
- {
- if (getenv("HTTP_X_FORWARDED_FOR"))
- {
- $ip = getenv("HTTP_X_FORWARDED_FOR");
- if (strstr($ip, ","))
- {
- $tmp = explode(",", $ip);
- $ip = trim($tmp[0]);
- }
- }
- else
- {
- $ip = getenv("REMOTE_ADDR");
- }
- }
- return $ip;
- }
- public function DBConnect($host, $user, $pass) {
- $db = @odbc_connect("Driver={SQL Server}; Server={" . $host . "}", $user, $pass);
- if (!$db)
- {
- .................................................................
- .............................
- .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement