-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcliente_edit.php
More file actions
99 lines (96 loc) · 6.1 KB
/
Copy pathcliente_edit.php
File metadata and controls
99 lines (96 loc) · 6.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="shortcut icon" type="image/x-icon" href="/lp3/favicon.ico">
<title>LP3</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<?php
require 'ver_session.php'; /*VERIFICAR SESSION*/
@session_start();/*Reanudar sesion*/
require 'menu/css_lte.ctp'; ?><!--ARCHIVOS CSS-->
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<?php require 'menu/header_lte.ctp'; ?><!--CABECERA PRINCIPAL-->
<?php require 'menu/toolbar_lte.ctp';?><!--MENU PRINCIPAL-->
<div class="content-wrapper">
<div class="content">
<div class="row">
<div class="col-lg-12 col-sm-12 col-md-12 col-xs-12">
<div class="box box-warning">
<div class="box-header">
<i class="fa fa-edit"></i>
<h3 class="box-title">Editar Cliente</h3>
<div class="box-tools">
<a href="cliente_index.php" class="btn btn-primary btn-sm" data-title="Volver">
<i class="fa fa-arrow-left"></i>
</a>
</div>
</div>
<form action="cliente_control.php" method="post" accept-charset="utf-8" class="form-horizontal">
<div class="box-body">
<?php $resultado = consultas::get_datos("select * from clientes where cli_cod=".$_GET['vcli_cod']);?>
<div class="form-group">
<input type="hidden" name="accion" value="2"/>
<input type="hidden" name="vcli_cod" value="<?php echo $resultado[0]['cli_cod']?>"/>
<label class=" col-lg-2 control-label "> CI Nº:</label>
<div class="col-lg-6 ">
<input type="text" name="vcli_ci" class="form-control" required="" autofocus=""
value="<?php echo $resultado[0]['cli_ci']?>"/>
</div>
</div>
<div class="form-group">
<label class="col-lg-2 control-label">Nombres:</label>
<div class="col-lg-6">
<input type="text" name="vcli_nombre" class="form-control" required=""
value="<?php echo $resultado[0]['cli_nombre']?>"/>
</div>
</div>
<div class="form-group">
<label class="col-lg-2 control-label">Apellidos:</label>
<div class="col-lg-6">
<input type="text" name="vcli_apellido" class="form-control" required=""
value="<?php echo $resultado[0]['cli_apellido']?>"/>
</div>
</div>
<div class="form-group">
<label class="col-lg-2 control-label">Teléfono:</label>
<div class="col-lg-6">
<input type="text" name="vcli_telefono" class="form-control" required=""
value="<?php echo $resultado[0]['cli_telefono']?>"/>
</div>
</div>
<div class="form-group">
<label class="col-lg-2 control-label">Dirección:</label>
<div class="col-lg-6">
<input type="text" name="vcli_direcc" class="form-control" required=""
value="<?php echo $resultado[0]['cli_direcc']?>"/>
</div>
</div>
</div>
</div>
<div class="box-footer">
<button type="reset" class="btn btn-default" data-title="Cancelar" >
<i class="fa fa-remove"></i> Cancelar</button>
<button type="submit" class="btn btn-warning pull-right" data-title="Guardar" >
<i class="fa fa-edit"></i> Actualizar</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<?php require 'menu/footer_lte.ctp'; ?><!--ARCHIVOS JS-->
</div>
<?php require 'menu/js_lte.ctp'; ?><!--ARCHIVOS JS-->
</body>
</html>