Jump to content

The Sea King

Members
  • Posts

    120
  • Joined

  • Last visited

The Sea King's Achievements

Member

Member (2/7)

0

Reputation

  1. Wait. That worked after I adjusted my code once again.
  2. No. It just that the image was cut off at the bottom (ib2.png). I tried to play around but now the problem is that the first background image (ib1.jpg) is covering the second background (ib2.png).<html><head><title>Aqua Online Stats</title><style type="text/css">BODY {font-family : Verdana, Tahoma, Arial, sans-serif;font-size : 11px;padding : 0;text-align : center;color : #000000;background-color : #6183A6;background-attachment:fixed;background-image:url(http://thelostwaters.com/ib2.png);background-position:left bottom;background-repeat:no-repeat;}a:link, a:visited, a:active {text-decoration : underline;color : #000000;}a:hover {text-decoration : underline;color : #000000;}.ct {background-color: #87cefa;background-image: url('http://thelostwaters.com/ct.jpg');border-width : 1px;border-style : solid;border-color : #000000;padding : 5px;font-family : verdana;font-size : 7pt;text-align : left;}.cc {background-color : #87ceeb;border-width : 0 1px 1px 1px;border-style : solid;padding : 5px;border-color : black;text-align : left;}.ca {background-color : #87ceeb;border-width : 0 1px 1px 1px;border-style : solid;padding : 5px;border-color : black;font-family : verdana;font-size : 7pt;text-align : left;}.r {text-align : right;margin-right : 70%;padding : 2px;}.code {white-space : normal;font-family : Courier, Courier New, Verdana, Arial;font-size : 11px;padding-top : 2px;padding-right : 2px;padding-bottom : 2px;padding-left : 2px;color : #000000;border : 1px solid #000000;}.as {border-collapse: collapse;}.alexback {background-image: url(http://thelostwaters.com/ib1.jpg);background-repeat: repeat-x;height:100%;}</style></head><body><div class="alexback"><div class="ct">Users Online</div><div class="ca"><table class="as" cellpadding="5"><tr><td><b>IP</b></td><td><b>Page<b></td><td><b>Time</b></td></tr><tr><td>65.93.134.23</td><td><a href='http://thelostwaters.com/index.php?stats=true'>http://thelostwaters.com/index.php?stats=true</a></td><td>Sunday 25th of October 2009 01:31:08 PM</td></tr><tr><td>MSN Bot (webcrawler)</td><td><a href='http://thelostwaters.com/'>http://thelostwaters.com/</a></td><td>Sunday 25th of October 2009 01:29:06 PM</td></tr></table></div><br /><div class="ct">Overall</div><div class="ca">Total Page Views: 40451<br>Most Online on: Friday 8th of May 2009 09:32:15 PM<br>Users were online at that time: 125<br>Date of installation of Aqua Online: Sunday 3rd of May 2009 (175 days since installation)<br>Average Page Views: 231.15</div>© 2009 <a href="http://aqua.thelostwaters.com" target="_blank">AquaOnline</a> - <a href="http://thelostwaters.com" target="_blank">The Lost Waters</a><br><br></div></body></html>
  3. How can I fix the lower background image so that it would appear full?http://thelostwaters.com/index.php?stats=true
  4. I have a similar problem with sessons and cookies.
  5. Lines 15 to 42:I think I had corrected the problem... if (isset($_COOKIE["username"])){$username = $_COOKIE['Username'];$password = $_COOKIE['Password'];$check = mysql_query("SELECT * FROM Member WHERE Username = '$username'")or die(mysql_error());while($info = mysql_fetch_array( $check )){ if ($password != $info['password']){die('Sorry but your password is wrong. <a href=index.php>try again</a> . setcookie(Username, gone, $past) . setcookie(Password, gone, $past)')}else{echo "<a href=upload.php>Upload</a>";echo "<a href=files.php>Your Files</a>";echo "<a href=logout.php>Logout</a>";echo "<a href=delete.php>Delete Account</a>";}}}else//if the cookie does not exist, they are taken to the login screen{header("Location: index.php");}?>
  6. Maybe show us the code?
  7. The Sea King

    MD5

    . I forgot to post after one minute of finding that. .
  8. The Sea King

    MD5

    how many characters does MD5 have?
  9. it keeps saying:Parse error: syntax error, unexpected T_STRING in /register.php on line 20
  10. if (mysql_query("SELECT Username FROM Members WHERE Username = $username" LIMIT 1")){die("$username is taken");}
  11. Maybe use SQL database to store the data?
  12. Thanks! :)Anyways I got three more questions:What does the semicolon do and what the exclamation mark do?And what is the mysql_real_escape_string() thing?
  13. I need help. Is this code ok?
×
×
  • Create New...