$has_scorecard = false;
// V-CRICKET :: SCORE CARD
$live_match_counter = 0;
foreach($sc_team_id_arr as $current_day => $current_day_match_arr)
{
if(date("Ymd", SERVER_TIME) == $current_day)
{
echo "";
echo "";
foreach($current_day_match_arr as $match_details_raw)
{
echo "";
$match_details_arr = explode("-", $match_details_raw);
$v_scorecard_id = $match_details_arr[0];
$match_start_time = $match_details_arr[1];
/*
if(date("H", SERVER_TIME) >= $match_start_time)
{
echo "";
}
else
{
*/
/*
$upcoming_match = $INTL_match_schedule_arr[date("Ymd", SERVER_TIME)][$live_match_counter];
$upcoming_match_display = str_replace("vs", " vs ", $upcoming_match);
$upcoming_match_display = str_replace(", ", " Venue (", $upcoming_match_display);
echo "";
echo "".$upcoming_match_display.") ";
if($match_start_time >= 12) {
echo number_format(($match_start_time - 12),2);
echo " PM (IST)";
}
else {
echo number_format($match_start_time,2);
echo " AM (IST)";
}
// echo $match_start_time;
echo " onwards";
echo " ";
echo "";
*/
/*
}
*/
$live_match_counter = $live_match_counter + 1;
echo " | ";
}
echo " ";
echo " ";
}
}
if(CURRENT_PAGE != "" && CURRENT_PAGE != "index.htm")
{
echo "";
echo "| Cricket Schedule 2009 | ";
echo "";
foreach($INTL_match_schedule_arr as $cricket_match_day => $INTL_match_schedule_details_arr)
{
if($cricket_match_day >= date("Ymd", SERVER_TIME))
{
echo "\n".substr($cricket_match_day, 6, 2)."/".substr($cricket_match_day, 4, 2)."/".substr($cricket_match_day, 0, 4)."";
foreach($INTL_match_schedule_details_arr as $INTL_match_schedule)
{
echo "\n".$INTL_match_schedule."";
}
echo "\n ";
}
}
echo " | ";
echo " ";
}
?>
|
|
|