{@ $count = 0; } {@ $oDocument = $widget_info->document_list[$i*$widget_info->cols_list_count + $j]} {@$Title = $widget_info->title;} {@$imgLocation = $oDocument->getThumbnail($widget_info->thumbnail_width,$widget_info->thumbnail_height,$widget_info->thumbnail_type);} {@$Subject = $oDocument->getTitle($widget_info->title_length);} {@$author = $oDocument->getNickName();} {@$Date = $oDocument->getRegdate();} {@$url = getUrl('','document_srl',$oDocument->document_srl);} {@$xmlList .=" \n";} {@$xmlList .=" $imgLocation\n";} {@$xmlList .=" $Title\n";} {@$xmlList .=" $Subject\n";} {@$xmlList .=" by $author\n";} {@$xmlList .=" $Date\n";} {@$xmlList .=" $url\n";} {@$xmlList .=" \n\n";} {@$xmlDoc="\n";} {@$xmlDoc .="\n";} {@$xmlDoc .="$xmlList";} {@$xmlDoc .="\n";} {@$Path = _XE_PATH_;} {@$location = "widgets/newest_images/skins/ztyle_v02/";} {@$dirname = $Path.$location."xml/";} {@$fileName = "list_info.xml"; } {@$fileinfo = "$dirname$fileName";} {@FileHandler::writeFile($fileinfo, $xmlDoc);} {@$SWF_dir = $Path.$location."ztyle_v2.swf";}