Jump to content
Sign in to follow this  
wilfrid100

How could i split out <td>...<br>...</td> into 2 different array

Recommended Posts

wilfrid100

Could someone guide me how could i split out the HTML with <td> aaa <br> bbb </td> line into 2 different array

eg:

html: <td>CARREFOUR SUBANG JAYA<br>CARREFOUR SUBANG JAYA 3 JALAN SS16/1, 47500 SUBANG JAYA, SELANGOR DARUL EHSAN. </td>

array [0] = CARREFOUR SUBANG JAYA

array [1] = CARREFOUR SUBANG JAYA 3 JALAN SS16/1, 47500 SUBANG JAYA, SELANGOR DARUL EHSAN.

 

I'm tried StringSplit with delim "@CRLF" to split the HTML, but it fails.

$oIE = _IECreate("C:\Users\Seng\Desktop\html.htm",0,1,1)
$oTable = _IETableGetCollection ($oIE, 2) 
$aTableData = _IETableWriteToArray ($oTable)

local $shop_name[1] = [$aTableData[2][3]]
StringSplit($shop_name, "@CRLF")
_ArrayDisplay($shop_name)
<td><img src='/images/fruit-bm.png'> </td> <td>CARREFOUR SUBANG JAYA<br>CARREFOUR SUBANG JAYA 3 JALAN SS16/1, 47500 SUBANG JAYA, SELANGOR DARUL EHSAN. </td><td align='center'>HYPERMARKET</td><td align='center'>8.85</td></tr><tr bgColor='white'><td align='center'>4.</td>
                              

<td><img src='/images/fruit-bm.png'> </td> <td>CARREFOUR PUCHONG<br>LOT 4029 ,PERSIARAN PUCHONG UTAMA.
47100, PUCHONG, SELANGOR</td><td align='center'>HYPERMARKET</td><td align='center'>8.90</td></tr><tr bgColor='white'><td align='center'>5.</td>
                               

Share this post


Link to post
Share on other sites
kylomas

wilfrid100,

While I work on this, read the Help doc for STRINGSPLIT (see the example)

kylomas

Edited by kylomas

Forum Rules         Procedure for posting code

"I like pigs.  Dogs look up to us.  Cats look down on us.  Pigs treat us as equals."

- Sir Winston Churchill

Share this post


Link to post
Share on other sites
kylomas

Given your string, here's a quick and dirty...

#include <array.au3>

local $str = '<td>CARREFOUR SUBANG JAYA<br>CARREFOUR SUBANG JAYA 3 JALAN SS16/1, 47500 SUBANG JAYA, SELANGOR DARUL EHSAN. </td>'

$Ret = stringregexp($str,'(?s)>([^>]+)<',3)

_arraydisplay($Ret)

Forum Rules         Procedure for posting code

"I like pigs.  Dogs look up to us.  Cats look down on us.  Pigs treat us as equals."

- Sir Winston Churchill

Share this post


Link to post
Share on other sites
wilfrid100

is my STRINGSPIT code write correct in place? somehow i tried with different delim such as "" or " ", but its doesn't work,

Share this post


Link to post
Share on other sites
kylomas

Assuming "shopname[1]" contains a string with a @CRLF in it then this would work...

local $aRet = stringsplit($shopname[1],@crlf,3) ; do not return # of rows, use whole tring to split







edit:

$atabledata contains a 2D array of whatever is in your Web page.  It is unlikely that it has @CRLF's in it.

What are you trying to do?

Can you post this "C:UsersSengDesktophtml.htm"?

Edited by kylomas

Forum Rules         Procedure for posting code

"I like pigs.  Dogs look up to us.  Cats look down on us.  Pigs treat us as equals."

- Sir Winston Churchill

Share this post


Link to post
Share on other sites
wilfrid100

I attached full HTML code at below, the wanted sentence located in  <div id="content">

As the <br> HTML code it's look like a newline, so i try the StringSplit($shop_name, "@CRLF") with @CRLF delim.

i tried verify the <br> with StringRegExpReplace($shop_name[0], ""@CRLF", "123") to check whether the <br> is a newline or not. But the result of StringRegExpReplace give me nothing.

the code you share for me also display nothings

 

$Ret = stringregexp($aTableData[2][3],'(?s)>([^>]+)<',3)
_arraydisplay($Ret)

 

HTML code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
        <html lang="en">
        <head><title>1Pengguna v2</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <script type="text/javascript" src="/kacang/plugin/jquery/js/jquery-1.5.1.min.js"></script>
        <script type="text/javascript" src="/kacang/plugin/jquery/js/jquery-ui-1.8.11.custom.min.js"></script>
        </head>
            <div id="err">
    </div>
    
<link href="/11pengguna/template/1pengguna/css/layout.css" type="text/css" rel="stylesheet" />
<link href="/11pengguna/template/1pengguna/css/ui.css" type="text/css" rel="stylesheet" />
<link href="/11pengguna/template/1pengguna/css/common.css" type="text/css" rel="stylesheet" />
<link href="/11pengguna/template/1pengguna/css/main_layout.css" type="text/css" rel="stylesheet" />
<link href="/11pengguna/template/1pengguna/css/chromestyle.css" type="text/css" rel="stylesheet" />
<link href="/11pengguna/template/1pengguna/css/pagination.css" type="text/css" rel="stylesheet" />
<link type="text/css" rel="stylesheet" href="/kacang/plugin/jquery/css/ui-lightness2/jquery-ui-1.8.11.custom.css" />
<script src="/kacang/plugin/jqueryext/jquery.form.js"></script>

<div id="wrapper">

    <script>
    function ChangeLang(lang){
        document.cookie="lang=" + lang;
        location.reload();
    }
    
    function ChangeColor(color){
        document.cookie="color=" + color;
        location.reload();
    }
    
    function ChangeFont(font){
        var current = parseInt($.cookie('font'));
        
        if(font == 'n')
            current = 0;
        if(font == 'd')
            current -= 1;
        if(font == 'i')
            current += 1;
        
        document.cookie="font=" + current;
        //alert(current);
        
        location.reload();
    }
    
    $(function(){
        $('.font').each(function(){
            var fontSize = parseInt($(this).css("font-size"));
            fontSize += 0;
            $(this).css("font-size",fontSize+"px");
        });
    });
</script>

<style>
    #color { width : 25px; height : 20px; top : 0; margin-left: 5px; float: right; border:1px solid white; }
    .red { background-color : red; }
    .blue { background-color : blue; }
    .green { background-color : green; }
    .orange { background-color : orange; }
    .white { background-color : white; }
    #icon { width : 25px; height : 25px; }

    #font { color : ; }
    .font { color : ; }
</style>

<div style="float:left;margin: 0px 0px 10px 0px;width:470px;">
    <span style="color:white;top:-10px;position: relative;"><b><span class="font">Bahasa :: </span></b></span>
    <a href="#" onclick="ChangeLang('bm')"><img src="/11pengguna/template/1pengguna/images/malay.png" title="Melayu" id="icon"/></a>
    <a href="#" onclick="ChangeLang('eng')"><img src="/11pengguna/template/1pengguna/images/english.png" title="English" id="icon"/></a>

    <span style="color:white;top:-10px;position: relative;margin-left: 25px;"><b><span class="font">W3C :: </span></b></span>
    <a href="#" onclick="ChangeFont('d')"><img src="/11pengguna/template/1pengguna/images/w3c/font_decrease.png" title="Kurangkan saiz tulisan" id="icon"/></a>
    <a href="#" onclick="ChangeFont('n')"><img src="/11pengguna/template/1pengguna/images/w3c/font_normal.png" title="Tukar saiz tulisan ke asal" id="icon"/></a>
    <a href="#" onclick="ChangeFont('i')"><img src="/11pengguna/template/1pengguna/images/w3c/font_increase.png" title="Tambah saiz tulisan" id="icon"/></a>

    <a href="#" onclick="ChangeColor('')"><div id="color" class="white">&nbsp;</div></a>
    <a href="#" onclick="ChangeColor('orange')"><div id="color" class="orange">&nbsp;</div></a>
    <a href="#" onclick="ChangeColor('green')"><div id="color" class="green">&nbsp;</div></a>
    <a href="#" onclick="ChangeColor('blue')"><div id="color" class="blue">&nbsp;</div></a>
    <a href="#" onclick="ChangeColor('red')"><div id="color" class="red">&nbsp;</div></a>

    <br><br>
    <a href="index.php"><img src="/11pengguna/template/1pengguna/images/payung_bm.png" width="470" border="0"/></a>
</div>

    <div id="header">
        <!--a href="index.php"><img src="/11pengguna/template/1pengguna/images/payung_bm.png" width="470" border="0" style="float:left;"/></a-->

        <div id="topbar">
            <div id="calendar">
                <a href="index.php?pg=event/vmonth#content" style="color:white;">
                    <img src="/11pengguna/template/1pengguna/images/cal.png"/><br/>
                    <span class="font">Kalendar</span>
                </a>
            </div>

                            <div id="register">
                    <a href="#"> <img src="/11pengguna/template/1pengguna/images/reg.png" /></a><br/>
                    <span class="font">Daftar</span>
                </div>
                <div id="register_box"></div>
                <div id="loginbox" style="display:none"> <div id="err"></div>
<form id="myForm" method="post" action="index.php?pg=mylogin/login_handler&hd=0">
    <input type="text" name="user_id" size="13"  /> 
    <input type="password" name="password" size="13"  /> 
    <input type="submit" class="submit_button" value="Log Masuk"  />
    <br />
    <a href="index.php?pg=mylogin/forgot_password#content"><small>Kata Laluan Hilang?</small></a>
</form>

<script>

            $(document).ready(function() {
                $('button, input:submit, input:button').button();

                $('#myForm').ajaxForm({ 
                    beforeSubmit: validate,
                    target: '#err',  
                    success: function(responseText, statusText, xhr, $form) { 
                        response(responseText);
                    } 
                }); 
            });

            function validate(formData, jqForm, options) {
                $('#err').html('<img src="/11pengguna/images/loading.gif"/>');
                return true;
            }
            function response(txt) {
        if (txt.substring(start=0, stop=2) == 'ok')
            location.href='index.php';
    
    }
</script></div>
                <div id="login">
                    <a id="login_link" href="#" style="color:white;"><img src="/11pengguna/template/1pengguna/images/button_1malaysia.png"/><br/>
                        <span class="font">Log Masuk</span>
                    </a>
                </div>

                    </div>
        <div id="float"><style type="text/css">
<!--

#fl_menu{position:absolute; top:20px; left:0px; z-index:9999; width:100px; height:50px;}
#fl_menu .label{padding-left:0px; line-height:10px; font-family:"Arial Black", Arial, Helvetica, sans-serif; font-size:14px; font-weight:bold; background:transparent; color:#fff; letter-spacing:7px;}
/*#fl_menu .menu_f1{display:none;}*/
#fl_menu .menu_f1 .menu_item{display:block; background:transparent; color:#bbb; border-top:0px solid #333; padding:5px 10px; font-family:Arial, Helvetica, sans-serif; font-size:12px; text-decoration:none;}
#fl_menu .menu_f1 a.menu_item:hover{background:transparent; color:#fff;}

-->
</style>

<script src="/11pengguna/template/1pengguna/js/jquery.easing.1.3.js"></script>
<script type="text/javascript">
function FloatMenu(){
    var animationSpeed=1500;
    var animationEasing='easeOutQuint';
    var scrollAmount=$(document).scrollTop();
    var newPosition=menuPosition+scrollAmount;
    if($(window).height()<$('#fl_menu').height()+$('#fl_menu .menu_f1').height()){
        $('#fl_menu').css('top',menuPosition);
    } else {
        $('#fl_menu').stop().animate({top: newPosition}, animationSpeed, animationEasing);
    }
}
$(window).load(function() {
    menuPosition=$('#fl_menu').position().top;
    FloatMenu();
});
$(window).scroll(function () { 
    FloatMenu();
});
//jQuery(document).ready(function(){
//  var fadeSpeed=400;
//  $("#fl_menu").hover(
//      function(){ //mouse over
//          $('#fl_menu .label').fadeTo(fadeSpeed, 1);
//          $("#fl_menu .menu_f1").fadeIn(fadeSpeed);
//      },
//      function(){ //mouse out
//          $('#fl_menu .label').fadeTo(fadeSpeed, 0.55);
//          $("#fl_menu .menu_f1").fadeOut(fadeSpeed);
//      }
//  );
//});
</script>
 <div id="fl_menu">
    <div class="label"><img src="/11pengguna/template/1pengguna/images/svr.png" /></div>
    <div class="menu_f1">
        <a href="http://e-aduan.kpdnkk.gov.my/" target="_blank" title="Aduan Masalah Kepenggunaan" class="menu_item"><img src="/11pengguna/template/1pengguna/images/eaduan.png" /></a>
        <a href="http://ttpm.kpdnkk.gov.my/portal/index.php" target="_blank" title="Tuntutan Tribunal Pengguna Malaysia (TTPM)" class="menu_item"><img src="/11pengguna/template/1pengguna/images/ttpm logo.png" /></a>
        
        </div>
    </div></div>
        <div class="clear"></div>
    </div>

    <div id="menubar">
    <div class="chromestyle" id="chromemenu">
        <ul>
            <li><a href="index.php?pg=admin/myannouncement/view_main#content" rel="dropmenu0" style="text-decoration: blink; color: red;"><span class="font">Pengumuman</span></a></li>
            <li><a href="index.php?pg=event/vmonth#content" rel="dropmenu8"><span class="font">Kalendar</span></a></li>
            <li><a href="index.php?pg=myfooter/about#content" rel="dropmenu1"><span class="font">Mengenai 1MPB</span></a></li>
            <li><a href="index.php?pg=myfooter/smsinfo#content" rel="dropmenu1"><span class="font">SMS Info - 15888</span></a></li>
            <li><a href="index.php?pg=myfooter/contactus#content" rel="dropmenu2"><span class="font">Hubungi Kami</span></a></li>
            <li><a href="index.php?pg=forum/master_list#content" rel="dropmenu2"><span class="font">Forum</span></a></li>
        </ul>
    </div>






</div>

    <div id="adv"><link href="/11pengguna/module/adv/css/style.css" rel="stylesheet" type="text/css" />
<script src="/11pengguna/module/adv/js/desSlideshow.js"></script>
<script language="javascript" type="text/javascript">
    $(function() {
        $("#desSlideshow1").desSlideshow({
            autoplay: 'enable',//option:enable,disable
            slideshow_width: '1024',//slideshow window width
            slideshow_height: '350',//slideshow window height
            thumbnail_width: '200',//thumbnail width
            time_Interval: '4000',//Milliseconds
            directory: '/11pengguna/module/adv/images/'// flash-on.gif and flashtext-bg.jpg directory
        });
    });
</script>
</head>
<body>
    <div id="desSlideshow1" class="desSlideshow">
        <div class="switchBigPic">
            <div>
                <a id="PRICEWATCH" href="#"><img class="pic" src="/11pengguna/module/adv/images/pricewatch.jpg" /></a>
            </div>

            <div>
                <!--a id ="SMS_INFO" href="#"><img class="pic" src="/11pengguna/module/adv/images/sms info.jpg" /></a-->
                <a href="http://www.1pengguna.com/kads1m/index.php?pg=main/home" target="_blank"><img class="pic" src="/11pengguna/module/adv/images/banner KDS1M-1pengguna.jpg" /></a>

            </div>

            <div>
                <!--a title="" href="index.php?pg=promosi/promosi_list#content"><img class="pic" src="/11pengguna/module/adv/images/promosi terkini2.jpg" /></a-->
                <a target="_blank" href="http://www.1pengguna.com/akpr1m/index.php?com=calon/ccalon/mukadepan"><img class="pic" src="/11pengguna/module/adv/images/anugerah.jpg" /></a>

            </div>

             <div>
                <a target="_blank" href="http://www.1pengguna.com/menurakyat"><img class="pic" src="/11pengguna/module/adv/images/Menu.jpg" /></a>
            </div>
<!--            <div>
                <a target="_blank" href="http://www.1pengguna.com/menu/index.php?atknodetype=menurakyat.menurakyat&atkaction=admin&atklevel=-1&atkprevlevel=0&"><img class="pic" src="/11pengguna/module/adv/images/Menu.jpg" /></a>
            </div>-->

            <div>
                <a target="_blank" href="http://www.kedairakyat1malaysia.com.my/ms/produk"><img class="pic" src="/11pengguna/module/adv/images/kedai Rakyat 1malaysia.jpg" /></a>
            </div>

            <div>
                <a target="_blank" href="http://www.1pengguna.com/SkuadPengguna/index.php?pg=home/home"><img class="pic" src="/11pengguna/module/adv/images/skuad pengguna.jpg" /></a>
            </div>

            <div>
                <a target="_blank" href="http://www.1pengguna.com/gps/index.php"><img class="pic" src="/11pengguna/module/adv/images/GPS.jpg" /></a>
            </div>



        </div>

        <ul class="nav">
            <li><a href="#"><span class="font">Pricewatch</span></a></li>
            <li><a href="http://www.1pengguna.com/kads1m/index.php?pg=main/home" target="_blank"><span class="font">KADS1M</span></a></li>
            <li><a href="http://www.1pengguna.com/akpr1m/index.php?com=calon/ccalon/mukadepan" target="_blank"><span class="font">AKPR1M</span></a></li>
<!--            <li><a target="_blank" href="http://www.1pengguna.com/menu/index.php?atknodetype=menurakyat.menurakyat&atkaction=admin&atklevel=-1&atkprevlevel=0&"><span class="font">Menu Rakyat 1Malaysia</span></a></li>-->
            <li><a target="_blank" href="http://www.1pengguna.com/menurakyat"><span class="font">Menu Rakyat 1Malaysia</span></a></li>
            <li><a target="_blank" href="http://www.kedairakyat1malaysia.com.my/ms/produk"><span class="font">Kedai Rakyat 1Malaysia</span></a></li>
            <li><a href="http://www.1pengguna.com/SkuadPengguna/index.php?pg=home/home" target="_blank"><span class="font">Skuad Pengguna</span></a></li>
            <li><a href="http://www.1pengguna.com/gps/index.php"><span class="font">Gerakan Pengguna Siswa</span></a></li>
        </ul>
    </div>

    <!--div id="sms_info_box">
         <iframe style="display: none;" id="sms-frame" src="http://www.1pengguna.com/customregister/smsinfo.php" width="850px" scrolling="no" frameborder="0" height="650"></iframe>  
          
      </div-->

    <div id ="pricewatch_box">
                    <iframe style="display: none;" id="pricewatch-frame" src="http://pricewatch.1pengguna.com/pw/public/lokasi.jsp?userID=&emailID=&userType=1" width="850px" scrolling="no" frameborder="0" height="590"></iframe>  

            </div>
    <script>
        $(function() {


            // $('#SMS_INFO').click(function() {
            //  $('#sms_info_box').dialog({width:898, height:800, title:'Price Watch', modal:true});
            //                    $('#pricewatch_box').load();
            //  $('#sms-frame').css('display', 'inline');
            // }); 
  
            $('#PRICEWATCH').click(function() {
                $('#pricewatch_box').dialog({width:898, height:800, title:'Price Watch', modal:true});
                //                    $('#pricewatch_box').load();
                $('#pricewatch-frame').css('display', 'inline');
            }); 
        });
    </script></div>

    <div id="search_col" style="background-image: url('/11pengguna/template/1pengguna/images/quick_bm.png');">
        
<form method="post" action="index.php?pg=mysearch/result_search#content" name="form1" >

    <table border="0" cellpadding="0">
        <tr>
            <td width="40" height="150"></td>
            <td><select name='KodBrg' id='KodBrg' class='t4' style='width:200px'>
                    <option value='0'></option><option value="27" >ANGGUR MERAH BERBIJI-(1kg)</option><option value="860" >ASAM JAWA (TIDAK BERBIJI)-(200 g)</option><option value="1127" >AYAM BELANDA IMPORT-(1kg)</option><option value="1" >AYAM BERSIH - STANDARD-(1kg)</option><option value="2" >AYAM BERSIH - SUPER-(1kg)</option><option value="3" >AYAM HIDUP-(1kg)</option><option value="43" >BAWAL HITAM (SAIZ M)-(1kg)</option><option value="130" >BAWANG BESAR MERAH (INDIA)-(1kg)</option><option value="132" >BAWANG KECIL MERAH JAMBU (THAILAND)-(1kg)</option><option value="131" >BAWANG KECIL MERAH ROSE (INDIA)-(1kg)</option><option value="133" >BAWANG PUTIH (CINA)-(1kg)</option><option value="90" >BAYAM HIJAU (SEIKAT/BUNDLE)-(+-250g)</option><option value="96" >BENDI-(1kg)</option><option value="901" >BERAS CAP RAMBUTAN (SST 5%)-(10 kg)</option><option value="903" >BERAS JASMINE (SST 5%)-(10 kg)</option><option value="992" >BERAS JATI (SST 5%)-(10 kg)</option><option value="904" >BERAS SUPER CAP RAMBUTAN 5% (IMPORT)-(10 kg)</option><option value="905" >BERAS SUPER JATI TWR 5% (IMPORT)-(10 kg)</option><option value="1068" >BERAS SUPER SPECIAL TEMPATAN 10%-(10 kg)</option><option value="1026" >BERUS GIGI COLGATE 360 DEGREE MEDIUM-(1 unit)</option><option value="16" >BETIK BIASA-(1kg)</option><option value="906" >BIHUN KERING (CAP BINTANG)-(+-400g)</option><option value="927" >BIHUN KERING (CAP EKA)-(+-400g)</option><option value="139" >BIHUN KERING (TEMPATAN)-(+-400g)</option><option value="1014" >BREACOL CHILDREN (BOTOL)-(60ml)</option><option value="1038" >BREEZE POWDER COLOUR-(400 g)</option><option value="1060" >CADBURY - DAIRY MILK & (DAIRY MILK ASSORTED)-(175 g)</option><option value="47" >CENCARU (SAIZ M)-(1kg)</option><option value="1128" >CILI BENGGALA (CAPSICUM) HIJAU-(1kg)</option><option value="1130" >CILI BENGGALA (CAPSICUM) KUNING-(1kg)</option><option value="1129" >CILI BENGGALA (CAPSICUM) MERAH-(1kg)</option><option value="92" >CILI HIJAU-(1kg)</option><option value="142" >CILI KERING KERINTING (TIDAK BERTANGKAI)-(100 g)</option><option value="144" >CILI KERING LEPER (TIDAK BERTANGKAI)-(100 g)</option><option value="93" >CILI MERAH - KULAI-(1kg)</option><option value="1077" >CLEO-(senaskah)</option><option value="1346" >COCA-COLA-(1 tin)</option><option value="1075" >COCONUT MILK (PELBAGAI JENAMA)-(+-200ml)</option><option value="1012" >COSMOPAS MEDICATED PLASTER 10S-(paket)</option><option value="1056" >CREAM O - JACK N JILL (VANILA)-(120 g)</option><option value="856" >DAGING KAMBING (TEMPATAN) * (LAMB SHOULDER)-(1kg)</option><option value="11" >DAGING KAMBING TANPA TULANG (AUSTRALIA)-(1kg)</option><option value="14" >DAGING KERBAU IMPORT (INDIA) * (TOP SIDE)-(1kg)</option><option value="13" >DAGING LEMBU (TEMPATAN) * (TOP SIDE)-(1kg)</option><option value="1040" >DAIA (FLORAL FRESHNESS/LEMON CITRUS POWER)-(1kg)</option><option value="1058" >DELUXE CRACKERS - HUP SENG-(330 g)</option><option value="1035" >DETTOL (ACTIVE SOAP) 70G-(1 unit)</option><option value="1041" >DOWNY ANTIBAC-(200 ml)</option><option value="298" >DUMEX DUGRO 1 - 3 (RASA ASLI)-(900 g)</option><option value="1073" >DUMEX DUGRO 1 PLUS (RASA ASLI) - (REFILL)-(650g)</option><option value="1074" >DUTCH LADY 123 - (REFILL)-(650g)</option><option value="1053" >EKSPRESS HOT CUP-(60 g)</option><option value="1008" >ENEGIZER AA (1 X 4 PCS)-(paket)</option><option value="303" >ENFAGROW A+ LANGKAH 3 VANILLA (KOTAK)-(650g)</option><option value="29" >EPAL MERAH WASHINGTON (SAIZ M)-(1 biji)</option><option value="1009" >EVEREADY AA (1 X 4 PCS)-(paket)</option><option value="1017" >FISHERMAN'S FRIEND ORIGINAL-(25 g)</option><option value="1021" >FUMAKILLA (LINGKARAN NYAMUK) - 1 X 10'S-(kotak)</option><option value="146" >GARAM HALUS BIASA-(+-350g)</option><option value="1010" >GILLETTE BLUE (II) ULTRA GRIP-(1 unit)</option><option value="95" >HALIA BASAH (TUA)-(1kg)</option><option value="1013" >HANSPLAST TRANSPARENT PLASTIC 20S-(paket)</option><option value="148" >IKAN BILIS GRED B (SAIZ SEDERHANA)-(1kg)</option><option value="1029" >J&J BABY LOTION REGULAR-(100 ml)</option><option value="1048" >JACK N JILL (POTATO CHIPS) - SPRING ONION & GARLIC FLAVOR-(70 g)</option><option value="1055" >JACOB'S HI - CAL ORIGINAL - KRAFT-(180 g)</option><option value="201" >JEM BUAH CAMPURAN LADY'S CHOICE-(400 g)</option><option value="235" >JUS OREN PEEL FRESH (MARIGOLD)-(1 liter)</option><option value="97" >KACANG BUNCIS-(1kg)</option><option value="1065" >KACANG CAP TANGAN-(120 g)</option><option value="1066" >KACANG CAP TANGAN (SHADONG)-(120 g)</option><option value="152" >KACANG HIJAU (IMPORT)-(1kg)</option><option value="1067" >KACANG MENGLEMBU - PAGODA-(120 g)</option><option value="98" >KACANG PANJANG-(1kg)</option><option value="368" >KACANG TANAH (IMPORT)-(1kg)</option><option value="99" >KAILAN (SEIKAT/BUNDLE)-(+-250g)</option><option value="100" >KANGKUNG CINA (SEIKAT/BUNDLE)-(+-250g)</option><option value="101" >KELAPA BIJI-(1 biji)</option><option value="102" >KELAPA PARUT-(1kg)</option><option value="54" >KEMBUNG HITAM/HIJAU (SAIZ M)-(1kg)</option><option value="57" >KERISI (SAIZ M)-(1kg)</option><option value="847" >KETAM RENJUNG/BUNGA (SAIZ M)-(1kg)</option><option value="214" >KICAP LEMAK MANIS CAP KIPAS UDANG-(345ml)</option><option value="212" >KICAP TAMIN (DARK SOY SAUCE)-(330 ml)</option><option value="1063" >KINDER BUENO - MILK & HAZELNUT-(43 g)</option><option value="1045" >KLEENEX DISNEY HANKY PACK - 6X9S-(paket)</option><option value="105" >KOBIS BULAT (TEMPATAN)-(1kg)</option><option value="104" >KOBIS BULAT IMPORT (CHINA)-(1kg)</option><option value="1018" >KOOL FEVER (DEMAM)-(paket)</option><option value="910" >KORDIAL F&N (SIRAP ROS)-(2 liter)</option><option value="171" >KORDIAL SUNQUICK (OREN)-(840 ml)</option><option value="1044" >KOTEX OVERNIGHT WING 10S-(paket)</option><option value="322" >KRIMER MANIS CAP TEAPOT-(505 g)</option><option value="883" >KRIMER PEKAT MANIS BERVITAMIN CAP F&N-(505 g)</option><option value="299" >LACTOGEN 1 RUMUSAN BAYI (KOTAK)-(700 g)</option><option value="1076" >LIGHT HOUSE CANDLE 6X (LONG)-(kotak)</option><option value="1025" >LISTERINE COOL MINT-(250 ml)</option><option value="240" >LIVITA WITH HONEY (BOTOL)-(150 ml)</option><option value="109" >LOBAK MERAH-(1kg)</option><option value="1037" >LUX 90G-(1 unit)</option><option value="1051" >MAGGI HOT CUP-(66 g)</option><option value="1050" >MAGGI MEE CURRY-(79 g)</option><option value="1052" >MAMEE KARI-(80 g)</option><option value="1057" >MARIE - HWA TAI-(300 g)</option><option value="206" >MARJERIN PLANTA-(480 g)</option><option value="1079" >MAY 90G-(1 unit)</option><option value="59" >MEE KUNING (BASAH)-(300-500g)</option><option value="908" >MEE KUNING (LAKSAMANA)-(+-500g)</option><option value="909" >MEE KUNING (WIN)-(+-500g)</option><option value="208" >MENTEGA BUTTERCUP-(250 g)</option><option value="62" >MERAH (DIHIRIS LEMBUT / KEPINGAN)-(1kg)</option><option value="928" >MILO (PAKET)-(1kg)</option><option value="164" >MILO (PAKET)-(400 g)</option><option value="165" >MILO FUZE 3 IN 1 (20X33G) - ORIGINAL-(paket)</option><option value="1069" >MINERAL WATER (AIR MINUMAN SEMULAJADI)-(1.5 liter)</option><option value="1019" >MINYAK ANGIN CAP KAPAK-(3 ml)</option><option value="918" >MINYAK MASAK PAKET (PELBAGAI JENAMA)-(1kg)</option><option value="263" >MINYAK MASAK TULEN CAP BURUH-(5 kg)</option><option value="266" >MINYAK MASAK TULEN CAP SERI MURNI-(5 kg)</option><option value="1100" >MINYAK MASAK TULEN CAP SERI MURNI-(1kg)</option><option value="1101" >MINYAK MASAK TULEN CAP SERI MURNI-(2 kg)</option><option value="1046" >MR. POTATO PERISA ASLI -(75 g)</option><option value="25" >NENAS BIASA-(1 biji)</option><option value="929" >NESCAFE CLASSIC (PAKET)-(200 g)</option><option value="173" >NESCAFE CLASSIC - 3 IN 1 (30'S X 20G) - REGULAR-(1 paket)</option><option value="1061" >NESTLE - KIT KAT CHUNKY-(46 g)</option><option value="315" >NESTLE BERAS MERAH-(350 g)</option><option value="314" >NESTLE GANDUM & MADU-(225g)</option><option value="1030" >NIVEA DEO DRY ROLL ON (M)-(50 ml)</option><option value="1031" >NIVEA VISAGE (WHITENING FOAM)-(50 g)</option><option value="1024" >O-FRESH ALCOHOL FREE-(200 ml)</option><option value="1032" >OLAY (WHITE RADIANCE)-(50 g)</option><option value="30" >OREN SUNKIST (SAIZ M)-(1 biji)</option><option value="1054" >OREO - KRAFT-(137 g)</option><option value="1015" >PANADOL FOR CHILDREN 12S-(1 X 12 biji)</option><option value="1033" >PANTENE HAIR FALL CONTROL-(90 ml)</option><option value="999" >PAPERMATE A1 BALLPEN-(1 batang)</option><option value="1005" >PAPERMATE LIQUID PAPER-(1 unit)</option><option value="1347" >PEPSI-(1 tin)</option><option value="18" >PISANG BERANGAN-(1kg)</option><option value="19" >PISANG EMAS-(1kg)</option><option value="1047" >PRINGLES ORIGINAL-(120 g)</option><option value="1036" >PROTECT SOAP ( FRESH/ACTIVE ) 80G-(1 unit)</option><option value="239" >RED BULL (BOTOL)-(150 ml)</option><option value="1034" >REJOICE SHAMPOO ANTI DANDRUFF-(90 ml)</option><option value="1022" >RIDSECT AEROSOL TRIDENT-(600 ml)</option><option value="272" >ROTI PUTIH GARDENIA-(400 g)</option><option value="330" >ROTI SANDWICH (GARDENIA / HIGH 5)-(+-400g)</option><option value="1043" >SABUN PENCUCI ' SUNLIGHT' (LIME)-(1 liter)</option><option value="288" >SABUN PENCUCI AXION (PASTE)-(350 g)</option><option value="103" >SANTAN KELAPA-(1kg)</option><option value="191" >SARDIN CAP AYAM-(425 g)</option><option value="190" >SARDIN CAP AYAM-(155 g)</option><option value="193" >SARDIN CAP KING CUP-(425 g)</option><option value="192" >SARDIN CAP KING CUP-(160 g)</option><option value="110" >SAWI (SEIKAT/BUNDLE)-(+-250g)</option><option value="1011" >SCHICK EXTRA (II) REGULAR-(1 unit)</option><option value="69" >SELAR KUNING (SAIZ M)-(1kg)</option><option value="70" >SELAR PELATA (SAIZ M)-(1kg)</option><option value="350" >SERBUK KARI IKAN BABAS-(250 g)</option><option value="176" >SERBUK KOPI CAP KAPAL API-(200 g)</option><option value="365" >SERBUK KUNYIT ADABI-(250 g)</option><option value="202" >SERI KAYA YEO'S-(480 g)</option><option value="75" >SIAKAP (SAIZ M)-(1kg)</option><option value="218" >SOS CILI LIFE-(340 g)</option><option value="1097" >SOS CILI MAGGI-(500 g)</option><option value="1070" >SOS CILI MAGGI-(340 g)</option><option value="217" >SOS TOMATO MAGGI-(325 g)</option><option value="931" >SOTONG PUTIH (SAIZ M)-(1kg)</option><option value="996" >STABILO 588 EXAM GRADE BALLPEN-(1 batang)</option><option value="1001" >STABILO BOSS HIGHLITER-(1 unit)</option><option value="1016" >STREPSILS BLISTER REGULAR 12S-(paket)</option><option value="1059" >SUGAR CRACKERS - HWA TAI-(380 g)</option><option value="222" >SUSU DUTCH LADY COKLAT- KOTAK-(250 ml)</option><option value="320" >SUSU SEJAT PENUH KRIM CAP IDEAL-(400 g)</option><option value="111" >TAUGEH BASAH (KECIL)-(1kg)</option><option value="1084" >TEH BOH (SERBUK)-(500 g)</option><option value="183" >TEH LIPTON YELLOW LABEL TEA (UNCANG)-(100 beg)</option><option value="117" >TELUR ASIN-(10 biji)</option><option value="118" >TELUR AYAM GRED A-(10 biji)</option><option value="119" >TELUR AYAM GRED B-(10 biji)</option><option value="120" >TELUR AYAM GRED C-(10 biji)</option><option value="20" >TEMBIKAI MERAH BERBIJI-(1kg)</option><option value="21" >TEMBIKAI MERAH TANPA BIJI-(1kg)</option><option value="81" >TENGGIRI BATANG (KEPINGAN)-(1kg)</option><option value="337" >TEPUNG BERAS (BERBUNGKUS)-(500 g)</option><option value="917" >TEPUNG GANDUM NGP (CAP SAUH)-(1kg)</option><option value="916" >TEPUNG GANDUM NGP (CAP WAU)-(1kg)</option><option value="338" >TEPUNG GANDUM NGP - (BERBUNGKUS)-(1kg)</option><option value="340" >TEPUNG JAGUNG CAP B&P-(400 g)</option><option value="112" >TERUNG PANJANG-(1kg)</option><option value="113" >TIMUN-(1kg)</option><option value="1064" >TOBLERONE-(50 g)</option><option value="114" >TOMATO-(1kg)</option><option value="1078" >TOP GEAR-(senaskah)</option><option value="1039" >TROJAN POWDER FLORAL-(1kg)</option><option value="1049" >TWISTIES - ORIGINAL-(70 g)</option><option value="1027" >UBAT GIGI COLGATE 'PUDINA SEGAR'-(175 g)</option><option value="1028" >UBAT GIGI DARLIE 'PUDINA ASLI' DOUBLE ACTION-(175 g)</option><option value="1131" >UBI KENTANG (CHINA)-(1kg)</option><option value="861" >UBI KENTANG (HOLLAND)-(1kg)</option><option value="159" >UDANG KERING-(100 g)</option><option value="849" >UDANG KERTAS (PUTIH) SAIZ M (100 - 120 EKOR)-(1kg)</option><option value="851" >UDANG PUTIH - BANANA PRAWN (SAIZ M)-(1kg)</option><option value="1003" >UHU GLUE-(1 unit)</option><option value="1020" >VICKS VAPORUB-(10 g)</option><option value="1062" >VOCHELLE - ALMONDS & (ASSORTED)-(100 g)</option></select></td>
            <td width="120" height="150"></td>
            <td><select name='negeri' id='negeri' class='t4' onChange="showKawasan()" style="width:100px">
                    <option value='0'></option><option value="10" >JOHOR</option><option value="02" >KEDAH</option><option value="13" >KELANTAN</option><option value="09" >MELAKA</option><option value="08" >NEGERI SEMBILAN</option><option value="11" >PAHANG</option><option value="04" >PERAK</option><option value="01" >PERLIS</option><option value="03" >PULAU PINANG</option><option value="14" >SABAH</option><option value="16" >SARAWAK</option><option value="05" >SELANGOR</option><option value="12" >TERENGGANU</option><option value="06" >W.P. KUALA LUMPUR</option><option value="15" >W.P. LABUAN</option><option value="07" >W.P. PUTRAJAYA</option></select></td>
            <td></td>
            <td><div id="Kawasan"><select name='KodKawasan' id='KodKawasan' class='t4' style="width:50px">
                    <option value='0'></option></select></div></td>
            <td width="190" height="150"></td>
            <td><input type="image" src ="/11pengguna/template/1pengguna/images/cariharga_bm.png"/></td>
        </tr>

    </table>
</form>

<script>
    function showKawasan()
    {
        KodNegeri = $('#negeri').val();

        params = "neg=" + KodNegeri;
        $("#Kawasan").load("index.php?pg=mysearch/ajax_kawasan&hd=0&"+params);
    }
</script>


    </div>

    <div id="search_byproduct"  style="background-image: url('/11pengguna/template/1pengguna/images/popular_bm.png');">
        <div id="search">
    <table>
        <tr>
          <td width="35%" align="center"> <div id='brgmurah'></div>&nbsp;</td>
<!--<td $strcolspan>&nbsp;</td>-->
 
        <td>
            <a href="#search_byproduct"><img alt="" border="0" src="/11pengguna/module/mysearch/images/ayam_std.png" title="Ayam Bersih - STANDARD&nbsp; Hit(7955)" onclick="dobrgMurah(1)"></a>

    <!--    $itemname[$i]."<br>Hit(".$numhit[$i].")";-->
        </td>
 
        <td>
            <a href="#search_byproduct"><img alt="" border="0" src="/11pengguna/module/mysearch/images/ayam_super.png" title="Ayam Bersih - SUPER&nbsp; Hit(2782)" onclick="dobrgMurah(2)"></a>

    <!--    $itemname[$i]."<br>Hit(".$numhit[$i].")";-->
        </td>
 
        <td>
            <a href="#search_byproduct"><img alt="" border="0" src="/11pengguna/module/mysearch/images/fruit-bm.png" title="Anggur Merah Berbiji&nbsp; Hit(2640)" onclick="dobrgMurah(27)"></a>

    <!--    $itemname[$i]."<br>Hit(".$numhit[$i].")";-->
        </td>
 
        <td>
            <a href="#search_byproduct"><img alt="" border="0" src="/11pengguna/module/mysearch/images/ayam_hidup.png" title="Ayam Hidup&nbsp; Hit(2422)" onclick="dobrgMurah(3)"></a>

    <!--    $itemname[$i]."<br>Hit(".$numhit[$i].")";-->
        </td>
 
        <td>
            <a href="#search_byproduct"><img alt="" border="0" src="/11pengguna/module/mysearch/images/dryfood-bm.png" title="Bawang Besar Merah (India)&nbsp; Hit(2421)" onclick="dobrgMurah(130)"></a>

    <!--    $itemname[$i]."<br>Hit(".$numhit[$i].")";-->
        </td>
 <td width="50%">&nbsp;</td>
        </tr>
    </table>
</div>

<script>
function dobrgMurah(code) {

    $("#brgmurah").load("index.php?pg=mysearch/ajx_brgmurah&itemcode="+code+"&hd=0");
}
</script>
    </div><br />

    <div id="content"><div class="font">        <table cellspacing="1" cellpadding="1" width='100%' border='0' cellpadding='2' cellspacing='1' class='box2 light2'> <tr bgColor=''#EEEEEE'><td colspan='5'>TARIKH HARGA : 27-03-2013 </td></tr><tr bgColor='#EEEEEE'><td colspan='5'>NAMA BARANG : ANGGUR MERAH BERBIJI-1KG </td></tr><tr bgcolor='#FFFFCC'><td align='center'>BIL.</td>
                  <td width='1'></td><td align='center'>NAMA/ALAMAT PREMIS PERNIAGAAN</td><td align='center'>KATEGORI PREMIS</td><td align='center'>HARGA (RM)</td></tr><tr bgColor='white'><td align='center'>1.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>TESCO BUKIT TINGGI<br>NO. 1 BATU 2 1/2, JALAN LANGAT,
41200 KLANG,
SELANGOR</td><td align='center'>HYPERMARKET</td><td align='center'>7.99</td></tr><tr bgColor='white'><td align='center'>2.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>MYDIN USJ<br>LOT 4,5,6 PERSIARAN PERPADUAN
USJ 1
47600 SUBANG JAYA
SELANGOR</td><td align='center'>HYPERMARKET</td><td align='center'>8.49</td></tr><tr bgColor='white'><td align='center'>3.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>CARREFOUR SUBANG JAYA<br>CARREFOUR SUBANG JAYA 3 JALAN SS16/1, 47500 SUBANG JAYA, SELANGOR DARUL EHSAN. </td><td align='center'>HYPERMARKET</td><td align='center'>8.85</td></tr><tr bgColor='white'><td align='center'>4.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>CARREFOUR PUCHONG<br>LOT 4029 ,PERSIARAN PUCHONG UTAMA.
47100, PUCHONG, SELANGOR</td><td align='center'>HYPERMARKET</td><td align='center'>8.90</td></tr><tr bgColor='white'><td align='center'>5.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASARAYA ECONSAVE<br>KG MELAYU SUBANG</td><td align='center'>PASAR RAYA / SUPERMARKET</td><td align='center'>8.99</td></tr><tr bgColor='white'><td align='center'>6.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>GIANT RAWANG<br>JALAN MAXWELL
RAWANG</td><td align='center'>PASAR RAYA / SUPERMARKET</td><td align='center'>9.89</td></tr><tr bgColor='white'><td align='center'>7.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>CARREFOUR SEKSYEN 23<br>SEKSYEN 23, SHAH ALAM SELANGOR</td><td align='center'>HYPERMARKET</td><td align='center'>9.90</td></tr><tr bgColor='white'><td align='center'>8.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>GIANT BATU CAVES<br>GCH RETAIL MALAYSIA SDN BHD (667035-P)
LOT 10243, JALAN BATU CAVES, BANDAR SELAYANG, DAERAH GOMBAK, 68100 SELANGOR</td><td align='center'>HYPERMARKET</td><td align='center'>9.99</td></tr><tr bgColor='white'><td align='center'>9.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>GIANT SUPERMARKET SELAYANG MALL<br>LOT LG 11, SELAYANG MALL,
SU 9 TAMAN SELAYANG UTAMA
68100 BATU CAVES SELANGOR</td><td align='center'>PASAR RAYA / SUPERMARKET</td><td align='center'>9.99</td></tr><tr bgColor='white'><td align='center'>10.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>GIANT SEKSYEN 13<br>GCH RETAIL (MALAYSIA) SDN. BHD.
LOT 2, PERSIARAN SUKAN SEKSYEN 13,
40100 SHAH ALAM,
SELANGOR DARUL EHSAN.</td><td align='center'>HYPERMARKET</td><td align='center'>9.99</td></tr><tr bgColor='white'><td align='center'>11.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>GIANT KEMUNING UTAMA<br>KEMUNING UTAMA, SHAH ALAM SEKSYEN 31, SELANGOR</td><td align='center'>HYPERMARKET</td><td align='center'>9.99</td></tr><tr bgColor='white'><td align='center'>12.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>GIANT HYPERMARKET KELANA JAYA<br>NO. 33, JALAN SS6/12
SS 6, KELANA JAYA,
47301 PETALING JAYA</td><td align='center'>HYPERMARKET</td><td align='center'>10.89</td></tr><tr bgColor='white'><td align='center'>13.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>GIANT KELANA JAYA<br>NO 2-8, SS 6/3, PUSAT BANDAR KELANA JAYA
47301 PETALING JAYA, SELANGOR</td><td align='center'>PASAR RAYA / SUPERMARKET</td><td align='center'>10.89</td></tr><tr bgColor='white'><td align='center'>14.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>ECONSAVE BANTING<br>ECONSAVE BANTING, SELANGOR.</td><td align='center'>PASAR RAYA / SUPERMARKET</td><td align='center'>10.90</td></tr><tr bgColor='white'><td align='center'>15.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>ECONSAVE KOTA KEMUNING S31<br>JALAN KOTA KEMUNING
SEKSYEN 31,SHAH ALAM
SELANGOR</td><td align='center'>PASAR RAYA / SUPERMARKET</td><td align='center'>10.90</td></tr><tr bgColor='white'><td align='center'>16.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>GIANT SUPERMARKET BANDAR PUTERI<br>BANDAR PUTERI PUCHONG</td><td align='center'>PASAR RAYA / SUPERMARKET</td><td align='center'>10.99</td></tr><tr bgColor='white'><td align='center'>17.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>GIANT KINRARA<br>GIANT HYPERMARKET BANDAR KINRARA
LOT 449 JALAN BK 5A/1
BANDAR KINRARA 
47180 PUCHONG
SELANGOR</td><td align='center'>HYPERMARKET</td><td align='center'>10.99</td></tr><tr bgColor='white'><td align='center'>18.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>ONG THAI KIM (OTK)<br>PUCHONG PRIMA
PUCHONG 
SELANGOR DARUL EHSAN</td><td align='center'>PASAR RAYA / SUPERMARKET</td><td align='center'>10.99</td></tr><tr bgColor='white'><td align='center'>19.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>GIANT PUTRA HEIGHTS<br>GIANT HYPERMARKET PUTRA HEIGHTS
NO. 3 PERSIARAN PUTRA PERDANA,
47650 PUTRA HEIGHT,
SUBANG JAYA,
SELANGOR</td><td align='center'>HYPERMARKET</td><td align='center'>10.99</td></tr><tr bgColor='white'><td align='center'>20.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>GIANT FISRT<br>SS15 SUBANG JAYA</td><td align='center'>PASAR RAYA / SUPERMARKET</td><td align='center'>10.99</td></tr><tr bgColor='white'><td align='center'>21.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>MYDIN SELAYANG<br>10-16, JALAN SU/12, SELAYANG UTAMA, 68100 BATU CAVES, SELANGOR.
</td><td align='center'>HYPERMARKET</td><td align='center'>11.90</td></tr><tr bgColor='white'><td align='center'>22.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>CARREFOUR SEKSYEN 32<br>SEKSYEN 32, SHAH ALAM, SELANGOR</td><td align='center'>HYPERMARKET</td><td align='center'>11.99</td></tr><tr bgColor='white'><td align='center'>23.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASAR BASAH SERI SERDANG<br>SERDANG,SELANGOR.</td><td align='center'>PASAR BASAH </td><td align='center'>12.00</td></tr><tr bgColor='white'><td align='center'>24.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>ECONSAVE CASH & CARRY<br>LOT 218 & 219 1 1/2
JALAN PENDAMARAN
PANDAMARAN N/V 
42080
PELABUHAN KLANG
SELANGOR</td><td align='center'>PASAR RAYA / SUPERMARKET</td><td align='center'>12.90</td></tr><tr bgColor='white'><td align='center'>25.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>JUSCO BANDAR UTAMA<br>NO:1 LEBOH BANDAR UTAMA
BANDAR UTAMA DAMANSARA
47800 PETALING JAYA 
SELANGOR</td><td align='center'>PASAR RAYA / SUPERMARKET</td><td align='center'>12.90</td></tr><tr bgColor='white'><td align='center'>26.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>MY MYDIN <br>TAMAN SRI MANJA,
PETALING JAYA</td><td align='center'>PASAR RAYA / SUPERMARKET</td><td align='center'>12.90</td></tr><tr bgColor='white'><td align='center'>27.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>JUSCO SUNWAY<br>JUSCO BANDAR SUNWAY, LOT 32,34 & 51175, 
BANDAR SUNWAY, PETALING JAYA, SELANGOR</td><td align='center'>PASAR RAYA / SUPERMARKET</td><td align='center'>12.90</td></tr><tr bgColor='white'><td align='center'>28.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>GIANT HYPERMARKET RAWANG<br>GCH RETAIL (M'SIA SDN BHD)
NO 1 JLN BINTANG, PUSAT BANDAR RAWANG,
48000 RAWANG,
SELANGOR</td><td align='center'>HYPERMARKET</td><td align='center'>12.99</td></tr><tr bgColor='white'><td align='center'>29.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASAR BASAH BESAR KAJANG<br>PASAR BASAH BESAR KAJANG</td><td align='center'>PASAR BASAH </td><td align='center'>13.00</td></tr><tr bgColor='white'><td align='center'>30.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASAR BASAR PELABUHAN KLANG<br>PASAR BASAR PELABUHAN KLANG
42000 SELANGOR</td><td align='center'>PASAR BASAH </td><td align='center'>13.00</td></tr><tr bgColor='white'><td align='center'>31.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASAR AWAM KUALA KUBU BHARU<br>KUALA KUBU BHARU</td><td align='center'>PASAR BASAH </td><td align='center'>13.00</td></tr><tr bgColor='white'><td align='center'>32.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASAR BASAH KG. MELAYU SUBANG<br></td><td align='center'>PASAR BASAH </td><td align='center'>14.00</td></tr><tr bgColor='white'><td align='center'>33.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>TESCO SEKSYEN 13<br>SEKSYEN 13, SHAH ALAM</td><td align='center'>HYPERMARKET</td><td align='center'>14.98</td></tr><tr bgColor='white'><td align='center'>34.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>TESCO PUCHONG<br>PUSAT BANDAR PUCHONG</td><td align='center'>HYPERMARKET</td><td align='center'>14.98</td></tr><tr bgColor='white'><td align='center'>35.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>TESCO EXTRA, SHAH ALAM<br>TESCO EXTRA SHAH ALAM
TESCO STORES (MALAYSIA) SDN. BHD. (521419-K)
NO. 1, PERSIARAN SUKAN, SEKSYEN 13,
40714 SHAH ALAM,
SELANGOR</td><td align='center'>HYPERMARKET</td><td align='center'>14.98</td></tr><tr bgColor='white'><td align='center'>36.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>TESCO SAUJANA IMPIAN<br>TESCO STORES (MALAYSIA) SDN.BHD.
LOT 37820 & 11196 MUKIM KAJANG,
SAUJANA IMPIAN,
43000 KAJANG, 
SELANGOR DARUL EHSAN.</td><td align='center'>HYPERMARKET</td><td align='center'>14.98</td></tr><tr bgColor='white'><td align='center'>37.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>TESCO RAWANG<br>TESCO RAWANG</td><td align='center'>HYPERMARKET</td><td align='center'>14.98</td></tr><tr bgColor='white'><td align='center'>38.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>TESCO SEMENYIH<br>NO.1 JALAN TPS 1/1, 
TAMAN  PELANGI SEMENYIH, 
43500 SEMENYIH, SELANGOR</td><td align='center'>HYPERMARKET</td><td align='center'>14.98</td></tr><tr bgColor='white'><td align='center'>39.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>TESCO KUALA SELANGOR<br>NO 2, JALAN TIARA 1, 
MEDAN NIAGA KUALA SELANGOR, 
45000 KUALA SELANGOR, SELANGOR</td><td align='center'>HYPERMARKET</td><td align='center'>14.98</td></tr><tr bgColor='white'><td align='center'>40.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>TESCO HYPERMARKET PARADIGM MALL<br>NO.1, JALAN SS7/26A, KELANA JAYA
47301 PETALING JAYA
SELANGOR</td><td align='center'>HYPERMARKET</td><td align='center'>14.98</td></tr><tr bgColor='white'><td align='center'>41.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASAR HARIAN TAMAN SELAYANG JAYA<br>PASAR HARIAN TAMAN SELAYANG JAYA,
TAMAN SELAYANG JAYA,
SELAYANG, SELANGOR</td><td align='center'>PASAR BASAH </td><td align='center'>15.00</td></tr><tr bgColor='white'><td align='center'>42.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASAR HARIAN SELAYANG BARU<br>PASAR HARIAN SELAYANG BARU,
JALAN BESAR SELAYANG BARU,
68100, BATU CAVES</td><td align='center'>PASAR BASAH </td><td align='center'>15.00</td></tr><tr bgColor='white'><td align='center'>43.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASAR AWAM PASIR PENAMBANG
<br>PEKAN PASIR PENAMBANG
45000 KUALA SELANGOR</td><td align='center'>PASAR BASAH </td><td align='center'>15.00</td></tr><tr bgColor='white'><td align='center'>44.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASAR BASAH BUKIT SENTOSA<br>PASAR BASAH BUKIT SENTOSA,RAWANG SELANGOR</td><td align='center'>PASAR BASAH </td><td align='center'>15.00</td></tr><tr bgColor='white'><td align='center'>45.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>GRAND UNION SDN BHD<br>GRAND UNION SDN BHD
BUKIT SENTOSA</td><td align='center'>PASAR RAYA / SUPERMARKET</td><td align='center'>15.90</td></tr><tr bgColor='white'><td align='center'>46.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>GIANT BUKIT ANTARABANGSA<br>LOT 369(PT 3429) JALAN WANGSA UKAY
TAMAN WANGSA UKAY 
MUKIM ULU KLANG
68000 SELANGOR</td><td align='center'>PASAR RAYA / SUPERMARKET</td><td align='center'>15.99</td></tr><tr bgColor='white'><td align='center'>47.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>GIANT HYPERMARKET (ULU KELANG TMN PERMATA BRANCH)<br>LOT 13793 & 13796
JALAN CHANGKAT PERMATA
TAMAN PERMATA
53300 KUALA LUMPUR</td><td align='center'>HYPERMARKET</td><td align='center'>15.99</td></tr><tr bgColor='white'><td align='center'>48.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASAR BESAR JALAN OTHMAN<br>JALAN OTHMAN
46000 PETALING JAYA</td><td align='center'>PASAR BASAH </td><td align='center'>16.00</td></tr><tr bgColor='white'><td align='center'>49.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASAR AWAM SG BESAR<br>PASAR AWAM SG BESAR,
45300 SG BESAR</td><td align='center'>PASAR BASAH </td><td align='center'>16.00</td></tr><tr bgColor='white'><td align='center'>50.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASAR BESAR SEKSYEN 16<br>PASAR SEKSYEN 16, SHAH ALAM
40000 SHAH ALAM 
SELANGOR</td><td align='center'>PASAR BASAH </td><td align='center'>16.00</td></tr><tr bgColor='white'><td align='center'>51.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASAR AWAM SUNGAI PELEK<br>SUNGAI PELEK</td><td align='center'>PASAR BASAH </td><td align='center'>16.00</td></tr><tr bgColor='white'><td align='center'>52.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASAR PAGI SRI GOMBAK<br>PASAR SRI GOMBAK,
TAMAN SRI GOMBAK
68100 BATU CAVES</td><td align='center'>PASAR BASAH </td><td align='center'>17.00</td></tr><tr bgColor='white'><td align='center'>53.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASAR SERI SETIA<br>JALAN SS9A/1, SG WAY,
47300 PETALING JAYA
</td><td align='center'>PASAR BASAH </td><td align='center'>17.00</td></tr><tr bgColor='white'><td align='center'>54.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>GRAND UNION<br>G.U.S (SUNGAI PELEK) SDN. BHD
18, 19 & 20, JALAN BESAR,
43950 SUNGAI PELEK,
SEPANG, SELANGOR</td><td align='center'>PASAR RAYA / SUPERMARKET</td><td align='center'>17.50</td></tr><tr bgColor='white'><td align='center'>55.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASAR AWAM TANJUNG KARANG<br>PASAR AWAM TANJUNG KARANG
45500 TANJUNG KARANG
SELANGOR</td><td align='center'>PASAR BASAH </td><td align='center'>18.00</td></tr><tr bgColor='white'><td align='center'>56.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASAR BASAH-RAWANG<br>RAWANG,
SELANGOR DARUL EHSAN.</td><td align='center'>PASAR BASAH </td><td align='center'>18.00</td></tr><tr bgColor='white'><td align='center'>57.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASAR BASAH SS 15 
SUBANG JAYA<br>SS 15
SUBANG JAYA 
PETALING JAYA
SELANGOR DARUL EHSAN</td><td align='center'>PASAR BASAH </td><td align='center'>18.00</td></tr><tr bgColor='white'><td align='center'>58.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>JUSCO BUKIT TINGGI<br>JUSCO BUKIT TINGGI STORE,
MEZZANINE FLOOR,
NO.1,PERSIARAN BATU NILAM 1/KS 6,
BANDAR BUKIT TINGGI 2,
41200 KLANG,
SELANGOR.</td><td align='center'>PASAR RAYA / SUPERMARKET</td><td align='center'>18.90</td></tr><tr bgColor='white'><td align='center'>59.</td>
                              <td><img src='/11pengguna/module/mysearch/images/fruit-bm.png'> </td> <td>PASAR BASAH SEKSYEN 6<br>PASAR BASAH SEKSYEN 6
SEKSYEN 6
40000 SHAH ALAM SELANGOR</td><td align='center'>PASAR BASAH </td><td align='center'>20.00</td></tr>        </table> <br>PENAFIAN <br> <br>

                      Kerajaan Malaysia dan
                      Kementerian Perdagangan Dalam Negeri, Koperasi dan Kepenggunaan
                      (”KPDNKK”, “kami”) adalah tidak bertanggungjawab bagi apa-apa kehilangan
                      atau kerugian yang disebabkan oleh penggunaan mana-mana maklumat yang
                      diperolehi dari maklumat harga ini serta tidak boleh ditafsirkan sebagai
                      ejen kepada, ataupun syarikat yang disyorkan oleh KPDNKK. <br><br>

                      Maklumat yang dikumpulkan adalah bagi tujuan rujukan umum sahaja.</div></div><br />

    <div id="papan_link">
        
<script type="text/javascript" src="/11pengguna/module/admin/mypromosi/js/stickytooltip.js"></script>

<style>
    a { text-decoration : none; }

    .stickytooltip{
        display:none;
        position:absolute;
        display:none;
        z-index:3000;
    }

    .stickytooltip .atip img{
        box-shadow: 5px 5px 8px #818181;
        -webkit-box-shadow: 5px 5px 8px #818181;
        -moz-box-shadow: 5px 5px 8px #818181;
    }

    .stickytooltip_title {
        font-family : arial;
        font-size : 14px;
        letter-spacing: 1px;
        color : black;
    }

    .ImgPromosi{
        max-height:100px;
        height:expression(document.body.clientWidth > 100? "100px": "auto" );
    }
</style>

<table>
    <tr>
        <td>

    <marquee behavior="scroll" direction="left" scrollamount="5" onmouseover="this.stop()" onmouseout="this.start()">
        <a href="" target="_blank">
                    <img src="/11pengguna/module/admin/mypromosi/photo/program penjaja.jpg" height="100" data-tooltip="sticky19" class="ImgPromosi"/>
                  </a><a href="" target="_blank">
                    <img src="/11pengguna/module/admin/mypromosi/photo/banner footer jenama malaysia.png" height="100" data-tooltip="sticky10" class="ImgPromosi"/>
                  </a><a href="http://www.franchisemdtcc.gov.my/spkf" target="_blank">
                    <img src="/11pengguna/module/admin/mypromosi/photo/Franchis-bm.png" height="100" data-tooltip="sticky9" class="ImgPromosi"/>
                  </a>
        <div id="mystickytooltip" class="stickytooltip">
            
                  <div id="sticky19" class="atip" style="text-align:center;">
                      <img src="/11pengguna/module/admin/mypromosi/photo/program penjaja.jpg"/><br/>
                      <span class="stickytooltip_title">Program Penjaja<span>
                  </div>
                  <div id="sticky10" class="atip" style="text-align:center;">
                      <img src="/11pengguna/module/admin/mypromosi/photo/banner footer jenama malaysia.png"/><br/>
                      <span class="stickytooltip_title">Produk Malaysia<span>
                  </div>
                  <div id="sticky9" class="atip" style="text-align:center;">
                      <img src="/11pengguna/module/admin/mypromosi/photo/Franchis-bm.png"/><br/>
                      <span class="stickytooltip_title">Skim Pembiayaan Kecil Francais (SPKF)<span>
                  </div>        </div>
    </marquee>

</td>
</tr>
</table>

    </div>

    <div id="adlink">
        <link href="/11pengguna/module/adlink/css/scroller_roll.css" rel="stylesheet" type="text/css"></link>
<script type="text/javascript" src="/11pengguna/module/adlink/js/scroller_roll.js"></script>

<script language="javascript" type="text/javascript">
   // $(function() {
    //    $("#scroller_roll3").scroller_roll({
   //         title_show: 'disable',//enable  disable
   //         time_interval: '30',
    //        window_background_color: "none",
   //         window_padding: '1',
    //        border_size: '0',
    //        border_color: '#0099CC',
    //        images_width: '134',
    //        images_height: '70',
    //        images_margin: '12',
    //        title_size: '12',
   //         title_color: 'black',
    //        show_count: '7'
    //    });
   // });
</script>

<div id="scroller_roll3" class="scroller_roll">
    <ul>
       <li><a href="http://www.malaysia.gov.my" target="_blank" title="myGovernment"><img src="/11pengguna/module/adlink/images/mygov.jpg" alt="myGovernment"/></a></li>
          <li><a href="http://www.kpdnkk.gov.my" target="_blank" title="KPDNKK"><img src="/11pengguna/module/adlink/images/kpdnkk.jpg" alt="KPDNKK"/></a></li>
        <li><a href="http://www.fomca.org.my" targer="_blank" title="FOMCA"><img src="/11pengguna/module/adlink/images/fomca_color.jpg" alt="FOMCA"/></a></li>
        <li><a href="http://www.nccc.org.my" target="_blank" title="NCCC"><img src="/11pengguna/module/adlink/images/nccc_color.jpg" alt="NCCC"/></a></li>
        <li><a href="http://www.fmb.org.my" target="_blank" title="FMB"><img src="/11pengguna/module/adlink/images/fmb_color.jpg" alt="FMB"/></a></li>
        <li><a href="http://www.mscmalaysia.my/" target="_blank" title="MSC"><img src="/11pengguna/module/adlink/images/msc.jpg" alt="MSC"/></a></li>
        <li><a href="http://www.ssm.com.my/" target="_blank" title="SSM"><img src="/11pengguna/module/adlink/images/ssm.jpg" alt="SSM"/></a></li>
        <li><a href="http://www.bankrakyat.com.my/web/guest/home" target="_blank" title="BANK Rakyat"><img src="/11pengguna/module/adlink/images/Brakyat.jpg" alt="Bank Rakyat"/></a></li>
        <li><a href="http://www.akpk.org.my" target="_blank" title="AKPK"><img src="/11pengguna/module/adlink/images/akpk_color.jpg" alt="AKPK"/></a></li>
    </ul>
    <div style="clear: both"></div>
</div>    </div>

</div>
<div id="footer">
    <style>
    .push {
        height: 10px; /* .push must be the same height as .footer */
    }

    .footer {
        height: 190px; /* .push must be the same height as .footer */
        background-color: #212119;
        width:100%;
        min-width:1024px;
        margin-right:0;
    }

    body {
        min-width:970px;/*--Fixes Background Bug--*/
    }

    #footernew {
        position:relative;
        margin:0 auto;
        bottom:0;
        width:1024px;
        height:230px;   /* Height of the footer */
        background:url('/11pengguna/template/1pengguna/images/LINE SLIDE.png');
    }

    #fbox {padding:5px;float:left; margin:5px 2px 5px 2px; width:180px; font-family:Arial; font-size:12px; color:#FFF;}
    #fbox a { color:#CCCCCC; font-size:12px; margin-left:5px; border-bottom:thin dotted #FF0; width:180px;}
    #fbox a:hover { color:#FFFF66; font-weight:bold; font-size:13px; margin-left:5px;}
    #logo1 { float:left; margin: 20px 10px 20px 10px; }
    #logo2 { float:left; padding:0px; margin: 10px 2px auto 0px; }
    #fbox h2 {font-family:Arial; font-size:1.2em; color:#FFFFFF; margin:5px 0 5px 0;}
    .fpin {padding:1px; float:left; margin:0 1px 5px 0;}
    .klogo {padding:6px; float:left; margin:0 4px 5px 0;}
    #fbox p {line-height:1.5em; font-family:Arial; font-size:0.9em; padding:5px; color:#CCC;}
    #copy { float:left; padding:10px; font-family:Arial; font-size:0.9em; width:99%; float:right; margin:0px 0px 0px 0px; color:#FFFFFF; }
</style>

<div class="footer">
    <div id="logo1">
        <img src="/11pengguna/module/myfooter/images/logofooter.png">
    </div>


    <div id="fbox">
        <img class="fpin" src="/11pengguna/module/myfooter/images/pin.png" /><h2><span class='font'>1MPB</span></h2><hr />
        <p> 
            <a href="index.php?pg=myfooter/about#content"><span class='font'>Mengenai 1MPB</span></a><br />
            <a href="index.php?pg=myfooter/polisi#content"><span class='font'>Polisi Privasi</span></a><br />
            <a href="index.php?pg=myfooter/term#content"><span class='font'>Terma Penggunaan</span></a><br />
            <a href="index.php?pg=myfooter/disclaimer#content"><span class='font'>Penafian</span></a><br />
            <a href="index.php?pg=myfooter/faq#content"><span class='font'>Soalan Lazim</span></a>
    </div>


    <div id="fbox">
        <img class="fpin" src="/11pengguna/module/myfooter/images/pin.png" /><h2><span class='font'>Pautan</span></h2><hr />
        <p><a target="_blank" href="http://www.kpdnkk.gov.my/"><span class='font'>KPDNKK</span></a><br />
            <a target="_blank" href="http://www.cfm.org.my/"><span class='font'>CFM</span></a><br />
            <a target="_blank" href="http://www.fomca.org.my/"><span class='font'>Fomca</span></a><br />
            <a target="_blank" href="http://www.fmb.org.my/"><span class='font'>FMB</span></a><br />
            <a target="_blank" href="http://www.nccc.org.my/v2/"><span class='font'>NCCC</span></a><br />  
            <a target="_blank" href="http://mystandard.kpdnkk.gov.my"><span class='font'>My Standard</span></a></div>

    <div id="fbox">
        <img class="fpin" src="/11pengguna/module/myfooter/images/pin.png" /><h2><span class='font'>Sumber</span></h2><hr />
        <p> 
            <a target="_blank" href="http://www.1pengguna.com/11pengguna/module/myfooter/Kedai Harga Patut.pdf"><span class='font'>Kedai Harga Patut</span></a>
    </div>



    <div id="fbox">
        <img class="fpin" src="/11pengguna/module/myfooter/images/pin.png" /><h2><span class='font'>Bantuan</span></h2><hr />
        <p> 
            <a href="mailto:admin1mpb@kpdnkk.gov.my" target="_blank"><span class='font'>Webmaster</span></a><br />
            <a href="index.php?pg=myfooter/contactus#content"><span class='font'>Hubungi Kami</span></a><br />
    </div>



    <div id="logo2">

        <style>
            /* COMMON CLASSES */
            .break { clear:both; }

            /* WRAPPER */

            /* SOCIAL ICONS - GENERAL */
            .social { list-style:none; margin:5px auto; width:250px; }
            .social li { display:inline; float:left; background-repeat:no-repeat; }
            .social li a { display:block; width:24px; height:24px; padding-right:8px; position:relative; text-decoration:none; }
            .social li a strong { font-weight:normal; position:absolute; left:20px; top:-1px; color:#fff; padding:3px; z-index:9999;
                                  text-shadow:1px 1px 0 rgba(0, 0, 0, 0.75); background-color:rgba(0, 0, 0, 0.7);
                                  -moz-border-radius:3px; -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); -webkit-border-radius:3px; -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); border-radius:3px; box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
            }

            li.delicious { background-image:url("/11pengguna/module/myfooter/images/delicious.png"); }
            li.youtube { background-image:url("/11pengguna/module/myfooter/images/youtube.png"); }
            li.facebook { background-image:url("/11pengguna/module/myfooter/images/facebook.png"); }
            li.flickr { background-image:url("/11pengguna/module/myfooter/images/flickr.png"); }
            li.rss { background-image:url("/11pengguna/module/myfooter/images/feed.png"); }
            li.twitter { background-image:url("/11pengguna/module/myfooter/images/twitter.png"); }

            /* SOCIAL ICONS - CSS3 */
            #css3:hover li { opacity:0.2; }

            #css3 li { -webkit-transition-property: opacity; -webkit-transition-duration: 500ms;
                       -moz-transition-property: opacity; -moz-transition-duration: 500ms; }
            #css3 li a strong { opacity:0;
                                -webkit-transition-property: opacity, top; -webkit-transition-duration: 300ms;
                                -moz-transition-property: opacity, top; -moz-transition-duration: 300ms; }

            #css3 li:hover { opacity:1; }

            #css3 li:hover a strong { opacity:1; top:-10px; }

            #footer-01{
                /*width:1339px; 
                float:left; */
                padding:5px; 
                /*margin:0px 2px 10px 0; */
                text-align:center; 
                background:#212119;
                font-family:Arial; 
                font-size:11px; 
                font-weight:bold; 
                color:#FC3;
            }

        </style>

        <script type="text/javascript">
            /*
             * Author:      Marco Kuiper (http://www.marcofolio.net/)
             */

            $(document).ready(function()
            {
                // Hide all the tooltips
                $("#jquery li").each(function() {
                    $("a strong", this).css("opacity", "0");
                });
    
                $("#jquery li").hover(function() { // Mouse over
                    $(this)
                    .stop().fadeTo(500, 1)
                    .siblings().stop().fadeTo(500, 0.2);
            
                    $("a strong", this)
                    .stop()
                    .animate({
                        opacity: 1,
                        top: "30px"
                    }, 300);
        
                }, function() { // Mouse out
                    $(this)
                    .stop().fadeTo(500, 1)
                    .siblings().stop().fadeTo(500, 1);
            
                    $("a strong", this)
                    .stop()
                    .animate({
                        opacity: 0,
                        top: "-1px"
                    }, 300);
                });
    
            });
        </script>

        <div style="width:250px; float:left; padding:5px; margin:5px 2px 10px 0;">
            <table width="250" border="0" cellspacing="0" cellpadding="0">
                <tr valign="top">
                    <td><img class="klogo" src="/11pengguna/module/myfooter/images/kpdnkk.png" /></td>
                    <td><font style="font-family:Arial; font-size:11px; font-weight:bold; color:#FC3;"><span class='font'>Hakcipta 2011 &copy;www.1Pengguna.com Kementerian Perdagangan Dalam Negeri, Koperasi dan Kepenggunaan (KPDNKK)</span></font></td>
                </tr>
            </table>

        </div>



        <ul class="social" id="jquery">
            <li class="youtube">
                <a target="_blank" href="http://www.youtube.com/user/satupengguna"><strong><span class='font'>You Tube</span></strong></a></li>
            <li class="facebook">
                <a target="_blank" href="http://www.facebook.com/profile.php?id=100001956147071"><strong><span class='font'>Facebook</span></strong></a></li>
            <li class="flickr"><a target="_blank" href="http://www.flickr.com/photos/59006338@N06/"><strong><span class='font'>Flickr</span></strong></a> </li>
            <li class="rss"> <a target="_blank" href="?view=rss"><strong><span class='font'>RSS</span></strong></a> </li>
            <li class="twitter"> <a target="_blank" href="http://twitter.com/satupengguna"><strong><span class='font'>Twitter</span></strong></a></li>
        </ul>


    </div> <!-- div utk logo2 -->


    <!-- footer -->
