-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathteam.php
134 lines (133 loc) · 3.61 KB
/
team.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
<html>
<head>
<title>Team : Wingtech
</title>
<?php include "head.inc"; ?>
<!-- Custom CSS -->
<link href="assets/css/homepage.css" rel="stylesheet">
<link rel="stylesheet" href="assets/css/teamcss.css">
</head>
<body>
<?php include "nav.inc"; ?>
<p>
<hr>
<!--TEAM PAGE-->
<?php
include "include/config.db.php";
$conn = getMYSQLIConnection();
?>
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="col-lg-12">
<h2>
<b>Meet The Team
</b>
</h2>
<p>Wingtech is comprised of ultra-talented and experienced designers, developers and programmers.
Learn more about each person by reading their descriptions below:
</p>
<hr>
<div class="row pt-md">
<?php
$result = $conn->query('SELECT * FROM team_profile WHERE roll="core"');
//$off=floor((12-3*$i)/2);
//if($row)
//echo 'HURRAY!';
while ($row = mysqli_fetch_array($result, MYSQL_NUM))
echo '<div class=" col-lg-3 col-md-3 col-sm-4 col-xs-12 profile">
<div class="img-box">
<img src="' . $row[8] . '" class="img-responsive">
<ul class="text-center">
<a href="' . $row[5] . '">
<li><i class="fa fa-facebook"></i></li>
</a>
<a href="' . $row[6] . '">
<li><i class="fa fa-twitter"></i></li>
</a>
<a href="' . $row[7] . '">
<li><i class="fa fa-linkedin"></i></li>
</a>
</ul>
</div>
<h1>' . $row[1] . '</h1>
<h2>' . $row[2] . '</h2>
<p>' . $row[3] . ' Year</p>
</div>'
?>
</div>
<div class="row pt-md">
<hr>
<h3>
<ul>
<b>Technical Team
</b>
</ul>
</h3>
<?php
$result = $conn->query('SELECT * FROM team_profile WHERE roll="technical"');
while ($row = mysqli_fetch_array($result, MYSQL_NUM))
echo '<div class=" col-lg-3 col-md-3 col-sm-4 col-xs-12 profile">
<div class="img-box">
<img src="' . $row[8] . '" class="img-responsive">
<ul class="text-center">
<a href="' . $row[5] . '">
<li><i class="fa fa-facebook"></i></li>
</a>
<a href="' . $row[6] . '">
<li><i class="fa fa-twitter"></i></li>
</a>
<a href="' . $row[7] . '">
<li><i class="fa fa-linkedin"></i></li>
</a>
</ul>
</div>
<h1>' . $row[1] . '</h1>
<h2>' . $row[2] . '</h2>
<p>' . $row[3] . ' Year</p>
</div>'
?>
</div>
<div class="row pt-md">
<hr>
<h3>
<ul>
<b>Management Team
</b>
</ul>
</h3>
<?php
$result = $conn->query('SELECT * FROM team_profile WHERE roll="management"');
while ($row = mysqli_fetch_array($result, MYSQL_NUM))
echo '<div class=" col-lg-3 col-md-3 col-sm-4 col-xs-12 profile">
<div class="img-box">
<img src="' . $row[8] . '" class="img-responsive">
<ul class="text-center">
<a href="' . $row[5] . '">
<li><i class="fa fa-facebook"></i></li>
</a>
<a href="' . $row[6] . '">
<li><i class="fa fa-twitter"></i></li>
</a>
<a href="' . $row[7] . '">
<li><i class="fa fa-linkedin"></i></li>
</a>
</ul>
</div>
<h1>' . $row[1] . '</h1>
<h2>' . $row[2] . '</h2>
<p>' . $row[3] . ' Year</p>
</div>'
?>
</div>
</div>
</div>
</div>
<br/>
<?php include "footer.inc"; ?>
</div>
<script src="assets/js/homepage.js">
</script>
</div>
</body>
</html>