예제 #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) {
예제 #2
0
파일: index.php 프로젝트: Git-Host/AMPPS
                                                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) {