Subversion Repositories SmartDukaan

Rev

Rev 3113 | Rev 5542 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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