</div>

<div id="footer-01"><span class='font'>Sesuai dipapar menggunakan IE 8.0 dan Mozilla Firefox 4 dan keatas dengan resolusi 1280 x 720</span></div>
</div>

<script src="/11pengguna/template/1pengguna/js/jquery.easing.1.3.js"></script>

<script>
    $(function() {
        $('#login_link').click(function() {
            $('#loginbox').toggle('slow');
        });

        $('#register').click(function() {
            $('#register_box').dialog({width:750, height:600, title:'Pendaftaran Pengguna', modal:true});
            $('#register_box').load('index.php?pg=usr/usr&hd=0');
        }); 
        
    $('#peti-pesanan').click(function() {
        window.location = "index.php?pg=msg/inbox#content";
    });
    
    $('#profil').click(function() {
        window.location = "index.php?pg=usr/profile#content";
    });
    
    $('#logout').click(function() {
        window.location = "index.php?pg=mylogin/logout";
    });
});

</script>



            </body>
        </html>
        
<!--style>
    .chat{ position : fixed; right: 0%; bottom: 4%; width : 100px; }
</style>

<script>
function blink(){ $('.chat').delay(200).fadeTo(200,0.5).delay(200).fadeTo(200,1, blink); }
$(document).ready(function() { blink(); });
</script>

<img src="/images/chat here.png" class="chat"/>

<!-- FOR 123FLASHCHAT CODE BEGIN --> 
<!--script language="javascript"> 
var webpath="http://www.1pengguna.com/client/"; 
var topcmm_123flashchat=true; 
var topcmm_flashchat_init_host="1pengguna.com"; 
var topcmm_flashchat_init_port=51127; 
var topcmm_flashchat_width=779; 
var topcmm_flashchat_height=505; 
var topcmm_flashchat_init_host_s = "127.0.0.2"; 
var topcmm_flashchat_init_port_s =51128;
var topcmm_flashchat_init_host_h ="127.0.0.2";
var topcmm_flashchat_init_port_h =35555;
var topcmm_flashchat_init_group="default";
var topcmm_flashchat_init_room=5; 
</script> 
<script language="javascript" src="http://www.1pengguna.com/client/js/123facebookbar.js"></script> 
<script src="http://www.1pengguna.com/client/123flashchat.js" language="javascript" /></script>
<!-- FOR 123FLASHCHAT CODE END -->

Share this post


Link to post
Share on other sites
kylomas

I can't get the original code you posted to run, however I can get the table you're intereted in like this

#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <IE.au3>
#include <array.au3>
#include <string.au3>

#AutoIt3Wrapper_Add_Constants=n

