<?php
session_start();

if (strpos($_SERVER['HTTP_USER_AGENT'], 'Chrome') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'CriOS') !== false)
{
	
error_reporting(0);
	require_once('config.php');
	//$geturlverify='http://'.$_SERVER[HTTP_HOST].'/';

	//if($geturlverify==HTTP_SERVER)
	//{
		$thisindex=true;
		$error_msg=array();
		$error_no=0;
		require_once(DIR_SYSTEM.'class/class.inc.php');
		require_once(DIR_SYSTEM.'engine/loader.php');
		
		
		
		/*
			$stardate=strtotime('2015-02-18 12:00');
			$enddate=strtotime('2015-02-20 12:00');
		
			$h=0;
			$ot=0;
			$ott=0;
			$l=0;
			$wh=0;
			for($i = $stardate; $i <= $enddate; $i = $i + 86400)
			{
				$thisday=date( 'Y-m-d', $i );
				$db->insert("time_attendance","emp_id , added_date , `timein` , `timeout`","'1' , '".$thisday."' , '9:00:00', '5:00:00'");
				
			}*/
	//}
	//else{ header("location:".HTTP_SERVER); }
}
else{ echo 'Browser Error'; }
	


?>