Videos


The Videos section is in a state of maintenance. We’re leaving it up for use, but be aware that some elements may be broken for the next couple of days.

*/?> include("$_SERVER[DOCUMENT_ROOT]/common/global.php");
require("$_SERVER[DOCUMENT_ROOT]/common/parser.php");
$videos = parsevideoxml("$_SERVER[DOCUMENT_ROOT]/media/podcast/The_Daily_iLife.xml");
if($videos){?>

$cat = $_GET["cat"];
$show = $_GET["show"];
if($cat && !$show){?>

 


BackShow All


 
foreach($videos as $key => $value){
if($key == stripslashes($cat) || $cat == “all”){
?>


 

” width=”160″ height=”160″ />

}
else if($cat && $show){
if ($videos[$cat])foreach($videos[$cat] as $value) if($value[0] == stripslashes($show)){
?>
 


CategoriesShow All


 
” style=”text-decoration:none;” width=”430″ height=”427″ />
click image to view

}}
else{?>

Categories:

if (!file_exists("./media/podcast/Categories.1337"))
{
echo ("Category data not found: contact the webmaster!");
}
else{
foreach($videos as $key => $value) $categories[] = $key;
natcasesort($categories);
?>

$catinfo = file("./media/podcast/Categories.1337",FILE_IGNORE_NEW_LINES);
foreach($categories as $catname){
$catthumb = "";
$catdesc = "No description.";
foreach($catinfo as $line){
if(preg_match("/^".preg_quote($catname)."::/",$line)){
$catparsed = explode("::",$line);
$catthumb = $catparsed[1];
$catdesc = $catparsed[2];
}}?>

}
?>

Show All

” width=”200″ height=”100″ alt=”” />