-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadd_lugar.php
140 lines (105 loc) · 3.83 KB
/
add_lugar.php
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<html lang="es">
<head>
<title>Agregar Lugar</title>
<meta charset="UTF-8"/>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link href="css/lug.css" media="all" rel="stylesheet" type="text/css" />
<!--<link href="login1.html" rel="import" />-->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<link href="http://cdn.phpoll.com/css/animate.css" rel="stylesheet">
<script src="js/lug.js" type="text/javascript"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</head>
<?php
include('header.php');
?>
<?php include('conexion.php'); ?>
<!-- Page Content -->
<div id="bodyContent" class="container">
<div class="row">
<div class="col-md-9">
<form class="form-horizontal" method="post" action="al.php">
<fieldset>
<!-- Form Name -->
<legend>Añadir Lugar</legend>
<!-- File Button -->
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="textinput">Nombre Lugar</label>
<div class="col-md-4">
<input id="textinput" name="nl" type="text" class="form-control input-md">
</div>
</div>
<!-- Multiple Checkboxes -->
<div class="form-group">
<label class="col-md-4 control-label" for="checkboxes">Categorias</label>
<div class="col-md-4">
<div class="checkbox">
<label for="checkboxes">
<input type="checkbox" name="ch[]" value="Agencias de Viaje y Tour Operador">
Agencias de Viaje y Tour Operador
</label>
</div>
<div class="checkbox">
<label for="checkboxes">
<input type="checkbox" name="ch[]" value="Guías de Turismo">
Guías de Turismo
</label>
</div>
<div class="checkbox">
<label for="checkboxes">
<input type="checkbox" name="ch[]" value="Servicios de Esparcimiento">
Servicios de Esparcimiento
</label>
</div>
<div class="checkbox">
<label for="checkboxes">
<input type="checkbox" name="ch[]" value="Alojamiento Turístico">
Alojamiento Turístico
</label>
</div>
<div class="checkbox">
<label for="checkboxes">
<input type="checkbox" name="ch[]" value="Artesanía">
Artesanía
</label>
</div>
</div>
</div>
<!-- Textarea -->
<div class="form-group">
<label class="col-md-4 control-label" for="textarea">Descripción</label>
<div class="col-md-4">
<textarea class="form-control" id="textarea" name="desc">...</textarea>
</div>
</div>
<!-- Button -->
<!-- Select Basic -->
<div class="form-group">
<label class="col-md-4 control-label" for="selectbasic">Selecciona Comuna</label>
<div class="col-md-4">
<select id="selectbasic" name="comuna" class="form-control">
<option value="ARAUCO">ARAUCO</option>
<option value="LEBU">LEBU</option>
<option value="CAÑETE">CAÑETE</option>
<option value="CONTULMO">CONTULMO</option>
<option value="CURANILAHUE">CURANILAHUE</option>
<option value="LOS ALAMOS">LOS ALAMOS</option>
<option value="TIRUA">TIRUA</option>
</select>
</div>
</div>
<div class="form-group">
<div class="col-md-9">
<button type="submit" class="btn btn-success pull-right">Enviar</button>
</div>
</div>
</fieldset>
</form>
</div>
</div>
<script src="js/bootstrap.min.js"></script>
</html>