-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
192 lines (165 loc) · 6.12 KB
/
index.php
File metadata and controls
192 lines (165 loc) · 6.12 KB
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!-- WebSite similar to TIM -->
<!-- Done by Pablo Blanco & Jorge Santos, students from Politecnico Di Milano -->
<!-- Index Page -->
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Description -->
<title>TIM-Page</title>
<meta name="author" content="Jorge Santos & Pablo Blanco">
<meta charset="utf-8">
<meta name="description" content="WebSite similar to TIM done for the subject Hypermedia Applications">
<meta name="keywords" content="TIM, HYP, HTML, CSS">
<!-- For Mobiles -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Scripts -->
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<!-- Load Header and Footer -->
<script src="javascript/script.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/styleHeader.css">
<link rel="stylesheet" type="text/css" href="css/styleFooter.css">
<?php require_once 'php/ConnectionsDB.php'; ?>
</head>
<!-- Header -->
<nav class="navbar navbar-inverse" style="background-color:darkblue;" style="position:fixed">
<div class="container-fluid">
<div class="navbar-header">
<a href="index.php"><img id="logo" src="img/Il-nuovo-Marchio-TIM_13-gennaio-2016.jpg" alt="TIM-Photo"></a>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li class="textHeader">
<a href="pages/device.php" style="color:blue">
<span class="glyphicon glyphicon-phone"></span>DEVICE
</a>
</li>
<li class="textHeader"><a href="pages/smartLife.php" style="color:blue"><span class="glyphicon glyphicon-globe"></span> SMART LIFE SERVICE</a></li>
<li class="textHeader"><a href="pages/assistanceService.php" style="color:blue"><span class="glyphicon glyphicon-question-sign"></span>ASSISTANCE SERVICE</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="textHeader"><a href="pages/WhoWeAre.php" style="color:blue"><span class="glyphicon glyphicon-user"></span> WHO WE ARE</a></li>
<li class="textHeader"><a href="#" style="color:blue"><span class="glyphicon glyphicon-text-size"></span>IM</a></li>
</ul>
</div>
</div>
</nav>
<!-- BreadCrumbs -->
<div class="btn-group btn-breadcrumb">
<a href="index.php" class="btn btn-default"><i class="glyphicon glyphicon-home"></i> HOME</a>
</div>
<!-- Body -->
<body>
<br>
<div class="panel panel-danger">
<div class="panel-heading">SEE OUR LAST PROMOTIONS</div>
<div class="panel-body">
<div class="col-sm-4" align="left">
<?php
$array = array();
$array = getDevice('1');
?>
<a href="pages/Devices/showDevice.php?id=1">
<div class="imagenWithButton" align="center">
<img class="img-noborder img-responsive" src="php/getImageDevice.php?id=1" style="width:300px;height:250px" alt="Promotion">
</div>
</a>
<div class="itemfont" ><p>
<?php echo $array[0] ?></p>
</div>
</div>
<div class="col-sm-4" align="left">
<?php
$array = array();
$array = getDevice('7');
?>
<a href="pages/Devices/showDevice.php?id=7">
<div class="imagenWithButton" align="center">
<img class="img-noborder img-responsive" src="php/getImageDevice.php?id=7" style="width:300px;height:250px" alt="Promotion">
</div>
</a>
<div class="itemfont" ><p>
<?php echo $array[0] ?></p>
</div>
</div>
<div class="col-sm-4" align="left">
<?php
$array = array();
$array = getSmartLifeService('7');
?>
<a href="pages/SmartLifeService/Device/GenericDevice.php?id=7">
<div class="imagenWithButton" align="center">
<img class="img-noborder img-responsive" src="php/getImageSmart.php?id=7" style="width:300px;height:250px" alt="Promotion">
</div>
</a>
<div class="itemfont" ><p>
<?php echo $array[0] ?></p>
</div>
<br>
<br>
<br>
</div>
</div>
</div>
<br>
<div class="panel panel-default">
<div class="panel-body" align="center">
<div class="col-sm-12" align="center" style="margin-bottom:2%;">
<a href="pages/Devices/Outlet.php">
<div align="center" >
<img class="img-noborder img-responsive" src="img/out.jpg" style="width:1300px;height:350px" alt="Promotion">
</div>
</a>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-body" align="center" style="font-size: 22px;font-family: monospace; background-color:darkblue">
<div class="col-sm-3 breadcrumb" style="margin-top:1%">
<a href="pages/AssistanceService/Highlights.php">
FREQUENTLY QUESTIONS
</a>
</div>
<div class="col-sm-3 breadcrumb" style="margin-top:1%">
<a href="pages/WhoWeAreAwards.php">
AWARDS
</a>
</div>
<div class="col-sm-3 breadcrumb" style="margin-top:1%">
<a href="pages/SmartLifeService/TV/TV.php">
TIM VISION
</a>
</div>
<div class="col-sm-3 breadcrumb" style="margin-top:1%">
<a href="pages/WhoWeAre.php">
HISTORY
</a>
</div>
</div>
</div>
</body>
<br>
<!-- Load footer -->
<div class="footer" align="center">
<div class="col-sm-3">
<p class="text-follow">FOLLOW US IN SOCIAL MEDIA</p>
<img class="img-responsive" src="img/Followus.png" style="width:358px;height:50px" alt="FollowUs" />
</div>
<div class="col-sm-3">
<p class="text-contact">Contact us:</p><p> Tel.: 02 93746739<br/> Email: info@tim.it<br/> Fax: 02 93746739<br/></p>
</div>
<div class="col-sm-3">
<a href="pages/infoRequest.php" class="text-request-info">Request Info</a>
</div>
<div class="col-sm-3">
<p class="text-copyright">© 2016 Politecnico di Milano</p>
</div>
</div>
</html>