Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 4th, 2013  |  syntax: None  |  size: 5.81 KB  |  views: 40  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  2.     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  3. <html dir="ltr" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
  4.  
  5.     <head>
  6.         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7.         <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  8.         <title>***</title>
  9.         <link rel='stylesheet' href='../_layout/scripts/jquery.fullcalendar/fullcalendar.css' type='text/css' media='screen' />
  10.         <link rel='stylesheet' href='../_layout/scripts/jquery.fullcalendar/fullcalendar.print.css' type='text/css' media='print' />
  11.         <!-- Styles -->
  12.         <link rel='stylesheet' href='style.css' type='text/css' media='all' />
  13.         <!--[if IE]>
  14.  
  15.             <link rel='stylesheet' href='../_layout/IE.css' type='text/css' media='all' />      
  16.  
  17.         <![endif]-->
  18.         <!-- Fonts -->
  19.         <link href='http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold|PT+Sans+Narrow:regular,bold|Droid+Serif:i&v1' rel='stylesheet' type='text/css' />
  20.  
  21.             <script type='text/javascript' src='../../../ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min97e1.js?ver=1.7'></script>
  22.         <!-- WYSISYG Editor -->
  23.         <script type='text/javascript' src='../_layout/scripts/nicEdit/nicEdit.js'></script>
  24.  
  25.         <!-- Forms Elemets -->
  26.         <script type='text/javascript' src='../_layout/scripts/jquery.uniform/jquery.uniform.min.js'></script>
  27.         <link rel='stylesheet' href='../_layout/scripts/jquery.uniform/uniform.default.css' type='text/css' media='screen' />
  28.  
  29.         <!-- Scripts -->
  30.         <script type='text/javascript' src='../_layout/custom.js'></script>
  31.  
  32.  
  33.     </head>  
  34. <body>
  35.  
  36.         <div id="layout">
  37.             <div id="header-wrapper">
  38.                 <div id="header">
  39.                     <div id="user-wrapper" class="fixed">
  40.                         <div class="color-scheme">
  41.                             </div>
  42.                             <div class='user'>
  43.                         <?php
  44.                         if($_SESSION['user'] != 'NULL')
  45.                         {
  46.                         ?>
  47.                         <img src="../_content/user-img.png" alt="" />
  48.                         <span>Welcome <a href="#">Admin <?PHP echo $_SESSION['user']; ?></a></span>
  49.                         <span class="logout"><a href="#">Logout</a></span>
  50.                         <?php
  51.                         }
  52.             ?>
  53.  
  54.  
  55.                     </div>
  56.                      </div>
  57.                     <div id="launcher-wrapper" class="fixed"><img src="../_layout/images/NGBU Logo.png" width="68" height="81" alt="logo" style="margin-left:35px;" /> <img src="../_content/NGBU_logo.png" width="777" height="57" alt="logo" longdesc="http://index.php" style="margin-top: 25px; float: left; margin-left: 25px;"/></div>
  58.  
  59.  
  60.             </div>
  61.             </div>
  62.        
  63. <?PHP
  64. session_start();
  65. ob_start();
  66. $_SESSION['user'] = "NULL";
  67. $_SESSION['password'] = "";
  68. $_SESSION['error'] = 0;
  69. include_once("../includes/header.php");
  70. if(!$_SESSION['error'])
  71. $_SESSION['error'] = "Please Login to Continue";
  72. ?>
  73. <?PHP
  74. if(isset($_REQUEST['check']))
  75. {
  76.     if(!$_REQUEST['User'] == "")
  77.     {
  78.         if(!$_REQUEST['Password'] == "")
  79.         {
  80.             $_SESSION['user'] = $_REQUEST['User'];
  81.             $_SESSION['password'] = $_REQUEST['Password'];
  82.             unset($_SESSION['error']);
  83.             header('Location: checklogin.php');
  84.         }
  85.         else
  86.         {
  87.         $_SESSION['error'] = "<FONT color='#FF0000'>Both fields are required</FONT>";
  88.         }
  89.     }
  90.     else
  91.     {
  92.     $_SESSION['error'] = "<FONT color='#FF0000'>Both fields are required</FONT>";
  93.     }
  94. }
  95. ?>
  96. <DIV class="page fixed">
  97. <DIV id="sidebar" style="height:400px; width:250px; margin-left:5px;"> </DIV>
  98. <DIV id="content">
  99.                 <?PHP
  100. echo "<h1 style='margin-left:150px;' >".$_SESSION['error']."</h1>";
  101.  
  102. ?>
  103.                 <FORM action="index.php" method="post" name="loginfrm"  class="form-elements-inputs" style="margin-left:150px;width:90px;">
  104.                 <INPUT class="normal" type="text" name="User" value="User Name" /><BR />
  105.                 <INPUT class="normal" type="password" name="Password" value="Password"  /><BR />
  106.                 <INPUT type="hidden" name="check" value="login" />
  107.                 <INPUT type="submit" value="Login" class="button-orange" style="width:100px; margin:auto;"  />  
  108.                     </FORM>
  109.                 </DIV>
  110.     </DIV>
  111.     </div>
  112.     </BODY>
  113. </HTML>
  114.        
  115. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 2.0//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  116. <html lang="en-US" xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
  117. <head>
  118. <title>***</title>
  119. <link type="text/css" href="style.css" rel="stylesheet">
  120. <html><head>
  121. <title>404 Not Found</title>
  122. </head><body>
  123. <h1>Not Found</h1>
  124. <p>The requested URL /style.css was not found on this server.</p>
  125. <p>Additionally, a 404 Not Found
  126. error was encountered while trying to use an ErrorDocument to handle the request.</p>
  127. <hr>
  128. <address>Apache Server at www.***.com Port 80</address>
  129. </body></html>
  130. </link>
  131. <link media="screen" type="text/css" href="scripts/jquery.fullcalendar/fullcalendar.css" rel="stylesheet">
  132. <link media="print" type="text/css" href="scripts/jquery.fullcalendar/fullcalendar.print.css" rel="stylesheet">
  133. <link media="screen" type="text/css" href="scripts/jquery.uniform/uniform.default.css" rel="stylesheet">
  134. <link type="text/css" rel="stylesheet" href="http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold|PT+Sans+Narrow:regular,bold|Droid+Serif:i&v1">
  135. <script src="../../../ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min97e1.js?ver=1.7" type="text/javascript">
  136. <script src="../_layout/scripts/nicEdit/nicEdit.js" type="text/javascript">
  137. <script src="../_layout/scripts/jquery.uniform/jquery.uniform.min.js" type="text/javascript">
  138. <script src="../_layout/custom.js" type="text/javascript">
  139. </head>
  140. <body>
  141. </html>
clone this paste RAW Paste Data