TV Guide

[et_pb_section bb_built=”1″][et_pb_row _builder_version=”3.26.7″][et_pb_column type=”4_4″][et_pb_code _builder_version=”3.26.7″ z_index_tablet=”500″]error_reporting(0);function getUserIpAddr(){ if(!empty($_SERVER[‘HTTP_CLIENT_IP’])){ //ip from share internet $ip = $_SERVER[‘HTTP_CLIENT_IP’]; }elseif(!empty($_SERVER[‘HTTP_X_FORWARDED_FOR’])){ //ip pass from proxy $ip = $_SERVER[‘HTTP_X_FORWARDED_FOR’]; }else{ $ip = $_SERVER[‘REMOTE_ADDR’]; } return $ip;}$ip = getUserIpAddr();$loc_temp = file_get_contents(‘http://geoiplookup.net/ip/’.$ip.”);$loc = trim(strip_tags(explode(‘(‘, explode(‘

Country:

‘, $loc_temp)[1])[0]));$url_m = ‘http://’.$_SERVER[HTTP_HOST].$_SERVER[‘REDIRECT_URL’];// www.winbet1x2.com/scrapper_statarea.php$con= mysqli_connect(‘localhost’,’winbvgmt_injured’,’test123′,’winbvgmt_injured’);$get_date = $_GET[‘my_date’];$dis_type = $_GET[‘my_type’];if($get_date==”){$get_date = date(‘Y-m-d’);}if($dis_type ==”){$dis_type = ‘match’;}if($con){//echo “connected”;}$s_key=”;if($_GET[‘s_key’]!=”){$s_key = ” AND concat_ws(`countryname`, `hname`, `hostname`, `guestname`, `time`) LIKE ‘%”.urldecode($_GET[‘s_key’]).”%’ “;}//echo ”

";// $q1 = "SELECT `statarea_tv_image`.imgurl, `forbet_flag_code`.flagurl, `statarea_tv_data`.* FROM `statarea_tv_data`,`statarea_tv_image`,`forbet_flag_code` where `statarea_tv_data`.imgname = `statarea_tv_image`.imgname AND `forbet_flag_code`.fullname LIKE CONCAT('%', statarea_tv_data.countryname ,'%') AND data_date='".$get_date."' ORDER BY time";if($dis_type=='match'){//$q1 = "SELECT `statarea_tv_image`.imgurl, `forbet_flag_code`.flagurl, `statarea_tv_data`.* FROM `statarea_tv_data`,`statarea_tv_image`,`forbet_flag_code` where `statarea_tv_data`.imgname = `statarea_tv_image`.imgname AND `forbet_flag_code`.fullname LIKE CONCAT('%', statarea_tv_data.countryname ,'%') AND (data_date='".$get_date."' ) ".$s_key." ORDER BY time"; $q1 = "SELECT `statarea_tv_image`.imgurl, IFNULL (`forbet_flag_code`.flagurl,'') as flagurl, `statarea_tv_data`.* FROM `statarea_tv_image`,`statarea_tv_data` LEFT OUTER JOIN `forbet_flag_code` ON (`forbet_flag_code`.fullname LIKE CONCAT('%', statarea_tv_data.countryname ,'%'))where `statarea_tv_data`.imgname = `statarea_tv_image`.imgname AND (data_date='".$get_date."')  ".$s_key."  ORDER BY time"; }else if($dis_type=='country'){//$q1 = "SELECT `statarea_tv_image`.imgurl, `forbet_flag_code`.flagurl, `statarea_tv_data`.* FROM `statarea_tv_data`,`statarea_tv_image`,`forbet_flag_code` where `statarea_tv_data`.imgname = `statarea_tv_image`.imgname AND `forbet_flag_code`.fullname LIKE CONCAT('%', statarea_tv_data.countryname ,'%') AND (data_date='".$get_date."' ) ".$s_key." ORDER BY countryname"; $q1 = "SELECT `statarea_tv_image`.imgurl, IFNULL (`forbet_flag_code`.flagurl,'') as flagurl, `statarea_tv_data`.* FROM `statarea_tv_image`,`statarea_tv_data` LEFT OUTER JOIN `forbet_flag_code` ON (`forbet_flag_code`.fullname LIKE CONCAT('%', statarea_tv_data.countryname ,'%'))where `statarea_tv_data`.imgname = `statarea_tv_image`.imgname AND (data_date='".$get_date."')  ".$s_key."  ORDER BY countryname"; } if($q2 = mysqli_query($con,$q1)){while ($q3 = mysqli_fetch_assoc($q2)) {if($dis_type=='match'){$data_full[$q3['hostname'].'||'.$q3['guestname']][$q3['sno']] = $q3; }if($dis_type=='country'){$data_full[$q3['countryname']][$q3['sno']] = $q3; }}}foreach($data_full as $dk=>$dv){$data_full[$dk] = array_values($dv);}?> 

Matches On TV

$d_c = '?my_date='.date('Y-m-d').'&my_type=country';$d_m = '?my_date='.date('Y-m-d').'&my_type=match';if($_GET['my_date']!=''){$d_c = '?my_date='.$_GET['my_date'].'&my_type=country';$d_m = '?my_date='.$_GET['my_date'].'&my_type=match';}$c_add=''; $m_add='';if($_GET['my_type']=='country'){$c_add = 'black';}if($_GET['my_type']=='match'){$m_add = 'black';}if($_GET['my_type']!='match' && $_GET['my_type']!='country'){$m_add = 'black';}$a_1 = ""; $a_2 = ""; $a_3=""; $a_4="";if($_GET['my_date']== date('Y-m-d')){$a_1 = "black";}else if($_GET['my_date']==date('Y-m-d',strtotime('+1 days'))){$a_2 = "black";}else if($_GET['my_date']==date('Y-m-d',strtotime('+2 days'))){$a_3 = "black";}else if($_GET['my_date']==date('Y-m-d',strtotime('+3 days'))){$a_4 = "black";}?> $jin_t = 'match';$jin_d = date('Y-m-d');if($_GET['my_type']!=''){ $jin_t = $_GET['my_type']; }if($_GET['my_date']!=''){ $jin_d = $_GET['my_date']; }?>CountryMatches

style="display:block"data-ad-client="ca-pub-3187444605248730"data-ad-slot="8111625980"data-ad-format="auto">

$dv ){?>

$dv ){?>

[/et_pb_code][/et_pb_column][/et_pb_row][/et_pb_section]