示例#1
0
<?php

include '../_include/configuration.php';
include '../_classes/conectar.php';
include '../_classes/crud.php';
session_start();
$con = new Coneccion($server, $user, $password, $dbname);
$con->conectar();
$crud = new Crud();
$cadena = str_replace("festivo_id=on or", "", $_POST['condition']);
$crud->eliminar("festivo", $con->getConection(), "{$cadena}", "Fecha eliminada exitosamente.");
$con->desconectar();
<?php

include '../_include/configuration.php';
include '../_classes/conectar.php';
include '../_classes/crud.php';
$con = new Coneccion($server, $user, $password, $dbname);
$con->conectar();
$crud = new Crud();
$crud3 = new Crud();
$cadena = "cotizacion_id = '{$_POST['refe']};'";
$crud3->eliminar("items", $con->getConection(), "{$cadena}", "");
$i = 1;
$valores = '';
while ($i <= $_POST['contador']) {
    $tipo_serv = $_POST['tipo_serv_' . $i];
    $descrip = $_POST['ocul_descr_' . $i];
    $weblink = $_POST['ocul_link_' . $i];
    $crud->moneda_dec($_POST['precio_' . $i]);
    $precio = $crud->getValor();
    $cantidad = $_POST['cantidad_' . $i];
    $crud->moneda_dec($_POST['costo_ship_' . $i]);
    $shipping = $crud->getValor();
    $peso = $_POST['peso_' . $i];
    $state = $_POST['state_tax_' . $i];
    $crud->moneda_dec($_POST['pa_' . $i]);
    $precio_web = $crud->getValor();
    $crud->moneda_dec($_POST['flete_' . $i]);
    $flete = $crud->getValor();
    $crud->moneda_dec($_POST['subtotal_' . $i]);
    $total = $crud->getValor();
    $cotizacion_id = $_POST['refe'];
示例#3
0
<?php

include '../_include/configuration.php';
include '../_classes/conectar.php';
include '../_classes/crud.php';
session_start();
$con = new Coneccion($server, $user, $password, $dbname);
$con->conectar();
$crud = new Crud();
$cadena = str_replace("categoria_id=on or", "", $_POST['condition']);
$crud->eliminar("usuario", $con->getConection(), "{$cadena}", "Usuarios eliminados exitosamente.");
$con->desconectar();
示例#4
0
<?php

include '../_include/configuration.php';
include '../_classes/conectar.php';
include '../_classes/crud.php';
session_start();
$con = new Coneccion($server, $user, $password, $dbname);
$con->conectar();
$crud = new Crud();
$cadena = str_replace("minimo_id=on or", "", $_POST['condition']);
$crud->eliminar("minimo", $con->getConection(), "{$cadena}", "Monto eliminado exitosamente.");
$con->desconectar();
?>

示例#5
0
<?php

include '../_include/configuration.php';
include '../_classes/conectar.php';
include '../_classes/crud.php';
session_start();
$con = new Coneccion($server, $user, $password, $dbname);
$con->conectar();
$crud = new Crud();
$cadena = str_replace("puesto_id=on or", "", $_POST['condition']);
$crud->eliminar("puesto", $con->getConection(), "{$cadena}", "Puestos eliminados exitosamente.");
$con->desconectar();
示例#6
0
<?php

include '../_include/configuration.php';
include '../_classes/conectar.php';
include '../_classes/crud.php';
session_start();
$con = new Coneccion($server, $user, $password, $dbname);
$con->conectar();
$crud = new Crud();
$cadena = str_replace("turno_id=on or", "", $_POST['condition']);
$crud->eliminar("turno", $con->getConection(), "{$cadena}", "turnos eliminados exitosamente.");
$con->desconectar();
<?php

include '../_include/configuration.php';
include '../_classes/conectar.php';
include '../_classes/crud.php';
session_start();
$con = new Coneccion($server, $user, $password, $dbname);
$con->conectar();
$crud = new Crud();
$cadena = str_replace("municipio_id=on or", "", $_POST['condition']);
$crud->eliminar("municipio", $con->getConection(), "{$cadena}", "Municipios eliminados exitosamente.");
$con->desconectar();
示例#8
0
<?php

include '../_include/configuration.php';
include '../_classes/conectar.php';
include '../_classes/crud.php';
session_start();
$con = new Coneccion($server, $user, $password, $dbname);
$con->conectar();
$crud = new Crud();
$cadena = str_replace("novedad_id=on or", "", $_POST['condition']);
$crud->eliminar("novedad", $con->getConection(), "{$cadena}", "Novedades eliminadas exitosamente.");
$con->desconectar();
<?php

include '../_include/configuration.php';
include '../_classes/conectar.php';
include '../_classes/crud.php';
$con = new Coneccion($server, $user, $password, $dbname);
$con->conectar();
$crud = new Crud();
$cadena = "id = '{$_POST['condition']}'";
$crud->eliminar("sucursal", $con->getConection(), "{$cadena}", "Sucursal eliminada exitosamente.");
$con->desconectar();
?>

<?php

include '../_include/configuration.php';
include '../_classes/conectar.php';
include '../_classes/crud.php';
session_start();
$con = new Coneccion($server, $user, $password, $dbname);
$con->conectar();
$crud = new Crud();
$cadena = str_replace("departamento_id=on or", "", $_POST['condition']);
$crud->eliminar("departamento", $con->getConection(), "{$cadena}", "Departamentos eliminados exitosamente.");
$con->desconectar();
示例#11
0
<?php

include '../_include/configuration.php';
include '../_classes/conectar.php';
include '../_classes/crud.php';
session_start();
$con = new Coneccion($server, $user, $password, $dbname);
$con->conectar();
$crud = new Crud();
$cadena = str_replace("empleado_id=on or", "", $_POST['condition']);
$crud->eliminar("empleado", $con->getConection(), "{$cadena}", "Empleados eliminados exitosamente.");
$con->desconectar();
示例#12
0
<?php

include '../_include/configuration.php';
include '../_classes/conectar.php';
include '../_classes/crud.php';
session_start();
$con = new Coneccion($server, $user, $password, $dbname);
$con->conectar();
$crud = new Crud();
$cadena = str_replace("cliente_id=on or", "", $_POST['condition']);
$crud->eliminar("cliente", $con->getConection(), "{$cadena}", "Clientes eliminados exitosamente.");
$con->desconectar();
<?php

include '../_include/configuration.php';
include '../_classes/conectar.php';
include '../_classes/crud.php';
session_start();
$con = new Coneccion($server, $user, $password, $dbname);
$con->conectar();
$crud = new Crud();
$cadena = str_replace("prog_id=on or", "", $_POST['condition']);
$crud->eliminar("programacion", $con->getConection(), "{$cadena}", "Asignaciones eliminadas exitosamente.");
$con->desconectar();