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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
|
<?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>
|