Guest User

index.php

a guest
Jan 17th, 2011
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.40 KB | None | 0 0
  1. <html lang="en">
  2. <head>
  3. <title>JFB Systems - Online Store - Home</title>
  4. <style type="text/css">
  5. <!--
  6. body {margin: 0px; padding: 0px;}
  7. a:link {color: #000000;}
  8. a:visited {color: #000000;}
  9. a:hover {color: #ffffff;}
  10. a:active {color: #000000;}
  11. a:link {text-decoration:none;}
  12. .Body-title-P
  13. {
  14. margin:0.0px 0.0px 0.0px 0.0px; text-align:left; font-weight:400;
  15. }
  16. .Body-title-T
  17. {
  18. font-family:"Arial", sans-serif; font-size:21.0px; line-height:1.19em;
  19. }
  20. .Body-copy-P
  21. {
  22. margin:0.0px 0.0px 0.0px 0.0px; text-align:center; font-weight:400;
  23. }
  24. .Body-copy-T
  25. {
  26. font-family:"Arial", sans-serif; font-size:11.0px; line-height:1.27em; position:absolute; left:122px; top:777px; width:656px; height:23px;
  27. }
  28. .Body-text-P
  29. {
  30. margin:0.0px 0.0px 0.0px 0.0px; text-align:center; font-weight:400;
  31. }
  32. .Body-text-T
  33. {
  34. font-family:"Arial", sans-serif; font-size:13.0px; line-height:1.27em; color:red; position:absolute; top:139; left:478; z-index:1; width:300; text-align:left;
  35. }
  36. .Body-text2-T
  37. {
  38. font-family:"Arial", sans-serif; font-size:13.0px; line-height:1.27em; position:fixed; top:139; left:478; z-index:1; width:300; text-align:left;
  39. }
  40. .Body-Navlist
  41. {
  42. font-family:"Arial", sans-serif; font-size:13.0px; color:black; line-height:1.19em;
  43. }
  44. #navlist li
  45. {
  46. display: inline; list-style-type: none; padding-right: 20px;
  47. }
  48. -->
  49. </style>
  50. <script type="text/javascript" src="wpscripts/jspngfix.js"></script>
  51. <script type="text/javascript"><!--
  52. var blankSrc = "wpscripts/blank.gif";
  53. --></script>
  54. <?php
  55. include_once ("config.php");
  56. if(isset($_COOKIE['firstname'])) //if not cookie present, redirect the user
  57. {
  58. echo "<p class='Body-text-P'><span class='Body-text2-T'>You are now logged in, <b>".$_COOKIE['firstname']." ".$_COOKIE['lastname']."</b></span</p>";
  59. } else {
  60. echo '<p class="Body-text-P"><span class="Body-text-T">You are not logged in at this current time. Please login or register.</span</p>';
  61. }
  62. ?>
  63. <div id="menu" style="position:absolute; left:728px; top:44px; width:530px; height:51px; z-index:1;"><span class="Body-Navlist">
  64. <ul id="navlist">
  65. <li id="active">
  66. <a href="./index.php">Home</a></li>
  67. <?php
  68. if (isset($_COOKIE['firstname']) AND (substr($_SERVER['PHP_SELF'], -10) != './logout.php')) {
  69. echo '<li><a href="./logout.php">Logout</a></li>
  70. <li><a href="./cpass.php">Change Password</a></li>
  71. ';
  72. } else {
  73. echo '<li><a href="./register.php">Register</a></li>
  74. <li><a href="./login.php">Login</a></li>
  75. <li><a href="./fpass.php">Forgot Password</a></li>
  76. ';
  77. }
  78. ?>
  79. <li><a href="./buy.php">Buy</a></li>
  80. <li><a href="./sell.php">Sell</a></li>
  81. <li><a href='./help.php'>Help</a></li>
  82. </ul>
  83. </span>
  84. </div>
  85. </head>
  86.  
  87.  
  88. <body text="#000000" style="background-color:#ffffff; text-align:center; height:800px;">
  89. <div style="background-color:transparent;text-align:left;margin-left:auto;margin-right:auto;position:relative;width:900px;height:800px;">
  90. <div style="position:absolute; left:31px; top:83px; width:841px; height:694px;">
  91. <img src="wpimages/wp6f2c4b55.png" width="841" height="694" border="0" id="qs_16" name="qs_16" title="" alt="" onload="OnLoadPngFix()"></div>
  92. <div style="position:absolute; left:32px; top:79px; width:840px; height:4px;">
  93. <img src="wpimages/wp011a815e.png" width="840" height="4" border="0" id="qs_15" name="qs_15" title="" alt="" onload="OnLoadPngFix()"></div>
  94. <div style="position:absolute; left:51px; top:76px; width:359px; height:704px;">
  95. <img src="wpimages/wp8ad5650a.png" width="359" height="704" border="0" id="qs_10" name="qs_10" title="" alt="" onload="OnLoadPngFix()"></div>
  96. <div id="txt_99" style="position:absolute; left:88px; top:109px; width:284px; height:238px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box; overflow:hidden;">
  97. <p class="Body-title-P"><span class="Body-title-T">Welcome</span></p>
  98. <p class="Body-title-P"><span class="Body-title-T">&nbsp;</span></p>
  99. <p class="Body-title-P"><span class="Body-title-T">&nbsp;</span></p>
  100. </div>
  101. <p class="Body-copy-P"><span class="Body-copy-T">Copyright © All rights reserved. JFB Systems.</span></p>
  102. <div style="position:absolute; left:35px; top:1px; width:831px; height:95px;">
  103. <img src="wpimages/wp618f8c40.png" width="831" height="95" border="0" id="txt_98" name="txt_98" title="" alt="Online store " onload="OnLoadPngFix()"></div>
  104. </div>
  105. </body>
  106. </html>
Advertisement
Add Comment
Please, Sign In to add comment