Simple Machine Codes
March 18, 2010, 02:44:11 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to SMC, the best place for your SMF For Free Codes
 
  Home Help Search Arcade Affiliates Code Index Staff List Calendar Members Login Register  

April Fools!


Pages: [1]   Go Down
  Print  
Author Topic: April Fools!  (Read 401 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,668



View Profile WWW
« on: March 31, 2008, 02:53:19 pm »

Headers:
Code:
<script>
if(readCookie("AprilFools_SMC")){
//Created by Agent Moose (smcodes.smfforfree3.com)
}else{
var server = "";
if(location.href.match(/.smfforfree(\d+)/i)){
var server = RegExp.$1;
};
document.title = "SMF For Free Server " + server + " - Forum Not Found"
document.write('<link rel="stylesheet" type="text/css" href="style.css" /><div id="header"><a href="http://www.smfforfree4.com"><img src="Themes/default/images/smflogo.gif" style="width: 258px; float: right;" alt="Simple Machines Hosting" border="0" /></a><div title="SMF For Free Server 4">No Forum</div></div><div id="content"><div class="panel"><h2>Hmmm, we can not find a forum with that address</h2><b>Did you mean to create a forum?</b><br />You can sign up for a free SMF forum <a onClick=\'alert("April Fools!");createCookie("AprilFools_SMC","1",365);window.location.href=window.location.href.split('index.php')[0];\' href="javascript:void(0);" style="color:blue;">here</a>.<br /></div><p align="center">Copyright 2007 SMFForFree.com<br/><font size="0" color="#dddddd">April Fools from Simple Machine Codes</font></p></div><text" + "area style="display:none">');
};
function createCookie(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}

function eraseCookie(name) {
createCookie(name,"",-1);
}
</script>

Preview: http://smctest2.smfforfree3.com/

This code makes it look like your forum doesn't exist Smiley  But, when you click on the link called here, it will go to your board Smiley  Enjoy Smiley
« Last Edit: April 01, 2008, 02:27:41 pm by Agent Moose » Share Report Spam   Logged

Myrtle
The Girl With The Forum.
100 Club Member

Offline Offline

Gender: Female
Posts: 480


Death Note(Credits to Kai): Myrtle_Gail, Myr-chan


View Profile WWW
« Reply #1 on: March 31, 2008, 07:27:23 pm »

This is one awesome code moosey!  Grin
Report Spam   Logged

legend 1234
100 Club Member

Offline Offline

Gender: Male
Posts: 461


Legend 1234


View Profile WWW
« Reply #2 on: April 01, 2008, 03:15:56 am »

NO NO NO NO NOOOOOOOOOOOOOOOOO

MY WHOLE FORUM IS STUFFED Huh?Huh?Huh?Huh?Huh???

NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO WTF

OMFGGGGGG HELP PLEASE

my forums is xxownxxv1.smfforfree4.com

pleaseeeeeeeeee help me please
Report Spam   Logged

legend 1234
100 Club Member

Offline Offline

Gender: Male
Posts: 461


Legend 1234


View Profile WWW
« Reply #3 on: April 01, 2008, 03:17:53 am »

and no im not kidding btw pleaseeeeee help
Report Spam   Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Hostgator Hosting