Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- include ("bd.php");
- if (isset($_COOKIE['auto']) and isset($_COOKIE['login']) and isset($_COOKIE['password']))
- {
- if ($_COOKIE['auto'] == 'yes') {
- $_SESSION['password']=strrev(md5($_COOKIE['password']))."b3p6f";
- $_SESSION['login']=$_COOKIE['login'];
- $_SESSION['id']=$_COOKIE['id'];
- }
- }
- ?>
- <html>
- <head>
- <style type="text/css">
- body{
- margin:5;
- padding:0;
- }
- UL {
- margin-left:85px;
- }
- a:link {
- color: #808080;
- text-decoration: none;
- }
- a:visited {
- color: #808080;
- text-decoration: none;
- }
- P{
- text-indent: 85px;
- font-width:1px;
- }
- </style>
- <title>Присоединись.рф-социальная сеть</title>
- </head>
- <body>
- <table height="100%" width="100%" style="border:bottom;border-style: solid;border-color: #808080;border-width:1px;">
- <tr>
- <th colspan="4" width="1028" style="height:40;background-image:url(logo.jpg)"></th>
- </tr>
- <tr>
- <th valign="top" height="200" width="228" > <form action="login.php" method="post"><table style="border:bottom;border-style:dashed;border-color: #808080;border-width:2px;"><tr><td>Логин:</td><td><input type="text" name="login" value='<?php echo $login; ?>'></td></tr><tr><td>Пароль:</td><td><input type="password" name="password"></td></tr><tr><td></td><td><input type="submit" value="Войти" /></td></tr><tr><td><center><input type="button" crs="reg.php" value="Регистрация"></center> </td></tr></table> </th>
- <th valign="top" colspan="2" height="200" width="800" ><div id="geniral" style="background-color:#808080; width:100%;text-align:left;color:#fff">Добро пожаловать в Присоединись.рф<div id="content" style=" width:99.8%;background-color:#ffffff;border:bottom;border-style: solid;border-color: #808080;border-width:1px;color:#000"><pre><h2> [Добро пожаловать в Присоединись.рф]</h2></pre><p span class="select">Присоединись.рф постоянно развивающийся интернет-портал.</p><p span class="other">Проект открыт для связи людей из Ивановской области. </p><p span class="users">Вы можете использовать наш проект для:<ul><li>Поиска людей из других районов</li><li>Общения со своими друзьями</li><li>Поиска новых друзей</li></ul></p></div></div></th>
- </tr>
- <tr>
- <th colspan="2" width="250" style="height:150"><a style="color:#000" href="index.html">Присоединись.рф</a>© 2011 <a href="http:присоединись.рф/profile/1/">Евгений Жебриков</a></th>
- </tr>
- </table>
- </body>
- </html>
Add Comment
Please, Sign In to add comment