header.html 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. {if $title eq ''}
  6. <title>Sondaje | Fundația Ceata</title>
  7. {else}
  8. <title>Sondaj: {$title} | Fundația Ceata</title>
  9. {/if}
  10. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  11. <link rel="stylesheet" type="text/css" href="css/fufl.css" />
  12. </head>
  13. <body>
  14. <div id="page">
  15. <div id="header">
  16. </div>
  17. <div id="menu">
  18. <ul>
  19. <li> <a href="newpoll.php"> New poll </a> </li>
  20. {if $username eq ''}
  21. <script type="text/javascript" src="js/login.js"></script>
  22. <li class="right"> <a href="#" onclick="popup('popup_register.php');"> Register </a> </li>
  23. <li class="right"> <a href="#" onclick="popup('popup_login.php');"> Log in </a> </li>
  24. {else}
  25. <li class="right"> <a href="account/logout.php"> Log out </a> </li>
  26. <li class="right"> <a href="mypolls.php"> My polls </a> </li>
  27. {/if}
  28. </ul>
  29. </div>