Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
Formulario de paz
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ulises Morales Ramírez
Formulario de paz
Commits
47be75a2
Commit
47be75a2
authored
5 years ago
by
Ulises Morales Ramírez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
base de datos
parent
8cbd2d90
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
93 additions
and
49 deletions
+93
-49
encuesta.php
encuesta.php
+12
-2
463980.jpg
images/463980.jpg
+0
-0
Logo-Horizontal-V2-blanco.png
images/Logo-Horizontal-V2-blanco.png
+0
-0
fondooriginal.jpg
images/fondooriginal.jpg
+0
-0
index.php
index.php
+46
-34
lenguaje.php
lenguaje.php
+11
-2
ownStyle.css
ownStyle.css
+13
-9
salida.php
salida.php
+11
-2
No files found.
encuesta.php
View file @
47be75a2
...
@@ -26,7 +26,7 @@ session_start();
...
@@ -26,7 +26,7 @@ session_start();
<div
class=
"circle mediun shade4"
></div>
<div
class=
"circle mediun shade4"
></div>
<div
class=
"circle small shade5"
></div>
<div
class=
"circle small shade5"
></div>
</div>
</div>
<div
class=
"container
h-100
"
>
<div
class=
"container"
>
<!--div class="text-center" style="z-index: -1"><img src="images/header.png" width="800px"></div-->
<!--div class="text-center" style="z-index: -1"><img src="images/header.png" width="800px"></div-->
<div
class=
"d-flex justify-content-center h-100"
>
<div
class=
"d-flex justify-content-center h-100"
>
<div
class=
"user_card"
>
<div
class=
"user_card"
>
...
@@ -119,8 +119,18 @@ session_start();
...
@@ -119,8 +119,18 @@ session_start();
</div>
</div>
</div>
</div>
<footer>
<div
class=
"text-center fixed-bottom"
style=
"margin-bottom: 20px"
>
<img
src=
"images/Logo-Horizontal-V2-blanco.png"
width=
"400px"
>
<div>
<hr>
<div
class=
"text-center"
style=
"margin-bottom: 10px"
>
<img
src=
"images/g122.png"
width=
"500px"
>
</div>
</footer>
</div>
</div>
<div
class=
"text-center"
><img
src=
"images/g122.png"
width=
"500px"
style=
"margin-bottom: 10px"
></div>
<script>
<script>
contenido_textarea
=
""
contenido_textarea
=
""
num_caracteres_permitidos
=
200
num_caracteres_permitidos
=
200
...
...
This diff is collapsed.
Click to expand it.
images/463980.jpg
0 → 100644
View file @
47be75a2
This diff is collapsed.
Click to expand it.
images/Logo-Horizontal-V2-blanco.png
0 → 100644
View file @
47be75a2
194 KB
This diff is collapsed.
Click to expand it.
images/fondooriginal.jpg
0 → 100644
View file @
47be75a2
884 KB
This diff is collapsed.
Click to expand it.
index.php
View file @
47be75a2
...
@@ -45,6 +45,7 @@ $conn->close();*/
...
@@ -45,6 +45,7 @@ $conn->close();*/
</head>
</head>
<body>
<body>
<!--div class="text-center" style="z-index: -1"><img src="images/header.png" width="800px"></div-->
<!--div class="text-center" style="z-index: -1"><img src="images/header.png" width="800px"></div-->
<div
class=
"ripple-background"
>
<div
class=
"ripple-background"
>
<div
class=
"circle xxlarge shade1"
></div>
<div
class=
"circle xxlarge shade1"
></div>
...
@@ -55,7 +56,7 @@ $conn->close();*/
...
@@ -55,7 +56,7 @@ $conn->close();*/
</div>
</div>
<div
class=
"container
h-100
"
>
<div
class=
"container"
>
<div
class=
"d-flex justify-content-center h-100"
>
<div
class=
"d-flex justify-content-center h-100"
>
<div
class=
"user_card"
>
<div
class=
"user_card"
>
...
@@ -78,30 +79,32 @@ $conn->close();*/
...
@@ -78,30 +79,32 @@ $conn->close();*/
<div
class=
"input-group-append"
>
<div
class=
"input-group-append"
>
<span
class=
"input-group-text"
><i
class=
"fas fa-search"
></i></span>
<span
class=
"input-group-text"
><i
class=
"fas fa-search"
></i></span>
</div>
</div>
<input
type=
"text"
autocomplete=
"on"
list=
"Escuelas"
name=
"escuela"
id=
"input_escuela"
class=
"form-control "
value=
""
placeholder=
"Seleccione la clave o nombre de su escuela"
required
"
>
<input
type=
"text"
autocomplete=
"on"
list=
"Escuelas"
name=
"escuela"
id=
"input_escuela"
<input
type=
"hidden"
name=
"clave_escuela"
id=
"clave_escuela"
>
class=
"form-control custom-select custom-select-sm"
value=
""
placeholder=
"Seleccione la clave o nombre de su escuela"
required
"
>
<input
type=
"hidden"
name=
"clave_escuela"
id=
"clave_escuela"
>
</div>
</div>
<datalist
id=
"Escuelas"
>
<datalist
id=
"Escuelas"
>
<?php
<?php
while
(
$row
=
$result1
->
fetch_assoc
())
{
while
(
$row
=
$result1
->
fetch_assoc
())
{
echo
'<option value="'
.
utf8_encode
(
$row
[
"CV_CCT"
])
.
'">'
.
utf8_encode
(
$row
[
"NOMBRECT"
])
.
' <br>de '
.
utf8_encode
(
$row
[
"C_NOM_LOC"
])
.
'</option>'
;
echo
'<option value="'
.
utf8_encode
(
$row
[
"CV_CCT"
])
.
'">'
.
utf8_encode
(
$row
[
"NOMBRECT"
])
.
' <br>de '
.
utf8_encode
(
$row
[
"C_NOM_LOC"
])
.
'</option>'
;
//echo '<option value="'.utf8_encode($row["NOMBRECT"]).'">de '.utf8_encode($row["C_NOM_LOC"]).' <br>clave: '.utf8_encode($row["CV_CCT"]).'</option>';
//echo '<option value="'.utf8_encode($row["NOMBRECT"]).'">de '.utf8_encode($row["C_NOM_LOC"]).' <br>clave: '.utf8_encode($row["CV_CCT"]).'</option>';
}
}
while
(
$row
=
$result2
->
fetch_assoc
())
{
while
(
$row
=
$result2
->
fetch_assoc
())
{
echo
'<option value="'
.
utf8_encode
(
$row
[
"CV_CCT"
])
.
'">'
.
utf8_encode
(
$row
[
"NOMBRECT"
])
.
' <br>de '
.
utf8_encode
(
$row
[
"C_NOM_LOC"
])
.
'</option>'
;
echo
'<option value="'
.
utf8_encode
(
$row
[
"CV_CCT"
])
.
'">'
.
utf8_encode
(
$row
[
"NOMBRECT"
])
.
' <br>de '
.
utf8_encode
(
$row
[
"C_NOM_LOC"
])
.
'</option>'
;
}
}
while
(
$row
=
$result3
->
fetch_assoc
())
{
while
(
$row
=
$result3
->
fetch_assoc
())
{
echo
'<option value="'
.
utf8_encode
(
$row
[
"CV_CCT"
])
.
'">'
.
utf8_encode
(
$row
[
"NOMBRECT"
])
.
' <br>de '
.
utf8_encode
(
$row
[
"C_NOM_LOC"
])
.
'</option>'
;
echo
'<option value="'
.
utf8_encode
(
$row
[
"CV_CCT"
])
.
'">'
.
utf8_encode
(
$row
[
"NOMBRECT"
])
.
' <br>de '
.
utf8_encode
(
$row
[
"C_NOM_LOC"
])
.
'</option>'
;
}
}
while
(
$row
=
$result4
->
fetch_assoc
())
{
while
(
$row
=
$result4
->
fetch_assoc
())
{
echo
'<option value="'
.
utf8_encode
(
$row
[
"CV_CCT"
])
.
'">'
.
utf8_encode
(
$row
[
"NOMBRECT"
])
.
' <br>de '
.
utf8_encode
(
$row
[
"LOCALIDAD"
])
.
'</option>'
;
echo
'<option value="'
.
utf8_encode
(
$row
[
"CV_CCT"
])
.
'">'
.
utf8_encode
(
$row
[
"NOMBRECT"
])
.
' <br>de '
.
utf8_encode
(
$row
[
"LOCALIDAD"
])
.
'</option>'
;
}
}
while
(
$row
=
$result5
->
fetch_assoc
())
{
while
(
$row
=
$result5
->
fetch_assoc
())
{
//echo '<option value="'.utf8_encode($row["CV_CCT"]).'">'.utf8_encode($row["NOMBRECT"]).'</option>';
//echo '<option value="'.utf8_encode($row["CV_CCT"]).'">'.utf8_encode($row["NOMBRECT"]).'</option>';
echo
'<option value="'
.
utf8_encode
(
$row
[
"CV_CCT"
])
.
'">'
.
utf8_encode
(
$row
[
"NOMBRECT"
])
.
' <br>de '
.
utf8_encode
(
$row
[
"LOCALIDAD"
])
.
'</option>'
;
echo
'<option value="'
.
utf8_encode
(
$row
[
"CV_CCT"
])
.
'">'
.
utf8_encode
(
$row
[
"NOMBRECT"
])
.
' <br>de '
.
utf8_encode
(
$row
[
"LOCALIDAD"
])
.
'</option>'
;
}
}
?>
?>
</datalist>
</datalist>
...
@@ -125,24 +128,34 @@ $conn->close();*/
...
@@ -125,24 +128,34 @@ $conn->close();*/
</div>
</div>
<div
class=
"d-flex justify-content-center mt-3 login_container"
>
<div
class=
"d-flex justify-content-center mt-3 login_container"
>
<button
type=
"submit"
id=
"next"
class=
"btn login_btn"
disabled
>
Siguiente
</button>
<button
type=
"submit"
id=
"next"
class=
"btn login_btn"
disabled
>
Siguiente
</button>
</div>
</div>
</form>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<footer>
<div
class=
"text-center fixed-bottom"
style=
"margin-bottom: 20px"
>
<img
src=
"images/Logo-Horizontal-V2-blanco.png"
width=
"400px"
>
<div>
<hr>
<div
class=
"text-center"
style=
"margin-bottom: 10px"
>
<img
src=
"images/g122.png"
width=
"500px"
>
</div>
</footer>
</div>
</div>
<div
class=
"text-center"
><img
src=
"images/g122.png"
width=
"500px"
style=
"margin-bottom: 10px"
></div>
<script>
<script>
$
(
"#input_escuela"
).
bind
(
'input'
,
function
()
{
$
(
"#input_escuela"
).
bind
(
'input'
,
function
()
{
var
dato
=
$
(
'#input_escuela'
).
val
();
var
dato
=
$
(
'#input_escuela'
).
val
();
$
(
'#clave_escuela'
).
val
(
$
(
'#input_escuela'
).
val
());
$
(
'#clave_escuela'
).
val
(
$
(
'#input_escuela'
).
val
());
document
.
getElementById
(
'clave_escuela'
).
value
=
$
(
'#input_escuela'
).
val
();
document
.
getElementById
(
'clave_escuela'
).
value
=
$
(
'#input_escuela'
).
val
();
var
valor
=
checkExists
(
$
(
'#input_escuela'
).
val
());
var
valor
=
checkExists
(
$
(
'#input_escuela'
).
val
());
//alert(valor);
//alert(valor);
var
lastword
=
valor
.
split
(
" "
).
pop
();
var
lastword
=
valor
.
split
(
" "
).
pop
();
$
(
'#nombre_escuela'
).
empty
();
$
(
'#nombre_escuela'
).
empty
();
...
@@ -150,7 +163,7 @@ $conn->close();*/
...
@@ -150,7 +163,7 @@ $conn->close();*/
$
(
'#titulo1'
).
empty
();
$
(
'#titulo1'
).
empty
();
$
(
'#titulo2'
).
empty
();
$
(
'#titulo2'
).
empty
();
var
porciones
=
valor
.
split
(
'de '
);
var
porciones
=
valor
.
split
(
'de '
);
document
.
getElementById
(
'input_escuela'
).
value
=
porciones
[
0
];
document
.
getElementById
(
'input_escuela'
).
value
=
porciones
[
0
];
$
(
'#nombre_escuela'
).
append
(
porciones
[
0
]);
$
(
'#nombre_escuela'
).
append
(
porciones
[
0
]);
$
(
'#titulo1'
).
append
(
'<h1>Escuela: </h1>'
);
$
(
'#titulo1'
).
append
(
'<h1>Escuela: </h1>'
);
$
(
'#titulo2'
).
append
(
'<h3>Localidad:</h3>'
);
$
(
'#titulo2'
).
append
(
'<h3>Localidad:</h3>'
);
...
@@ -160,13 +173,12 @@ $conn->close();*/
...
@@ -160,13 +173,12 @@ $conn->close();*/
{
{
dato
:
dato
dato
:
dato
},
},
function
(
data
,
status
)
{
function
(
data
,
status
)
{
if
(
data
==
"1"
)
{
if
(
data
==
"1"
)
{
$
(
'#next'
).
attr
(
"disabled"
,
false
);
$
(
'#next'
).
attr
(
"disabled"
,
false
);
}
else
{
$
(
'#next'
).
attr
(
"disabled"
,
true
);
}
}
else
{
$
(
'#next'
).
attr
(
"disabled"
,
true
);
}
});
});
});
});
...
@@ -176,7 +188,7 @@ $conn->close();*/
...
@@ -176,7 +188,7 @@ $conn->close();*/
var
i
;
var
i
;
var
flag
;
var
flag
;
for
(
i
=
0
;
i
<
x
.
options
.
length
;
i
++
)
{
for
(
i
=
0
;
i
<
x
.
options
.
length
;
i
++
)
{
if
(
inputValue
==
x
.
options
[
i
].
value
)
{
if
(
inputValue
==
x
.
options
[
i
].
value
)
{
flag
=
x
.
options
[
i
].
text
;
flag
=
x
.
options
[
i
].
text
;
}
}
...
...
This diff is collapsed.
Click to expand it.
lenguaje.php
View file @
47be75a2
...
@@ -36,7 +36,7 @@ if (isset($_POST['escuela'])) {
...
@@ -36,7 +36,7 @@ if (isset($_POST['escuela'])) {
<div
class=
"circle small shade5"
></div>
<div
class=
"circle small shade5"
></div>
</div>
</div>
<div
class=
"container
h-100
"
>
<div
class=
"container"
>
<!--div class="text-center" style="z-index: -1"><img src="images/header.png" width="800px"></div-->
<!--div class="text-center" style="z-index: -1"><img src="images/header.png" width="800px"></div-->
<div
class=
"d-flex justify-content-center h-100"
>
<div
class=
"d-flex justify-content-center h-100"
>
<div
class=
"user_card"
>
<div
class=
"user_card"
>
...
@@ -81,8 +81,17 @@ if (isset($_POST['escuela'])) {
...
@@ -81,8 +81,17 @@ if (isset($_POST['escuela'])) {
</div>
</div>
</div>
</div>
</div>
</div>
<footer>
<div
class=
"text-center fixed-bottom"
style=
"margin-bottom: 20px"
>
<img
src=
"images/Logo-Horizontal-V2-blanco.png"
width=
"400px"
>
<div>
<hr>
<div
class=
"text-center"
style=
"margin-bottom: 10px"
>
<img
src=
"images/g122.png"
width=
"500px"
>
</div>
</footer>
</div>
</div>
<div
class=
"text-center"
><img
src=
"images/g122.png"
width=
"500px"
style=
"margin-bottom: 10px"
></div>
</body>
</body>
</html>
</html>
This diff is collapsed.
Click to expand it.
ownStyle.css
View file @
47be75a2
...
@@ -3,12 +3,14 @@
...
@@ -3,12 +3,14 @@
body
,
body
,
html
{
html
{
/*background-image: url("images/background.jpg");*/
/*background-image: url("images/background.jpg");*/
margin
:
0
;
height
:
100%
;
height
:
100%
;
border
:
30px
solid
transparent
;
/*background: #6C3721;*/
padding
:
20px
;
background
:
#6C3721
;
background-image
:
url("images/463980.jpg")
;
overflow
:
hidden
;
/*background-repeat: no-repeat;*/
background-size
:
100%
,
100%
;
/*-webkit-border-image: url("images/background2.png") 40 round; /* Safari 3.1-5 */
/*-webkit-border-image: url("images/background2.png") 40 round; /* Safari 3.1-5 */
/*-o-border-image: url("images/background2.png") 40 round; /* Opera 11-12.1 */
/*-o-border-image: url("images/background2.png") 40 round; /* Opera 11-12.1 */
/*border-image: url("images/background2.png") 40 round;*/
/*border-image: url("images/background2.png") 40 round;*/
...
@@ -17,18 +19,19 @@ html{
...
@@ -17,18 +19,19 @@ html{
.user_card
{
.user_card
{
height
:
600px
;
height
:
600px
;
width
:
550px
;
width
:
550px
;
margin-top
:
auto
;
margin-top
:
200px
;
margin-bottom
:
auto
;
margin-bottom
:
auto
;
background
:
#f39c12
;
background
:
rgba
(
132
,
93
,
5
,
0.9
);
;
position
:
relative
;
position
:
relative
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
flex-direction
:
column
;
flex-direction
:
column
;
padding
:
10px
;
/*padding: 10px;*/
box-shadow
:
0
4px
8px
0
rgba
(
0
,
0
,
0
,
0.2
),
0
6px
20px
0
rgba
(
0
,
0
,
0
,
0.19
);
box-shadow
:
0
4px
8px
0
rgba
(
0
,
0
,
0
,
0.2
),
0
6px
20px
0
rgba
(
0
,
0
,
0
,
0.19
);
-webkit-box-shadow
:
0
4px
8px
0
rgba
(
0
,
0
,
0
,
0.2
),
0
6px
20px
0
rgba
(
0
,
0
,
0
,
0.19
);
-webkit-box-shadow
:
0
4px
8px
0
rgba
(
0
,
0
,
0
,
0.2
),
0
6px
20px
0
rgba
(
0
,
0
,
0
,
0.19
);
-moz-box-shadow
:
0
4px
8px
0
rgba
(
0
,
0
,
0
,
0.2
),
0
6px
20px
0
rgba
(
0
,
0
,
0
,
0.19
);
-moz-box-shadow
:
0
4px
8px
0
rgba
(
0
,
0
,
0
,
0.2
),
0
6px
20px
0
rgba
(
0
,
0
,
0
,
0.19
);
border-radius
:
5px
;
border-radius
:
5px
;
color
:
white
;
}
}
...
@@ -110,7 +113,7 @@ input[type=number]::-webkit-outer-spin-button {
...
@@ -110,7 +113,7 @@ input[type=number]::-webkit-outer-spin-button {
-webkit-appearance
:
none
;
-webkit-appearance
:
none
;
margin
:
0
;
margin
:
0
;
}
}
/*
.circle{
.circle{
position: absolute;
position: absolute;
border-radius: 50%;
border-radius: 50%;
...
@@ -186,3 +189,4 @@ input[type=number]::-webkit-outer-spin-button {
...
@@ -186,3 +189,4 @@ input[type=number]::-webkit-outer-spin-button {
transform: scale(0.8);
transform: scale(0.8);
}
}
}
}
*/
\ No newline at end of file
This diff is collapsed.
Click to expand it.
salida.php
View file @
47be75a2
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<div
class=
"circle small shade5"
></div>
<div
class=
"circle small shade5"
></div>
</div>
</div>
<div
class=
"container
h-100
"
>
<div
class=
"container"
>
<!--div class="text-center" style="z-index: -1"><img src="images/header.png" width="800px"></div-->
<!--div class="text-center" style="z-index: -1"><img src="images/header.png" width="800px"></div-->
<div
class=
"d-flex justify-content-center h-100"
>
<div
class=
"d-flex justify-content-center h-100"
>
<div
class=
"user_card"
>
<div
class=
"user_card"
>
...
@@ -72,8 +72,17 @@
...
@@ -72,8 +72,17 @@
</div>
</div>
</div>
</div>
<footer>
<div
class=
"text-center fixed-bottom"
style=
"margin-bottom: 20px"
>
<img
src=
"images/Logo-Horizontal-V2-blanco.png"
width=
"400px"
>
<div>
<hr>
<div
class=
"text-center"
style=
"margin-bottom: 10px"
>
<img
src=
"images/g122.png"
width=
"500px"
>
</div>
</footer>
</div>
</div>
<div
class=
"text-center"
><img
src=
"images/g122.png"
width=
"500px"
style=
"margin-bottom: 10px"
></div>
<script>
<script>
function
redireccion
()
{
function
redireccion
()
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment