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){ $i++; //if($i>=120) { break; } $iSize = 0; $iTime = date("Y-m-d H:i:s",$v); $nDir++; ?> $v){ $i++; //if($i>=120) { break; } $iSize = basStr::showNumber($v[1]); $iTime = date("Y-m-d H:i:s",$v[0]); $nFile++; $sFile += $v[1]; $fPName = "$rpath/$ufix/$fnm"; $ticon = comFiles::getTIcon($fnm); $id = $tdAct = ''; if(strstr(".db.php.xx.xx2.xx3",$ticon['icon'])) continue; if($ticon['icon']=='pic'){ $id = str_replace('.','___',str_replace('-','_',$fnm)); $jsAct = " onmouseover=\"fviShow('$id','$fPName',this)\" onmouseout=\"fviShow('$id')\" "; $fSubj = lang('plus.fv_tview'); $tdAct = $jsAct; }else{ $fSubj = lang('plus.fv_open'); } ?> 0){ ?>
  $v){ if($parts==$v[0]){ $str .= (empty($str) ? '' : ' # ')."\n$k"; } } echo $str ? $str : lang('plus.fv_nusub'); ?>
 
/      
);" title="" nowrap> " width="18" height="18" border="0" align="absmiddle"> onClick="fviPick();"> ','')">
  :   : []  
 
: disabled>  
: