<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet type="text/css" href="http://localhost/2/styles/theme/main.css" ?>

<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title><?=cbtitle()?></title>
<link><?=BASEURL?></link>
    <image> 
        <url><?=website_logo()?></url>
        <link><?=BASEURL?></link>
        <title><?=cbtitle()?></title>
    </image>
    <description><?=$Cbucket->configs['description']?></description>
    
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
        <item>
        <author><?=$video['username']?></author>
        <title><?=substr($video['title'],0,50)?></title>
        <link><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></link>
        <description>
        <![CDATA[   
        <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="130" height="90" align="center" valign="middle"><img src="<?=get_thumb($video)?>"  border="1"/></td>
        <td valign="top">
        <a href="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>"><?=$video['title']?></a><br />
        <?=$video['description']?>
        </td>
        <td width="100" valign="top" align="right">
        Hinnang <?=$video['rating']?>/10<br />
        Vaatamisi <?=$video['views']?><br />
        Pikkus <?=SetTime($video['duration'])?>


        </tr>
        </table>
         <hr size="1" noshade>
        ]]>           
        </description>
        <category><?=strip_tags(categories($video['category'],'video'))?></category>
        <guid isPermaLink="true"><?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?></guid>
        <pubDate><?=$video['date_added']?></pubDate>
        <media:player url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" />
        <media:thumbnail url="<?=get_thumb($video)?>" width="120" height="90" />
        <media:title><?=substr($video['title'],0,50)?></media:title>
        <media:category label="Tags"><?=strip_tags(tags($video['tags'],'video'))?></media:category>
        <media:credit><?=$video['username']?></media:credit>
        <enclosure url="<?=BASEURL."/video/".$video['videokey']."/".$video['seo_title']?>" type="application/x-shockwave-flash" />

    </item>
    
</channel>
</rss>

