Subversion Repositories SmartDukaan

Rev

Rev 5625 | Blame | Compare with Previous | Last modification | View Log | RSS feed

#set($totalItems  = $action.getTotalItems())
#set($beginIndex  = $action.getBeginIndex())

#set($endIndex  = $action.getBeginIndex() + 19 )
#if($totalItems <= $endIndex)
  #set($endIndex = $totalItems)
#end
#set($totalPages = $action.getTotalPages())
#set($snippets  = $action.getSnippets())
#set($currentPage  = $action.getCurrentPage())


<!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" />
    <!-- Prevent MS Office toolbar from changing layout -->
    <meta http-equiv="imagetoolbar" content="false" />
    <meta name="MSSmartTagsPreventParsing" content="true" />
        <meta name="description" content="Coming soon in ${domain.name}. Experience n' buy online. FREE Next Day delivery. Original product - Full manufacturer warranty. Comprehensive reviews." />
        <meta name="keywords" content="best deals mobile phones, buy mobile phones, mobile phone prices, mobile phones India" />
    <title>Coming Soon | ${domain.name}</title>

        
 #include ( "templates/commoncssfiles.vm" )  
        <script language="javascript" type="text/javascript" src="/js/ga-invoker.js"></script>
  </head>
  <body>
  
    <noscript>
      <p id="noScript">Please enable <em>Javascript</em> for this Website to function correctly!</p>
    </noscript>

        $action.getHeaderSnippet()                      
        
        <!-- Main -->
<div id="main">
        <div class="main-content">
                <div class="main-top">
                        <div class="bread-crumbs">
                                <a href="/">Home</a>&nbsp;&gt;&nbsp;
                                <a href="#">Coming Soon</a>
                        </div>
                </div>
                <div class="main-left left">
                <!-- tab buttons -->

                
        <div class="main-left-banner">
                </div>
                
        <!-- Best Deals -->
        <div id="productListing">

                
          <div class="middle">
            <div class="content blue-border">
                                <!-- Empty Coming soon. -->
                        #if ($totalItems==0)
                        <div class="mid-inner">
                        <!-- empty cart -->
                        <div id="emptyCart">
                                <p>
                                        There are currently no new products coming in the next 2 weeks.
                                </p>
                                        
                                <br>
                        </div>          
                        </div>
                        
                        #else
              <!-- productListTop -->
              <div class="productListTop">
                <div class="pagination2">
                  <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="./${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="./$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="./${next}" class="current next">Next</a>
                    </li>
                                                                                #end
                  </ul>
                </div>

                <div class="productListResult"> $beginIndex to $endIndex of <span class="resultLimit"> $totalItems </span>coming soon items</div>                                
                <div class="clearBoth"></div>
              </div>
              <!-- /productListTop -->
                          
                          
              <!-- productListCenter -->
              <div id="productListingContent">
                <ul class="deal-items best-deals-page-items">
                                  #if($snippets && $snippets.size()!=0)
                  #set( $isLeft = 0 )
                  #foreach ( $entity in $snippets )
                  <li
                    #if( $isLeft == 0 ) 
                                 class="floatLeft"
                                #set($isLeft = 1)       
                    #else
                                class="floatRight"
                                #set($isLeft = 0)       
                    #end                
                    >
                    $entity
                 </li>
                                  #end
                                  #end
              </ul>

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

            </div>
            <!-- /productListCenter -->
                        

            <!-- productListBottom -->
            <div class="productListBottom">
              <div class="pagination2">
                <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="./${prev}" class="current prev">Prev</a>
                  </li>
                                                                                #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="./$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="./${next}" class="current next">Next</a>
                  </li>
                                                                                #end
                </ul>
              </div>    
            </div>
            <!-- /productListBottom -->      
                            #end
            <div class="clearBoth"></div>
          </div>

    
                          </div>

      </div>
      <!-- /Best Sellers -->

                </div>
                <!-- Widgets -->
                <div class="widgets right">
                        $action.getCartWidgetSnippet()
                        <div id="myresearch" class="common-widget">
                #include("templates/myresearch.vm")
                        </div>
                        <div id="browsehistory" class="common-widget">
                #include("templates/browsehistory.vm")
                        </div>
                </div>
                <!-- /Widgets -->

        </div>
</div>
<!-- /Main -->



  <!-- footer -->
  #include("templates/footer.vm")
  <!-- /footer -->


  <!-- color by color lightbox -->
  <div style="display:none;">
    <div class="colorSelLightBoxColor">
      <form name="frmColorSelName" method="post" action="#">
        <h1>Color Selector</h1>
        <h2>"Please choose color of product"</h2>

        <div class="content"></div>

        <div class="bigImgButton yellow-image">
                <input value="Continue" type="button" class="button" onclick="selectColor();" />
        </div>
        <div class="clearBoth"></div>

      </form>
    </div>
  </div>
  <!-- /color by color lightbox -->

    #include ( "templates/commonjsfiles.vm" )

</body>
</html>