Subversion Repositories SmartDukaan

Rev

Rev 1816 | Rev 1950 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1778 rajveer 1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
<head>
4
	<title>Compare phones</title>
5
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
6
	<meta name="Description" content="$action.getPageMetaDescSnippet()" />
7
	<meta name="Keywords" content="$action.getPageMetaKeywordsSnippet()" />
8
 
9
#set($slidenames = $action.getSlideNames())
10
#set($productnames = $action.getProductNames())
11
 
12
 #set($currentUrl = $request.getRequestURL().toString()) 
13
 #if(!$currentUrl.startsWith("http://www.")) #set($currentUrl = $currentUrl.replace("http://", "http://www."))  #end  
14
 <link rel="canonical" href="$currentUrl" /> 
15
 #include ( "templates/commoncssfiles.vm" )  
16
 
17
#set($userinfo = $action.getUserInfo())
18
</head>
19
 
20
<body>
21
	<noscript>
22
		<p id="noScript">Please allow <em>Javascript</em> in order to function this website correctly!</p>
23
	</noscript>
24
 
25
	$action.getHeaderSnippet()			
26
     <!-- Wrapper start -->
27
	<div id="main">
28
		$action.getMainMenuSnippet()
29
		$action.getSearchBarSnippet()
30
 
31
		<!-- wrapper-->
32
		<div id="wrapper">
33
		        <!-- Product detail -->
1799 rajveer 34
        <div id="productDetail" class="comparision-page-content">
1778 rajveer 35
          <div class="top">
36
            <div class="left">
37
              <div class="right"> &nbsp; </div>
38
            </div>
39
          </div>
40
          <div class="middle">
41
            <div class="content">
42
              <div class="blockLeft">
43
                <!-- breadcrumb -->
44
                <div id="breadcrumb"><a href="#">Home</a>&nbsp;&gt; <a href="#" class="deselect">Comparison</a></div>
45
                <!-- /breadcrumb -->
46
 
47
                <div class="comparision-bc" >
1799 rajveer 48
                  <div class="comparision-bc-left">
1778 rajveer 49
                  <h1 id="comparision-heading">Comparison:</h1>
1799 rajveer 50
                  </div>
51
                  <div class="comparision-bc-right">
1778 rajveer 52
				  #foreach($productname in $productnames)
1799 rajveer 53
					#if($velocityCount != 1),&nbsp; #end $productname
1778 rajveer 54
				  #end
1799 rajveer 55
				  </div>
1778 rajveer 56
                </div>
57
 
58
              </div>
59
              <div class="clearBoth"></div>
60
            </div>
61
          </div>
62
          <div class="bottom">
63
            <div class="left">
64
              <div class="right"> &nbsp; </div>
65
            </div>
66
          </div>
67
        </div>
68
        <!-- /Product detail -->
69
 
70
        </div>
71
		<!-- /wrapper-->
72
 
73
		<!-- sidebar-->
74
		<div id="sidebar">
75
			$action.getCustomerServiceSnippet()
76
		</div>
77
		<!-- /sidebar-->
78
		<div class="clearBoth"></div>
79
 
80
      <!-- Comparision main body  -->
81
      <div id="slideGuideContent" class="comparision-page">
82
        <div class="top">
83
          <div class="left">
84
            <div class="right">
85
              <div class="center">
86
              </div>
87
            </div>
88
          </div>
89
        </div>
90
        <div class="middle">
91
          <div id="comparision-left" >
92
            <div id="slideGuideNav">
93
              <ul id="sideNav" class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
94
 
95
				#foreach($slidename in $slidenames)
96
				#set($slidenamesmall = $slidename.toLowerCase().replace(" ", ""))
1836 rajveer 97
				#set($slidenamesmall = $slidenamesmall.replace("/", ""))
1778 rajveer 98
				<li title="$slidename" class="#if($velocityCount != 1)ui-state-default #else ui-state-default ui-state-active #end ui-corner-top">
99
                  <a class="vt" href="#vtab-$slidenamesmall">
100
                    <span>$slidename</span>
101
                  </a>
102
                </li>
103
				#end
104
 
105
 
106
              </ul>
107
            </div>
108
          </div>
109
          <div id="comparision-right" class="">
110
            <h1 class='comparision-page-title'>Introduction</h1>
111
            <div class="scroller-column-$snippets.size()">
112
              <div class="column-top-grey">&nbsp;</div>
113
 
114
			   <div class="scroller-content-inner" id="scroller-main-content">
115
 
116
              <div class="comparision-product-name">
117
 
118
				#set($productsnippets =  $action.getProductSnippets())
119
				#foreach ( $snippet in $productsnippets.values() )
120
					#if($velocityCount != 1)
121
						<div class="comparision-border-inner"></div>
122
					#end
123
					$snippet
124
				#end
125
			</div>
126
 
127
				#set($snippets =  $action.getSnippets())
1806 rajveer 128
				#set($count = 1)
1778 rajveer 129
				#foreach ( $snippet in $snippets.values() )
130
					#if($velocityCount != 1)
131
						<div class="comparision-border-inner"></div>
132
					#end
1806 rajveer 133
					<div id="product-comparision" class="comparision-product-column #if($count == 0) comparision-product-column-even #set($count = 1) #else #set($count = 0) #end">
1778 rajveer 134
					$snippet	
135
					</div>
136
				#end
137
 
138
				</div>
139
              <div class="column-bottom-grey">&nbsp;</div>
140
            </div>
141
          </div>
142
        </div>
143
        <div class="bottom">
144
          <div class="left">
145
            <div class="right">
146
              <div class="center">&nbsp;</div>
147
            </div>
148
          </div>
149
        </div>
150
      </div>
151
      <!-- /Comparision main body  -->	  
152
 
153
 
154
	<div class="clearBoth"></div>
155
    </div><!-- /main -->
156
 
157
	 $action.getFooterSnippet()
158
    <!-- color by color lightbox -->
159
    <div style="display: none;">
160
      <div class="colorSelLightBoxColor">
161
        <form name="frmColorSelName" method="post" action="#">
162
          <h1>Color Selector</h1>
163
          <h2>"Please choose color of product"</h2>
164
          <div class="content"></div>
165
          <div class="bigImgButton yellow-image">
166
            <input value="Continue" class="button" onclick="selectColor();" type="button" />
167
          </div>
168
          <div class="clearBoth"></div>
169
        </form>
170
      </div>
171
    </div>
172
    <!-- /color by color lightbox -->
173
	#include ( "templates/commonjsfiles.vm" )
1816 rajveer 174
<script language="javascript" type="text/javascript" src="/js/comparison.js"></script>
1778 rajveer 175
<script language="javascript" type="text/javascript" src="/js/jquery.jscrollpane.js"></script>
176
    <script src="/js/jquery.colorbox-min.js"></script>
1816 rajveer 177
 
1778 rajveer 178
<script type="text/javascript" id="sourcecode">
179
      $(function() {
1816 rajveer 180
	renderComparison();
181
	#if($snippets.size() > 3)
1778 rajveer 182
	    if ($(".scroller-column-$snippets.size()").length){
183
          $('.scroller-column-$snippets.size()').jScrollPane({showArrows: true});
184
        }
1816 rajveer 185
	#end
1778 rajveer 186
      });
187
</script>
1816 rajveer 188
 
1778 rajveer 189
 
190
 
191
</body>
192
</html>