cat_videos as $key => $video) {
$video = PT_GetVideoByID($video, 0, 0, 0);
echo PT_LoadPage('home/list', array(
'ID' => $video->id,
'TITLE' => $video->title,
'VIEWS' => $video->views,
'VIEWS_NUM' => number_format($video->views),
'USER_DATA' => $video->owner,
'THUMBNAIL' => $video->thumbnail,
'URL' => $video->url,
'TIME' => $video->time_ago,
'DURATION' => $video->duration
));
}
?>