-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhead.php
83 lines (71 loc) · 3.5 KB
/
head.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
<?php
session_start();
include "config/config.php";
if (!isset($_SESSION['user_id'])&& $_SESSION['user_id']==null) {
header("location: index.php");
}
?>
<?php
$id=$_SESSION['user_id'];
$query=mysqli_query($con,"SELECT * from user where id=$id");
while ($row=mysqli_fetch_array($query)) {
$username = $row['username'];
$name = $row['name'];
$email = $row['email'];
$profile_pic = $row['profile_pic'];
$created_at = $row['created_at'];
$tipo_us = $row['kind'];
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $title." ".$name; ?> </title>
<!-- Bootstrap -->
<link href="css/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Font Awesome -->
<link href="css/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<!-- NProgress -->
<link href="css/nprogress/nprogress.css" rel="stylesheet">
<!-- iCheck -->
<link href="css/iCheck/skins/flat/green.css" rel="stylesheet">
<!-- Datatables -->
<link href="css/datatables.net-bs/css/dataTables.bootstrap.min.css" rel="stylesheet">
<link href="css/datatables.net-buttons-bs/css/buttons.bootstrap.min.css" rel="stylesheet">
<link href="css/datatables.net-fixedheader-bs/css/fixedHeader.bootstrap.min.css" rel="stylesheet">
<link href="css/datatables.net-responsive-bs/css/responsive.bootstrap.min.css" rel="stylesheet">
<link href="css/datatables.net-scroller-bs/css/scroller.bootstrap.min.css" rel="stylesheet">
<!-- jQuery custom content scroller -->
<link href="css/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.min.css" rel="stylesheet"/>
<!-- bootstrap-daterangepicker -->
<link href="css/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">
<!-- Custom Theme Style -->
<link href="css/custom.min.css" rel="stylesheet">
<!-- MICSS button[type="file"] -->
<link rel="stylesheet" href="css/micss.css">
</head>
<body class="nav-md">
<div class="container body">
<div class="main_container">
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;">
<a href="#" class="site_title"><i class="fa fa-ticket"></i> <span>Ticket - Seremi</span></a>
</div>
<div class="clearfix"></div>
<!-- menu profile quick info -->
<div class="profile clearfix">
<div class="profile_pic">
<img src="images/profiles/<?php echo $profile_pic;?>" alt="<?php echo $name;?>" class="img-circle profile_img">
</div>
<div class="profile_info">
<span>Bienvenido,</span>
<h2><?php echo $name;?></h2>
</div>
</div>
<!-- /menu profile quick info -->
<br />