Everything posted by twolvesfan624
-
Anyone still have this?
It's from a while back, a teenage girl was beaten by her friends because of her cheating or something and she wouldn't fight back. They made her undress later and this was on the news because she had bruises and the police were involved.
-
Best myg0t emoticon?
http://www.zomgstuff.net/forum/images/smilies/other/kev.gif
-
Question That I've always Wondered About...Please Answer!
lol @ women with their eggs
-
Jordan Ziller
Wow you put in wayy to much time for so little rage sir.
-
Trusted with a STEAM account..
And that's why you don't have friends IRL
-
What should I get for my birthday?
For once I have to agree with CJ. I fucking hate the ipod because of the way teenage whores think it makes them uber cool. I was the only fucking person at my school to get a video ipod before Christmas. Seems like every other whore got it for christmas.
-
BF2 / 1942 keys - stored where?
Doesn't matter because it's encrypted because I know you want to steal them.
-
Someone who knows php arrays + vBulletin
Here's the php file <?php // ####################### SET PHP ENVIRONMENT ########################### error_reporting(E_ALL & ~E_NOTICE); // #################### DEFINE IMPORTANT CONSTANTS ####################### define('NO_REGISTER_GLOBALS', 1); define('THIS_SCRIPT', 'ban'); // change this depending on your filename // ################### PRE-CACHE TEMPLATES AND DATA ###################### // get special phrase groups $phrasegroups = array( ); // get special data templates from the datastore $specialtemplates = array( ); // pre-cache templates used by all actions $globaltemplates = array( 'BAN', ); // pre-cache templates used by specific actions $actiontemplates = array( ); // ######################### REQUIRE BACK-END ############################ require_once('./global.php'); // ####################################################################### // ######################## START MAIN SCRIPT ############################ // ####################################################################### $navbits = array(); $navbits[$parent] = 'Ban Page'; $navbits = construct_navbits($navbits); // Count the total bans $totalbans = $db->query_first_slave(" SELECT COUNT(userid) AS bans FROM userban "); //Count the current active bans $activebans = $db->query_first_slave(" SELECT COUNT(userid) AS activebans FROM userban WHERE usergroupid = 2 "); //Display banned users $bannedusersarray = array(); $bannedusers = $db->query_read("SELECT userid FROM userban"); $bannedusersarray = $db->fetch_array($bannedusers); // Get Latest Bans $result_data = $vbulletin->db->query_read(" SELECT ban.userid, ban.usergroupid, ban.adminid, ban.liftdate, ban.reason, user.username FROM userban AS ban LEFT OUTER JOIN user AS user ON user.userid = ban.userid "); while( $data = $db->fetch_array($result_data) ) { $banusername = $data['username']; eval('$bannedusers .= "' . fetch_template('BAN_mainbits') . '";'); } eval('$navbar = "' . fetch_template('navbar') . '";'); eval('print_output("' . fetch_template('BAN') . '");'); ?> heres the BAN template $stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[bbtitle]</title> $headinclude </head> <body> $header $navbar <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat"><center>Here's the banlist. Don't do what these people did.</center></td> </tr> <tr> <div style="margin: 0px auto; margin-top: 20px; margin-bottom: 20px; font-size: 40px; font-weight: bolder; width: 600px; text-align: center;">$activebans[activebans] ACTIVE BANS<br/><small>$totalbans[bans] total bans</small></div> <td class="alt1"> <table class="tborder" cellpadding="5" cellspacing="0" width="100%" border="0" align="center"> <tr> <td class="tcat" colspan="4">Latest Bans</td> </tr> <tr> <td class="thead" width="25%"><center>Username</center></td> <td class="thead" width="2%">Current Usergroup</td> <td class="thead" width="25%"><center>Banned By</center></td> <td class="thead" width="25%"><center>Ban Lift</center></td> <td class="thead" width="25%"><center>Reason</center></td> </tr> $bannedusers </table> </td> </tr> </table> $footer </body> </html> and here is the template BAN_mainbits <tr> <td class="alt1" width="25%" align="center"><span class="smallfont">$banusername</span></td> <td class="alt2" width="25%" align="center"><span class="smallfont">$data[usergroupid]</span></td> <td class="alt2" width="15%" align="center"><span class="smallfont">$data[adminid]</span></td> <td class="alt1" width="25%" align="center"><span class="smallfont">$data[liftdate]</span></td> <td class="alt2" width="25%" align="center"><span class="smallfont">$data[reason]</span></td> </tr> Enjoy ;)
-
Someone who knows php arrays + vBulletin
I didn't use echo. You still want it?
-
Someone who knows php arrays + vBulletin
I got it, nevermind.
-
Someone who knows php arrays + vBulletin
I created a custom page for vBulletin using a custom template that calls a php file. In the php file I assigned a query that lists of users from the ban list and assigned it to the variable $bannedusersarray. I know I can use echo then the array from the php file, but I can't control where it will be. How can I display the $bannedusersarray array from the html template? Here is my template code $stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[bbtitle]</title> $headinclude </head> <body> $header $navbar <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat"><center>Here's the banlist. Don't do what these people did.</center></td> </tr> <tr> <div style="margin: 0px auto; margin-top: 20px; margin-bottom: 20px; font-size: 40px; font-weight: bolder; width: 600px; text-align: center;">$activebans[activebans] ACTIVE BANS<br/><small>$totalbans[bans] total bans</small></div> <td class="alt1"> $bannedusersarray </td> </tr> </table> $footer </body> </html> and here is my php file <?php // ####################### SET PHP ENVIRONMENT ########################### error_reporting(E_ALL & ~E_NOTICE); // #################### DEFINE IMPORTANT CONSTANTS ####################### define('NO_REGISTER_GLOBALS', 1); define('THIS_SCRIPT', 'ban'); // change this depending on your filename // ################### PRE-CACHE TEMPLATES AND DATA ###################### // get special phrase groups $phrasegroups = array( ); // get special data templates from the datastore $specialtemplates = array( ); // pre-cache templates used by all actions $globaltemplates = array( 'BAN', ); // pre-cache templates used by specific actions $actiontemplates = array( ); // ######################### REQUIRE BACK-END ############################ require_once('./global.php'); // ####################################################################### // ######################## START MAIN SCRIPT ############################ // ####################################################################### $navbits = array(); $navbits[$parent] = 'Ban Page'; $navbits = construct_navbits($navbits); // Count the total bans $totalbans = $db->query_first_slave(" SELECT COUNT(userid) AS bans FROM userban "); //Count the current active bans $activebans = $db->query_first_slave(" SELECT COUNT(userid) AS activebans FROM userban WHERE usergroupid = 2 "); //Display banned users $bannedusersarray = array(); $bannedusers = $db->query_read("SELECT userid FROM userban"); $bannedusersarray = $db->fetch_array($bannedusers); // Get all the data from the "example" table $result = mysql_query("SELECT * FROM userban") ; echo "<table border='1'>"; // keeps getting the next row until there are no more to get while($row = mysql_fetch_array( $result )) { echo "<tr>"; echo "<td>"; echo $row['userid']; echo "</td><td>"; echo $row['usergroupid']; echo "</td><td>"; echo $row['adminid']; echo "</td><td>"; echo $row['bandate']; echo "</td><td>"; echo $row['liftdate']; echo "</td><td>"; echo $row['reason']; echo "</td><td>"; } echo "</table>"; echo "</table>"; eval('$navbar = "' . fetch_template('navbar') . '";'); eval('print_output("' . fetch_template('BAN') . '");'); ?>
-
Found a sweet contest for a rs.com premium account
I found a contest to win a rapidshare 1 month premium account. All you gotta do is make a funny cap pic. They also had some other pretty cool contests. http://www.zomgstuff.net/forum/showthread.php?t=6474
-
fucking on her period
AHHAHAHA
-
Re: myg0t vBulletin Admins
And come up with thousands of old and patched exploits?
-
Re: myg0t vBulletin Admins
A XSS calendar exploit was discovered for vBulletin® Version 3.6.6 so I suggest you upgrade. Also, I heard that there is one for the current one (3.6.7. PL1).
-
THE REAL DEAL
I already know who will be your first +b :sly::sly::sly:
- Site and Game
-
Source Industries busted
Good game plagiarist.
-
BEST MOVIE EVER x2 !!!!!!!!!
Hah, before I scrolled down all the way, when I only saw the eyes, I thought it was Hallie Berry or w/e the hell her name is.
-
Baby + Cobra
It wasn't. At the very end you could see the snakes tongue. I think he was devenomd and deteethed (words?)
-
BEST MOVIE EVER x2 !!!!!!!!!
Hey look it's CJ's boyfriend http://www.as220.org/~modus/images/jpg/scary_bat.jpg
-
BEST MOVIE EVER x2 !!!!!!!!!
Troll.
-
Movie Star in myg0t
Yeah you are ya troll.
- Help on my final ~_~
-
Who do you think is the Gayest Forum User?
Aha I am honored to be on the list. And how cute, CJ voted for him because I keep calling him out as a troll ;):madkeke: :madkeke: