Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
1720 varun.gupt 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>Phones I Own | Saholic</title>
5
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
1729 varun.gupt 6
	<link rel="stylesheet" href="$action.getServletContextPath()/css/phonesiown.css" type="text/css" />
7
</head>
1720 varun.gupt 8
 
9
<body>
10
	<img src="http://saholic.com/images/saholic-main.jpg" />
11
	<hr />
12
	<div>
1726 varun.gupt 13
		<form action="/fb/my-phones" method="post">
1720 varun.gupt 14
			Which phone do you own?&nbsp;&nbsp;&nbsp;
15
			<input type="text" name="q" />
16
			<input type="submit" value="Search" />
17
		</form>
18
	</div>
19
	<hr />
20
#set($resultCount = $action.getResultCount())
21
 
22
#if($resultCount > 0)
23
	<div>
24
		<p>We found following phones matching with your search query:</p>
25
	#set($results = $action.getResults())
26
	#set($snippets =  $action.getSnippets())
27
 
28
	#foreach($entityId in $results)
29
		$snippets.get($entityId)
30
	#end
31
	</div>
32
#end
33
	<div id="fb-root"></div>
34
	<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script> 
35
	<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.2.min.js"></script> 
1729 varun.gupt 36
	<script type="text/javascript" src="$action.getServletContextPath()/js/phonesiown.js"></script>
1720 varun.gupt 37
</body>
38
</html>