fopPars(), EXTR_OVERWRITE); $dfile = req('dfile',''); $cfg_dirs = read('urdirs','sy'); if($parts=='temp'){ $rdir = DIR_DTMP; $rpath = PATH_DTMP; $ufix = comStore::getTmpDir(0); }elseif($parts=='now'){ $rdir = DIR_URES; $rpath = PATH_URES; if(!isset($groups[$mod]) || strlen($kid)<10){ glbError::show('Error mod Or kid.'); } $ufix = comStore::getResDir($mod,$kid,0); }elseif(isset($cfg_dirs[$dir])){ $cfg = $cfg_dirs[$dir]; $rcfgs = array( 'skin' => array(DIR_VIEWS,PATH_VIEWS), 'static' => array(DIR_STATIC,PATH_STATIC), ); $_r = $rcfgs[$cfg[1]]; $rdir = $_r[0]; $rpath =$_r[1]; $ufix = $cfg[2]; }else{ glbError::show('Error Path.'); } $dmsg = ''; //处理删除 $_admPerm = usrPerm::check('pextra','edtadm'); $_admPerm = !$_admPerm; $_upPerm = usrPerm::check('pextra','edtup'); $_upPerm = !$_upPerm; $_delPath = in_array($parts,array('temp','now',)); $_upPath = in_array($parts,array('temp')); $_upPath = in_array($parts,array('temp')) || ($parts=='files' && usrPerm::issup()); if($dfile && $_admPerm && $_delPath){ if(strstr($dfile,'./')) glbError::show('Error Path.'); @$dre = unlink($rdir.$dfile); $dmsg = $dre ? lang('plus.fv_delok') : lang('plus.fv_delng'); } tex('texFile')->fopHead($parts,lang('plus.fv_ftitle')); $allpars = tex('texFile')->fopPars(0); ?>
| $v){ if($parts==$v[0]){ $str .= (empty($str) ? '' : ' # ')."\n$k"; } } echo $str ? $str : lang('plus.fv_nusub'); ?> | ||||||
| );" title="" nowrap>
|
onClick="fviPick();"> | ','')"> | ||||
| : : [] | ||||||