Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
5228 amit.gupta 1
#set($totalItems  = $action.getTotalItems())
2
#set($beginIndex  = $action.getBeginIndex())
3
 
4
#set($endIndex  = $action.getBeginIndex() + 19 )
5
#if($totalItems <= $endIndex)
6
  #set($endIndex = $totalItems)
7
#end
8
#set($totalPages = $action.getTotalPages())
9
#set($snippets  = $action.getSnippets())
10
#set($currentPage  = $action.getCurrentPage())
11
 
12
 
13
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
14
<html xmlns="http://www.w3.org/1999/xhtml">
15
  <head>
16
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
17
    <!-- Prevent MS Office toolbar from changing layout -->
18
    <meta http-equiv="imagetoolbar" content="false" />
19
    <meta name="MSSmartTagsPreventParsing" content="true" />
5625 vikram.rag 20
	<meta name="description" content="Coming soon in ${domain.name}. Experience n' buy online. FREE Next Day delivery. Original product - Full manufacturer warranty. Comprehensive reviews." />
5228 amit.gupta 21
	<meta name="keywords" content="best deals mobile phones, buy mobile phones, mobile phone prices, mobile phones India" />
5625 vikram.rag 22
    <title>Coming Soon | ${domain.name}</title>
5228 amit.gupta 23
 
24
 
25
 #include ( "templates/commoncssfiles.vm" )  
5542 amar.kumar 26
	<script language="javascript" type="text/javascript" src="/js/ga-invoker.js"></script>
5228 amit.gupta 27
  </head>
28
  <body>
29
 
30
    <noscript>
5572 anupam.sin 31
      <p id="noScript">Please enable <em>Javascript</em> for this Website to function correctly!</p>
5228 amit.gupta 32
    </noscript>
33
 
34
	$action.getHeaderSnippet()			
35
 
36
	<!-- Main -->
37
<div id="main">
38
	<div class="main-content">
39
		<div class="main-top">
40
			<div class="bread-crumbs">
41
				<a href="/">Home</a>&nbsp;&gt;&nbsp;
42
				<a href="#">Coming Soon</a>
43
			</div>
44
		</div>
45
		<div class="main-left left">
46
		<!-- tab buttons -->
47
 
48
 
49
        <div class="main-left-banner">
50
		</div>
51
 
52
        <!-- Best Deals -->
53
        <div id="productListing">
54
 
5275 amit.gupta 55
 
5228 amit.gupta 56
          <div class="middle">
57
            <div class="content blue-border">
5275 amit.gupta 58
				<!-- Empty Coming soon. -->
59
			#if ($totalItems==0)
60
			<div class="mid-inner">
61
        		<!-- empty cart -->
62
        		<div id="emptyCart">
63
        			<p>
64
        				There are currently no new products coming in the next 2 weeks.
65
        			</p>
66
 
67
        			<br>
68
        		</div>		
69
			</div>
70
 
71
			#else
5228 amit.gupta 72
              <!-- productListTop -->
73
              <div class="productListTop">
74
                <div class="pagination2">
75
                  <ul class="pagination">
76
										#if($currentPage == 1)
77
                    <li class="pager-previous">
78
                      <span class="current prev">Prev</span>
79
                    </li>
80
										#else
81
											#set($prev = $currentPage-1)
82
                    <li class="pager-previous">
83
                      <a href="./${prev}" class="current prev">Prev</a>
84
                    </li>
85
										#end	
86
 
87
 
88
										#set( $begin = 1 )
89
										#set( $end = 1 )
90
										#if($totalPages <= 5)
91
											#set( $begin = 1 )
92
											#set( $end = $totalPages )
93
										#else
94
											#if($currentPage <= 3)
95
												#set( $begin = 1 )
96
												#set( $end = 5 )
97
											#else
98
												#set( $begin = $currentPage - 2 )
99
    											#set( $end = $currentPage + 2 )
100
												#if( $end > $totalPages)
101
													#set( $end = $totalPages)
102
													#set( $begin = $end - 4 )
103
												#end
104
											#end	
105
										#end	
106
										#set( $pages = [$begin..$end] )
107
 
108
										#foreach( $pageId in $pages )
109
											#if($currentPage == $pageId)
110
                    <li class="pager-item">
111
                      <span class="current">$pageId</span>
112
                    </li>
113
                                            #else
114
                    <li class="pager-item">
115
                      <a href="./$pageId">$pageId</a>	
116
                    </li>
117
										    #end
