Subversion Repositories SmartDukaan

Rev

Rev 2916 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
        <title>Phones I Own | Saholic</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <link rel="stylesheet" href="$action.getServletContextPath()/css/phonesiown.css" type="text/css" />
        <script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script>
        <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
</head>

<body>
        <div id="header">
                <img src="$action.getServletContextPath()/images/phonesiown.png"/>
                <!--table-->
                        <!--tr>
                                <td id="saholic-logo"><img src="http://saholic.com/images/saholic-main.jpg" /></td>
                                <td id="phonesiown-logo">Phones I Own</td>
                <td id="containerFBInviterLink"><a href="#" id="friendInviter">Invite Friends</a></td>
            </tr>
        </table-->
    </div>
    <div></div>
        <hr />
        <div>
                <form action="$action.getServletContextPath()/my-phones/" method="post">
                        Which phone do you own?&nbsp;&nbsp;&nbsp;
                        <input type="text" name="q" />
                        <input type="submit" value="Search" />
                </form>
        </div>
        <hr />
#set($resultCount = $action.getResultCount())

#if($resultCount > 0)
        <div>
                <p>We found following phones matching with your search query:</p>
        #set($results = $action.getResults())
        #set($snippets =  $action.getSnippets())
        
        #foreach($entityId in $results)
                $snippets.get($entityId)
        #end
        </div>
#elseif($action.getHasSearched() == true)
        <div>
        <p>We could not find any phones matching with your search query.</p>
    </div>
#end
        <div id="fb-root"></div> 
        <script type="text/javascript" src="$action.getServletContextPath()/js/phonesiown.js"></script>
</body>
</html>