#xarTplSetPageTemplateName('forms')#
xarVarFetch('textfield', 'str', $youtube, NULL, XARVAR_NOT_REQUIRED)
xarVarFetch('vho', 'str', $vho, NULL, XARVAR_NOT_REQUIRED)
xarVarFetch('vdec', 'str', $vdec, NULL, XARVAR_NOT_REQUIRED)
#$youtube#
#$vho#
#$vdec#
xarmodapifunc('dynamicdata','admin','create',array('modid' => xarModGetIDFromName('dynamicdata'), 'itemtype' => '3', 'itemid' => '0', 'values' => array('vhoster' => $vhoster, 'vidid' => 'vdec', 'vowner' => xarusergetvar('uid'), 'vdate' => time() , 'vartcon' => 'bos', 'vtype' => 'not ready', 'vfav' => 'buda bos', 'valbum' => 'op1', 'vsong' => 'opt2', 'vdescr' => 'op3', 'vrdate' => 'vclip date')))
xarVarFetch('submit', 'str', $submit, '', XARVAR_NOT_REQUIRED)
ADD VIDEO
'http://gdata.youtube.com/feeds/api/videos/'.$vdec
simplexml_load_file($rssfile)
$entry->xpath('//media:title')Title: #$ytitle[0]#
$entry->xpath('//media:description')Description: #$ydescription[0]#
$entry->xpath('//media:keywords')Keywords: #$ykeywords[0]#
//Todo (hidden data)
*give a unique id for this video
*youtube video? record Y to database -->will define video hoster when many video hoster supported
*record video id to database
*record who added this video
*record when this video submitted