قسمتی ار فایل دیکود شده
کد PHP:
require('makeSecure.php');
include_once("d.b.php");
include_once("jalaldate.php");
include_once("functions.php");
date_default_timezone_set("Asia/Tehran");
$sql="SELECT * FROM accounts WHERE username='$_SESSION[username]'";
$result=mysql_query($sql);
$check_accounts = mysql_fetch_array($result);
$plan_sql="SELECT * FROM plans WHERE type='$check_accounts[plan]'";
$plan_result=mysql_query($plan_sql);
$check_plan = mysql_fetch_array($plan_result);
if($check_accounts['used'] == 0){
$history_sql="SELECT * FROM user_connect_history WHERE username='$_SESSION[username]' ORDER BY ID Asc";
$history_result=mysql_query($history_sql);
$history_rowser = mysql_fetch_array($history_result);