Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- * @ Pirate-Sky Crew :: PHP Decoder
- * @ Author: pLa$71k
- * @ Web: http://pirate-sky.com
- * @ Pirate-Sky Crew © 2008 - 2013
- */
- @include('./system/brain.php');
- @include('../system/brain.php');
- $question = htmlspecialchars($_GET["question"], ENT_QUOTES);
- $to_user = $_GET["user"];
- $from_user = $_GET["from_user"];
- $date = date("d-m-Y");
- $today = time("h-m-s");
- $ip = getenv("REMOTE_ADDR");
- if ($question == "") {
- $_SESSION['msg2'] = "1";
- header("Location: http://$site_domain/$to_user");
- exit;
- } else {
- $placeholders = array(
- ':)',
- ':(',
- '*angel*',
- '*cry*',
- '*devil*',
- ':S',
- '*kisses*',
- '*MSN*',
- ':B',
- ':|',
- '*zzz*',
- '*sorry*',
- ':O',
- ':P',
- ':D',
- '*?*',
- ';D',
- '*HAHA*'
- );
- $malevals = array(
- '<img src="http://' . $site_domain . '/images/emoticons/happy.png">',
- '<img src="http://' . $site_domain . '/images/emoticons/sad.png">',
- '<img src="http://' . $site_domain . '/images/emoticons/angel.png">',
- '<img src="http://' . $site_domain . '/images/emoticons/cry.png">',
- '<img src="http://' . $site_domain . '/images/emoticons/devil.png">',
- '<img src="http://' . $site_domain . '/images/emoticons/embarrassed.png">',
- '<img src="http://' . $site_domain . '/images/emoticons/kiss.png">',
- '<img src="http://' . $site_domain . '/images/emoticons/msn.png">',
- '<img src="http://' . $site_domain . '/images/emoticons/nerd.png">',
- '<img src="http://' . $site_domain . '/images/emoticons/plain.png">',
- '<img src="http://' . $site_domain . '/images/emoticons/sleep.png">',
- '<img src="http://' . $site_domain . '/images/emoticons/sorry.png">',
- '<img src="http://' . $site_domain . '/images/emoticons/surprise.png">',
- '<img src="http://' . $site_domain . '/images/emoticons/tongue.png">',
- '<img src="http://' . $site_domain . '/images/emoticons/very_happy.png">',
- '<img src="http://' . $site_domain . '/images/emoticons/what.png">',
- '<img src="http://' . $site_domain . '/images/emoticons/wink.png">',
- '<img src="http://' . $site_domain . '/images/emoticons/laugh.png">'
- );
- $new_question = str_replace($placeholders, $malevals, $question);
- //SEND:
- $sql4 = mysql_query("INSERT INTO questions (to_user, question, from_user, date, status, time, ip) VALUES('$to_user', '$new_question', '$from_user', '$date', '0', '$today', '$ip') ") or die(mysql_error());
- $_SESSION['msg'] = '1';
- header("Location: http://$site_domain/$to_user");
- exit;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement