Advertisement
Guest User

LItpulla

a guest
Apr 24th, 2015
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.73 KB | None | 0 0
  1. // Индекс
  2. <html>
  3. <meta http-equiv="content-type" content="text/html; charset=windows1251 /">
  4.  <head>
  5.     <title>Ayupov A.</title>
  6.  </head>
  7.  
  8.  <frameset rows="100, *" frameborder="0">
  9.         <frame src="pages/top.html">
  10.         <frameset cols="100, *">
  11.         <frame src="pages/menu.html">
  12.         <frame src="pages/main.php" frame name="content">
  13.     </frameset><noframes></noframes>
  14.    
  15. </html>
  16.  
  17. // Меню
  18. <html>
  19.     <head>
  20.     <style>
  21.   </style>
  22.     </head>
  23.    
  24.     <body text="#990000">
  25.        
  26.         <br>
  27.         <p><a href="history.html" target="content">История</a></p>
  28.         <br>
  29.         <p><a href="people.html" target="content">Люди</a></p>
  30.         <br>
  31.         <p><a href="cities.html" target="content">Города</a></p>
  32.         <br>
  33.         <p><a href="holidays.php" target="content">Праздники</a></p>
  34.        
  35.     </body>
  36. </html>
  37.  
  38. // Main.php
  39. <?php
  40.     session_start();
  41.     if(isset($_POST['logout'])){
  42.     unset($_SESSION["check"]);
  43.     session_destroy();
  44.     }
  45. ?>
  46. <html>
  47. <meta http-equiv="Content-Type" content="text/html; charset=windows1251">
  48.     <head>
  49.     <link rel="stylesheet" type="text/css" href="../styles/style.css" />
  50.     </head>
  51.  
  52.     <body>
  53.     <h2 align="center">КОШ КЕЛИНИЗДЕР! | ДОБРО ПОЖАЛОВАТЬ! | WELCOM! <br/>
  54.     Этот сайт поможет вам прогуляться по Кыргызстану и узнать много нового о нём не выходя из дома</h2>
  55.     <div id="main_map">
  56.     <map name='1' border=1>
  57.     <img src="../images/main_map.jpg"  border=0 usemap='#1'>
  58.     <area shape='rect'  coords='120, 40, 300, 100' href="../pages/areas/talas" title="Таласская область">
  59.     <area shape="poly" coords='330,0 310,120 560,40' href='areas/chuy.html' title='Чуйская область'>
  60.    
  61.     <area shape="poly" coords='470,65 555,35 750,80 630,195' href='../pages/areas/issikul' title="Иссыкульская область">
  62.    
  63.     <area shape="poly" coords='321,125 444,75 625,195 385,255 335,205 385,155' href='../pages/areas/issikul' title="Нарынская область">
  64.    
  65.     <area shape="poly" coords='5,280 200,270 200,320 5,320' href='../pages/areas/issikul' title="Баткенская область">
  66.    
  67.     <area shape="poly" coords='330,200 300,210 200,260 230,315 160,320 160,340 180,360 280,350 400,265' href='../pages/areas/issikul' title="Ошская область">
  68.    
  69.     <area shape="poly" coords='120,120 300,120 350,170 340,210 270,190 120,170' href="../pages/areas/talas" title="Джалал-Абадская">
  70.     </map>
  71.     </div>
  72.     </body>
  73.    
  74. </html>
  75. <?php
  76.     if($_SESSION["check"] == true){
  77.         echo "Assalamu aleykum, ".$_SESSION["name"]." aka!<br/>";
  78.         echo '<form action="main.php" method="post"><input type="submit" name"logout" value="Выйти"/></form>';
  79.     }
  80.     else
  81.         echo "Вы не вошли!";
  82. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement