Subversion Repositories SmartDukaan

Rev

Rev 2916 | 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" />
2919 varun.gupt 6
	<link rel="stylesheet" href="$action.getServletContextPath()/css/phonesiown.css" type="text/css" />
2053 varun.gupt 7
	<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script>
8
	<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
1729 varun.gupt 9
</head>
1720 varun.gupt 10
 
11
<body>
2053 varun.gupt 12
	<div id="header">
2919 varun.gupt 13
		<img src="$action.getServletContextPath()/images/phonesiown.png"/>
2053 varun.gupt 14
		<!--table-->
15
			<!--tr>
16
				<td id="saholic-logo"><img src="http://saholic.com/images/saholic-main.jpg" /></td>
17
				<td id="phonesiown-logo">Phones I Own</td>
18
                <td id="containerFBInviterLink"><a href="#" id="friendInviter">Invite Friends</a></td>
19
            </tr>
20
        </table-->
21
    </div>
22
    <div></div>
1720 varun.gupt 23
	<hr />
24
	<div>
2919 varun.gupt 25
		<form action="$action.getServletContextPath()/my-phones/" method="post">
1720 varun.gupt 26
			Which phone do you own?&nbsp;&nbsp;&nbsp;
27
			<input type="text" name="q" />
28
			<input type="submit" value="Search" />
29
		</form>
30
	</div>
31
	<hr />
32
#set($resultCount = $action.getResultCount())
33
 
34
#if($resultCount > 0)
35
	<div>
36
		<p>We found following phones matching with your search query:</p>
37
	#set($results = $action.getResults())
38
	#set($snippets =  $action.getSnippets())
39
 
40
	#foreach($entityId in $results)
41
		$snippets.get($entityId)
42
	#end
43
	</div>
2053 varun.gupt 44
#elseif($action.getHasSearched() == true)
45
	<div>
46
        <p>We could not find any phones matching with your search query.</p>
47
    </div>
1720 varun.gupt 48
#end
2053 varun.gupt 49
	<div id="fb-root"></div> 
1729 varun.gupt 50
	<script type="text/javascript" src="$action.getServletContextPath()/js/phonesiown.js"></script>
1720 varun.gupt 51
</body>
52
</html>