| 20424 |
kshitij.so |
1 |
<!DOCTYPE html PUBLIC
|
|
|
2 |
"-//W3C//DTD XHTML 1.1 Transitional//EN"
|
|
|
3 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
4 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
|
5 |
<head>
|
|
|
6 |
<title>Snippets</title>
|
|
|
7 |
</head>
|
|
|
8 |
#set($snippetMap = $action.getSnippetMap())
|
|
|
9 |
<body>
|
|
|
10 |
<h2>Snippet Info</h2>
|
|
|
11 |
<h3>Latest Mobile Phones</h3>
|
|
|
12 |
<div id="latest">
|
|
|
13 |
<form name="latest-phones" action="/hotspot/snippets/?type=latest-phones" method="post">
|
|
|
14 |
#if(!$snippetMap.get('latest-phones'))
|
|
|
15 |
#foreach( $val in [1..6] )
|
|
|
16 |
<input size="10" class="entity" name="entities" type = "text"/>
|
|
|
17 |
#end
|
|
|
18 |
#else
|
|
|
19 |
#foreach($id in $snippetMap.get('latest-phones'))
|
|
|
20 |
<input size="10" class="entity" value="$id" name="entities" type = "text"/>
|
|
|
21 |
#end
|
|
|
22 |
#end
|
|
|
23 |
<input type="submit">
|
|
|
24 |
</form>
|
|
|
25 |
</div>
|
|
|
26 |
<h3>Best Sellers</h3>
|
|
|
27 |
<div id="best">
|
|
|
28 |
<form name="best-sellers" action="/hotspot/snippets/?type=best-sellers" method="post">
|
|
|
29 |
#if(!$snippetMap.get('best-sellers'))
|
|
|
30 |
#foreach( $val in [1..6] )
|
|
|
31 |
<input size="10" class="entity" name="entities" type = "text"/>
|
|
|
32 |
#end
|
|
|
33 |
#else
|
|
|
34 |
#foreach($id in $snippetMap.get('best-sellers'))
|
|
|
35 |
<input size="10" class="entity" value="$id" name="entities" type = "text"/>
|
|
|
36 |
#end
|
|
|
37 |
#end
|
|
|
38 |
<input type="submit">
|
|
|
39 |
</form>
|
|
|
40 |
</div>
|
|
|
41 |
<h3>Best Deals</h3>
|
|
|
42 |
<div id="deals">
|
|
|
43 |
<form name="best-deals" action="/hotspot/snippets/?type=best-deals" method="post">
|
|
|
44 |
#if(!$snippetMap.get('best-deals'))
|
|
|
45 |
#foreach( $val in [1..6] )
|
|
|
46 |
<input size="10" class="entity" name="entities" type = "text"/>
|
|
|
47 |
#end
|
|
|
48 |
#else
|
|
|
49 |
#foreach($id in $snippetMap.get('best-deals'))
|
|
|
50 |
<input size="10" class="entity" value="$id" name="entities" type = "text"/>
|
|
|
51 |
#end
|
|
|
52 |
#end
|
|
|
53 |
<input type="submit">
|
|
|
54 |
</form>
|
|
|
55 |
</div>
|
|
|
56 |
</body>
|
|
|
57 |
</html>
|