2 include('encrypt.php');
3 header("Content-type: text/html;charset=Shift-JIS");
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]);
31 $email = trim($email);
33 $email = filter_var($email, FILTER_SANITIZE_EMAIL
);
34 if (!filter_var($email, FILTER_VALIDATE_EMAIL
)) {
38 $fdir = substr($email, 0, 1);
39 $sdir = substr($email, 1, 1);
40 $data = @file
(DB_PATH
."$fdir/$sdir/$email");
41 $ico = trim($data[5]);
42 $pts = trim($data[3]);
43 $info = trim(urldecode($data[6]));
44 if (strpos($ico, "-PREM")) {
45 $ico = explode("-PREM", $ico);
46 $icoimg = $livesitePath2."/premium/".$ico[0];
48 $icoimg = $livesitePath2."/ico/".$ico;
50 #$icoimg = "<img src=\"".$livesitePath2."/ico/".$ico."\" height=\"\" class='pic'/>";
52 $tmp_triper = trim($data[7]);
54 if(isset($data[7]) && !empty($data[7]) && !empty($tmp_triper))
55 $triper = "�Ÿ{$data[7]}";
65 echo json_encode($array);