Собсно код:
<?php
$category='';
$selectdate="_".date("Y-m-d");
$selected_channel='_channel_839';
$meridian='?meridian='.'1';
$tptf="_ft_all";
$period="_day";
$ch = curl_init();
curl_setopt ($ch , CURLOPT_URL , "http://www.vsetv.com/schedule$category$selected_channel$period$selectdate$tptf.html$meridian");
curl_setopt ($ch , CURLOPT_USERAGENT , "Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.12) Gecko/20050919 Firefox/1.0.7");
curl_setopt ($ch , CURLOPT_RETURNTRANSFER , 1 );
$content = curl_exec($ch);
curl_close($ch);
if ($category=="")
{
preg_match_all("/(?:<div class=\"onair\">([0-9]{2}:[0-9]{2}))|(?:<div class=\"time\">([0-9]{2}:[0-9]{2}))|(?:<div class=\"prname2\">(.*?)<\/d)/", $content, $out, PREG_PATTERN_ORDER);
}
$len_mass=count($out[0]);
if ($category=="")
{
print "<div class='tvguidephp'>";
print "<div>".strip_tags($out[1][0])." ".strip_tags($out[3][1])."</div>";
print "</div>";