{@ $count = 0; } {@ $oDocument = $widget_info->document_list[$i*$widget_info->cols_list_count + $j]} {@$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 .=" $Subject\n";} {@$xmlList .=" by $author\n";} {@$xmlList .=" $Date\n";} {@$xmlList .=" $url\n";} {@$xmlList .=" \n\n";} {@$xmlDoc="\n";} {@$xmlDoc .="\n";} {@$xmlDoc .="$xmlList";} {@$xmlDoc .="\n";} {@$Path = "";} {@$location = "widgets/ztyle_flash_images/skins/ztyle_v032/";} {@$dirname = $Path.$location."xml/";} {@$fileName = "list_info.xml"; } {@$fileinfo = "$dirname$fileName";} {@FileHandler::writeFile($fileinfo, $xmlDoc);} {@$SWF_dir = $Path.$location."ztyle_v032.swf";} {@$Title = $widget_info->title;} {@$Time = $widget_info->slide_time;}