\n"; echo "alert('$A14_L');\n"; echo ""; exit; } for( $i=1; $i<=4; $i++) { if( ${"root".$i} != "" && Last(${"root".$i}) != "/" ) ${"root".$i} .= "/"; if( ${"root".$i} == $cwfmPath."/" ) { echo ""; exit; } } $r = new UserRecordV9; $r->username = $name; if( $command == "Add" || $oldPwd != $pass1 ) $r->password = md5($pass1); else $r->password = $pass1; $r->root1 = $root1; $r->root2 = $root2; $r->root3 = $root3; $r->root4 = $root4; $r->iPath = $root1; $r->language = $language; $r->viewM = $view; $r->detailL = $detail; $r->timeFormat = $tformat; $r->rname1 = $rname1; $r->rname2 = $rname2; $r->rname3 = $rname3; $r->rname4 = $rname4; /* $r->mkdir = $cbMdH == "true"? 1:0; $r->upload = $cbUpH == "true"? 1:0; $r->dwload = $cbDwH == "true"? 1:0; $r->rmdir = $cbRdH == "true"? 1:0; $r->delete = $cbDlH == "true"? 1:0; $r->view = $cbViH == "true"? 1:0; $r->descV = $cbDvH == "true"? 1:0; $r->descM = $cbDmH == "true"? 1:0; $r->cut = $cbCutH == "true"? 1:0; $r->copy = $cbCopyH == "true"? 1:0; $r->paste = $cbPasteH == "true"? 1:0; $r->rendir = $cbRendH == "true"? 1:0; $r->rename = $cbRenameH == "true"? 1:0; $r->options = $cbOptH == "true"? 1:0; $r->chpwd = $cbChpwdH == "true"? 1:0; $r->editFile = $cbEditFileH == "true"? 1:0; $r->newFile = $cbNewFileH == "true"? 1:0; $r->exec = $cbExecH == "true"? 1:0; $r->icons = $cbIconsH == "true"? 1:0; $r->mail = ""; */ $r->mkdir = 1; $r->upload = 1; $r->dwload = 1; $r->rmdir = 1; $r->delete = 1; $r->view = 1; $r->descV = 1; $r->descM = 1; $r->cut = 1; $r->copy = 1; $r->paste = 1; $r->rendir = 1; $r->rename = 1; $r->options = 1; $r->chpwd = 1; $r->editFile = 1; $r->newFile = 1; $r->exec = 0; $r->icons = 1; $r->mail = ""; if( $command == "Modify" ) { if( modifyUser($r) < 0 ) { echo ""; exit; } } else if( $command == "Add" ) { if( addUser($r) < 0 ) { echo ""; exit; } } exit; } ?>