-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.php
165 lines (147 loc) · 6.84 KB
/
dashboard.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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> -->
<link rel="stylesheet" href="css/navigation_bar.css">
<link rel="stylesheet" href="css/side-nav.css">
<link rel="stylesheet" href="css/card_view.css">
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Open+Sans'>
<link rel="stylesheet" href="css/style.css">
<!-- <link rel="stylesheet" href="css/voter.css"> -->
</head>
<body style="background-color:#efefef; font-family: Georgia;" >
<?php require_once('sidebar.php');?>
<div class="w3-main" style="margin-left:200px">
<?php
require_once('classes/header.php');
session_start();
// if(!isset($_SESSION['username']))
// {
// header("location:login/index.php");
// }
?>
</div>
<!-- <div style="background-color:rgb(55,185,233); width:100%; height:500px;"> -->
<!-- <img src="icon.png" width="20%" height="300px" style="z-index:2px;"/> -->
<!-- <div style="background-color:white; width:100%; height:100px; float:left; text-align:centre; margin-top:-200px;">
</div> -->
<!-- </div> -->
<div class="slider-container" style="margin-left:185px;">
<div class="slider-control left inactive" style="margin-left:30px;"></div>
<div class="slider-control right"></div>
<ul class="slider-pagi"></ul>
<div class="slider" >
<div class="slide slide-0 active">
<div class="slide__bg"></div>
<div class="slide__content">
<svg class="slide__overlay" viewBox="0 0 720 405" preserveAspectRatio="xMaxYMax slice">
<path class="slide__overlay-path" d="M0,0 150,0 500,405 0,405" />
</svg>
<div class="slide__text">
<h2 class="slide__text-heading">सत्यं नास्ति परो धर्म सर्वे जनाय हितं वदाम: ||</h2>
<!-- <p class="slide__text-desc">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Distinctio veniam minus illo debitis nihil animi facere, doloremque voluptate tempore quia. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Distinctio veniam minus illo debitis nihil animi facere, doloremque voluptate tempore quia.</p> -->
<!-- <a class="slide__text-link">Project link</a> -->
</div>
</div>
</div>
<div class="slide slide-1 ">
<div class="slide__bg"></div>
<div class="slide__content">
<svg class="slide__overlay" viewBox="0 0 720 405" preserveAspectRatio="xMaxYMax slice">
<path class="slide__overlay-path" d="M0,0 150,0 500,405 0,405" />
</svg>
<div class="slide__text">
<h2 class="slide__text-heading">मा कर्मफल हेतुर्भू मा ते संगोस्त्वकर्मणि ||</h2>
<!-- <p class="slide__text-desc">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Distinctio veniam minus illo debitis nihil animi facere, doloremque voluptate tempore quia. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Distinctio veniam minus illo debitis nihil animi facere, doloremque voluptate tempore quia.</p> -->
<!-- <a class="slide__text-link">Project link</a> -->
</div>
</div>
</div>
<div class="slide slide-2">
<div class="slide__bg"></div>
<div class="slide__content">
<svg class="slide__overlay" viewBox="0 0 720 405" preserveAspectRatio="xMaxYMax slice">
<path class="slide__overlay-path" d="M0,0 150,0 500,405 0,405" />
</svg>
<div class="slide__text">
<h2 class="slide__text-heading">यज्ञदान तप: कर्म पावनानि मनिषिणा ||</h2>
<!-- <p class="slide__text-desc">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Distinctio veniam minus illo debitis nihil animi facere, doloremque voluptate tempore quia. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Distinctio veniam minus illo debitis nihil animi facere, doloremque voluptate tempore quia.</p> -->
<!-- <a class="slide__text-link">Project link</a> -->
</div>
</div>
</div>
</div>
</div>
<div class="w3-main" style="margin-left:200px">
<div class="w3-container">
<div class="card_view2">
<div class="row">
<div class="col-span-0">
<nav>
<img src="classes/president/president.jpg" width="65%" height="40%"/><br/><br/>
</nav>
</div>
<div class="col-span-6">
<!-- <article> -->
<?php
// echo"<h1>".$data[0]."</h1>";
if($file = fopen("classes/president/president.txt","r"))
{
echo "<h1>".fgets($file)."</h1>";
echo "<p>".fgets($file)."</p>";
}
?>
<!-- <a href="#"><p style="text-align:center; color:blue;"> view more </a></p> -->
<!-- </article> -->
</div>
</div>
</div>
<!-- <div class="newsfeed">
<img src="icon.png" width="50%" height="25%"/>
<h1>London</h1>
<p>London is the capital city of England. It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants.</p>
<p>Standing on the River Thames, London has been a major settlement for two millennia, its history going back to its founding by the Romans, who named it Londinium.</p>
<hr>
<a href="#"><p style="text-align:center; color:blue;"> view more </a></p>
</div>
<div class="newsfeed">
<img src="icon.png" width="50%" height="25%"/>
<h1>London</h1>
<p>London is the capital city of England. It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants.</p>
<p>Standing on the River Thames, London has been a major settlement for two millennia, its history going back to its founding by the Romans, who named it Londinium.</p>
<hr>
<a href="#"><p style="text-align:center; color:blue;"> view more </a></p>
</div>
<div class="newsfeed">
<h1>London</h1>
<p>nlkmlm;f;lm;lmb;mfb;fmbg;mbg;hlm;ghmn;lghn;m</p>
<hr>
<img src="right-arrow.png" width="10%" style="float:left;"><a href="#" style="text-decoration:none"><p style="color:gray; text-align:left;"> Read more </a></p>
</div> -->
</div>
<footer>
<?php
require_once('footer.php');
?>
</footer>
</div>
<script>
function w3_open() {
document.getElementById("mySidebar").style.display = "block";
}
function w3_close() {
document.getElementById("mySidebar").style.display = "none";
}
$(document).ready(function(){
$(window).unload(function(){
unset ($_SESSION['username']);
header('location:../login/index.php');
})
});
</script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src="js/index.js"></script>
</body>
</html>