File indexing completed on 2024-11-24 05:19:14

0001 <?php
0002 OCSUser::client_login();
0003  if(!OCSUser::is_logged()){ echo "
0004       <form class=\"navbar-form navbar-right \" action=\"/plasmastore/login/prevpage\" method=\"post\">
0005         <div class=\"form-group\">
0006             <input type=\"text\" class=\"form-control\" name=\"login\" placeholder=\"Username\"> 
0007             <input type=\"password\" class=\"form-control\" name=\"password\" placeholder=\"Password\">
0008         </div>
0009         <button type=\"submit\" class=\"btn btn-default\">Sign In</button>
0010       </form>"; } 
0011       else {echo "
0012       <ul class=\"nav navbar-nav navbar-right\">
0013       <li class=\"dropdown\">
0014           <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-expanded=\"false\"><span class=\"glyphicon glyphicon-user\"></span>".OCSUser::get_login()."<span class=\"caret\"></span></a>
0015           <ul class=\"dropdown-menu\" role=\"menu\">
0016             <li><a href=\"/plasmastore/login/logout\"><span class=\"glyphicon glyphicon-log-out\"></span> Logout</a></li>
0017             <li><a href=\"#\"><span class=\"glyphicon glyphicon-send\"></span>  My Messages</a></li>
0018             <li class=\"divider\"></li>
0019             <li><a href=\"/plasmastore/userpanel/\">  My Account</a></li>
0020           </ul>
0021           </li>
0022           </ul>";}
0023           ?>