$sw) { if ($sw == "true") { $keyDocArray = explode( "_", $keyDoc ); $aFields = array ('APP_DOC_UID' => $keyDocArray[0],'DOC_VERSION' => $keyDocArray[1],'FOLDER_UID' => $folderUid ); $oAppDocument->update( $aFields ); } } } //$rootFolder='5320083284b210ceb511e43070218744'; $rootFolder = '0'; //$rootFolder='4977070264b54bf093aef68069996372'; $G_PUBLISH->AddContent( 'view', 'appFolder/appFolderTree' ); $G_PUBLISH->AddContent( 'smarty', 'appFolder/appFolderFileList', '', '', array () ); G::RenderPage( "publish-treeview", 'blank' ); } catch (Exception $e) { $G_PUBLISH = new Publisher(); $aMessage['MESSAGE'] = $e->getMessage(); $G_PUBLISH->AddContent( 'xmlform', 'xmlform', 'login/showMessage', '', $aMessage ); G::RenderPage( 'publish', 'blank' ); } ?>