{@ $count = 0; } {@ $oDocument = $widget_info->document_list[$i*$widget_info->cols_list_count + $j]} {@ $uploaded_list = $oDocument->getUploadedFiles() } {@ $filesname = $file->uploaded_filename } {@ $movLocation = str_replace("./","$request_uri",$file->uploaded_filename)} {@ $imgLocation = $oDocument->getThumbnail($widget_info->thumbnail_width,$widget_info->thumbnail_height,$widget_info->thumbnail_type);} {@ $Subject = $oDocument->getTitle($widget_info->title_length);} {@ $describe = $oDocument->getContentText(text);} {@ $author = $oDocument->getNickName();} {@ $Date = $oDocument->getRegdate();} {@ $url = getUrl('','document_srl',$oDocument->document_srl);} {@ $xmlList .=" \n";} {@ $xmlList .=" $imgLocation\n";} {@ $xmlList .=" $movLocation\n";} {@ $xmlList .=" $imgLocation\n";} {@ $xmlList .=" $Subject\n";} {@ $xmlList .=" $describe\n";} {@ $xmlList .=" $author\n";} {@ $xmlList .=" $url\n";} {@ $xmlList .=" \n\n";} {@$xmlDoc="\n";} {@$xmlDoc .="\n";} {@$xmlDoc .="\n";} {@$xmlDoc .="$xmlList";} {@$xmlDoc .="\n";} {@$xmlDoc .="\n";} {@$Path = "";} {@$location = "widgets/newest_medias/skins/stylish/";} {@$dirname = $Path.$location."xml/";} {@$fileName = "list.xml"; } {@$fileinfo = "$dirname$fileName";} {@FileHandler::writeFile($fileinfo, $xmlDoc);} {@$SWF_dir = $Path.$location."img/player.swf";} {@$skin_dir = $Path.$location."img/stylish.swf";} {@$logo_dir = $Path.$location."img/logo.png";} {@$list_height = $widget_info->cols_list_count*100}