118
										#end
119
 
120
										#if($currentPage == $totalPages)
121
                    <li class="pager-next">
122
                      <span class="current next">Next</span>
123
                    </li>
124
										#else
125
											#set($next = $currentPage+1)
126
                    <li class="pager-next">
127
                      <a href="./${next}" class="current next">Next</a>
128
                    </li>
129
										#end
130
                  </ul>
131
                </div>
132
 
133
                <div class="productListResult"> $beginIndex to $endIndex of <span class="resultLimit"> $totalItems </span>coming soon items</div>                                
134
                <div class="clearBoth"></div>
135
              </div>
136
              <!-- /productListTop -->
137
 
138
 
139
              <!-- productListCenter -->
140
              <div id="productListingContent">
141
                <ul class="deal-items best-deals-page-items">
142
				  #if($snippets && $snippets.size()!=0)
143
                  #set( $isLeft = 0 )
144
                  #foreach ( $entity in $snippets )
145
                  <li
146
                    #if( $isLeft == 0 ) 
147
                            	 class="floatLeft"
148
                            	#set($isLeft = 1)	
149
                    #else
150
                            	class="floatRight"
151
                            	#set($isLeft = 0)	
152
                    #end		
153
                    >
154
                    $entity
155
                 </li>
156
				  #end
157
				  #end
158
              </ul>
159
 
160
              <div class="clearBoth"></div>
161
 
162
            </div>
163
            <!-- /productListCenter -->
164
 
165
 
166
            <!-- productListBottom -->
167
            <div class="productListBottom">
168
              <div class="pagination2">
169
                <ul class="pagination">
170
                  #if($currentPage == 1)
171
                  <li class="pager-previous">
172
                    <span class="current prev">Prev</span>
173
                  </li>
174
										#else
175
											#set($prev = $currentPage-1)
176
                  <li class="pager-previous">
177
                    <a href="./${prev}" class="current prev">Prev</a>
178
                  </li>
179
										#end	
180
 
181
										#foreach( $pageId in $pages )
182
										#if($currentPage == $pageId)
183
                  <li class="pager-item">
184
                    <span class="current">$pageId</span>
185
                  </li>
186
										#else
187
                  <li class="pager-item">
188
                    <a href="./$pageId">$pageId</a>	
189
                  </li>
190
										#end
191
										#end
192
 
193
										#if($currentPage == $totalPages)
194
                  <li class="pager-next">
195
                    <span class="current next">Next</span>
196
                  </li>
197
										#else
198
											#set($next = $currentPage+1)
199
                  <li class="pager-next">
200
                    <a href="./${next}" class="current next">Next</a>
201
                  </li>
202
										#end
203
                </ul>
204
              </div>	
205
            </div>
206
            <!-- /productListBottom -->      
5275 amit.gupta 207
			    #end
5228 amit.gupta 208
            <div class="clearBoth"></div>
209
          </div>
210
 
5275 amit.gupta 211
 
212
			  </div>
5228 amit.gupta 213
 
214
      </div>
215
      <!-- /Best Sellers -->
216
 
217
		</div>
218
		<!-- Widgets -->
219
		<div class="widgets right">
220
			$action.getCartWidgetSnippet()
221
			<div id="myresearch" class="common-widget">
222
                #include("templates/myresearch.vm")
223
			</div>
224
			<div id="browsehistory" class="common-widget">
225
                #include("templates/browsehistory.vm")
226
			</div>
227
		</div>
228
		<!-- /Widgets -->
229
 
230
	</div>
231
</div>
232
<!-- /Main -->
233
 
234
 
235
 
236
  <!-- footer -->
237
  #include("templates/footer.vm")
238
  <!-- /footer -->
239
 
240
 
241
  <!-- color by color lightbox -->
242
  <div style="display:none;">
243
    <div class="colorSelLightBoxColor">
244
      <form name="frmColorSelName" method="post" action="#">
245
        <h1>Color Selector</h1>
246
        <h2>"Please choose color of product"</h2>
247
 
248
        <div class="content"></div>
249
 
250
        <div class="bigImgButton yellow-image">
251
                <input value="Continue" type="button" class="button" onclick="selectColor();" />
252
        </div>
253
        <div class="clearBoth"></div>
254
 
255
      </form>
256
    </div>
257
  </div>
258
  <!-- /color by color lightbox -->
259
 
260
    #include ( "templates/commonjsfiles.vm" )
261
 
262
</body>
263
</html>
264