/var/www/(Del)hsiaust.com.au/en/sidemenu.php


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
            <?php //Home Info
            
$result24 mysql_query("SELECT * FROM site_info ORDER BY siteinfoid ASC LIMIT 1 ");
            
$row24 mysql_fetch_array($result24,MYSQL_ASSOC);
            
//img Size Check
            
$getsize01 getimagesize("../images/".$row24{'catalougelogo'});
            if(
$getsize01[0] > $getsize01[1]){ // 0=w 1=h        
                    
$pimgfile01 "width='200'";
            } else {
                    
$pimgfile01 "height='170'";
            }
            
?>
            <script type="text/javascript">
            $(document).ready(function() {
                  $("#productsearch_f").on("click", function(e){
                    $(this).val('');
                });
            });
            </script>
                    <div class="home_content_title">PRODUCTS SEARCH</div>
                    <form action="products_search.php" classid="productssearchform" name="searchForm" method="get"><input name="searchtxt" type="text" value="Search for ..." id="productsearch_f" class="content_search_text" /><a href="#" onclick="searchForm.submit();"><img src="../images/product_search.png" class="content_search_icon" width="30" height="30" alt="" /></a></form>
                    <a href="../images/<?=$row24{'catalougefile'};?>"><img src="../images/<?=$row24{'catalougelogo'};?><?=$pimgfile01;?> alt="" /></a>
                    <div class="content_signup">
                    <div class="content_signup_title">KEEP IN TOUCH</div>
                    <div class="content_signup_content">Sign up our e-newspaper for latest product update.</div>
                    <a href="http://eepurl.com/xOwn1"><div class="newsletter_home_button"><div class="newsletter_button_text">SIGN UP HERE</div></div></a>
                    </div>