eirexe

Untitled

Oct 22nd, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. <html><head>
  2. <title>Accés a Gestió Escolar</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  4. <link href="escola.css" rel="stylesheet" type="text/css">
  5. <script>
  6. function getLocation() {
  7. if (navigator.geolocation) {
  8. navigator.geolocation.getCurrentPosition(storePosition);
  9. }
  10. }
  11. function storePosition(position) {
  12. var lat = document.getElementById("latitud");
  13. var lon = document.getElementById("longitud");
  14. if (lat != null && lon != null) {
  15. lat.value = position.coords.latitude;
  16. lon.value = position.coords.longitude;
  17. }
  18. }
  19. </script><style type="text/css"></style>
  20. </head>
  21. <body onload="document.getElementById('usuario').focus()">
  22. <table class="marc100"><tbody><tr><td>
  23. <table class="edicio central">
  24. <tbody><tr><td align="center" valign="middle">
  25. <table class="dialeg"><tbody><tr><td class="titulo">Gestió Escolar</td></tr>
  26. <tr><td>
  27. <table width="398" border="0" cellpadding="0" cellspacing="0" align="center">
  28. <tbody><tr>
  29. <td width="398" height="87" valign="top">
  30. <p>&nbsp;</p>
  31. <form name="fr_login" method="post">
  32. <table class="relleno" border="0" cellpadding="10" cellspacing="0" align="center">
  33. <tbody><tr>
  34. <td class="dreta" height="40">
  35. <b>Usuari:&nbsp;</b>
  36. </td>
  37. <td height="40">
  38. <input type="text" id="usuario" name="usuario" size="20" maxlength="20">
  39. </td>
  40. </tr>
  41. <tr>
  42. <td class="dreta" height="40">
  43. <b>Contrasenya:&nbsp;</b>
  44. </td>
  45. <td height="40">
  46. <input type="password" name="passwd" size="20" maxlength="32">
  47. </td>
  48. </tr>
  49. <tr valign="top">
  50. <th colspan="2" align="center" valign="middle" height="40">
  51. <input type="submit" name="submit" value="Acceptar" title="Entrar" class="acceptar">
  52. <input type="hidden" name="latitud" id="latitud" value="">
  53. <input type="hidden" name="longitud" id="longitud" value="">
  54. </th>
  55. </tr>
  56. </tbody></table>
  57. </form>
  58. </td>
  59. </tr>
  60. </tbody></table>
  61. </td></tr></tbody></table>
  62. </td></tr></tbody></table>
  63. </td></tr></tbody></table>
  64.  
  65.  
  66. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment