4 include('encrypt.php');
5 // isset if login or not
6 if (!isset($_COOKIE['DMDM']) && !isset($_COOKIE['MDMD'])) {
7 header('location:index.php');
13 $email = Decrypt($_COOKIE['DMDM'],KEY
);
14 $email = filter_var($email, FILTER_SANITIZE_EMAIL
);
16 if (!filter_var($email, FILTER_VALIDATE_EMAIL
)) {
22 $fdir = substr($email, 0, 1);
23 $sdir = substr($email, 1, 1);
24 $data = @file
(DB_PATH
."$fdir/$sdir/$email");
26 foreach($_COOKIE as $ky => $vl)
27 setcookie($ky,"",time()-3600);
28 header('location:index.php');
32 for ($i=0; $i < count($data); $i++
) {
33 $data[$i] = trim($data[$i]);
38 $mystatus = urldecode($data[6]);
39 $mystatus = str_replace("<br>","\n",$mystatus);
43 $e_ = (isset($_GET['e_'])) ?
strip_tags(addslashes(filter_var($_GET['e_'], FILTER_SANITIZE_STRING
))):'';
48 if (isset($_GET['ico'])) {
51 if(preg_match('/[^a-z_\-0-9._]/i', $ico)){
55 $type = Array(1 => 'gif'); //store all the image extension types in array
56 $ext = explode(".",$ico); //explode and find value after dot
57 if (strlen($ext[0]) <= 0 ) $ico = "nida.gif";
58 if(!(in_array($ext[1],$type))) //check image extension not in the array $type
64 $icoimg = "<img src=\"".$livesitePath2."/ico/".$ico."\" class='pic'/>";
66 $writeData = implode("\n",$data);
67 file_put_contents(DB_PATH
."$fdir/$sdir/$email", $writeData);
68 header('location:status.php');
71 // if (isset($_GET['premium'])) {
72 // $ico = $_GET['premium'];
74 // if(preg_match('/[^a-z_\-0-9._]/i', $ico)){
78 // $type =Array(1 => 'gif'); //store all the image extension types in array
79 // $ext = explode(".",$ico); //explode and find value after dot
80 // if (strlen($ext[0]) <= 0 ) $ico = "nida.gif";
81 // if(!(in_array($ext[1],$type))) //check image extension not in the array $type
87 // $icoimg = "<img src=\"".$livesitePath2."/premium/".$ico."\" class='pic'/>";
88 // $data[5] =$ico."-PREM";
89 // $writeData = implode("\n",$data);
90 // file_put_contents(DB_PATH."$fdir/$sdir/$email", $writeData);
91 // $_SESSION['msg'] = '<div class="alert alert-success">You\'re new avatar is updated.</div>';
92 // header('location:status.php');
96 if (isset($data[5]) && !empty($data[5])) {
98 if(preg_match('/[^a-z_\-0-9._]/i', $ico))
102 if (strpos($ico, "-PREM")) {
103 $ico = explode("-PREM", $ico);
104 $icoimg = "<img src=\"".$livesitePath2."/premium/".$ico[0]."\" class='pic'/>";
106 $icoimg = "<img src=\"".$livesitePath2."/ico/".$ico."\" class='pic'/>";
110 include "include/header.php";
112 $inbox = new Message
;
113 $uid = $inbox->GetID($_COOKIE['DMDM'],$id_mail_path);
118 <div
class="well well-sm pad3">
121 <?php
require 'include/nav.php'; ?
>
122 <!-- end navigation
-->
125 if(isset($_SESSION['msg'])){
126 echo $_SESSION['msg'];
127 $_SESSION['msg'] = '';
130 <!--<h3
class="form-signin-heading">Xe
[^Xy
[W
</h3
>-->
132 <a href
="choose.php"><div
class="ic panel panel-default pull-left"><?php
echo $icoimg; ?
></div
></a
><!-- ACR�gNbNX
-->
134 <!-- start tripcode
-->
135 <div
class="panel2 panel panel-default ">
136 <h5
><strong
>ƒgƒŠƒbƒv
:</strong
></h5
>
138 <div
class="tripc input-group">
139 <span
class="input-group-addon"><strong
>#</strong></span>
140 <input type
="text" class="form-control" name
="trip" id
="trip_c" value
="<?php print $data[7];?>" />
141 <!-- <input type
="text" class="form-control" value
="B1VjUMK0na7D"/> -->
142 <span
class="input-group-btn">
143 <button
class="btn btn-default" type
="submit" value
="vZ" id
="caltrip" />
144 <span
class="glyphicon glyphicon-random"></span
>
150 <!-- end tripcode
!! -->
151 <div
class="clearfix"></div
>
152 <!-- start status
-->
153 <div
class="panel4 panel panel-default b ">
154 <strong
>�Љ
</strong
>
155 <?php
if(!$isforedit){
161 <?php
if(isset($echo)) echo "<span style=\"color:green\">$echo</span>"; ?
>
162 <button name
="isca" class="bottom btn btn-default pull-right btn-sm">
163 <span
class="glyphicon glyphicon-remove"></span
>
165 <button name
="isub" class="bottom btn btn-default pull-right btn-sm">
166 <span
class="glyphicon glyphicon-ok"></span
>
168 <div
class="clearfix"></div
>
169 <textarea rows
="4" id
="input" name
="info" class="textpanel form-control " maxlength
="250"><?php
echo $mystatus; ?
></textarea
>
176 <a href
="<?php echo $_SERVER['PHP_SELF'] . '?e_=1'; ?>" class="<?php echo $hide; ?> bottom btn btn-default pull-right btn-sm">
177 <span
class="glyphicon glyphicon-edit"></span
>
179 <div
class="clearfix"></div
>
180 <div
class="<?php echo (detect_device2($_SERVER['HTTP_USER_AGENT'])!="PLSDISPLAY
") ? "unclick
" : ""; ?> wordwrap_ panel panel-default scroll <?php echo $hide; ?>" > <?php
echo $mystatus; ?
></div
>
185 <div
class="clearfix"></div
>
187 <div
class="panel3 panel panel-default txt ">
189 $points = file_get_contents("http://tpol27.nttec.com/melon.php?email=".$email);
191 "<h5><strong>Eƒ��[ƒ‹:</strong> ".$data[1]."</h5>
192 <h5><strong>Beƒ|ƒCƒ“ƒg:</strong><span class='badge'> ".$data[3]."</span></h5>
193 <h5><strong>ƒ�ƒ�ƒ“ƒ|ƒCƒ“ƒg:</strong><span class='badge'> ".$points."</span>
196 echo " <a href=\"convert.php\" target=\"_blank\">•ÏŠ·</a>";
197 if(detect_device2($_SERVER['HTTP_USER_AGENT']) == "PLSDISPLAY"){
199 <a href=\"transfer.php\" target=\"_blank\">‘—‚é</a>
200 <a href=\"http://alice-shop.myshopify.com/\" target=\"_blank\">”ƒ‚¤</a>
201 <a href=\"http://alice-shop.myshopify.com/pages/melon-shop-guide\" target=\"_blank\">ƒKƒCƒh</a></h5>
202 <br><a href=\"http://alice-shop.myshopify.com/\">ƒ�ƒ�ƒ“ƒVƒ‡ƒbƒv</a><br><br>
207 <h5
>ƒ�ƒ�ƒ“ƒ|ƒCƒ“ƒg‚²—˜—p—š—ð
:</h5
>
208 <div style
="padding:5px;" class="<?php echo (detect_device2($_SERVER['HTTP_USER_AGENT'])!="PLSDISPLAY
") ? "logs
" : ""; ?> panel panel-default scroll ">
210 $u_log = file_get_contents("http://tpol27.nttec.com/z/user_log.php?usr=".$email);
214 <h4
class="text pull-right"> <a href
="logout.php"><span
class="label label-danger">ƒ�ƒOƒAƒEƒg
</span
></a
> </h4
>
215 <h4
class="text pull-right"> <a href
="change_pass.php"><span
class="label label-primary">ƒpƒXƒ��
[ƒh•Ï�X
</span
></a
> </h4
>
216 <div
class="clearfix"></div
>
222 require 'include/footer.php';