local $fln = @scriptdir & '\table example.html'         ; this is a file of your html

_do_tbls( fileread($fln) )

func _do_tbls($html)

    $html = stringreplace($html,@crlf,'')
    $html = stringreplace($html,@cr,'')

    Local $o_htmlfile = ObjCreate('HTMLFILE'), $str

    If Not IsObj($o_htmlfile) Then Return SetError(-1)

    $o_htmlfile.open()
    $o_htmlfile.write($html)
    $o_htmlfile.close()

    Local $otbl = _IETagnameGetCollection($o_htmlfile, 'TABLE',2)
    if not isobj($otbl) then return seterror(-2)
    $a10 = _IETableWriteToArray($otbl,true)
    _arraydisplay($a10)

endfunc

As you can see, there are no line feeds or carrige returns in the table.

The string that you originally posted can be found in the table produced by the above code.  Just supply the correct filename.

kylomas

edit: I replace the EOL's, however, it makes no difference to the outcome...

edit2:  if I were you I would get rid of the long HTML post and upload a file containing the HTML

Edited by kylomas

Forum Rules         Procedure for posting code

"I like pigs.  Dogs look up to us.  Cats look down on us.  Pigs treat us as equals."

- Sir Winston Churchill

Share this post


Link to post
Share on other sites
wilfrid100

