Beispiel #1
0
function borrar($id_, $nombre, $f_area, $f_estacion, $f_linea)
{
    $s_1 = "update lineas set activo='2' where id='{$id_}'";
    $r_1 = mysql_query($s_1);
    require_once "mantto.php";
    mantto('');
}
Beispiel #2
0
function borrar($id_, $nombre, $orden, $f_planta, $f_division)
{
    $s_1 = "update segmentos set activo='2' where id='{$id_}'";
    $r_1 = mysql_query($s_1);
    $s_2 = "delete from oi_especial where id_segmento='{$id_}'";
    $r_2 = mysql_query($s_2);
    require_once "mantto.php";
    mantto('');
}
Beispiel #3
0
function borrar($id_, $nombre, $f_causa)
{
    $s_1 = "update causas set activo='2' where id='{$id_}'";
    $r_1 = mysql_query($s_1);
    require_once "mantto.php";
    mantto();
}
Beispiel #4
0
function borrar($id_, $nombre)
{
    $s_1 = "update codigo_scrap set activo='2' where id='{$id_}'";
    $r_1 = mysql_query($s_1);
    $s_1 = "select codigo from codigo_scrap where id='{$id_}'";
    $r_1 = mysql_query($s_1);
    $d_1 = mysql_fetch_array($r_1);
    $s_2 = "delete from oi_especial where codigo_scrap='{$d_1['codigo']}'";
    $r_2 = mysql_query($s_2);
    require_once "mantto.php";
    mantto('');
}
Beispiel #5
0
function mantenimiento()
{
    require_once "mantto.php";
    mantto('1');
}