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
- *
- */
- function getIP() {
- if (!empty($_SERVER["HTTP_CLIENT_IP"]))
- {
- $ofuscated1 = $_SERVER["HTTP_CLIENT_IP"];
- }
- else
- {
- if (!empty($_SERVER["HTTP_X_FORWARDED_FOR"]))
- {
- $ofuscated1 = $_SERVER["HTTP_X_FORWARDED_FOR"];
- }
- else
- {
- $ofuscated1 = $_SERVER["REMOTE_ADDR"];
- }
- }
- return $ofuscated1;
- }
- function validEmail($email) {
- $ofuscated2 = "^[_a-z0-9-]+(\\.[_a-z0-9-]+)*@[a-z0-9-]+(\\.[a-z0-9-]+)*(\\.[a-z]{2,3})\$";
- if (eregi($ofuscated2, $email))
- {
- return true;
- }
- return false;
- }
- function safeGet($val) {
- $val = str_replace(array("&", "\"", "<", ">"), array("&", """, "<", ">"), $val);
- return $val;
- }
- function makesafe($val) {
- $ofuscated2 = trim($val);
- if (get_magic_quotes_gpc())
- {
- $ofuscated2 = stripslashes($ofuscated2);
- }
- if (function_exists("mysql_real_escape_string"))
- {
- $ofuscated2 = mysql_real_escape_string($ofuscated2);
- }
- else
- {
- $ofuscated2 = addslashes($ofuscated2);
- }
- return $ofuscated2;
- }
- function getReferralCount($uid) {
- $ofuscated2 = mysql_query("SELECT COUNT(uid) as total FROM users WHERE referrer_id = " . $uid . " AND active=1");
- if (!mysql_num_rows($ofuscated2))
- {
- return 0;
- }
- $ofuscated3 = mysql_fetch_object($ofuscated2);
- return $ofuscated3->total;
- }
- function getPackages($selected = "") {
- $ofuscated2 = mysql_query("SELECT * FROM premium_packages WHERE active = 1");
- if (!mysql_num_rows($ofuscated2))
- {
- return "<option value=\"0\">No Package Available</option>";
- }
- ........................................................................
- .....................................
- .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement