This repository has been archived by the owner on Feb 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathagent-page.php
213 lines (203 loc) · 7.32 KB
/
agent-page.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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<?php
require_once "classes/class.user.php";
$agent = new Agent();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta tags -->
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="format-detection" content="telephone=no">
<meta name="description" content="Yarnsh is a community of student built by students for students">
<meta name="keyword" content="pdf materials, course work">
<meta property="og:type" content="website" />
<meta property="og:url" content="https://yarnsh.com/terms" />
<meta property="og:image" content="https://assets/img/Yarnshc.jpg" />
<meta property="og:title" content="Terms - Yarnsh" />
<meta name="description" content="Yarnsh is a community of student built by students for students">
<meta name="twitter:card" content="https://assets/img/Yarnshc.jpg">
<link rel="stylesheet" href="assets/css/header.css" />
<link rel="stylesheet" href="assets/css/footer.css" />
<link rel="stylesheet" href="assets/css/main.css">
<link rel="stylesheet" href="assets/css/agent-page.css">
<title>Agent-page</title>
<!-- Favicon -->
<link rel="shortcut icon" href="assets/img/favicon.png" type="image/x-icon">
</head>
<body>
<div class="main-container">
<!-- header -->
<header>
<div class="logo-and-desktop-links-container">
<div class="logo">
<img src="assets/img/Yarnsh2.jpg" alt="logo" />
</div>
<div class="desktop-nav">
<ul>
<li class="desktop-link add-Border-bottom">
<button><a href="home"> HOME</a></button>
</li>
<li class="desktop-link">
<button><a href="order"> GET A RIDE </a></button>
</li>
<li class="desktop-link">
<button><a href="vacancy">FIND HOSTEL </a></button>
</li>
<li class="desktop-link">
<button><a href="javascript:void(0)"> LIBARY</a></button>
</li>
</ul>
</div>
</div>
<div class="mobile-nav">
<button id="close-mobile-nav-btn">
<i class="fa fa-times"></i>
</button>
<ul>
<li class="mobile-link">
<button><a href="home"> HOME</a></button>
</li>
<li class="mobile-link">
<button><a href="order"> GET A RIDE </a></button>
</li>
<li class="mobile-link">
<button><a href="vacancy">FIND HOSTEL </a></button>
</li>
<li class="mobile-link">
<button><a href="javascript:void(0)"> LIBARY</a></button>
</li>
<li class="mobile-link">
<button><a href="javascript:void(0)"> STUDENT SERVICE</a></button>
</li>
</ul>
</div>
</header>
<!-- mobile navigation button -->
<button class="menu-btn">MENU <i class="fa-solid fa-bars"></i></button>
<main>
<h3 class="main-heading">contact agent</h3>
<div class="agents-container">
<div class="agent-card">
<div class="agent-info">
<h3>Agent <span style="color: #219150;"><?php if(isset($_GET['id'])) { $agent_id = $_GET['id']; $count = $agent->getAgentTotalPost($agent_id); } ?> Vacancy</span></h3>
<img src="<?php if(isset($_GET['img'])) echo $_GET['img']; ?>" alt="agent picture">
<div>
<h4> Name:<span><?php if(isset($_GET['name'])) echo $_GET['name']; ?></span></h4>
<h4> Phone:<span><?php if(isset($_GET['no'])) echo $_GET['no']; ?></span></h4>
</div>
</div>
<!-- <div class="vacancy-discription">
<h3>vacancies
</h3>
<div class="vacancies-list">
<ol>
<li>bed</li>
<li>room</li>
<li>sef-contain</li>
</ol>
<button class="see-more-vacancy-btn">see More</button>
</div>
</div>
</div> -->
</div>
</main>
<!-- footer -->
<footer>
<div>
<div class="quick-link">
<h4>QUICK LINK</h4>
<ul>
<li>
<a href="javascript:void(0)"
><i class="fas fa-arrow-right" style="color: #219150"></i>
Student Login</a
>
</li>
<li>
<a href="terms"
><i class="fas fa-arrow-right" style="color: #219150"></i>
Terms</a
>
</li>
<li>
<a href="privacy"
><i class="fas fa-arrow-right" style="color: #219150"></i>
Privacy</a
>
</li>
</ul>
</div>
<div class="contact">
<h4>CONTACT</h4>
<ul>
<li>
<a href=""
><i class="fas fa-map-marker-alt" style="color: #219150"></i>
Ufuoma plaza, Oleh, Delta State, Nigeria</a
>
</li>
<li>
<a href="mailto:[email protected]"
><i class="fas fa-envelope" style="color: #219150"></i>
>
</li>
<li>
<a href="https://wa.me/2349050217462"
><i class="fab fa-whatsapp" style="color: #219150"></i>
09050217462</a
>
</li>
<li>
<a href="tel:+234-905-021-7462"
><i class="fas fa-phone" style="color: #219150"></i>
09050217462</a
>
</li>
</ul>
</div>
<div class="more">
<h4>MORE</h4>
<ul>
<li>
<a href=""
><i class="fas fa-arrow-right" style="color: #219150"></i>
About us</a
>
</li>
<li>
<a href="https://wa.me/2349050217462"
><i class="fas fa-arrow-right" style="color: #219150"></i>
Report an issue</a
>
</li>
<li>
<a href="mailto:[email protected]"
><i class="fas fa-arrow-right" style="color: #219150"></i> Join
us</a
>
</li>
</ul>
</div>
</div>
<p class="date">yarnsh.com © <span class="year"></span></p>
</footer>
</div>
<script src="assets/js/jquery.min.js"></script>
<!--- jQuery --->
<script src="assets/js/bootstrap.min.js"></script>
<!--- Bootstrap --->
<script src="assets/js/all.js"></script>
<!--- Font-awesome --->
<!--- Main script --->
<script src="assets/js/header.js"></script>
<!-- <script src="assets/js/main.js"> -->
<script>
function redirect() {
window.location.href = "agent/hostels";
}
</script>
</body>
</html>