6 include('encrypt.php');
7 // isset if login or not
8 if (!isset($_COOKIE['DMDM']) && !isset($_COOKIE['MDMD'])) {
9 header('location:index.php');
15 $email = Decrypt($_COOKIE['DMDM'],KEY
);
16 $email = filter_var($email, FILTER_SANITIZE_EMAIL
);
18 if (!filter_var($email, FILTER_VALIDATE_EMAIL
)) {
24 $fdir = substr($email, 0, 1);
25 $sdir = substr($email, 1, 1);
26 $data = @file
(DB_PATH
."$fdir/$sdir/$email");
29 foreach($_COOKIE as $ky => $vl)
30 setcookie($ky,"",time()-3600);
31 header('location:index.php');
35 for ($i=0; $i < count($data); $i++
) {
36 $data[$i] = trim($data[$i]);
41 $mystatus = urldecode($data[6]);
42 $mystatus = str_replace("<br>","\n",$mystatus);
46 $e_ = (isset($_GET['e_'])) ?
strip_tags(addslashes(filter_var($_GET['e_'], FILTER_SANITIZE_STRING
))):'';
51 if (isset($_GET['ico'])) {
54 if(preg_match('/[^a-z_\-0-9._]/i', $ico)){
58 $type =Array(1 => 'gif'); //store all the image extension types in array
59 $ext = explode(".",$ico); //explode and find value after dot
60 if (strlen($ext[0]) <= 0 ) $ico = "nida.gif";
61 if(!(in_array($ext[1],$type))) //check image extension not in the array $type
67 $icoimg = "<img src=\"".$livesitePath2."/ico/".$ico."\" class='pic'/>";
69 $writeData = implode("\n",$data);
70 file_put_contents(DB_PATH
."$fdir/$sdir/$email", $writeData);
71 header('location:status.php');
74 if (isset($data[5]) && !empty($data[5])) {
76 if(preg_match('/[^a-z_\-0-9._]/i', $ico))
80 $icoimg = "<img src=\"".$livesitePath2."/ico/".$ico."\" class='pic'/>";
83 include "include/header.php";
86 $uid = $inbox->GetID($_COOKIE['DMDM'],$id_mail_path);
91 <div
class="well well-sm pad3">
94 <?php
require 'include/nav.php'; ?
>
95 <!-- end navigation
-->
97 <!--<h3
class="form-signin-heading">Xe
[^Xy
[W
</h3
>-->
99 <a href
="choose.php"><div
class="ic panel panel-default pull-left"><?php
echo $icoimg; ?
></div
></a
><!-- ACR�gNbNX
-->
101 <!-- start tripcode
-->
102 <div
class="panel2 panel panel-default ">
103 <h5
><strong
>ƒgƒŠƒbƒv
:</strong
></h5
>
105 <div
class="tripc input-group">
106 <span
class="input-group-addon"><strong
>#</strong></span>
107 <input type
="text" class="form-control" name
="trip" id
="trip_c" value
="<?php print $data[7];?>" />
108 <!-- <input type
="text" class="form-control" value
="B1VjUMK0na7D"/> -->
109 <span
class="input-group-btn">
110 <button
class="btn btn-default" type
="submit" value
="vZ" id
="caltrip" />
111 <span
class="glyphicon glyphicon-random"></span
>
117 <!-- end tripcode
!! -->
119 <!-- start status
-->
120 <div
class="panel4 panel panel-default b ">
121 <strong
>�Љ
</strong
>
122 <?php
if(!$isforedit){
128 <?php
if(isset($echo)) echo "<span style=\"color:green\">$echo</span>"; ?
>
129 <button name
="isca" class="bottom btn btn-default pull-right btn-sm">
130 <span
class="glyphicon glyphicon-remove"></span
>
132 <button name
="isub" class="bottom btn btn-default pull-right btn-sm">
133 <span
class="glyphicon glyphicon-ok"></span
>
135 <div
class="clearfix"></div
>
136 <textarea rows
="4" id
="input" name
="info" class="textpanel form-control " maxlength
="250"><?php
echo $mystatus; ?
></textarea
>
143 <a href
="<?php echo $_SERVER['PHP_SELF'] . '?e_=1'; ?>" class="<?php echo $hide; ?> bottom btn btn-default pull-right btn-sm">
144 <span
class="glyphicon glyphicon-edit"></span
>
146 <div
class="clearfix"></div
>
147 <div
class="wordwrap_ panel panel-default scroll <?php echo $hide; ?>"> <?php
echo $mystatus; ?
></div
>
152 <div
class="clearfix"></div
>
154 <div
class="panel3 panel panel-default txt ">
156 $points = file_get_contents("http://tpol27.nttec.com/melon.php?email=".$email);
158 "<h5><strong>Eƒ��[ƒ‹:</strong> ".$data[1]."</h5>
159 <h5><strong>Beƒ|ƒCƒ“ƒg:</strong><span class='badge'> ".$data[3]."</span></h5>
161 <div class=\"col-md-12 meloncol12\">
162 <div class=\"col-md-4 meloncol4\">
163 <strong>ƒ�ƒ�ƒ“‚̃|ƒCƒ“ƒg:</strong><span class='badge'> ".$points."</span></div>
164 <div class=\"col-md-6 meloncol6\"><span class=\"opt shadow\"><a href=\"convert.php\" class=\"border\" target=\"_blank\">•ÏŠ·</a>
165 <a href=\"http://alice-shop.myshopify.com/\" class=\"border\" target=\"_blank\">”ƒ‚¤</a>
166 <a href=\"http://alice-shop.myshopify.com/pages/melon-shop-guide\" class=\"\" target=\"_blank\">ƒKƒCƒh</a></span></div></div></div>";
168 <br
><a href
="http://alice-shop.myshopify.com/">ƒ�ƒ�ƒ“ƒVƒ‡ƒbƒv
</a
><br
><br
>
169 <h5
>Melon Points transaction logs
:</h5
>
170 <div
class="wordwrap_ panel panel-default scroll ">
172 $u_log = file_get_contents("http://tpol27.nttec.com/z/user_log.php?usr=".$email);
176 <h4
class="text pull-right"> <a href
="logout.php"><span
class="label label-danger">ƒ�ƒOƒAƒEƒg‚·‚é
</span
></a
> </h4
>
177 <h4
class="text pull-right"> <a href
="change_pass.php"><span
class="label label-primary">ƒpƒXƒ��
[ƒh‚ð•Ï�X‚·‚é
</span
></a
> </h4
>
178 <div
class="clearfix"></div
>
184 require 'include/footer.php';