| 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/m.musiccircle/ |
Upload File : |
<?php
include('_init.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php include('_head.php'); ?>
<link href="css/style_k.css?v=<?= time(); ?>" type="text/css" rel="stylesheet">
</head>
<body>
<?php include('_header.php') ?>
<?php include('_dialog.php') ?>
<div class="ProfileContent">
<div class="Profilecontainer">
<div class="row tnc">
<div class="col-md-12">
<ul class="setting_ul">
<!--<li>
<div class="nowrap" style="padding: 15px;">
<a href="tel:94460817" style="padding: 0; display: inline;color: transparent;">
<img src="img/whatsapp.png" style="height: 25px; margin-top: -5px;">
<span style="color: #fff; font-size: 16px; font-weight: bold">9446 0817</span>
</a>
</div>
</li>-->
<?php
if ($_SESSION["is_student"] == 1) {
echo '<li><a href="student_profile.php">'. _lang('My Profile') .'</a></li>';
} else if ($_SESSION["is_tutor"] == 1) {
echo '<li><a href="tutor_profile.php">'. _lang('My Resume') .'</a></li>';
}
?>
<li><a href="faq.php"><?= _lang('FAQ') ?></a></li>
<li><a href="aboutus.php"><?= _lang('About Us') ?></a></li>
<li><a href="fee.php"><?= _lang('Fee') ?></a></li>
<? if ($_SESSION['member_login'] || $_SESSION['student_login']) { ?>
<?
if ($_SESSION['member_login']) {
$sql = "select * from tutor_main where id = ? and deleted = ?";
$parameters = array($_SESSION['member_login'], 0);
$row = bind_pdo($sql, $parameters, "selectone");
} else if ($_SESSION['student_login']) {
$sql = "select * from student_main where id = ? and deleted = ?";
$parameters = array($_SESSION['student_login'], 0);
$row = bind_pdo($sql, $parameters, "selectone");
}
?>
<li><a href="my_wish.php"><?= _lang('My Wish') ?></a></li>
<li><a href="my_notification.php"><?= _lang('My Notification') ?></a></li>
<? } ?>
<li><a href="tnc.php"><?= _lang('Terms & Conditions') ?></a></li>
<li><a href="privacy_policy.php"><?= _lang('Privacy Policy') ?></a></li>
<li>
<div class="nowrap" style="">
<a href="tel:94460817" style="padding: 0; display: inline;">
<img src="img/whatsapp.png" style="height: 25px; margin-top: -5px;">
<span style="font-size: 16px; font-weight: bold">9446 0817</span>
</a>
</div>
</li>
<li> <? if ($_SESSION['member_login'] || $_SESSION['student_login']) { ?>
<form action="_process.php" method="post" enctype="multipart/form-data" role="form" id="LiLogoutForm">
<input type="hidden" name="action" value="logout"/>
<input type="hidden" name="lang" value="<?= $lang ?>"/>
</form>
<?
if ($_SESSION['member_login']) {
$sql = "select nickname as name, tutor_no as user_no
from tutor_main as tb where id = ? and deleted = ?";
$parameters = array($_SESSION['member_login'], 0);
$row_header = bind_pdo($sql, $parameters, "selectone");
} else if ($_SESSION['student_login']) {
$sql = "select contactname as name, student_no as user_no
from student_main as tb where id = ? and deleted = ?";
$parameters = array($_SESSION['student_login'], 0);
$row_header = bind_pdo($sql, $parameters, "selectone");
}
?>
<a href="#" onClick="$('#LiLogoutForm').submit()"><? if ($row_header["user_no"]) {
echo $row_header["user_no"] . ", ";
} ?><?= _lang('Log out') ?></a>
<? } else { ?>
<!-- <a href="#" data-toggle="modal" data-target="#myModa2" id="LiLoginMenu">--><? //= _lang('Log in') ?><!--</a>-->
<a href="login.php"><?= _lang('Log in') ?></a>
<? } ?> </li>
<? /*if ($langcode == 'cn') { ?>
<li><a href="language_change.php?langcode=en">EN</a></li>
<? } ?>
<? if ($langcode == 'en') { ?>
<li><a href="language_change.php?langcode=cn">中文</a></li>
<? } */?>
<!--<li>
<div style="padding: 12px;">
<a href="<?/*= $site_info["fanpage"] */?>" style="padding: 0; display: inline; color: transparent;">
<img src="img/facebook.png" style="height: 21px; margin-right: 10px;"> </a>
</div>
</li>-->
</ul>
</div>
</div>
</div>
</div>
<? include('_footer.php') ?>
</body>
</html>