| 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/c-c.com.hk/en/ |
Upload File : |
<?php require_once('../webadmin/configure.php');
$get_pjcatid =(int)$_GET['pjcatid'];
// SEO
$result = mysql_query("SELECT * FROM mainmenu WHERE mmpath = 'project.php' ");
$row = mysql_fetch_array($result,MYSQL_ASSOC);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title><?=$row{'seotitleen'};?></title>
<meta name="keywords" content="<?=$row{'seokeyen'};?>" />
<meta name="description" content="<?=$row{'seodescen'};?>" />
<link rel="stylesheet" type="text/css" href="../css/style.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="../css/ddaccordion.css" />
<script type="text/javascript" src="../js/jquery.easing.js"></script>
<script type="text/javascript" src="../js/jquery.accordion.js"></script>
<script type="text/javascript">
jQuery().ready(function(){
jQuery('#navigation').accordion({
active: false,
header: '.head',
navigation: true,
event: 'mouseover',
animated: 'easeslide',
autoheight: true
});
$('#accordion-1').easyAccordion({
autoStart: true,
slideInterval: 3000,
slideNum:false
});
});
</script>
<script type="text/javascript" src="../js/jquery.easyAccordion.js"></script>
<link rel="stylesheet" type="text/css" href="../css/easyAccordion.css" />
<link rel="stylesheet" type="text/css" href="../js/flexcrollstyles.css" />
<script type='text/javascript' src="../css/flexcroll.js"></script>
<script type="text/javascript" src="../js/jquery.jcarousel.pack.js"></script>
<link rel="stylesheet" type="text/css" href="../css/jquery.jcarousel.css" />
<link rel="stylesheet" type="text/css" href="../css/skin.css" />
<script type="text/javascript" src="../js/jCarousel.js"></script>
<!-- View Gallery Image -->
<!--<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script>
!window.jQuery && document.write('<script src="jquery-1.4.3.min.js"><\/script>');
</script>-->
<script type="text/javascript" src="../fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
<script type="text/javascript" src="../fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<link rel="stylesheet" type="text/css" href="../fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<style type="text/css">
<!--
.title12 a img {
border: 1px solid #BBB;
padding: 5px;
margin: 10px 20px 10px 0;
vertical-align: top;
}
-->
</style>
<script type="text/javascript">
$(document).ready(function() {
$("a[rel=example_group]").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' ' + title : '') + '</span>';
}
});
});
</script>
<!-- View Gallery Image -->
</head>
<body><?php include_once("analyticstracking.php") ?>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="140" colspan="2"><a href="index.php"><img src="../images/logo.jpg" width="200" height="80" alt="KARLSON C & C Limited" /></a></td>
</tr>
<tr>
<td align="left" valign="top" id="mainmenubg"><ul id="navigation">
<?php $result2 = mysql_query("SELECT * FROM mainmenu ORDER BY mmsort ASC ");
while ($row2 = mysql_fetch_array($result2,MYSQL_ASSOC)) {
echo "<li>";
echo "<a class='head' href='".$row2{'mmpath'}."'>".$row2{'mmtitleen'}."</a>";
if ($row2{'mmid'} == '2') {
echo "<ul>\n";
$result3 = mysql_query("SELECT * FROM project_cat WHERE pjcatstatus = '1' ORDER BY pjcatsort ASC ");
while ($row3 = mysql_fetch_array($result3,MYSQL_ASSOC)) {
echo "<li><a href='".$row2{'mmpath'}."?pjcatid=".$row3{'pjcatid'}."'>".$row3{'pjcattitleen'}."</a></li>\n";
}
echo "</ul>\n";
}
echo "</li>\n";
}
?></ul></td>
<td width="800" height="350" align="left" valign="top">
<?php if(!empty($get_pjcatid)) {
$result4 = mysql_query("SELECT * FROM project_cat WHERE pjcatid = ".$get_pjcatid." AND pjcatstatus = '1' ORDER BY pjcatsort ASC ");
} else {
$result4 = mysql_query("SELECT * FROM project_cat WHERE pjcatid = (SELECT pjcatid FROM project_cat WHERE pjcatstatus = '1' ORDER BY pjcatsort ASC LIMIT 1) AND pjcatstatus = '1' ORDER BY pjcatsort ASC ");
}
$row4 = mysql_fetch_array($result4,MYSQL_ASSOC);
$result5 = mysql_query("SELECT * FROM project_det WHERE pdid = ".$_GET['pdid']." AND pdstatus = '1' ");
$row5 = mysql_fetch_array($result5,MYSQL_ASSOC);
?><table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top"><table width="200" border="0" cellspacing="0" cellpadding="0" id="table" style="float:left">
<tr>
<td width="200" class="title"><?=$row{'mmtitleen'};?><br />
<span class="category"><?=$row4{'pjcattitleen'};?></span></td>
</tr>
<tr>
<td class="txt"><b><?=$row5{'pdtitleen'};?></b><br />
<?=$row5{'pdyear'};?> Year<br />
Size :
<?=$row5{'pdsize'};?><br />
<br />
<?=$row5{'pddescen'};?></td>
</tr>
</table></td>
<?php $result6 = mysql_query("SELECT * FROM project_img WHERE pdid = ".$row5{'pdid'}." ORDER BY pimgsort ASC ");
if(mysql_num_rows($result6) > 0 ){ ?>
<td align="left" valign="top" style="padding: 30px 0px;"><div id="slideshow-main">
<ul>
<?php $x=1; while ($row6 = mysql_fetch_array($result6,MYSQL_ASSOC)) {
$getsize = getimagesize("../project/large/".$row6{'pimgfile'});
if($getsize[0] > $getsize[1]){ // 0=w 1=h
$pimgfile = "<a rel='example_group' href='../project/".$row6{'pimgfile'}."' title=''><img src='../project/large/".$row6{'pimgfile'}."' width='420' height='280' alt='".$row5{'pdtitleen'}."' /></a>";
} else {
$pimgfile = "<a rel='example_group' href='../project/".$row6{'pimgfile'}."' title=''><img src='../project/large/".$row6{'pimgfile'}."' height='280' alt='".$row5{'pdtitleen'}."' /></a>";
}
echo "<li class='p".$x;
if ($x=='1') echo ' active';
echo "'><a>".$pimgfile."</a></li>";
$x++; } ?>
</ul>
</div>
<div id="slideshow-carousel">
<ul id="carousel" class="jcarousel jcarousel-skin-tango">
<?php $result7 = mysql_query("SELECT * FROM project_img WHERE pdid = ".$row5{'pdid'}." ORDER BY pimgsort ASC ");
$y=1; while ($row7 = mysql_fetch_array($result7,MYSQL_ASSOC)) {
$getsize = getimagesize("../project/large/".$row7{'pimgfile'}) ;
if($getsize[0] > $getsize[1]){ // 0=w 1=h
$pimgfile = "<img src='../project/thumb/".$row7{'pimgfile'}."' width='100' height='66' alt='".$row5{'pdtitleen'}."' />";
} else {
$pimgfile = "<img src='../project/thumb/".$row7{'pimgfile'}."' height='66' alt='".$row5{'pdtitleen'}."' />";
}
echo "<li><a href='#' rel='p".$y."'>".$pimgfile."</a></li>\n";
$y++; } ?>
</ul>
</div>
<div class="clear"></div></td>
<?php } ?>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" id="footer" class="footer">Copyright © KARLSON C & C Limited. All Copyright Reserved.</td>
</tr>
</table>
</body>
</html>