Home
View solar panels videos
View solar panels videos | Solar Panels Videos |
|
|
|
|
error_reporting(0);
include "config.php";
include "func.php";
$givenauthor = trim($_GET['author']);
$watch_id = trim($_GET['watch_id']);
if($watch_id) {
$watch_author = trim($_GET['watch_author']);
$watch_title = str_replace("-"," ",trim($_GET['watch_title']));
$watch_title[0] = strtoupper($watch_title[0]);
$rss = "http://gdata.youtube.com/feeds/api/users/$watch_author/uploads";
$video_data = " Video scenes shots: ![]() Watch the video: "; $vidlink = "http://www.youtube.com/v/" . $watch_id; $embed = ""; $video_data .= $embed; $extra = $video_data; } else if($givenauthor) { $rss = "http://gdata.youtube.com/feeds/api/users/$givenauthor/uploads"; } else { $given = $_GET['key']; $key = trim(str_replace(" ","+",strtolower($given))); if(!$key) { $key = str_replace(" ","+",$website_keyword); $given = ucwords($website_keyword); } $rss = "http://gdata.youtube.com/feeds/videos?vq=$key"; include "global.php"; if($sorting==2) $rss.="&orderby=viewCount"; if($sorting==3) $rss.="&orderby=updated"; if($sorting==4) $rss.="&orderby=rating"; } $base = 'http://'.$_SERVER['HTTP_HOST'].'/'; if($folder) { if($folder[strlen($folder)-1]=='/') $base.= $folder; else $base.= $folder . '/'; } if($watch_id) $pagetitle = "Watching: $watch_title"; else if($givenauthor) $pagetitle = "Latest videos by $givenauthor"; else $pagetitle = ucwords($given) . " video compilations"; ?> |






