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
|
<?php include('_init.php');
$sql = "select * from music_channel where deleted = ? and status = ? order by date_time ASC"; $parameters = array(0, 1); $rows = bind_pdo($sql, $parameters, "selectall"); ?> <!DOCTYPE html> <html lang="en"> <head> <?php include('_head.php'); ?> <link href="css/style_k.css?v=<?=time();?>" type="text/css" rel="stylesheet"> <style> .navbar-default { background-color: #000000 !important; border-color: #e7e7e7 !important;; } </style> </head>
<body> <?php include('_header.php') ?>
<?php include('_dialog.php') ?>
<div class="ProfileContent"> <div class="Profilecontainer"> <div class="row"> <div class="col-md-12"> <h1 class="tc"><?= _lang("Music Channel") ?></h1> <hr>
<?php foreach ($rows as $row) { $date_time = new DateTime($row["date_time"]); echo '<div class="row music_channel_table" style="margin-bottom: 10px;">'; echo '<div class="col-xm-12 col-sm-3 music_channel_table_col" style=""><div style=""><img src="' . (!empty($row["img_".$langcode]) ? "file/music_channel/" . $row["img_".$langcode] : "img/music_channel_logo.jpg") . '" class="width100p" /></div></div>'; echo '<div class="col-xm-12 col-sm-6 editor_container music_channel_table_col" style=""><h4>' . $row["title_" . $langcode] . '</h4>' . str_replace("../uploader/", "uploader/", $row["desc_" . $langcode]) . '</div>'; echo '<div class="col-xm-12 col-sm-3 music_channel_table_col" style=""><p>' . _lang("Date") . ': ' . $date_time->format("Y-m-d") . '</p><p>'._lang("Time").': '.$date_time->format("H:i").'</p><p>' . _lang("Location") . ': ' . $row["location_" . $langcode] . '</p></div>'; echo '</div>'; } ?>
</div> </div> </div> </div> <? include('_footer.php') ?>
</body> </html>
|