ob_start();
session_start();
header("Pragma: no-cache");
header("Expires: 0");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-cache, must-revalidate");
define("edocom","edocom",true);
if(($_SESSION['lang'] == '')||(!isset($_SESSION['lang']))) $_SESSION['lang'] = '1';
if($_SESSION['lang'] == '1') include 'langvn.php';
if($_SESSION['lang'] == '2') include 'langen.php';
include "define_data.php";
include "config.php";
include "admin/sql.php";
include "counter.php";
include "domain.php";
$require="(*)";
$vip = '.html';
//print_r($_REQUEST);
//echo $_REQUEST['bblastvisit'];
//linux active
//$get_header_in_time = str_replace("404;http://".$_SERVER['HTTP_HOST'],"",$_SERVER['QUERY_STRING']);
//Windows active
$get_header_in_time = str_replace($vip,'',$_SERVER['REQUEST_URI']);
$get_header_in_time = explode("/",$get_header_in_time);
$begin_get_var = 0;
$id = $get_header_in_time[$begin_get_var+1] ;
$id_1 = $get_header_in_time[$begin_get_var+2] ;
$id_2 = $get_header_in_time[$begin_get_var+3] ;
$id_3 = $get_header_in_time[$begin_get_var+4] ;
$id_4 = $get_header_in_time[$begin_get_var+5] ;
?>
$sqlstr=mysqli_query($conn,"SELECT * FROM ".ads." WHERE status='true' AND alignment='4' ORDER BY stt LIMIT 1");
if(mysqli_num_rows($sqlstr)>0) {
while($row=mysqli_fetch_array($sqlstr)) {
?>