-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathentercontact.php
86 lines (76 loc) · 2.76 KB
/
entercontact.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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="app.js"></script>
<title>Mindtool</title>
<meta name="keywords" content="Mindtool,Social,entrepeunership,Post">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="estilos.css">
<title></title>
</head>
<body>
<div class="menu-bar" >
<div class="Item-bar">
<img onclick="window.location='index.php'"class="logo-Item" src="img_413537.png" alt="">
<h6 class="title-letter">Mindtool</h6>
</div>
<div class="Item-bar1">
<img src="icons8-idea-50.png" onclick="window.location.href='initx.php'" class="icon-serves" alt>
<img src="icons8-apretón-de-manos-50.png" onclick="window.location.href='entercontact.php'"class="icon-serves" alt="">
<img src="icons8-internship-24.png" onclick="window.location.href='envolved.php';"class="icon-serves" alt="">
</div>
<div class="card-feet" style="">
<div class="" style="padding-right: 10px;">
<img class="profile-pic" src="yo.jpg" alt="Diego Ruelas">
</div>
<div class="">
<p>Diego Ruelas</p>
</div>
</div>
<br/>
</div>
<br>
<br>
<div class="main-forms">
<div class="verified-query">
<input type="text" class="form-control" style="width: 600px;"name="" value="">
<button type="button" class="btn btn-primary"name="button">Buscar</button>
</div>
</div>
<br>
<br>
<br>
<?php
$server = "mindtool.database.windows.net";
$username = "Diego";
$password = "Atomos12";
$database = "mindtool";
$conn = new PDO("sqlsrv:server=$server ; Database = $database", $username, $password);
?>
<?php
$lotsql = 'SELECT * FROM some_enterprise';
$post_data = $conn->query($lotsql)->fetchAll();
?>
<?php for($i=0; $i<3; $i++){ ?>
<div class="enterprise-post-page">
<div class="card text-center enter-post">
<div class="card-body">
<h5 class="card-title"><?php echo $post_data[$i]['title'] ?></h5>
<div class="content-card-getit">
<p class="text-about"> <?php echo $post_data[$i]['content'] ?></p>
<?php echo '<img class="enterlogo" src=' .$post_data[$i]['logo'] .' alt=""/>'; ?>
</div>
<button onclick="" class="btn btn-primary">Go!</button>
</div>
<div class="card-footer text-muted">
<?php echo $post_data[$i]['post_creation'] ?>
</div>
</div>
</div>
<br>
<br>
<?php } ?>
</body>
</html>