-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathspeaker.php
More file actions
54 lines (54 loc) · 1.74 KB
/
Copy pathspeaker.php
File metadata and controls
54 lines (54 loc) · 1.74 KB
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
<section class="section single-speaker" style="margin-top: 100px; margin-bottom: -250px">
<div class="container">
<div class="block">
<div class="row">
<div class="col-lg-5 col-md-6 align-self-md-top">
<div class="image-block" style="border-width: 0px">
<img src="images/speakers/<?php echo $speaker->image;?>" class="img-fluid" alt="speaker">
</div>
</div>
<div class="col-lg-7 col-md-6 align-self-center">
<div class="content-block">
<div class="name">
<h3><?php echo $speaker->name;?></h3>
</div>
<div class="profession">
<p><?php echo $speaker->institution;?></p>
</div>
<div class="details" style="margin-top: 40px">
<?php if (!empty($speaker->title)) {
echo '<h5 style="line-height: 30px">'.$speaker->title.'</h5>';
} ?>
<?php if (!empty($speaker->abstract)) {
echo '<p>'.$speaker->abstract.'</p>';
} ?>
<p>
<span style="font-weight: bold; color: black" data-i18n="speakers.bio"></span>
<?php echo $speaker->bio;?>
</p>
</div>
<div class="social-profiles">
<ul class="list-inline social-list">
<li class="list-inline-item">
<a href="<?php echo $speaker->webpage;?>">
<?php
if (strstr($speaker->webpage, 'linkedin'))
echo '<i class="fa fa-linkedin"></i>';
else
echo '<i class="fa fa-globe"></i>';
?>
</a>
</li>
<li class="list-inline-item">
<?php if (strcmp($speaker->email, "#") != 0)
echo "<a href='mailto:$speaker->email'><i class='fa fa-envelope'></i></a>";
?>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</section>