| 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)rep-gaming.com/ |
Upload File : |
<?php require("webadmin/configure.php");
$id =(int)$_GET['id']; ?>
<!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>REP ELECTRONICS LIMITED</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script language=JavaScript>
<!--
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>
<script language="javascript"><!--
function popupWindow(url) {
window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=0,width=620,height=500,screenX=150,screenY=150,top=150,left=150')
}
//--></script>
<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<link rel="stylesheet" type="text/css" href="css/scrollable-horizontal.css">
<link rel="stylesheet" type="text/css" href="css/scrollable-buttons.css">
<script type="text/javascript" src="js142/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js142/jquery.sifr-1.5.min.js"></script>
<script type="text/javascript" src="js142/jquery.swfobject.1-0-9.min.js"></script>
<script type="text/javascript" src="js142/jquery.fancybox-1.2.5.pack.js"></script>
<script type="text/javascript" src="js142/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" src="js142/jquery.tools.min.js"></script>
<script type="text/javascript" src="js142/jScrollPane.js"></script>
<script type="text/javascript" src="js142/jquery.cycle.lite.1.0.min.js"></script>
<script type="text/javascript" src="js142/docready.js"></script>
<script type="text/javascript" src="js/tooltip.js"></script>
</head>
<body>
<table width="730" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="730" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="60"><a href="product.php?id=1" onMouseover="fixedtooltip('Audio', this, event, '150px')" onMouseout="delayhidetip()"><img src="images/icon_ga.jpg" width="60" height="60" border="0" class="img" /></a></td>
<td width="10"> </td>
<td width="60"><a href="product.php?id=2" onMouseover="fixedtooltip('Entertainment Tablet', this, event, '150px')" onMouseout="delayhidetip()"><img src="images/icon_gc.jpg" width="60" height="60" border="0" class="img" /></a></td>
<td width="10"> </td>
<td width="60"><a href="product.php?id=3" onMouseover="fixedtooltip('Electronics & Accessories', this, event, '150px')" onMouseout="delayhidetip()"><img src="images/icon_av.jpg" width="60" height="60" border="0" class="img" /></a></td>
<td width="20"> </td>
<td width="500" align="left" valign="bottom"><table border="0" cellpadding="0" cellspacing="0" class="menu">
<tr>
<td width="100" align="center"><a href="main.php">HOME</a></td>
<td width="100" align="center"><a href="about.php">ABOUT</a></td>
<td width="100" align="center"><a href="product_index.php">PRODUCTS</a></td>
<td width="100" align="center"><a href="news.php">NEWS</a></td>
<td width="100" align="center"><a href="contact.php">CONTACT</a></td>
</tr>
</table></td>
<td width="10"> </td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="730" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="210"> </td>
<td width="10"><img src="images/frame_r1_c1.jpg" width="10" height="55" /></td>
<td align="left" valign="top" class="menusub"><? $sql = "SELECT * FROM procat WHERE procattype = $id ORDER BY procatsort ASC, procatid DESC ";
$result = mysql_query($sql);
$numrows=mysql_num_rows($result);
$cnt=0;
while ($row = mysql_fetch_array($result,MYSQL_ASSOC))
{
?>
<a href="pcat.php?id=<?=$id;?>&procatid=<? echo $row{'procatid'}; ?>"><? echo $row{'procatname'}; ?></a>
<?php
if($cnt < $numrows-1){
echo " | ";
}
$cnt++;
} ?> </td>
<td width="10"><img src="images/frame_r1_c3.jpg" width="10" height="55" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="730" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="295"><table width="295" border="0" cellpadding="0" cellspacing="0">
<? $procatid = (int)$_GET['procatid'];
if ($procatid <> '') {
$sql = "SELECT * FROM procat WHERE procattype = $id AND procatid = $procatid ORDER BY procatsort ASC, procatid DESC ";
} else {
$sql = "SELECT * FROM procat WHERE procattype = $id ORDER BY procatsort ASC, procatid DESC ";
}
$result = mysql_query($sql);
$row = mysql_fetch_array($result,MYSQL_ASSOC);
?>
<tr>
<td width="55" rowspan="4" align="right"><img src="frame/<? echo $row{'procatcolor'}; ?>left.jpg" width="20" height="245" /></td>
<td><img src="frame/<? echo $row{'procatcolor'}; ?>top.jpg" width="220" height="20" /></td>
<td width="20" rowspan="4"><img src="frame/<? echo $row{'procatcolor'}; ?>right.jpg" width="20" height="245" /></td>
</tr>
<? $pid = (int)$_GET['pid'];
$sql = "SELECT * FROM product WHERE productid = $pid ";
$result2 = mysql_query($sql);
$row2 = mysql_fetch_array($result2,MYSQL_ASSOC);
?>
<tr>
<td width="220" height="205" valign="top" bgcolor="#FFFFFF">
<div id="slideshow">
<?PHP if ($row2{'productimage'} <> '') { ?>
<a href="javascript:popupWindow('pop.php?pid=<?=$row2{'productid'};?>&img=1')">
<img src="webadmin/productimagethumb/<? echo $row2{'productimage'}; ?>" width="220" height="175" alt="" border='0'><br>
<img src='images/enlargebtn.jpg' width='220' height='25' border='0'></a><? } ?>
<?PHP if ($row2{'productimage2'} <> '') { ?>
<a href="javascript:popupWindow('pop.php?pid=<?=$row2{'productid'};?>&img=2')">
<img src="webadmin/productimagethumb/<? echo $row2{'productimage2'}; ?>" width="220" height="175" alt="" border='0'><br>
<img src='images/enlargebtn.jpg' width='220' height='25' border='0'></a><? } ?>
<?PHP if ($row2{'productimage3'} <> '') { ?>
<a href="javascript:popupWindow('pop.php?pid=<?=$row2{'productid'};?>&img=3')">
<img src="webadmin/productimagethumb/<? echo $row2{'productimage3'}; ?>" width="220" height="175" alt="" border='0'><br>
<img src='images/enlargebtn.jpg' width='220' height='25' border='0'></a><? } ?>
<?PHP if ($row2{'productimage4'} <> '') { ?>
<a href="javascript:popupWindow('pop.php?pid=<?=$row2{'productid'};?>&img=4')">
<img src="webadmin/productimagethumb/<? echo $row2{'productimage4'}; ?>" width="220" height="175" alt="" border='0'><br>
<img src='images/enlargebtn.jpg' width='220' height='25' border='0'></a><? } ?>
</div>
</td>
</tr>
<tr>
<td height="15"><img src="frame/<? echo $row{'procatcolor'}; ?>bottom.jpg" width="220" height="20" /></td>
</tr>
</table></td>
<td align="left" valign="top" style="background-color:#A8A9AD;">
<div class="frame1">
<table width="400" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="240" align="left" valign="bottom"><table width="240" border="0" cellpadding="0" cellspacing="0" class="model">
<? $prosubid = (int)$_GET['prosubid'];
$sql = "SELECT * FROM product WHERE prosubid = $prosubid ";
$result = mysql_query($sql);
$numrows=mysql_num_rows($result);
$x = 1;
while ($row = mysql_fetch_array($result,MYSQL_ASSOC))
{
if( $x >9 ){
break;
}
if ($x == 1 or $x%3 == 1)
echo "<tr align='left' valign='bottom'>";
?>
<td width="33%" align="left" valign="top"><a href="detail.php?id=<?=$id;?>&procatid=<?=$procatid;?>&prosubid=<?=$prosubid;?>&pid=<?=$row{'productid'}?>">
<li><?=$row{'productmodel'}?></li>
</a></td>
<?
if ($x%3==0)
echo "</tr>";
$x++;
}
?>
</table></td>
<td width="160" align="left" valign="bottom" class="more">
<? //if ($numrows > 9) { ?>
<a href="psub.php?id=<?=$id;?>&procatid=<?=$procatid;?>&prosubid=<?=$prosubid;?>">Back</a>
<? //} ?></td>
</tr>
</table>
<br>
<table width="400" border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2" align="left" valign="top" class="whitetxt">
<p class="title"><?=$row2{'productname'}?></p>
<?=$row2{'productdesc'}?>
</td></tr>
<tr><td width="200"><? if ($row2{'productvideo'} <> '' ) { ?><a href="webadmin/productvideo/<?=$row2{'productvideo'}?>" target="_blank"><img src="images/dlwdemo.jpg" border="0" onmouseover="this.src='images/dlwdemo_on.jpg'" onmouseout="this.src='images/dlwdemo.jpg'" /></a><? } ?></td>
<td width="200"><? if ($row2{'productfile'} <> '' ) { ?><a href="webadmin/productfile/<?=$row2{'productfile'}?>" target="_blank"><img src="images/dlwpdf.jpg" border="0" onmouseover="this.src='images/dlwpdf_on.jpg'" onmouseout="this.src='images/dlwpdf.jpg'" /></a><? } ?></td></tr>
</table>
</div> </td>
<td width="10"><img src="images/frame_r2_c3.jpg" width="10" height="245" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="730" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="210"> </td>
<td width="10"><img src="images/frame_r3_c1.jpg" width="10" height="75" /></td>
<td width="500" align="left" background="images/frame_r3_c2.jpg"><?php if (($id == '2') or ($id == '3')) {
echo " ";
$sql = "SELECT * FROM procat WHERE procattype = ".$id." ";
$sql .= "ORDER BY procatsort ASC ";
$result = mysql_query($sql);
while ($row = mysql_fetch_array($result,MYSQL_ASSOC)){ ?><a href="pcat.php?id=<?=$id;?>&procatid=<? echo $row{'procatid'}; ?>"><img src="webadmin/brand/<? echo $row{'procatimage2'}; ?>" onmouseover="this.src='webadmin/brand/<? echo $row{'procatimage2'}; ?>'" onmouseout="this.src='webadmin/brand/<? echo $row{'procatimage2'}; ?>'" width="54" height="54" border="0" class="brandimg" alt="<? echo $row{'procatname'}; ?>"/></a><?php } ?>
<?php } else if ($id == '1') { ?>
<!-- "previous page" action -->
<a class="prevPage browse left"></a>
<!-- root element for scrollable -->
<div class="scrollable">
<!-- root element for the items -->
<div class="items">
<?php
$sql = "SELECT * FROM procat WHERE procattype = ".$id." ";
$sql .= "ORDER BY procatsort ASC ";
$result = mysql_query($sql);
while ($row = mysql_fetch_array($result,MYSQL_ASSOC)) {
echo '<img src="webadmin/brand/'.$row{'procatimage2'}.'" onmouseover="this.src=\'webadmin/brand/'.$row{'procatimage2'}.'\'" onmouseout="this.src=\'webadmin/brand/'.$row{'procatimage2'}.'\'" width="54" height="54" border="0" class="brandimg" alt="'.$row{'procatname'}.'" onclick=location.href="pcat.php?id='.$id.'&procatid='. $row{'procatid'} .'" />';
}
?>
</div>
</div>
<a class="nextPage browse right"></a>
<br style="clear:both;">
<?php } ?></td>
<td width="10"><img src="images/frame_r3_c3.jpg" width="10" height="75" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><form action="results.php?id=<?=$id;?>" name="searchForm" method="get"><table width="730" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="212"><a href="main.php"><img src="images/logo.jpg" width="212" height="66" border="0" /></a></td>
<input type="hidden" name="id" value="<?=$id?>">
<td align="right"><input type="text" name="searchtxt" value="<?=$searchtxt?>" class="input"/>
<select name="type">
<option value="0" <? if (($type=='0') || ($type=='')) echo 'selected'; ?>>Product</option>
<?php
$sql = "SELECT * FROM procat WHERE procattype = ".$id." ";
$sql .= "ORDER BY procatsort ASC ";
$result = mysql_query($sql);
while ($row = mysql_fetch_array($result,MYSQL_ASSOC)) {
echo "<option value='". $row{'procatid'} ."' ";
if ($row{'procatid'} == $type) echo 'selected="selected"';
echo " >". $row{'procatname'} ."</option>\n";
}
?>
</select>
<img src="images/searchbtn.jpg" align="absmiddle" onclick="searchForm.submit()" /> </td>
</tr>
</table></form></td>
</tr>
<tr>
<td align="right" class="footertxt">© 2014 Copyright reserved by REP ELECTRONICS LIMITED | <a href="disclaimer.php?id=<?=$id;?>">Disclaimer</a><br />
Powered by <a href="http://www.onesolution.com.hk" target="_blank">One Solution Limited</a>.</td>
</tr>
</table>
</body>
</html>