2 include('../encrypt.php');
5 $uid = trim($_GET['i']);
6 $uid = filter_var($uid,FILTER_SANITIZE_NUMBER_INT);
9 if (strlen($uid) != 9){
14 $read = file($id_mail_path);
16 for ($i=0; $i < count($read); $i++) {
17 $udata = explode("<><>", trim($read[$i]));
19 if ($udata[0] == $uid && $found == 0) {
20 $tmp = explode("<><>", $read[$i]);
25 $email = trim($email);
27 $email = filter_var($email, FILTER_SANITIZE_EMAIL);
28 if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
32 $fdir = substr($email, 0, 1);
33 $sdir = substr($email, 1, 1);
34 $data = @file(DB_PATH."$fdir/$sdir/$email");
35 $ico = trim($data[5]);
36 $pts = trim($data[3]);
37 $info = trim(urldecode($data[6]));
38 $icoimg = "<img src=\"".$livesitePath2."/ico/".$ico."\" height=\"\" class='pic'/>";
40 $tmp_triper = trim($data[7]);
42 if(isset($data[7]) && !empty($data[7]) && !empty($tmp_triper))
43 $triper = "<strong>ƒgƒŠƒbƒv:</strong> �Ÿ{$data[7]}<br>";
46 //$triper = "<strong>ƒgƒŠƒbƒv:</strong> {$data[7]}<br>";
48 include "../include/header.php";
51 'amazed' => '::amazed::',
54 'treasure' => '::treasure::',
55 'angry' => '::angry::',
56 'gangster' => '::gangster::',
57 'shame' => '::shame::',
59 'annoyed' => '::annoyed::',
60 'laugh' => '::laugh::',
62 'blush' => '::blush::',
64 'chocked' => '::chocked::',
65 'smile' => '::smile::',
66 'confused' => '::confused::',
67 'ninja' => '::ninja::',
68 'tongue' => '::tongue::',
69 'lawyer' => '::lawyer::',
73 $ultravariable = array();
74 foreach ($emoticon as $key => $value) {
75 $ultravariable[] = "<li class=\"lialign\"><img src='{$livesitePath}images/{$key}.gif' data-alt='{$value}'></li>";
77 $sEmote = implode("", $ultravariable);
81 <div class="well well-sm pad3">
83 <div class = "nav nav-header">
85 if($_SERVER['SERVER_NAME'] == "be.2ch.net") {
87 <a href="<?php echo $livesitePath ?>" class="pull-right"><img src="<?php echo $livesitePath ?>css/img/2ch_logo.gif"/></a>
89 } elseif ($_SERVER['SERVER_NAME'] == "be.bbspink.com") {
91 <a href="<?php echo $livesitePath ?>" class="pull-right"><img src="<?php echo $livesitePath ?>css/img/pink.png"/></a>
95 <h5 class="pull-right"> BE 2.0 ƒÀ</h5>
96 </div><!-- nav nav-header-->
101 if (isset($_COOKIE['DMDM']) && isset($_COOKIE['MDMD'])) {
102 require '../include/nav.php';
106 <!-- end navigation-->
107 <div class="panel panel-default pull-right">
108 <div class="btn-group">
109 <button type="button" class="btn btn-default" id="btnMsg" >
110 <span class="glyphicon glyphicon-envelope"></span>
112 <!--button type="button" class="btn btn-default" onClick="window.location.href='status.php?i=<?php echo $uid; ?>'"-->
113 <!-- <button type="button" class="btn btn-default" onClick="window.location.href='status.php'">
114 <span class="glyphicon glyphicon-home"></span>
116 </div><!--btn-group-->
117 </div><!--panel panel-default pull-right-->
119 <div class="ic panel panel-default pull-left">
120 <?php echo $icoimg; ?>
121 </div><!--ic panel panel-default pull-left-->
123 <div class="info panel panel-default txt">
124 <h5><strong>ƒ|ƒCƒ“ƒg:</strong><span class="badge"><?php echo $pts ?></span></h5>
125 <h5><strong></strong><?php echo $triper ?></h5>
127 <h5><strong>�Љ</strong></h5>
128 <h5 class="just txt">
132 </div><!--info panel panel-default-->
134 if(!empty($_SESSION['alert'])){
135 echo $_SESSION['alert'];
136 $_SESSION['alert'] = '';
141 <div class="panel3 panel panel-default" id="SendForm">
142 <form class="form" method="post" action="<?php echo $livesitePath ?>message_proc.php" id="sendMessage">
143 <input type="hidden" value="<?php echo $uid; ?>" name="zxcvbnm"> <!-- need enc -->
144 <div class="form-group">
145 <div class="input-group">
146 <span class="input-group-addon">Œ�–¼ :</span>
147 <input type="text" class="form-control" name="subj" required>
148 <div class="clearfix"></div>
151 <!--input type="hidden" value="" name="rec"/> <!--receiver -->
152 <div class="form-group">
153 <textarea rows="4" class="form-control top" name="msg" maxlength="250" id="msg"></textarea>
155 <div class="btn-group">
156 <input type="button" class="btn btn-default dropdown-toggle pull-left textpanel" data-toggle="dropdown" value="ŠG•¶Žš">
157 <ul class="dropdown-menu dropdown-menu-right" role="menu" id="emoji">
158 <?php echo $sEmote ?>
160 <input type="reset" value="ƒLƒƒƒ“ƒZƒ‹" class="btn btn-default textpanel pull-left" id="cancel"/>
161 <input type="submit" value="‘—‚é" class="btn btn-default textpanel pull-left" id="send"/>
162 <div class="clearfix"></div>
167 </div> <!--well well-lg-->
169 define('__ROOT__', dirname(dirname(__FILE__)));
170 require __ROOT__.'/include/footer.php';