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
|
<?php require_once('../webadmin/configure.php');?> <?php $langcode ='en';?> <?php //SEO $result1 = mysql_query("SELECT * FROM menu WHERE menulink = '".basename($_SERVER['SCRIPT_NAME'])."' AND menustatus = '1' "); $row1 = mysql_fetch_array($result1,MYSQL_ASSOC); ?> <!doctype html> <!-- HTML5 shim, for IE6-8 support of HTML5 elements --> <!--[if lt IE 9]> <script src="js/html5shiv.js"></script> <![endif]--> <html> <head> <meta charset="utf-8"> <title><?=$row1{'seotitle'.$langcode.''};?></title> <meta name="keywords" content="<?=$row1{'seokey'.$langcode.''};?>"> <meta name="description" content="<?=$row1{'seodesc'.$langcode.''};?>" /> <link rel="stylesheet" type="text/css" href="../css/style.css" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> </head> <body> <div id="container"> <div id="header-container"> <div class="header"> <!-- Top Menu --> <?php require_once('top_menu.php');?> <!-- End Top Menu --> </div> <!-- Background Slide --> <?php require_once('bg_slide.php');?> <!-- End Background Slide --> </div> <div id="main_container"> <div id="home_content"> <?php //Home Info $result23 = mysql_query("SELECT * FROM site_info ORDER BY siteinfoid ASC LIMIT 1 "); $row23 = mysql_fetch_array($result23,MYSQL_ASSOC); //img Size Check $getsize02 = getimagesize("../images/home_img/".$row23{'awardprojectlogo'}); if($getsize02[0] > $getsize02[1]){ // 0=w 1=h $pimgfile02 = "width='380'"; } else { $pimgfile02 = "height='205'"; } $getsize03 = getimagesize("../images/home_img/".$row23{'lastestproductlogo'}); if($getsize03[0] > $getsize03[1]){ // 0=w 1=h $pimgfile03 = "width='320'"; } else { $pimgfile03 = "height='205'"; } $getsize04 = getimagesize("../images/home_img/".$row23{'lastestprojectlogo_01'}); if($getsize04[0] > $getsize04[1]){ // 0=w 1=h $pimgfile04 = "width='230'"; } else { $pimgfile04 = "height='135'"; } $getsize05 = getimagesize("../images/home_img/".$row23{'lastestprojectlogo_02'}); if($getsize05[0] > $getsize05[1]){ // 0=w 1=h $pimgfile05 = "width='230'"; } else { $pimgfile05 = "height='135'"; } $getsize06 = getimagesize("../images/home_img/".$row23{'lastestprojectlogo_03'}); if($getsize06[0] > $getsize06[1]){ // 0=w 1=h $pimgfile06 = "width='230'"; } else { $pimgfile06 = "height='135'"; } ?> <div class="home_award content_float_left"> <div class="home_content_title">AWARD WINNING PROJECT:</div> <a href="<?=$row23{'awardprojectlink'};?>"><img src="../images/home_img/<?=$row23{'awardprojectlogo'};?>" <?=$pimgfile02;?> alt="" /></a> </div> <div class="home_product content_float_left"> <div class="home_content_title">OUR LATEST PRODUCT:</div> <a href="<?=$row23{'lastestproductlink'};?>"><img src="../images/home_img/<?=$row23{'lastestproductlogo'};?>" <?=$pimgfile03;?> alt="" /></a> </div> <div class="content_search_home content_float_right"> <!-- Side Menu --> <?php require_once('sidemenu.php');?> <!-- End Side Menu --> </div> <div class="home_project content_float_left"> <div class="home_content_title">OUR LATEST PROJECTS:</div> <div class="content_float_left home_project_gap"><a href="<?=$row23{'lastestprojectlink_01'};?>"><img src="../images/home_img/<?=$row23{'lastestprojectlogo_01'};?>" <?=$pimgfile04;?> alt="" /></a></div> <div class="content_float_left home_project_gap"><a href="<?=$row23{'lastestprojectlink_02'};?>"><img src="../images/home_img/<?=$row23{'lastestprojectlogo_02'};?>" <?=$pimgfile05;?> alt="" /></a></div> <div class="content_float_left"><a href="<?=$row23{'lastestprojectlink_03'};?>"><img src="../images/home_img/<?=$row23{'lastestprojectlogo_03'};?>" <?=$pimgfile06;?> alt="" /></a></div> </div> </div> </div>
<!-- Footer Menu --> <?php require_once('footer_menu.php');?> <!-- End Footer Menu --> </div> </body> </html>
|