-
Notifications
You must be signed in to change notification settings - Fork 0
/
assistencia.php
188 lines (184 loc) · 8.85 KB
/
assistencia.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
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
<!DOCTYPE html>
<?php
session_start();
if(isset($_POST['logout'])){
session_destroy();
header('Location: index.php');
}
?>
<html>
<head>
<link rel="icon" href="img/favicon/favicon.png">
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Xecsul: Loja Online</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all,follow">
<!-- Bootstrap CSS-->
<link rel="stylesheet" href="css/bootstrap.css">
<!-- Font Awesome and Pixeden Icon Stroke icon fonts-->
<link href="http://netdna.bootstrapcdn.com//bootstrap/3.0.0/css/bootstrap-glyphicons.css" rel="stylesheet">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/pe-icon-7-stroke.css">
<!-- Google fonts - Roboto-->
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:300,400,700">
<!-- lightbox-->
<link rel="stylesheet" href="css/lightbox.min.css">
<!-- theme stylesheet-->
<link rel="stylesheet" href="css/style.default.css" id="theme-stylesheet">
<!-- Custom stylesheet - for your changes-->
<link rel="stylesheet" href="css/custom.css">
<!-- Favicon-->
<link rel="shortcut icon" href="img/favicon/favicon.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- Tweaks for older IEs--><!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]-->
</head>
<body>
<!-- navbar-->
<header class="header">
<div role="navigation" class="navbar navbar-fixed-top navbar-default">
<div class="container">
<a class="" href="index.php"><img style="margin: 0px 15px 15px 0px;position:absolute;left:10px;top:5px;width:9%;" src="img/xecsulpic.jpg"/></a>
<div class="navbar-buttons">
<button type="button" data-toggle="collapse" data-target=".navbar-collapse" class="navbar-toggle navbar-btn">Menu<i class="fa fa-align-justify"></i></button>
</div>
</div>
<div id="navigation" class="collapse navbar-collapse navbar-right">
<ul class="nav navbar-nav">
<li><a href="index.php">Página Inicial</a></li>
<li class="dropdown"><a data-toggle="dropdown" class="dropdown-toggle">Produtos<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="impressoras.php">Impressoras</a></li>
<li><a href="multifuncionais.php">Multifuncionais</a></li>
</ul>
</li>
<li><a href="campanha.php">Campanha</a></li>
<li class="active" ><a href="assistencia.php">Assistência</a></li>
<li><a href="#Contactos.">Contactos</a></li>
<li>
<a id="cart_button" href="carrinho.php" class="compras-link"><img style="display:block !important;margin-right:auto !important;margin-left:auto !important;width:50%;"src="img/cart.png">
<span class="carrinho" id="cart-container">
<?php
if(isset($_SESSION["products"])){
echo "<span style='position:relative;float:right;'>(".count($_SESSION["products"]).")</span>";
} else {
echo "<span style='position:relative;float:right;'>(0)</span>";
}
?>
</span>
</a></li>
<?php
if(isset($_SESSION['logged'])){
$nome = $_SESSION['nome'];
echo '</ul><a data-toggle="modal" data-target="#login-modal" class="btn navbar-btn btn-ghost"><i class="fa fa-sign-in"></i>Olá '.$nome.'</a>';
}else{
echo '</ul><a data-toggle="modal" data-target="#login-modal" class="btn navbar-btn btn-ghost"><i class="fa fa-sign-in"></i>Iniciar Sessão</a>';
}
?>
</div>
</div>
</div>
</header>
<!-- *** LOGIN MODAL ***_________________________________________________________
-->
<?php
if(isset($_SESSION['logged'])){
echo '<div id="login-modal" tabindex="-1" role="dialog" aria-labelledby="Login" aria-hidden="true" class="modal fade">
<div class="modal-dialog modal-sm">
<div class="modal-content"><div class="modal-header">
<button type="button" data-dismiss="modal" aria-hidden="true" class="close">×</button>
<h4 id="Login" class="modal-title">Opções</h4>
</div>
<div class="modal-body">
<p class="text-center">
<form action="index.php" method="post">
<input action="index.php" type="submit" class="btn btn-primary" value="Terminar Sessão" name="logout"/><br /><br />
</form>
</p>
</div>
</div>
</div>
</div>';
}else{
echo '<div id="login-modal" tabindex="-1" role="dialog" aria-labelledby="Login" aria-hidden="true" class="modal fade">
<div class="modal-dialog modal-sm">
<div class="modal-content"><div class="modal-header">
<button type="button" data-dismiss="modal" aria-hidden="true" class="close">×</button>
<h4 id="Login" class="modal-title">Inicie Sessão</h4>
</div>
<div class="modal-body">
<form action="php/login.php" method="post">
<div class="form-group">
<input name="email" id="email_modal" type="text" placeholder="email" class="form-control" required>
</div>
<div class="form-group">
<input name="password" id="password_modal" type="password" placeholder="palavra-passe" class="form-control" required>
</div>
<p class="text-center">
<input action="index.html" type="submit" class="btn btn-primary" value="Entrar" name="submit"/>
</p>
</form>
<p class="text-center text-muted">Ainda não se registou ?</p>
<p class="text-center text-muted"><a href="registar.php"><strong>Registe-se já </strong></a>! É fácil, rápido e poderá usufruir do nosso suporte sempre que necessitar.</p>
</div>
</div>
</div>
</div>';
}
?>
<!-- *** LOGIN MODAL END ***-->
<div class="xecsulpic main-assistencia">
<div class="container">
<div class="content">
<h1 style="color:#fff;text-shadow: -1px 0 #555, 0 1px #555, 1px 0 #555, 0 -1px #555;">XECSUL</h1>
<p class="margin-bottom" style="font-size:30px;text-shadow: -1px 0 #555, 0 2px #555, 1px 0 #555, 0 -1px #555;">Caso necessite de assistência, clique no botão e ligue-nos para podermos corrigir quaisquer problemas.</p>
<a class="btn btn-danger" href="https://get.teamviewer.com/vx926d9">ASSISTÊNCIA REMOTA</a>
</div>
</div>
</div>
<footer class="footer">
<div class="footer__block">
<div class="container">
<div class="row">
<div class="col-md-8 col-sm-12">
<h4 class="heading">Sobre a Xecsul</h4>
<p>A XECSUL Lda é desde 2001 o Concessionário Xerox para os conselhos de Almada, Seixal, Barreiro e Moita.
<p>Sediada em Almada, a XECSUL tem como MISSÃO acrescentar valor às atividades dos seus clientes, através do incremento da sua atividade comercial e da implementação de soluções que melhorem os processos de negócio.</p>
<p>Para cumprir a sua missão e alcançar a sua visão, a XECSUL definiu um conjunto de princípios que orientam a sua atuação e posicionamento no mercado.</p>
</div>
<div class="col-md-4 col-sm-12">
<h4 class="heading">Morada</h4>
<p> Rua José Justino Lopes Nr.12-C, Ramalha.<br />2805-320 Almada<br /></p>
</div>
<div class="col-md-4 col-sm-12">
<h4 class="heading" id="Contactos.">Contactos</h4>
</div>
<div class="col-md-4 col-sm-12">
<h4 class="heading" id="Contactos.">Links</h4>
<p><a href="https://www.xerox.com/index/ptpt.html">Xerox</a><br /><a class="fa fa-facebook" href="https://www.facebook.com/XECSUL/"></a>
</div>
</div>
</div>
</div>
<div class="footer__copyright">
<div class="container">
<div class="row">
<div class="col-md-6">
<p><a class="external">Copyright © 2018 Xecsul</a></p>
</div>
</div>
</div>
</div>
</footer>
<!-- Javascript files-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.cookie.js"> </script>
<script src="js/lightbox.min.js"></script>
<script src="js/front.js"></script>
</body>
</html>