Advertisement
Guest User

Untitled

a guest
May 20th, 2014
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. <?php
  2. $hostname = "localhost";
  3. $username = "root";
  4. $senha = "";
  5. $banco = "geocalc";
  6. include('session.php')
  7. ?>
  8.  
  9.  
  10. <html>
  11. <head>
  12. <meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
  13. <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1' />
  14. <title>GeoCalc</title>
  15. <link href="./estilos/div.css" rel="stylesheet" media="screen">
  16. <link rel='stylesheet' type='text/css' href='./menu/styles.css' />
  17.  
  18.  
  19. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
  20. <style type="text/css">
  21.  
  22. body
  23. {
  24. font-family: Verdana;
  25. }
  26.  
  27. .backdrop
  28. {
  29. position:absolute;
  30. top:0px;
  31. left:0px;
  32. width:100%;
  33. height:100%;
  34. background:#000;
  35. opacity: .0;
  36. filter:alpha(opacity=0);
  37. z-index:50;
  38. display:none;
  39. }
  40.  
  41.  
  42. .box
  43. {
  44. position:absolute;
  45. top:20%;
  46. left:30%;
  47. width:500px;
  48. height:300px;
  49. background:#ffffff;
  50. z-index:51;
  51. padding:10px;
  52. -webkit-border-radius: 5px;
  53. -moz-border-radius: 5px;
  54. border-radius: 5px;
  55. -moz-box-shadow:0px 0px 5px #444444;
  56. -webkit-box-shadow:0px 0px 5px #444444;
  57. box-shadow:0px 0px 5px #444444;
  58. display:none;
  59. }
  60.  
  61. .close
  62. {
  63. float:right;
  64. margin-right:6px;
  65. cursor:pointer;
  66. }
  67.  
  68. </style>
  69.  
  70. <script type="text/javascript">
  71.  
  72. $(document).ready(function(){
  73.  
  74. $('.lightbox').click(function(){
  75. $('.backdrop, .box').animate({'opacity':'.50'}, 300, 'linear');
  76. $('.box').animate({'opacity':'1.00'}, 300, 'linear');
  77. $('.backdrop, .box').css('display', 'block');
  78. });
  79.  
  80. $('.close').click(function(){
  81. close_box();
  82. });
  83.  
  84. $('.backdrop').click(function(){
  85. close_box();
  86. });
  87.  
  88. });
  89.  
  90. function close_box()
  91. {
  92. $('.backdrop, .box').animate({'opacity':'0'}, 300, 'linear', function(){
  93. $('.backdrop, .box').css('display', 'none');
  94. });
  95. }
  96.  
  97. </script>
  98.  
  99.  
  100.  
  101.  
  102. </head>
  103. <body style='margin: 0px;'>
  104. <center>
  105. <div id='cabeca' style="margin: 0px; background:#0a0a08; margin-bottom: 10px; width: 1237px; height: 36px;">
  106. <div id='geocalc' style='padding-top: 8px; float: left'>
  107. <font size="2px"><a href="principal.php">GeoCalc</a></font>
  108. </div>
  109.  
  110. <div id='geocalc' style='padding-top: 8px; float: right'>
  111. <font size="2px"><a href='terminar.php'>Sair</a></font>
  112. </div>
  113.  
  114.  
  115. <div id='geocalc' style='padding-top: 8px; float: right'>
  116. <a href="#" class="lightbox">Perfil</a>
  117. <div class="backdrop"></div>
  118. <div class="box"><div class="close"> <b>x</b> </div>
  119.  
  120.  
  121.  
  122. </div>
  123. </div>
  124.  
  125. <div id='geocalc' style='padding-top: 8px; float: right'>
  126. <font size="2px">Bem vindo, <?php echo $_SESSION['username'] ?> &nbsp;&nbsp;&nbsp;</font>
  127. </div>
  128.  
  129.  
  130. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  131.  
  132. </div>
  133.  
  134.  
  135. </div>
  136.  
  137. </body>
  138. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement