-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathevent.php
61 lines (55 loc) · 1.8 KB
/
event.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
<?php
include("sqlcon.php");
include("header.php")
/* ### */ ?>
<div class="content">
<div class="content-mid">
<div class="container">
<div class="content-mid-top">
<h3> Events</h3>
<p>It is important to carry out a good follow-up marketing of alumni events. With over 100 worldwide events a year, you have a wealth of alumni networking opportunities.</p>
</div>
<div class="news">
<?php
$rs = mysqli_query($con, "select * from tblalumnimeet where status=Active and event_date >= CURDATE() order by eventid DESC");
if(mysqli_num_rows($rs) > 0)
{
while($rowd = mysqli_fetch_array($rs))
{
$event_date = $rowd[event_date];
$parts = explode("-",$event_date);
$day = $parts[2];
$dateobj = DateTime::createFromFormat(!m,$parts[1]);
$month = $dateobj->format(F);
/* ### */ ?>
<div class=" new-more animated wow fadeInUp" data-wow-duration="1000ms" data-wow-delay="500ms">
<!--<div class="col-md-2 new-1">
<a href="single.html"><img src="images/ev.jpg" class="img-responsive" alt=""></a>
</div>-->
<div class="col-md-2 six">
<h4><?php echo $day; /* ### */ ?><span><?php echo $month; /* ### */ ?></span></h4>
</div>
<div class="col-md-5 new-2">
<h3><?php echo $rowd[event_name]; /* ### */ ?></h3>
<p><?php echo $rowd[description]; /* ### */ ?></p>
</div>
<div class="col-md-3 new-3">
<a class="more1 hvr-sweep-to-bottom" href="event_info.php?eventid=<?php echo $rowd[0]; /* ### */ ?>">Read More</a>
</div>
<div class="clearfix"> </div>
</div>
<?php
}
}
else
{
echo "<h3 align=center>No Upcoming Events</h3>";
}
/* ### */ ?>
</div>
</div>
</div>
</div>
<?php
include("footer.php");
/* ### */ ?>