Location: PHPKode > projects > Coxiar Media Platform > coxiar_productions/breadcrumbs.inc
<?php
//Copyright 2008 www.coxiar.com
function build_Crumb($crumbName, $crumbURL){
	return '<td ><a href="'.$crumbURL.'"><img src="images/miss_clo.php?text='.urlencode($crumbName).'&font_size=22" border=0></a></td>';
}
$crumbCode = '';
$crumbCode .= build_Crumb('nav.','javascript:void(0);');
$crumbCode .= build_Crumb('all - ','easyproductions.php');
$BreadCrumbID = (isset($BreadCrumbID)) ? $BreadCrumbID : 1;

switch($BreadCrumbID){
	case 1:
		//Watch Video (categories)
		$crumbCode .= build_Crumb('watch','watch.php');
	break;

	case 11:
		//Watch Video (Viewer)
		$crumbCode .= build_Crumb('watch - ','watch.php');
		$crumbCode .= build_Crumb($VideoRow['video_title'] ,'javascript:void(0);');
	break;

	case 2:
		//Watch Still (categories)
		$crumbCode .= build_Crumb('stills','stills.php');
	break;

	case 21:
		//Watch Video (Stills)
		$crumbCode .= build_Crumb('stills - ','watch.php');
		$crumbCode .= build_Crumb($StillRow['still_title1'].' ('.$StillRow['still_title2'].')' ,'javascript:void(0);');
	break;
	
}
?>
<table style="background-color:black; color:white; font-size:15px;" >
<tr valign="middle">
<?=$crumbCode?>
</tr>
</table>
Return current item: Coxiar Media Platform