| Server IP : 210.245.233.93 / Your IP : 216.73.216.226 Web Server : Apache/2.2.15 (CentOS) System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : apache ( 48) PHP Version : 5.3.3 Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/hkosl.com/imusiccircle/ |
Upload File : |
<?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>