Upcoming Schedule | Past Streaming



'$date_set' ORDER by t1.date_start, t1.date_end "; //echo $sql; $res = mysql_query($sql) or die(mysql_error()); if ( mysql_num_rows ($res) == 0 ){ ?>

No upcoming event

Broadcasting...
"; //$b = true; } */ //get if there are subschedules that aren't broadcasted $sql = "SELECT * FROM channel_schedules WHERE main_sched = '" . $rows['channel_schedule_id'] ."' AND (status = 2 OR status = -1 OR status = 0) AND canalavist ='T' "; $res3 = mysql_query($sql) or die(mysql_error()); if ( mysql_num_rows($res3) > 0 OR ($rows['status'] == 2 OR $rows['status'] == -1 OR $rows['status'] == 9 OR $rows['status'] == 0) OR 1 == 1) { //get sub schedules $sql = "SELECT * FROM channel_schedules WHERE main_sched = '" . $rows['channel_schedule_id'] ."'"; $res2 = mysql_query($sql) or die(mysql_error()); ?>

  Details