Exemplo n.º 1
0
                                                fseek($fp, $seek);
                                            }
                                            fpassthru($fp);
                                            @fclose($fp);
                                        }
                                    }
                                }
                            }
                            break;
                        case 'prelist':
                            echo $kpn->getlist();
                            break;
                        case 'detailedlist':
                            if (frm_isset('list')) {
                                echo $kpn->writeheader();
                                $list = $kpn->unpostlist(frm_get('list'));
                                $kpn->getdetailed($list);
                            }
                            break;
                    }
                }
            }
        }
    }
    die;
}
if (frm_isset('path') && $cfg['filepathurl']) {
    $dirs = explode('/', frm_get('path'));
    foreach ($dirs as $name) {
        $sepp = strpos($name, '_');
        if ($sepp !== false) {
Exemplo n.º 2
0
                                                fseek($fp, $seek);
                                            }
                                            fpassthru($fp);
                                            @fclose($fp);
                                        }
                                    }
                                }
                            }
                            break;
                        case 'prelist':
                            echo $kpn->getlist();
                            break;
                        case 'detailedlist':
                            if (isset($_POST['list'])) {
                                echo $kpn->writeheader();
                                $list = $kpn->unpostlist($_POST['list']);
                                $kpn->getdetailed($list);
                            }
                            break;
                    }
                }
            }
        }
    }
    die;
}
if (isset($_GET['path']) && $cfg['filepathurl']) {
    $dirs = explode('/', $_GET['path']);
    foreach ($dirs as $name) {
        $sepp = strpos($name, '_');
        if ($sepp !== false) {