$mensaxe .= "\n" . $PFN_niveles->enlace($dir, $v); } $nxs->new_mail($from, $cada_correo, $titulo, $mensaxe); } else { $PFN_accions->arquivos($PFN_arquivos); foreach ($multiple_escollidos as $v) { $v = $PFN_accions->nome_correcto($v); $arquivo = $PFN_conf->g('raiz', 'path') . $PFN_accions->path_correcto($dir . '/') . '/' . $v; $tamano = PFN_espacio_disco($arquivo, true); $estado = $PFN_accions->log_ancho_banda($tamano, true); if ($estado !== true) { $estado = 9; $estado_accion .= $PFN_conf->t('estado.correo', $estado); } elseif ($tamano > $PFN_conf->g('limite_correo')) { $estado = 10; $estado_accion .= $PFN_conf->t(array('estado.correo', $estado), PFN_peso($PFN_conf->g('limite_correo'))); } if ($estado != 1) { break; } } if ($estado == 1) { $nxs->new_mail($from, $cada_correo, $titulo, $mensaxe); foreach ($multiple_escollidos as $v) { $v = $PFN_accions->nome_correcto($v); $arquivo = $PFN_conf->g('raiz', 'path') . $PFN_accions->path_correcto($dir . '/') . '/' . $v; if ($nxs->add_attachment($arquivo, str_replace(' ', '_', $v))) { $estado = 7; $estado_accion .= $PFN_conf->t('estado.correo', $estado); } }
echo $relativo . $PFN_conf->g('estilo'); ?> ico/php.png" alt="PHP" /> <br /><strong><?php echo $nome; ?> </strong> <br /><br /> <table class="tabla_info" summary=""> <tr> <th><?php echo $PFN_conf->t('peso'); ?> : </th> <td><strong> <?php echo PFN_peso(PFN_espacio_disco($stat['size'])); ?> </strong></td> </tr> <tr> <th><?php echo $PFN_conf->t('Xpeso_exacto'); ?> : </th> <td><strong> <?php echo PFN_espacio_disco($stat['size'], true); ?> Bytes</strong></td> </tr> <tr> <th><?php
$actual = (include $PFN_paths['info'] . 'usuario' . $PFN_usuarios->get('id') . '/descargas.' . $ab_ano . $ab_mes . '.php'); $listado['actual'][] = $actual; $listado['limite'][] = $limite; if ($limite === -1) { $listado['libre'][] = 100; } else { $listado['libre'][] = intval(($limite - $actual) / $limite * 100); } } else { $listado['actual'][] = $listado['limite'][] = $listado['libre'][] = false; } } if ($ab_modo == 'ASC') { asort($listado[$ab_ordenar]); } else { arsort($listado[$ab_ordenar]); } $b = 1; $txt = '<table class="tabla_informes" summary="">' . '<tr><th style="text-align: left;">' . '<a href="' . PFN_cambia_url(array('ab_ordenar', 'ab_modo', 'ab_mes', 'ab_ano', 'executa'), array('id', $ab_modo == 'ASC' ? 'DESC' : 'ASC', $ab_mes, $ab_ano, 'ancho_banda')) . '">' . $PFN_conf->t('Xcol_id') . '</a></th>' . '<th style="text-align: left;">' . '<a href="' . PFN_cambia_url(array('ab_ordenar', 'ab_modo', 'ab_mes', 'ab_ano', 'executa'), array('nome', $ab_modo == 'ASC' ? 'DESC' : 'ASC', $ab_mes, $ab_ano, 'ancho_banda')) . '">' . $PFN_conf->t('Xcol_nome') . '</a></th>' . '<th style="text-align: left;">' . '<a href="' . PFN_cambia_url(array('ab_ordenar', 'ab_modo', 'ab_mes', 'ab_ano', 'executa'), array('limite', $ab_modo == 'ASC' ? 'DESC' : 'ASC', $ab_mes, $ab_ano, 'ancho_banda')) . '">' . $PFN_conf->t('Xcol_ancho_banda_limite') . '</a></th>' . '<th style="text-align: left;">' . '<a href="' . PFN_cambia_url(array('ab_ordenar', 'ab_modo', 'ab_mes', 'ab_ano', 'executa'), array('actual', $ab_modo == 'ASC' ? 'DESC' : 'ASC', $ab_mes, $ab_ano, 'ancho_banda')) . '">' . $PFN_conf->t('Xcol_ancho_banda_actual') . '</a></th>' . '<th style="text-align: left;">' . '<a href="' . PFN_cambia_url(array('ab_ordenar', 'ab_modo', 'ab_mes', 'ab_ano', 'executa'), array('libre', $ab_modo == 'ASC' ? 'DESC' : 'ASC', $ab_mes, $ab_ano, 'ancho_banda')) . '">' . $PFN_conf->t('Xcol_porcent_libre') . '</a></th></tr>'; foreach ((array) $listado[$ab_ordenar] as $k => $v) { $b++; $txt .= '<tr' . ($b % 2 == 0 ? ' class="tr_par"' : '') . '><td>' . $listado['id'][$k] . '</td>' . '<td><a href="../usuarios/index.php?' . PFN_cambia_url('id_usuario', $listado['id'][$k], false) . '">' . $listado['nome'][$k] . '</a></td>'; if ($listado['limite'][$k]) { $libre = $listado['libre'][$k]; $cor_libre = $libre > 50 ? '0C0' : ($libre > 25 ? 'FC6' : ($libre > 10 ? 'F60' : 'F00')); $txt .= '<td>' . ($listado['limite'][$k] === -1 ? $PFN_conf->t('sen_limite') : PFN_peso($listado['limite'][$k])) . '</td>' . '<td>' . PFN_peso($listado['actual'][$k]) . '</td>' . '<td style="border: 1px solid #000;"><span style="display: block; border: 1px solid #CCC; width: ' . $libre . '%; height: 15px; background-color: #' . $cor_libre . '; font-weight: bold;">' . $libre . '%</span></td></tr>'; } else { $txt .= '<td colspan="3">' . $PFN_conf->t('sen_datos') . '</td></tr>'; } } $txt .= '</table>';
?> %; background-color: #<?php echo $cor_libre; ?> ; font-weight: bold;"><?php echo $libre; ?> %</div> </td> <?php } if ($PFN_conf->g('usuario', 'descargas_maximo') > 0) { ?> <td> <?php echo $PFN_conf->t('descargas_restante') . ': <strong>' . PFN_peso($PFN_conf->g('usuario', 'descargas_maximo') - $PFN_conf->g('usuario', 'descargas_actual')); ?> </strong> <?php $libre = intval(($PFN_conf->g('usuario', 'descargas_maximo') - $PFN_conf->g('usuario', 'descargas_actual')) / $PFN_conf->g('usuario', 'descargas_maximo') * 100); $cor_libre = $libre > 50 ? '0C0' : ($libre > 25 ? 'FC6' : ($libre > 10 ? 'F60' : 'F00')); ?> <br /><div style="border: 1px solid #000; width: <?php echo $libre; ?> %; background-color: #<?php echo $cor_libre; ?> ; font-weight: bold;"><?php echo $libre; ?>
?> "><?php echo $PFN_conf->t('permisos'); ?> </a></th> </tr> </thead> <tfoot> <tr> <td> <?php echo ($cnt_cantos['dir'] > 0 ? $cnt_cantos['dir'] . ' ' . $PFN_conf->t($cnt_cantos['dir'] == 1 ? 'dir' : 'dirs') : '') . ($cnt_cantos['arq'] > 0 ? ($cnt_cantos['dir'] > 0 ? ' - ' : '') . $cnt_cantos['arq'] . ' ' . $PFN_conf->t($cnt_cantos['arq'] == 1 ? 'arq' : 'arqs') : ''); ?> </td> <td><?php echo PFN_peso($cnt_peso); ?> </td> <td> </td> <td> </td> <td> </td> <td> </td> </tr> </tfoot> <tbody> <?php echo $txt; ?> </tbody> </table> </div>
} foreach ($raices as $k => $v) { $arq = $PFN_paths['info'] . 'raiz' . $k . '/' . $PFN_conf->g('logs', 'accions'); if (is_file($arq)) { ?> <input type="checkbox" name="logs_accions[]" id="logs_accions_<?php echo $k; ?> " value="<?php echo $k; ?> " class="checkbox" /> <label for="logs_accions_<?php echo $k; ?> "><?php echo $PFN_conf->t('Xlogs_arq_accions') . ' ' . $v . ' (' . PFN_peso(filesize($arq)) . ')'; ?> </label><br /> <?php } } ?> </th> <td><input type="submit" value=" <?php echo $PFN_conf->t('eliminar'); ?> " /></td> </tr> </table> </fieldset>
</select> </td> </tr> <tr id="tr_axuda5" style="display: none;"> <td colspan="2"><?php echo $PFN_conf->t('Xaxuda', 'raiz_peso_max'); ?> </td> </tr> <tr> <th><a href="#" onclick="Xamosa_axuda(7); return false;">(?)</a> <?php echo $PFN_conf->t('Xpeso_actual'); ?> </th> <td><input type="text" id="peso_actual" value="<?php echo $peso_maximo > 0 ? PFN_peso($peso_actual) : $PFN_conf->t('Xpeso_actual_off'); ?> " class="text" readonly="readonly" /></td> </tr> <tr id="tr_axuda7" style="display: none;"> <td colspan="2"><?php echo $PFN_conf->t('Xaxuda', 'raiz_peso_actual'); ?> </td> </tr> <?php if ($id_raiz > 0 && $peso_maximo > 0) { ?> <tr> <th><a href="#" onclick="Xamosa_axuda(10); return false;">(?)</a> <label for="revisar_peso_actual"><?php echo $PFN_conf->t('Xrevisar_peso_actual');
} } } $ahref = '<a href="' . $PFN_niveles->enlace($dir, $PFN_vars->get('cal') . $fin) . '" target="_blank" class="ao14">' . $PFN_vars->get('cal') . '</a>'; if ($tipo == 'dir') { if ($PFN_vars->get('calcula_tamano')) { $tamano_real = $PFN_niveles->get_tamano("{$arquivo}/"); $tamano_disco = PFN_peso(PFN_espacio_disco($tamano_real)); $tamano_real .= ' Bytes'; } else { $tamano_real = '<a href="accion.php?' . PFN_cambia_url(array('cal', 'accion', 'calcula_tamano'), array($cal, 'info', true), false) . '">' . $PFN_conf->t('calcular_tamano') . '</a>'; $tamano_disco = ' '; } } else { $tamano_real = PFN_espacio_disco($arquivo, true); $tamano_disco = PFN_peso(PFN_espacio_disco($tamano_real)); $tamano_real .= ' Bytes'; } $permisos = PFN_permisos(fileperms($arquivo . $fin)); if ($PFN_conf->g('inc', 'estado')) { $PFN_inc->carga_datos($arquivo . $fin); if (in_array('descricion', $capas)) { $datos_inc['desc'] = $PFN_inc->crea_descricion($tipo); } if (in_array('formulario', $capas)) { $datos_inc['form'] = $PFN_inc->crea_formulario($tipo); } } if (in_array('protexer', $capas) && $PFN_conf->g('usuario', 'admin') && $tipo == 'dir') { $protexido = is_file("{$arquivo}/.htpasswd"); }
Software Foundation, bien de la versión 2 de dicha Licencia o bien (según su elección) de cualquier versión posterior. Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de GNU para más detalles. Debería haber recibido una copia de la Licencia Pública General junto con este programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en 675 Mass Ave, Cambridge, MA 02139, EEUU. *******************************************************************************/ defined('OK') or die; $PFN_tempo->rexistra('i:navega'); $lista = $PFN_vars->get('lista'); $orde = $PFN_vars->get('orde'); $pos = $PFN_vars->get('pos'); $PFN_niveles->posicion($lista); $cada = $PFN_niveles->get_contido($PFN_conf->g('raiz', 'path') . $dir, $orde, $pos); $cnt_dir = $PFN_niveles->cnt('dir'); $cnt_arq = $PFN_niveles->cnt('arq'); $cnt_peso = PFN_peso($PFN_niveles->cnt('peso')); if ($PFN_conf->g('inc', 'estado')) { include_once $PFN_paths['include'] . 'class_inc.php'; $PFN_inc = new PFN_INC($PFN_conf); $PFN_inc->carga_datos($PFN_conf->g('raiz', 'path') . $dir . '/'); } $PFN_tempo->rexistra('f:navega'); include $PFN_paths['plantillas'] . 'posicion.inc.php'; $PFN_tempo->rexistra('posicion'); include $PFN_paths['plantillas'] . 'navega.inc.php';
$estado_accion = ''; $contido = $ver->listar_contido(); $orde = $PFN_vars->get('orde_comprimido') != '' ? $PFN_vars->get('orde_comprimido') : 'nome'; $orde = in_array($orde, array('nome', 'tamano', 'data', 'propietario', 'grupo', 'permisos')) ? $orde : 'nome'; $pos = $PFN_vars->get('pos_comprimido') == 'DESC' ? 'DESC' : 'ASC'; natcasesort($contido[$orde]); if ($pos == 'DESC') { $contido[$orde] = array_reverse($contido[$orde], true); } $pos = $pos == 'ASC' ? 'DESC' : 'ASC'; $i = $cnt_peso = $cnt_cantos['dir'] = $cnt_cantos['arq'] = 0; $txt = ''; foreach ($contido[$orde] as $k => $v) { $i++; $nome = $contido['nome'][$k]; $peso = PFN_peso($contido['tamano'][$k]); $data = date($PFN_conf->g('data'), $contido['data'][$k]); $prop = $contido['propietario'][$k]; $grupo = $contido['grupo'][$k]; $perms = PFN_permisos($contido['permisos'][$k]); $e_dir = substr($nome, -1) == '/'; $cnt_peso += $contido['tamano'][$k]; $cnt_cantos[$e_dir ? 'dir' : 'arq']++; $txt .= "\n\t\t\t\t" . '<tr' . ($i % 2 == 0 ? '' : ' class="tr_par"') . '>' . "\n\t\t\t\t\t" . '<td>' . ($e_dir ? '<strong>' . $nome . '</strong>' : $nome) . '</td>' . "\n\t\t\t\t\t" . '<td>' . ($e_dir ? '<strong>' . $peso . '</strong>' : $peso) . '</td>' . "\n\t\t\t\t\t" . '<td>' . ($e_dir ? '<strong>' . $data . '</strong>' : $data) . '</td>' . "\n\t\t\t\t\t" . '<td>' . ($e_dir ? '<strong>' . $prop . '</strong>' : $prop) . '</td>' . "\n\t\t\t\t\t" . '<td>' . ($e_dir ? '<strong>' . $grupo . '</strong>' : $grupo) . '</td>' . "\n\t\t\t\t\t" . '<td>' . ($e_dir ? '<strong>' . $perms . '</strong>' : $perms) . '</td>' . "\n\t\t\t\t\t" . '</tr>'; } } } else { $erro = 1; $estado_accion = $PFN_conf->t('estado.ver_comprimido', 1); } if ($erro) {
<?php } ?> </div> <div class="bloque_info"> <?php echo $PFN_arbore->cnt('dir') . ' ' . $PFN_conf->t('dirs'); ?> <?php if ($PFN_vars->get('completo')) { ?> | <?php echo $PFN_arbore->cnt('arq') . ' ' . $PFN_conf->t('arqs'); ?> | <?php echo $PFN_conf->t('peso') . ' ' . PFN_peso($PFN_arbore->cnt('peso')); ?> <?php } ?> </div> <div class="bloque_info"><?php echo $PFN_arbore->arbore_txt; ?> </div> </div>
echo '<br /><strong>' . $PFN_conf->t($v2) . '</strong>: '; $dato = $PFN_inc->valor($v2); foreach ((array) explode(' ', $PFN_vars->post('palabra_buscar')) as $v3) { $v3 = str_replace('/', '\\/', $v3); $dato = preg_replace('/' . $v3 . '/i', "<strong>{$v3}</strong>", $dato); } echo $dato; } } ?> </td> <?php if ($PFN_conf->g('columnas', 'tamano')) { ?> <td><?php echo $tipo == 'dir' ? '-' : PFN_peso(PFN_espacio_disco($cada)); ?> </td> <?php } if ($PFN_conf->g('columnas', 'data')) { ?> <td style="white-space: nowrap;"><?php echo date($PFN_conf->g('data'), @filemtime($cada)); ?> </td> <?php } if ($PFN_conf->g('columnas', 'accions')) { ?> <td>
echo empty($txt) ? '' : '<br />' . $txt; ?> </td> <?php if ($PFN_conf->g('columnas', 'tipo')) { ?> <td><?php echo empty($ext) ? ' ' : strtoupper($ext); ?> </td> <?php } if ($PFN_conf->g('columnas', 'tamano')) { ?> <td><?php echo PFN_peso($cada['arq']['tamano'][$k]); ?> </td> <?php } if ($PFN_conf->g('columnas', 'data')) { ?> <td><?php echo date($PFN_conf->g('data'), $cada['arq']['data'][$k]); ?> </td> <?php } if ($PFN_conf->g('columnas', 'permisos')) { ?> <td><?php