at path:
ROOT
/
sistema
/
modpersonal
/
trabajador_new.php
run:
R
W
Run
Copia de trabajador_carga_datos.php
18.7 KB
2020-05-22 06:50:22
R
W
Run
Delete
Rename
area_delete.php
1.32 KB
2020-08-23 00:58:24
R
W
Run
Delete
Rename
area_desactivar.php
2.34 KB
2020-08-23 00:58:34
R
W
Run
Delete
Rename
area_edit.php
8.57 KB
2020-08-23 00:58:44
R
W
Run
Delete
Rename
area_edit_update.php
1.32 KB
2020-08-23 00:58:54
R
W
Run
Delete
Rename
area_new.php
7.39 KB
2020-08-23 00:59:02
R
W
Run
Delete
Rename
area_new_insert.php
1.45 KB
2020-08-23 00:59:10
R
W
Run
Delete
Rename
areamaestro.php
2.81 KB
2026-03-20 06:05:27
R
W
Run
Delete
Rename
areamaestro_inc.php
8.92 KB
2020-08-23 00:59:42
R
W
Run
Delete
Rename
cargo_delete.php
964 By
2020-08-23 00:59:54
R
W
Run
Delete
Rename
cargo_desactivar.php
1.96 KB
2020-08-23 01:00:06
R
W
Run
Delete
Rename
cargo_edit.php
6.65 KB
2020-08-23 01:00:24
R
W
Run
Delete
Rename
cargo_edit_update.php
1.29 KB
2026-03-03 20:30:30
R
W
Run
Delete
Rename
cargo_new.php
5.58 KB
2026-02-02 20:07:40
R
W
Run
Delete
Rename
cargo_new_insert.php
1.46 KB
2020-09-01 20:47:40
R
W
Run
Delete
Rename
cargomaestro.php
2.81 KB
2020-08-23 01:01:02
R
W
Run
Delete
Rename
cliente_carga_datos.php
38.62 KB
2020-09-05 01:30:24
R
W
Run
Delete
Rename
cliente_delete.php
1.31 KB
2026-03-03 20:35:30
R
W
Run
Delete
Rename
cliente_desactivar.php
1.35 KB
2020-08-23 01:01:44
R
W
Run
Delete
Rename
cliente_new.php
7.3 KB
2020-08-23 01:01:54
R
W
Run
Delete
Rename
cliente_new_insert.php
12.08 KB
2026-04-15 05:54:29
R
W
Run
Delete
Rename
clientemaestro.php
2.89 KB
2020-08-23 01:02:14
R
W
Run
Delete
Rename
distrito_combo_trabajador.php
794 By
2020-08-23 01:02:36
R
W
Run
Delete
Rename
index.php
357 By
2020-08-22 21:54:30
R
W
Run
Delete
Rename
proveedor_carga_datos.php
18.8 KB
2026-03-18 18:59:06
R
W
Run
Delete
Rename
proveedor_desactivar.php
1.38 KB
2026-01-20 06:42:36
R
W
Run
Delete
Rename
proveedormaestro.php
2.89 KB
2026-03-09 03:42:03
R
W
Run
Delete
Rename
proveedormaestro_inc.php
8.68 KB
2020-08-23 01:03:52
R
W
Run
Delete
Rename
trabajador_carga_datos.php
18.85 KB
2020-08-23 01:04:02
R
W
Run
Delete
Rename
trabajador_delete.php
1.33 KB
2020-08-23 01:04:12
R
W
Run
Delete
Rename
trabajador_desactivar.php
1.39 KB
2026-02-17 20:01:03
R
W
Run
Delete
Rename
trabajador_new.php
8.13 KB
2026-03-09 03:40:48
R
W
Run
Delete
Rename
trabajador_new_insert.php
9.99 KB
2026-02-26 15:23:06
R
W
Run
Delete
Rename
trabajadorcargo_delete.php
1.12 KB
2020-08-23 01:04:48
R
W
Run
Delete
Rename
trabajadorcargo_edit_update.php
2.15 KB
2020-08-23 01:05:02
R
W
Run
Delete
Rename
trabajadorcargo_new.php
7.34 KB
2020-08-23 01:05:12
R
W
Run
Delete
Rename
trabajadorcargomaestro.php
3.01 KB
2020-08-23 01:05:24
R
W
Run
Delete
Rename
trabajadorcargomaestro_inc.php
9.82 KB
2020-08-23 01:05:32
R
W
Run
Delete
Rename
trabajadormaestro.php
2.85 KB
2020-08-23 01:05:44
R
W
Run
Delete
Rename
trabajadormaestro_inc.php
10.18 KB
2026-03-09 15:40:35
R
W
Run
Delete
Rename
error_log
up
📄
trabajador_new.php
Save
<? session_start(); date_default_timezone_set('America/Bogota'); include "../seguridad_interna.php"; ?> <form id="frm_interno" class="form-horizontal" name="frm_interno" enctype="multipart/form-data" target="iframe_lista" action="modpersonal/trabajador_new_insert.php" method="post"> <div class="modal-header"> <h5 class="modal-title" id="mediumModalLabel">Registro de Trabajador</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body" id="div_reg_trabajador"> <input type="hidden" id="bandera_accion" name="bandera_accion" value="0" /> <div class="row form-group"> <div class="col col-sm-3"><label for="input-small" class=" form-control-label">Tipo Documento</label></div> <div class="col col-sm-6"> <select name="xcmb_tipodocumento" id="xcmb_tipodocumento" class="form-control"> <option value="" selected="selected"></option> <? include "../conexion/conexion.php"; $msentencia1="SELECT ncodtipodocumento, cnomtipodoc, cactivo FROM mae_tipodocumento WHERE ncodtipodocumento <> '3' and cactivo='1'"; $msentencia2=mysqli_query($link,$msentencia1); while($mrow=mysqli_fetch_array($msentencia2)) { ?> <option value="<?=$mrow['ncodtipodocumento']?>"><?=$mrow['cnomtipodoc']?></option> <? } ?> </select> </div> </div> <div class="row form-group"> <div class="col col-sm-3"><label for="input-small" class=" form-control-label">Numero</label></div> <div class="col col-sm-6"> <input type="text" id="txt_numero" name="txt_numero" placeholder="" class="input-sm form-control-sm form-control"> </div> <div class="col col-sm-2"> <button type="button" class="btn btn-outline-primary btn-sm" onclick=" var tipo = document.getElementById('xcmb_tipodocumento').value; if(tipo=='') { swal({ title: 'Alerta!', text: 'Seleccione Tipo Documento!', icon: 'warning', button: 'Cerrar', timer: 3000, }); return false; } var str = document.getElementById('txt_numero').value; var n = str.length; if(n>7) { trabajador_carga_datos(tipo,str) } else { swal({ title: 'Alerta!', text: 'Minimo 8 caracteres para realizar la busqueda!', icon: 'warning', button: 'Cerrar', timer: 3000, }); return false; } " ><i class="fa fa-search"></i> Buscar</button> </div> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" onclick="trabajador_new();">Reset</button> <button type="button" class="btn btn-secondary" data-dismiss="modal" id="btn_cerrar">Cancel</button> <button type="button" class="btn btn-primary" onClick=" var xcmb_tipodocumento=document.getElementById('xcmb_tipodocumento').value; if(xcmb_tipodocumento=='') { swal({ title: 'Alerta!', text: 'Seleccione Tipo Documento!', icon: 'warning', button: 'Cerrar', timer: 3000, }); return false; } var txt_numero=document.getElementById('txt_numero').value; if(txt_numero=='') { swal({ title: 'Alerta!', text: 'Seleccione Numero Documento!', icon: 'warning', button: 'Cerrar', timer: 3000, }); return false; } var bandera_accion=document.getElementById('bandera_accion').value; if(bandera_accion=='0') { swal({ title: 'Alerta!', text: 'Realice busqueda del documento para continuar con el registro!', icon: 'warning', button: 'Cerrar', timer: 3000, }); return false; } var txt_numero=document.getElementById('txt_numero').value; if(txt_numero=='') { swal({ title: 'Alerta!', text: 'Ingrese numero de documento!', icon: 'warning', button: 'Cerrar', timer: 3000, }); return false; } var txt_nombre=document.getElementById('txt_nombre').value; if(txt_nombre=='') { swal({ title: 'Alerta!', text: 'Ingrese Nombre!', icon: 'warning', button: 'Cerrar', timer: 3000, }); return false; } var txt_apaterno=document.getElementById('txt_apaterno').value; if(txt_apaterno=='') { swal({ title: 'Alerta!', text: 'Ingrese Apellido Paterno!', icon: 'warning', button: 'Cerrar', timer: 3000, }); return false; } var txt_apaterno=document.getElementById('txt_amaterno').value; if(txt_amaterno=='') { swal({ title: 'Alerta!', text: 'Ingrese Apellido Materno!', icon: 'warning', button: 'Cerrar', timer: 3000, }); return false; } var txt_email_personal=document.getElementById('txt_email_personal').value; if(txt_email_personal=='') { swal({ title: 'Alerta!', text: 'Ingrese Email Personal!', icon: 'warning', button: 'Cerrar', timer: 3000, }); return false; } swal('Desea Grabar?', { buttons: { cancel: 'Cancelar!', catch: { text: 'Grabar!', value: 'btn_grabar', }, }, }) .then((value) => { switch (value) { case 'btn_cancelar': break; case 'btn_grabar': frm_interno.submit(); break; } }); " >Grabar</button> </div> <iframe name="iframe_lista" id="iframe_lista" style="width:0px; height:0px;"></iframe> </form>