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
|
<? include('../_init.php');
$array = array(1=>'Certificate & Report','News','Success Case'); $refid = intval($_GET['id']); $sql="SELECT * FROM news where refid = '".$refid."' and status = 1 order by sort asc"; $record_news = $SQL->resultSingleArr($sql); ?> <!DOCTYPE html> <html dir="ltr" lang="en-US"> <head> <? include('_head.php');?> <style> .heading-block:after { border-top: 0px; } </style> </head>
<body class="stretched no-transition">
<!-- Document Wrapper ============================================= --> <div id="wrapper" class="clearfix">
<!-- Header ============================================= --> <? include('_header.php');?> <!-- #header end -->
<!-- Page Title ============================================= --> <section id="page-title" class="page-title-dark" style="background-color:#8bc53f;">
<div class="container clearfix"> <h1><?=$array[$record_news['type']]?></h1> <ol class="breadcrumb"> <li><a href="index.php">Home</a></li> <li class="active"><?=$array[$record_news['type']]?></li> </ol> </div>
</section><!-- #page-title end -->
<!-- Content ============================================= --> <section id="content">
<div class="content-wrap"> <div class="container clearfix"> <div class="heading-block" style="border:0px;"> <h3><span><?=$record_news['title_en']?></span></h3> <ul class="entry-meta clearfix notopmargin"> <li><i class="icon-calendar3"></i> <?=date('d',strtotime($record_news['date']))?><sup><?=date('S',strtotime($record_news['date']))?></sup> <?=date('F Y',strtotime($record_news['date']))?></li> </ul> </div> <div><img src="../file/news/<?=$record_news['photo']?>" style="max-height:100%;"/></div> <p><?=html_entity_decode($record_news['desc_en'])?></p>
<a href="news.php?type=<?=$record_news['type']?>">← back</a> </div> </div> </section><!-- #content end -->
<!-- Footer ============================================= --> <? include('_footer.php')?> <!-- #footer end -->
</div><!-- #wrapper end -->
<? include('_footer_scripts.php');?>
</body> </html>
|