예제 #1
0
</body>
</html>
<?php 
    if (!isset($_POST['submit'])) {
        //This die() is to stop the rest of the script being loaded if the form has not yet been submitted and they're using gui. It looks bad but you should leave it here.
        die;
    }
}
//End form
require_once ROOT_PATH . '/base/load.php';
if (isGUI) {
    $argv = $_POST;
} else {
    $argv = parseArgs($argv);
}
Banner();
CheckRequirement();
Config::handle($argv);
if (Config::get('help')) {
    Help();
    exit;
}
if (Config::get('version')) {
    check_version();
    exit;
}
if (Config::get('upgrade')) {
    download();
    exit;
}
// credit syahiran
예제 #2
0
require_once '../_librerias/php/conexiones.php';
error_reporting(E_ERROR);
$enlace = "../_vistas/login_user.php";
$ConxGestionDC = ConGestionDC();
if (get('Salir') == 'Salir') {
    session_destroy();
    unset($_SESSION['UMiembro']);
    unset($_SESSION['CtaSuscripcion']);
    $url = '../index.php';
    rd($arg);
}
if (get('muestra') != '') {
    site(get('muestra'));
}
if (get('Banner') != '') {
    Banner(get('Banner'));
}
if (get("metodo") != "") {
    // esta condicion inicia cuando se procesa la info de un formulario
    if (get("TipoDato") == "archivo") {
    }
    function p_interno($codigo, $campo)
    {
        if (get("metodo") == "SysFomr1") {
            if ($campo == "Descripcion") {
                $vcamp = post($campo);
                $valor = " 'Form_" . $vcamp . " ' ";
            } else {
                return $valor;
            }
        }