This code not able to split out the <td> aaa <br> bbb </td> into 2 different array.

same as i using the code below where "aaa" & "bbb" was stick together without SPACE in a same array 

 

from your code that i understand the <br> does not mean a newline or @cr. What could it be for the <br> mean? 

 
$oIE = _IECreate("C:UsersSengDesktophtml.htm",0,1,1)
$oTable = _IETableGetCollection ($oIE, 2) 
$aTableData = _IETableWriteToArray ($oTable)

_ArrayDisplay($aTableData)

 

Share this post


Link to post
Share on other sites
kylomas

<BR> does mean line break.  I don't know if it's equal to @CRLF or @CR or @LF or what...

The original SRE I posted will do this string

<td> aaa <br> bbb </td>

 

I don't understand what you mean by

into 2 different array.

 

Please define exactly what you want.

Also, I would get rid of that long HTML post, I made the same mistake last week and the Mod's were not happy, for good reason...

kylomas


Forum Rules         Procedure for posting code

"I like pigs.  Dogs look up to us.  Cats look down on us.  Pigs treat us as equals."

- Sir Winston Churchill

Share this post


Link to post
Share on other sites
wilfrid100

sorry about the long HTML post. i will take note of that. Maybe the example below will make my question clear

Basically the <td> ... <br> (red text) and  <br> ... </td> (blue text) contains different information,  the 1st front html data "red text" contains of the SHOP_NAME and 2nd html data "blue text" contains of ADDRESS.

 

