-
Notifications
You must be signed in to change notification settings - Fork 1
/
newsupdates.php
40 lines (36 loc) · 929 Bytes
/
newsupdates.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
<?php
include("header.php");
include("connection.php");
$result = mysqli_query($con,"SELECT * FROM updates where type = 'news'");
?>
<div id="main">
<div id="content" class="left">
<?php
while($row = mysqli_fetch_array($result))
{
?>
<div class="highlight">
<p><b><?php echo $row["title"]; ?></b><br><?php echo $row[date]. " ".$row[time]; ?></p>
<p><?php echo $row["descr"]; ?></p>
<hr>
</div>
<?php
}
?>
<div class="projects">
<div class="item"> </div>
</div>
</div>
<div id="sidebar" class="right">
<div class="sidebar-nav"> </div>
<div class="info"></div>
</div>
<div class="cl"> </div>
</div>
<div class="shadow-l"></div>
<div class="shadow-r"></div>
<div class="shadow-b"></div>
</div>
<?php
include("footer.php");
?>