chartManD commited on
Commit
dd3af06
·
1 Parent(s): c076d23

refactorizando el index

Browse files
Files changed (3) hide show
  1. app/inc/footer.php +6 -0
  2. app/inc/header.php +13 -0
  3. app/index.php +21 -38
app/inc/footer.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
2
+ integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
3
+ crossorigin="anonymous"></script>
4
+ </body>
5
+
6
+ </html>
app/inc/header.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="es">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Conexion</title>
8
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
9
+ integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
10
+
11
+ </head>
12
+
13
+ <body>
app/index.php CHANGED
@@ -1,40 +1,23 @@
1
- <!DOCTYPE html>
2
- <html lang="es">
 
 
 
 
 
 
 
 
3
 
4
- <head>
5
- <meta charset="UTF-8">
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <title>Conexion</title>
8
- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
9
- integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
 
 
 
 
10
 
11
- </head>
12
-
13
- <body>
14
- <h1>
15
- Soy la conexion
16
- </h1>
17
- <p>
18
- Esta es un prueba a la base de datos del clever cloud.
19
- </p>
20
- <p>
21
- <?php
22
- $es = "marco polo";
23
-
24
- echo "Fue $es";
25
- echo "<br>";
26
- echo 'Fue $es';
27
- ?>
28
- </p>
29
- <p>
30
- <?php
31
- include "conection.php";
32
- ?>
33
- </p>
34
-
35
- <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
36
- integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
37
- crossorigin="anonymous"></script>
38
- </body>
39
-
40
- </html>
 
1
+ <?php include "/inc/header.php" ?>
2
+ <h1>
3
+ Soy la conexion
4
+ </h1>
5
+ <p>
6
+ Esta es un prueba a la base de datos del clever cloud.
7
+ </p>
8
+ <p>
9
+ <?php
10
+ $es = "marco polo";
11
 
12
+ echo "Fue $es";
13
+ echo "<br>";
14
+ echo 'Fue $es';
15
+ ?>
16
+ </p>
17
+ <p>
18
+ <?php
19
+ include "conection.php";
20
+ ?>
21
+ </p>
22
 
23
+ <?php include "/inc/footer.php" ?>