html: <td>CARREFOUR SUBANG JAYA<br>CARREFOUR SUBANG JAYA 3 JALAN SS16/1, 47500 SUBANG JAYA, SELANGOR DARUL EHSAN. </td>

 

Array[0] = CARREFOUR SUBANG JAYA

Array[1] = CARREFOUR SUBANG JAYA 3 JALAN SS16/1, 47500 SUBANG JAYA, SELANGOR DARUL EHSAN.

 

$shop_name = Array[0]

$address = Array[1]

i need to save both html data into 2 different array called Array[0] & Array[1] (1D or 2D doesn't matter).

Share this post


Link to post
Share on other sites
wilfrid100

I think i got your idea, and i success to split the shop_name and shop_address into 2 different array.

below is my code. Thanks for your kindness

$oIE = _IECreate("C:\Users\Seng\Desktop\html.htm",0,1,1)
$oTable = _IETableGetCollection ($oIE, 2) 
$aTableData = _IETableWriteToArray ($oTable)

local $shop_name[1] = [$aTableData[2][3]]
$shop_name = _ArrayToString($shop_name, @CRLF)

StringSplit($shop_name, "@CRLF")
_ArrayDisplay($shop_name)

Share this post


Link to post
Share on other sites
kylomas

wilfrid100,

 

split the shop_name and shop_address into 2 different array

 

I think you mean two different rows (they are the same array).  This is where I was losing you.

Good Luck,

kylomas


Forum Rules         Procedure for posting code

"I like pigs.  Dogs look up to us.  Cats look down on us.  Pigs treat us as equals."

- Sir Winston Churchill

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×