-
Notifications
You must be signed in to change notification settings - Fork 2
/
Mentor_profile.php
129 lines (105 loc) · 4.18 KB
/
Mentor_profile.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
<?php ob_start();
session_start(); ?>
<?php include('includes/db.php') ?>
<?php include('includes/header.php') ?>
<style type="text/css">
.des{
color:navy;
}
.des em{
color:navy;
font-size:30px;
font-family:"Times New Roman";
background: linear-gradient(white,yellow);
}
.desc{
color:navy;
}
.tr{
color:navy;
font-size:20px;
background:radial-gradient(aqua,white);
}
#ty{
background-color:#00ffff;
align:center;
width:1100px;
height:100px;
overflow:scroll;
}
</style>
<!-- *****************************************************************************************************************
BLUE WRAP
***************************************************************************************************************** -->
<div id="blue">
<div class="container">
<div class="row">
<h3>Mentor Profile</h3>
</div>
<!-- /row -->
</div>
<!-- /container -->
</div>
<!-- /blue -->
<!-- *****************************************************************************************************************
AGENCY ABOUT
***************************************************************************************************************** -->
<?php
if(isset($_SESSION['username']) && $_SESSION['role']=='mentor'){
$mentor_id = mysqli_real_escape_string($conn,$_SESSION['mentor_id']);
$query = "SELECT * from mentors_applications where mentor_id=$mentor_id";
$res = mysqli_query($conn,$query);
while($r = mysqli_fetch_assoc($res)){
?>
<div class="container mtb">
<div class="row" style="background:radial-gradient(orange,white,orange,white,orange,white)">
<div class="col-lg-12">
<h1 style="color:navy;font-family:Comic Sans MF;background:linear-gradient(yellow,white);" ><center><?php echo $r['mentor_full_name'] ?></center></h1>
<br>
<div col-lg-6>
<p><u><h4>About the Mentor</h4></u></p>
<p style="color:navy;"><b><?php echo $r['description'] ?></b></p>
<br>
<p><u><h4>Field of Expertise</h4></u></p>
<p class="des"><b><?php echo $r['expertise'] ?></b></p>
<p><u><h4>Mentor's Email-address</h4></u></p>
<p class="des"><b><a><?php echo $r['mentor_email'] ?></a> : This is the Email address of mentor.</b></p>
<p><u><h4>Mentor Contact Number</h4></u></p>
<p class="des"><b><a><?php echo $r['mentor_contact_number'] ?></a> : Contact Number of the mentor.</b></p>
<p><u><h4>Designation</h4></u></p>
<p class="des"><b><a><?php echo $r['designation'] ?></a> : Designation of the mentor.</b></p>
<p><u><h4>Past Experience</h4></u></p>
<p class="des"><b><?php echo $r['past_experience'] ?></b></p>
<p><u><h4>SELECTED: </h4></u></p>
<p class="des"><b><?php echo $r['selected'] ?></b><br>
</p>
<marquee style="background:yellow" onmouseover="stop()" onmouseout="start()">This is for recent updates</marquee>
</div>
</div>
<br>
</div>
<?php }
}?>
<!-- *****************************************************************************************************************
OUR CLIENTS
***************************************************************************************************************** -->
<div id="cwrap">
<div class="container">
<div class="row centered">
<h3>Connected Startups</h3>
<div class="col-lg-3 col-md-3 col-sm-3">
<p class="tr"><b>BlueBanyan</b></p>
</div>
<div class="col-lg-3 col-md-3 col-sm-3">
<p class="tr"><b>36INC</b></p>
</div>
<div class="col-lg-3 col-md-3 col-sm-3">
<p class="tr"><b>DEVapp</b></p>
</div>
<div class="col-lg-3 col-md-3 col-sm-3">
<p class="tr"><b>Sapp</b></p>
</div>
</div>
</div>
</div>
<?php include('includes/footer.php') ?>