| 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/(Del)hsiaust.com.au/en/ |
Upload File : |
<?php require_once('../webadmin/configure.php');?>
<?php $langcode ='en';?>
<!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">
<link rel="stylesheet" type="text/css" href="../css/style.css" />
</head>
<body>
<?php //Product Detail
$result30 = mysql_query("SELECT * FROM products_detail WHERE productsdetid='".$_GET['productsdetid']."' ");
$row30 = mysql_fetch_array($result30,MYSQL_ASSOC)
?>
<div id="product_popup_page">
<?php //Check img size
$getsize = getimagesize("../images/product/large/".$row30{'productsdetimage'});
if($getsize[0] > $getsize[1]){ // 0=w 1=h
$imgfile = "max-width='900' height='450'";
} else {
$imgfile = "height='450'";
}
?>
<table width="900" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle"><img src="../images/product/large/<?=$row30{'productsdetimage'};?>" <?=$imgfile;?> alt="" /></td>
</tr>
</table>
<div class="product_popup_frame">
<div class="product_popup_text">
<span class="product_popup_title">NAME:</span>
<?=$row30{'productsdetname'.$langcode.''};?>
</div>
<div class="product_popup_text">
<span class="product_popup_text_header">SPECIFICATION:</span>
<?=$row30{'productsdetspec'.$langcode.''};?>
</div>
</div>
<div class="product_popup_button">
<div class="product_popup_button_text">
<span class="product_popup_button_header">+</span>ADD TO ENQUIRY LIST
</div>
<div class="product_popup_button_text">
<span class="product_popup_button_header">></span>SEND YOU ENQUITY
</div>
</div>
</div>
</body>
</html>