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 Encoder)
- *
- * @ Version : 1.1.6.0
- * @ Author : DeZender
- * @ Release on : 02.06.2013
- * @ Official site : http://DeZender.Net
- *
- */
- if (!defined("DATALIFEENGINE"))
- {
- exit("Hacking attempt!");
- }
- $shost = str_replace("www.", "", strtolower(getenv("HTTP_HOST")));
- if (strpos(strtolower(getenv("PATH")), "c:\\windows") !== false)
- {
- if ($method < 5)
- {
- echo "<div style='padding:10px;text-align:center;background:#fff5f7;'>Localhost: <a href=\"http://sandev.pro/\">sandev.pro</a></div>";
- }
- }
- else
- {
- $mhost = md5("light" . md5($shost) . "chat");
- $real_key = strtoupper(substr($mhost, 0, 5) . "-" . substr($mhost, 6, 5) . "-" . substr($mhost, 12, 5) . "-" . substr($mhost, 18, 5) . "-" . substr($mhost, 24, 5));
- if ($lc_config["activate"] != $real_key)
- {
- exit(".error:Light-Chat not activated");
- }
- }
- unset($shost);
- unset($mhost);
- unset($real_key);
- if ($method == 1)
- {
- $name = $db->safesql($member_id["name"]);
- $text = $db->safesql($text);
- $db->query('' . "INSERT INTO light_chat (name,user_group,date,text,page_id) VALUES ('" . $name . "','" . $member_id["user_group"] . "','" . $_TIME . "','" . $text . "','" . $page_id . "')");
- @unlink(ENGINE_DIR . ('' . "/cache/light_chat_" . $page_id . "_0.tmp"));
- @unlink(ENGINE_DIR . ('' . "/cache/light_chat_" . $page_id . "_1.tmp"));
- return 1;
- }
- if ($method == 2)
- {
- $save_text = $db->safesql($text);
- ....................................................................
- .....................................
- ...............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement