Jump to content


  • Content count

  • Joined

  • Last visited

About Notorious

  • Rank
    u wot m8

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Nice design, however I'd change the colour of the footer to the same as the "index-header-bg" or even slightly darker That's just me, though (designer instincts telling me something could be improved within the footer, not certain what). Either way it's good.
  2. [quote name='b00mz1029']You better believe it does ;)[/QUOTE] I took it down within a second of an attack, no it does not.
  3. Open command prompt, type in ipconfig.. then go to whichever adapter you're using for your connection. EG if you're using wireless go to the one that says wireless. Go to ipv4 IP address/IP address, that's your local IP address - there was no need to blank it out in the image above. Whatever your local IP address was, stick that in "Private IP".
  4. I forgot why I stopped coming on RL.. so many kids. Favorite exercise = weights @ gym
  5. I never left, I just lurk and do nothing - lol

  6. When dafuq you come back, I know I've only been inactive for 6+ months but ye

  7. Web Development section, even if there is nothing of it.
  8. [quote name='CodyV20']So you're saying it's good for teenagers to have a job?[/QUOTE] Yeah, teaches them life skills and can help them when they get into the real world due to experience. Looking for a job's a bitch - what I've been doing for months.
  9. Jobs can help with a lot anyways IMO, can teach people to manage time etc and that can lead to work rate for studies being higher.
  10. In the meanwhile plug your laptop into a monitor with hdmi or vga ;)
  11. Well, Pkerfag wanted me to post asking to create a list of blackberry messenger pins like the XBL list or PSN list. Anyways, this is generally so RL members can talk or contact eachother etc, blackberry messenger is free world-wide so no worry about charges! [CENTER][B][SIZE=5]BBM Pins list[/SIZE][/B] Notorious - 234CB078 Pkerown - 294C99FE[/CENTER] To get your pin added post your bbm link below ;)
  12. Skullcandy's are good quality for money, I think you can get some for £7.99, I got some beats for £100 and they were fucked soon after :)
  13. Notorious

    "World War III"

    [quote name='Dean']Lebanon is pretty big, but it's going to involve Isreal as well, since they're probably the closest country to the U.S.[/QUOTE] I mean small in relevance to power compared to the main militarily's such as the US
  14. Notorious

    "World War III"

    Well for a WWIII it'd take major countries - it can't just be smallish countries like Lebanon for example. It'd have to be powerful countries in other words to consider it a world war, I do believe that it'd be several Middle Eastern countries in an alliance vs U.S, GB, etc. if there was a WWIII But, I don't see any reason for a WWIII because after the devastation of the previous wars I think lessons should have been learnt but who knows, may only take a crazed dictator who has too much power.
  15. Well it's simple, really - you can either copy and paste the code below or manually do it. [CODE] <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>PosituX - Perfection at its best!</title> <meta name="keywords" content="KEYWORDS HERE (RSPS)" /> <meta name="description" content="DESCRIPTION HERE (RSPS)" /> <link href="../styles.css" rel="stylesheet" type="text/css" media="screen" /> <script type="text/javascript"> function openlinks(){ window.open("http://www.runelocus.com/toplist/vote-2815.html"); window.open("http://www.moparscape.org/serverstatus.php?server=") } </script> </head> <body bgcolor="black"> <div id="wrap"> <div id="logo"> <center> <img src="../images/logo.png"></img> </center> </div> <div id="content"> <div id="menu"> <ul> <li><a href="index.php" class="active">PosituX</a></li> <li><a href="forums/">Forums</a></li> <li><a href="webclient.php">Webclient</a></li> <li><a href="vote.php">Vote</a></li> <li><a href="donate.php">Donate</a></li> </ul> </div> <div id="header"> <centeR> <?php /** * mysql database hostname */ define("MYSQL_HOST", "NOT GONNA SHOW!"); /** * mysql username to connect to the database server */ define("MYSQL_USERNAME", "NOT GONNA SHOW!"); /** * mysql password the password to connect to the database server */ define("MYSQL_PASSWORD", "NOT GONNA SHOW!"); /** * mysql database the database name in which you have your vote table setup */ define("MYSQL_DATABASE", "NOT GONNA SHOW!"); /** * vote url this is the url which where users will be sent to on voting */ define("VOTE_URL", "http://www.runelocus.com/toplist/vote-2815.html"); define("VOTE_URL", "http://www.moparscape.org/serverstatus.php?server="); /** * The number of hours between voting */ define("VOTE_HOURS", 24); /** * connect() this function is used to connect to the mysql database server. */ function connect() { if ([email protected]_connect(MYSQL_HOST, MYSQL_USERNAME, MYSQL_PASSWORD)) die("Could not connect to mysql database: " . mysql_error()); if ([email protected]_select_db(MYSQL_DATABASE)) die("Could not select mysql database: " . mysql_error()); $tables = mysql_list_tables(MYSQL_DATABASE); while (list($temp) = mysql_fetch_array($tables)) { if ($temp == "votes") { return; } } query("CREATE TABLE `votes` ( `playerName` VARCHAR( 255 ) NOT NULL , `ip` VARCHAR( 255 ) NOT NULL, `time` BIGINT NOT NULL , `recieved` INT( 1 ) NOT NULL DEFAULT '0')"); } /** * query(string query) this function is used to query the mysql database server. */ function query($s) { $query = @mysql_query($s); if (!$query) die("Error running query('" . $s . "'): " . mysql_error()); return $query; } /** * anti_inject(string text) this function is used to make sure no injections can be made. */ function anti_inject($sql) { $sql = preg_replace(sql_regcase("/(from|select|insert|delete|where|drop table|show tables|#|\*|--|\\\\)/"), "", $sql); $sql = trim($sql); $sql = strip_tags($sql); $sql = addslashes($sql); $sql = strtolower($sql); return $sql; } /** * clean_request(int timestamp, string username) this function is used to delete any entries if they have already expired. */ function clean_request($time, $username) { $query = query("SELECT * FROM `votes` WHERE `playerName`='" . $username . "'"); if (mysql_num_rows($query) > 0) { $row = mysql_fetch_array($query); $timerequested = $row['time']; if ($time - $timerequested > VOTE_HOURS * 3600) query("DELETE FROM `votes` WHERE time='" . $timerequested . "'"); } } /** * vote_entries(string ip) this function is used return the number of rows within the table */ function vote_entries($ip) { $query = query("SELECT * FROM `votes` WHERE ip='" . $ip . "'"); return mysql_num_rows($query); } if (isset($_POST['submit']) || isset($_GET['username']) && isset($_GET['type'])) { connect(); if ($_POST['submit']) { if(@fsockopen($_SERVER['REMOTE_ADDR'], 80, $errno, $errstr, 1)) die("Sorry but you have port 80 open, this is to stop voting by proxy address."); if(isset($_COOKIE['voted'])) die("Sorry but it looks like you have already voted..."); $username = anti_inject($_POST['username']); $ip = gethostbyaddr($_SERVER['REMOTE_ADDR']); clean_request(time(), $username); if (vote_entries($ip) == 0) { setcookie ("voted", "yes", VOTE_HOURS * 3600); query("INSERT INTO `votes` (`playerName`, `ip`, `time`) VALUES ('" . $username . "', '" . $ip . "', '" . time() . "')"); header("Location: " . VOTE_URL . ""); } else { die("You have already voted once today."); } } elseif ($_GET['type'] == "checkvote") { $username = anti_inject($_GET['username']); $query = query("SELECT * FROM `votes` WHERE `playerName`='" . $username . "'"); if (mysql_num_rows($query) == 1) { $results = mysql_fetch_array($query); if ($results['recieved'] == 0) { query("UPDATE `votes` SET `recieved`='1' WHERE `playerName`='" . $username . "'"); die("user needs reward..."); } else { die("user been given reward..."); } } else { die("Vote not found... ". $username ."."); } } } ?> <table align="center"> <b>Please, Before voting log out!</b> <form action="vote.php" method="post""> <tr> <td align="right">PosituX name: </td> <td><input name="username" type="text" /></td> </tr> <tr> <td> </td> <td align="center"><input type="submit" name="submit" value="Vote now" onclick="openlinks();" /></td> </tr> </form> </table> </center> </div> <center> </div> <div id="mini_box_bg"> </div> <div class="mini_box_bg"> </div> <center><font color="white"> <p>Copyright PosituX!</p> </font></center> <div id="footer"> <div class="red_hr"></div> </div> </body> </html>[/CODE] It's done by adding a JavaScript function to the <head> tags like so [CODE]<script type="text/javascript"> function openlinks(){ window.open("http://www.runelocus.com/toplist/vote-2815.html"); window.open("http://www.moparscape.org/serverstatus.php?server=") } </script> [/CODE] Then, when this function has been defined calling it onclick on the button like so [CODE]<input type="submit" name="submit" value="Vote now" onclick="openlinks();" />[/CODE] I'm assuming this is what you're looking for if not then I'll be happy to help :P