Subversion Repositories SmartDukaan

Rev

Rev 7263 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!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=iso-8859-1">
    <link rel="stylesheet" href="css/rechargewebapp_18042013.css" type="text/css" />
        
        <script language="javascript" type="text/javascript" src="js/jquery-1.4.2.js"></script>
    <script language="javascript" type="text/javascript" src="js/jquery.colorbox-min.js"></script>
    <script language="javascript" type="text/javascript" src="js/jquery.validate.js"></script>
    <script language="javascript" type="text/javascript" src="js/jquery.dataTables.min.js"></script>
    <script language="javascript" type="text/javascript" src="js/storewebsite.js"></script>
        
        <style>
                .mandatory {
                color:red;
                }
        </style>
</head>

<body style="margin: 0;">
        
    <div style="line-height:37px;height:37px;background-color:#333;color:white;">
        <span style="margin-left:20px;font-weight:bold;font-size:15px">Store : </span><span style="font-size:20px">ANC</span>
        <span style="margin-left:20px;font-weight:bold;font-size:15px">Today's Collection : </span><span style="font-size:20px">3272</span>
        <a style="margin:0px 25px 0px 25px;color:white" href="/rch/report">REPORTS</a>
        <a style="color:white;" href="/rch/!doLogout">Logout</a>        
    </div>
    
    <div style="line-height:60px;height: 70px;background-color:#DBEEFF;color: #333333;margin: 0px;border-bottom:1px solid #67ABD3">
        <img style="float:left;" src="/rch/images/Hotspot-Logo.jpg">
        <input type="text" style="height: 26px;margin: 20px 0px 20px 20px;width: 400px;border: 1px solid #999999;padding: 2px 5px 2px 10px;font-size: 17px;color: #777777;box-shadow: 1px -1px 10px -1px #999999 inset;"></input>
                <input type="button" value="Search" style="height: 26px;margin: 20px 0 20px 20px;color: white;background-color: #2789c1;border: 1px solid blue;cursor: pointer;"></input>
        <img style="float:right;margin-right:20px;" src="/rch/images/Saholic-Logo.jpg">
    </div>
    
    <div id="main" style="width: 75%;margin: 25px 0 0 25px;border: solid 1px #2789C1;">
        <div style="height: 30px;background-color: #2789C1;font-size: 14px;font-weight: bold;color: white;">
                <div style="margin: 0px 10px 0px 10px;padding-top: 7px;">
                        <span style="float:left">Search Results</span>
                </div>
        </div>
        
                <div style="padding:5px;">
                        <div class="content">
                                <!-- multifaceted search -->
                                <div id="multifacetedSearch">
                                        <!-- filter by -->
                                        <div id="filterBy">
                                                #if($facets && $facets.size()!=0)
                                                        <h2>Filter by:</h2>
                                                #foreach ( $facetLabel in $facets.keySet() )
                                                        #set ( $facetvalues = $facets.get($facetLabel) )
                                                                #if( $facetLabel == "Category" )
                                                                #elseif( $facetLabel == "Sub Category" )
                                                                        #if ($action.getChildren($action.getCategoryName()).size() > 1)
                                                                                <div id="filterByTalkTime">
                                            <div class="filterHeading">
                                              <div class="filterArrow">&nbsp;</div>
                                              <div class="sectionHeader">$facetLabel</div>
                                            </div>
                                                                
                                                                                <div class="filterOption">
                                                                                        <ul>
                                                                                                #foreach ( $facetdetail in $facetvalues )
                                                                                                        <li>
                                                        #if ($facetdetail.get(3) != "")
                                                        <a style="font-weight:bold" class="mk_bold mk_subcategory" value="$facetdetail.get(2)">$facetdetail.get(0)</a> <span class="noColor">($facetdetail.get(1))</span>
                                                                        #else
                                                            <a href="javascript:void(0)" class="mk_subcategory mk_filter" value="$facetdetail.get(2)">$facetdetail.get(0)</a> <span class="noColor">($facetdetail.get(1))</span>
                                                                        #end
                                                        </li>
                                                                                                #end
                                                                                        </ul>
                                                                                </div>
                                                                                </div>
                                                                        #end
                                                                #else
                                                                        <div id="filterByTalkTime">
                                        <div class="filterHeading">
                                                <div class="filterArrow">&nbsp;</div>
                                                <div class="sectionHeader">$facetLabel</div>
                                        </div>
    
                                        <div class="filterOption">
                                                                <ul>
                                                #foreach ( $facetdetail in $facetvalues)
                                                        #set ($zeroClass = "")
                                                        #set ($isActive = "")
                                                        #if ($facetdetail.get(1) == "0")
                                                                #set ($zeroClass = "zero_count")
                                                                #set ($isActive = 'disabled="disabled"')
                                                        #end
                                                        #if ($facetdetail.get(3) == "")
                                                                #set ($checked = "")
                                                        #else
                                                                #set ($checked = "bold")
                                                        #end
                                                        <li class="$zeroClass $checked">
                                                                <input type="checkbox" value="$facetdetail.get(2)" $isActive class="mk_filter" $facetdetail.get(3)/>$facetdetail.get(0)<span class="noColor">($facetdetail.get(1))</span>
                                                        </li>
                                                #end
                                                                </ul>
                                        </div>
                                                                        </div>
                                                        #end
                                                #end
                                                #end
                                                <div class="bottomBorder">&nbsp;</div>
                                        </div>
                                        <!-- /filter by -->
                                </div>
                                <!-- /multifaceted search -->

                                <!-- productList -->
                                <div id="productList">
                                        <!-- browse tab content -->
                                        <div id="browseContent">
                                                <!--Put filters here-->
                                                #if($crumbs && $crumbs.size()!=0)
                                                        <h2 style="padding:6px">Current filters:</h2>
                                                        <div id="currentFilters">
                                #foreach ( $crumb in $crumbs.keySet() )
                                        #if ($crumb == "Category")
                                        #else
                                                                <div id="filterTalkTime">
                                                                <span class="sectionHeader">$crumb:</span>
                                                                                        #foreach ($crumblist in $crumbs.get($crumb))
                                                                        <span class="filterContent">
                                                                                <span class="filterOption">$crumblist.get(0)</span>
                                                                                <span class="filterClose"><a href="javascript:void(0)" value="$crumblist.get(1)" class="mk_filter_close">[X]</a></span>
                                                                                </span>
                                                                                        #end
                                                                </div>
                                                        #end
                                                #end
                                                        </div>
                                        #end
                                                <!-- productListTop -->
                                        <div class="productListTop">
                            <div class="productListResult">
                                                        $beginIndex to $endIndex  of <span class="resultLimit">$totalItems</span> <span class="style1">results</span>
                            </div>
                            <div class="pagination1 moveTop">
                                                        <ul class="pagination">
                                                                #if($currentPage == 1)
                                        <li class="pager-previous">
                                                                                <span class="current prev">Prev</span>
                                        </li>
                                                                #else
                                                                        #set($prev = $currentPage-1)
                                        <li class="pager-previous">
                                          <a href="${url}&page=${prev}" class="current prev">Prev</a>
                                        </li>
                                                                #end
                                                                
                                                                #set( $begin = 1 )
                                                                #set( $end = 1 )
                                                                
                                                                #if($totalPages <= 5)
                                                                        #set( $begin = 1 )
                                                                        #set( $end = $totalPages )
                                                                #else
                                                                        #if($currentPage <= 3)
                                                                                #set( $begin = 1 )
                                                                                #set( $end = 5 )
                                                                        #else
                                                                                #set( $begin = $currentPage - 2 )
                                                                                #set( $end = $currentPage + 2 )
                                                                                #if( $end > $totalPages)
                                                                                        #set( $end = $totalPages)
                                                                                        #set( $begin = $end - 4 )
                                                                                #end
                                                                        #end
                                                                #end
                                                                #set( $pages = [$begin..$end] )
        
                                                                #foreach( $pageId in $pages )
                                                                        #if($currentPage == $pageId)
                                            <li class="pager-item">
                                              <span class="current">$pageId</span>
                                            </li>
                                                                        #else
                                            <li class="pager-item">
                                              <a href="${url}&page=${pageId}">$pageId</a>
                                            </li>
                                                                        #end
                                                                #end
        
                                                                #if($currentPage == $totalPages)
                                        <li class="pager-next">
                                          <span class="current next">Next</span>
                                        </li>
                                                                #else
                                                                        #set($next = $currentPage+1)
                                        <li class="pager-next">
                                          <a href="${url}&page=${next}" class="current next">Next</a>
                                        </li>
                                                                #end
                                                        </ul>
                            </div>
                                                <div class="clearBoth"></div>
                                                <div id="sortBy">
                                Sort by:
                                                #if($sortOrder == "F_50002 asc")
                                                <a href="${sortUrl}" id="sortByPopularity">Popularity</a> | 
                                                <a class="active" id="sortByPrice">Price</a>
            
                                #else
                                                <a class="active" id="sortByPopularity">Popularity</a> |
                                                <a href="${sortUrl}&sort=F_50002+asc" id="sortByPrice">Price</a>
                                                #end
                                                </div>
                                                <div class="clearBoth"></div>
                                        </div>
                                                <!-- /productListTop -->

                                                <!-- productListCenter -->
                                                <div id="productListCenter1">
                            <!-- page 1 -->
                            <div class="page">
                                                                <ul class="deal-items category-page-items">
                                                                #set($snippets =  $action.getSnippets())
    
                                                                #set( $isLeft = 0 )
                                                                #foreach ( $entityid in $results )
                                                                                <li
                                                                                        #if( $isLeft == 0 )
                                                                                                class="floatLeft"
                                                                                                #set($isLeft = 1)
                                                                                        #else
                                                                                                class="floatRight"
                                                                                                #set($isLeft = 0)
                                                                                        #end
                                                                        >
                                                                                        $snippets.get($entityid)
                                                                                </li>
                                                                #end
                                                                </ul>
                                                        </div>
                                                        <div class="clearBoth"></div>
        
                        </div>
                                                <!-- /productListCenter -->

                                                <!-- productListBottom -->
                                                <div class="productListBottom">
                                                        <div class="pagination1">
                                                                <ul class="pagination">
                                                                        #if($currentPage == 1)
                                        <li class="pager-previous">
                                          <span class="current prev">Prev</span>
                                        </li>
                                                                        #else
                                                                                #set($prev = $currentPage-1)
                                        <li class="pager-previous">
                                          <a href="${url}&page=${prev}" class="current prev">Prev</a>
                                        </li>
                                                                        #end
                                                                        #set( $begin = 1 )
                                                                        #set( $end = 1 )
                                                                        
                                                                        #if($totalPages <= 5)
                                                                                #set( $begin = 1 )
                                                                                #set( $end = $totalPages )
                                                                        #else
                                                                                #if($currentPage <= 3)
                                                                                        #set( $begin = 1 )
                                                                                        #set( $end = 5 )
                                                                                #else
                                                                                        #set( $begin = $currentPage - 2 )
                                                                                        #set( $end = $currentPage + 2 )
                                                                                        #if( $end > $totalPages)
                                                                                                #set( $end = $totalPages)
                                                                                                #set( $begin = $end - 4 )
                                                                                        #end
                                                                                #end
                                                                        #end
                                                                        
                                                                        #set( $pages = [$begin..$end] )

                                                                        #foreach( $pageId in $pages )
                                                                                #if($currentPage == $pageId)
                                            <li class="pager-item">
                                              <span class="current">$pageId</span>
                                            </li>
                                                                                #else
                                            <li class="pager-item">
                                              <a href="${url}&page=${pageId}">$pageId</a>
                                            </li>
                                                                                #end
                                                                        #end

                                                                        #if($currentPage == $totalPages)
                                        <li class="pager-next">
                                          <span class="current next">Next</span>
                                        </li>
                                                                        #else
                                                                                #set($next = $currentPage+1)
                                        <li class="pager-next">
                                          <a href="${url}&page=${next}" class="current next">Next</a>
                                        </li>
                                                                        #end
                                        </ul>
                                                        </div>
                                                        <div class="clearBoth"></div>
                                </div>
                                                <!-- /productListBottom -->
                                        </div>
                                        <!-- /browse tab content -->

                                        <!-- otherTabContent -->
                                        <div id="otherTabContent">
                                                <!-- productListTop -->
                                                <div class="productListTop">
                                                        <div class="productListHeading"></div>
                                                        <div class="pagination2"></div>
                                                        <div class="productListResult"></div>
                                                        <div class="clearBoth"></div>
                                                </div>
                                                <!-- /productListTop -->

                                                <!-- productListCenter -->
                                                <div id="productListCenter2">
                                                        <div class="clearBoth"></div>
                                                </div>
                                                <!-- /productListCenter -->
                                        </div>
                                        <!-- /otherTabContent -->

                                </div>
            <!-- /productList -->

                                <div class="clearBoth"></div>
                        </div>
                </div>
        </div>
</body>

</html>