Sorry I'm being a pain. X_x
Index:
PHP Code:
<?php
//XXXXXXXXXXXXXXXXXX;,XMMMMMS i7XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXSXXXXXXSSXXXSXXXXXXSXXXSXSXXSXXSXXSXXXX
//XXXXXXXXXXXXXXXX7:XMM0aaZWMMX.rXXXXXXX77;iiiii;7XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
//XXXXXXXXXXXXXXXXiXMZXXS22XX8M0 rXXXXX7r20@MMMW8;;7XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
//XXXXXXXXXXXXXXX7.M8XXXr :0MMMMZ:XXXX72W8S7rrXS8MB;;7XXXXXXXXXXSXXXSXXXXXXSXXXXXXXXXXXSXXXXXXXSXXXXXX
//77777X7777X77XXiSMSXrWMMMBi ,@M XX7rZ8;,,,,i;;;7aMSi777XX77XXX7XX77XXXXX77X7XXX7XX77XX7XXX7XX7XXXXXX
//XXX7777XX777777:BMMMZr i;ZM 777SZi,:::ii;r;r7S@a:777777777777777X7XX777X7X7XXXXXXX7777XX7XX77X77
//XXXXXXXXXXXXXXX:ZM. .,:;rZM 77:8,,::.. .:iXMr;XXXXXXXXXXXXX7X7XXXX7X7X77X7XX77XXXXXXXXXXXXXX
//777777777777777iiMX:,,,,::irXMa.7riM, .;0MMMM8iXM.r777777777777777777777777777777777r777777777r7
//777777777777777r.@MX.,:iiiir2@ ;;7MMMMMMMM@ar:.iX8SMi;777777777777777777777777777777777777777777777
//7777777777777777i MM@r::iir8MMWX Mi .ii;;rS@Xi777777777777777777777777777777777777777777777
//rrrrrrrrrrrrrrrrri iMMMMMMM070MM7 ;Z.,.....,:i;rraZ8X:rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
//r77777777rrrrrrrrr rMaW77i :::i;ZMM a;,,,,::i;r77rZ@0:irrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
//rr;rr;r;i. ,. MX:7 BSX7r7aMM.2;iii;;;rX772MMM ;rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
//rrrrr;, ;B@@8: 28;72@ MSXXrrXWMMaMXii;;r7X7SM, ,rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
//;rr;i XMMMMMMMMMMM:iXX@ M2X2X;SB@M .M0X;;;7a@MM7. ,;rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr;r;rrrrr;
//;;ii MMM@WWWWWWMMM8.XXZM MS::arX@Mr 2ZMMMMMMMM7iSMM :;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
//;;; MM@WWWWWWWWWBM0 7XSM MSa Z00B; MMBr2SZ8r :rSSSZM2 .i;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;r;;;;;;;;
//ii. MM@WWWWMMMM@WMM22XS2BW M0MBa0. 7MM@8SrS2aZ8Z22MM :iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
//;; ,MMMM@W@@. MMM, Za2aZ0.Si;: MMaWMMMMMMMMMMMZ i;;;;iiiii;;;;;;;iiiiiiiii;;;iiiiiiiiiiii
//i: MM8 8@WWWaMMMX .rZ ,r7 ;MMMMMMMW MMX .MMS27;;rrr;iiiiiiiiir777r;iiiiiiiiiiiiiiiii
//ii MM WMWMMMM ,:iM .i;S, :MMMMMMMMMMM :MMMMMZ ZX;;rSaS7;ii;X2r. ;SX;iiiiiiiiiiiiiii
//i: MMaZM@MM0 ,,::iM; ;X MMMMMM MMM rMMMMMMMMMMMMMMM XSXS X;iiiiiiiiiiiiii
//:: MMM@@MMi .:,::i;;M; 7 MMMM; MM MMMMMMMMMMMMMMMMMMM.MMMMMS MMMMM 7i:::i:::::::::
//:: MM@WMM :i;ii;;rrM . MMMM XMMM MM MMMM MMM WMMMMMMMMMMMMW MMMMMMMM i;iiiiiiiiiiiii
//:: MM@MM i;77rrrrr2MX8 MMMM WM2 MMM MMMMMBMMM:MMMMMMMMMM0 MMM r,,,,,:,,,,,,:
//::: MMMM ir;rXrrr78MMMM :MMM ,7ZMM@a::S 8MM. MMMMMMM MM :MMMMMM MMM 7:::::::::::::
//,,, MMM2rX77X7X0MMZ7M MMM0MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMM 7 MMMM :, MMM r,,,,,,,,,,,,,
//,,,, MMMMMMMMMMMW aM MMM2MMMMMMMMMMMMMMMMMMMMMMMMMMMMB MMM .r MMMMM ; MMM Xrr;i:,,,,,,,,
//,,,,,. SX.;aM7 M MMM :88i MMMr MMMMMMMMM :i MMX 7MMMM :i,,,,,.,
//,..,.,. B7i:..2M , ;i @MMM @MMMM MMMMM MMMM MMX @MMMMMMMMMMMMMMMMMMMMB .:......
//..,... MWSX7772WM2 M MMMMMMMMMMMMMMMa , MMM MMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM :,,,,,,
//...... M2 S7XSr ,BM M MMMMMMMMMMMMZ ::i. 8MMM MMMMMMMMMMMMMM2 ;20MMMMMMMMMMMZ .......
//...... MMZ7Z22aBS82@M, @M MMMMMMMM :,.,. MMM .MMMMMWMMM . MMMB ,.....
//.,,,,. MMMMMMMMMMMMMMMM: MMM ::,,,,,, MMM , 0MMMMMMM :::. MMM .:::: MMMM ,,,,,,.
// :MM@ ;MMMMMMM MMM MMMMZ
// MMMMM 0MMM SMMMMM
// GRPS: Commune For Groups ,MMMa MMMMX MMMMMM
// vBulletin Add-On Software MMMM MMMMMMMMMMM
// by sabret00the MMM MMMMMMa
// Copyright 2005 M
// ################ SET SCRIPT LOCATION ENVIRONMENT ######################
require_once('./includes/config_grps.php');
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'groupshome');
// ################### 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(
'GROUPS',
'groups_groupshome',
'groups_groupshome_newestbits',
'groups_groupshome_popularbits',
'groups_groupshome_largestbits',
'groups_groupshome_mygroups',
'groups_groupshome_mygroupsbits',
'groups_navbar',
);
// ######################### REQUIRE BACK-END ############################
require_once("./global.php");
require_once("./includes/functions_grps.php");
// pre-cache templates used by all actions
$globaltemplates = array();
// globalize variables
$vbulletin->input->clean_array_gpc('r', array(
'perpage' => TYPE_INT,
'pagenumber' => TYPE_INT,
'do' => TYPE_STR,
'goto' => TYPE_STR,
));
// globalize variables
$vbulletin->input->clean_array_gpc('p', array(
'action' => TYPE_STR,
'do' => TYPE_STR,
'grps_submit' => TYPE_STR,
'grps_title' => TYPE_STR,
'grps_description' => TYPE_STR,
'grps_leader' => TYPE_INT,
'grps_cat' => TYPE_INT,
));
// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################
// temp admin options
// url of the grps
$groupurl = $vbulletin->options['homeurl'] . "/groups/?groupid=$groupid";
$grps_rin = rand(1,$vbulletin->options['grpsnumrandimages']); //random image to provide some variation
// this switch handles the right column
switch ($_GET['do'])
{
case "creategroup":
// ###################### lets lock out non-members and make em log-in
if (!$vbulletin->userinfo['userid'])
{
//print_no_permission();
}
// ###################### lets make sure they have permission to make groups
if (!($vbulletin->userinfo['permissions']['grpspermissions'] & $vbulletin->bf_ugp_grpspermissions['groupscreate']))
{
print_no_permission();
}
// ###################### lets make sure they can afford it
if ($vbulletin->options['grpsstoreintegration'])
{
if ($vbulletin->userinfo[$vbulletin->options[uttpoints_pointsfield]] < $vbulletin->options['grpsmakegroupcost'])
{
eval(print_standard_error("grps_notenoughpoints"));
}
}
// add's page title
$grps_pagetitle = "Create A Group";
// creates category drop down box
$grps_cats = $db->query("
SELECT *
FROM grps_categories
ORDER BY catid ASC
");
if ($db->num_rows($grps_cats))
{
while ($grps_catsoptions = $db->fetch_array($grps_cats))
{
$dropoption .= "<option value=\"$grps_catsoptions[catid]\">$grps_catsoptions[title]</option>\n";
}
}
$cat_drop = "<select name=\"grps_cat\">\n" . $dropoption . "</select>";
// calls the template for creating groups.
eval("\$grps_main .= \"".fetch_template("groups_creategroup")."\";");
break;
default:
// page title for grouphome.
//$grps_pagetitle = "Groups @ " . $vbulletin->options['hometitle'];
// selects the number of validated groups for group home
$total = $db->query_read("
SELECT groupid
FROM grps
WHERE approved = '1'
");
$num = $db->num_rows($total);
$grps_limit = 10;
$grps_getcats = $db->query_read("
SELECT catid, title
FROM grps_categories
");
while ($grps_makecats = $db->fetch_array($grps_getcats))
{
$grps_makecats['title'] = trim(stripslashes($grps_makecats['title']));
$grps_cats .= "<li id=\"catbullets\"><strong><a href=\"browse.php?c=" . $grps_makecats['catid'] . "\">" . $grps_makecats['title'] . "</a></strong></li>\n";
}
if ($vbulletin->options['grps_moderation'] == "1")
{
$grps_moderation="WHERE grps.visible = '1'";
}
// ###################### extracts newest groups for main grps page
$grps_newest = $db->query_read("
SELECT grps.groupid, grps.title, grps.description, grps.approved, grps.leaderid, grps_setting.hidden_group, user.username
FROM grps
LEFT JOIN " . TABLE_PREFIX . "user AS user ON (user.userid = grps.leaderid)
LEFT JOIN grps_setting ON (grps_setting.groupid = grps.groupid)
WHERE grps.approved = '1' AND grps_setting.hidden_group != '1'
GROUP BY grps.groupid
ORDER BY grps.groupid DESC
LIMIT 5
");
if (!$db->num_rows($grps_newest))
{ // no groups, this becomes obselete after the first group gets created
$grps_newestbits .= "<tr><td class=\"alt1\" align=\"center\">no groups found at this time</td></tr>";
}
else
{ // display the information
while ($grps_newestinfo = $db->fetch_array($grps_newest))
{
$grps_newestinfo['title'] = stripslashes($grps_newestinfo['title']);
$grps_newestinfo['description'] = nl2br(stripslashes($grps_newestinfo['description']));
extract($grps_newestinfo);
eval('$grps_newestbits .= "' . fetch_template("groups_groupshome_newestbits") . '";');
} //now echo the date into the template
}
// ###################### extracts largest (most members) groups for main grps page
$grps_largest = $db->query_read("
SELECT COUNT(*) AS totalmembers, grps.groupid, grps.title, grps.description, grps.approved, grps_setting.hidden_group, user.username, grps_user.join_date
FROM grps_user
LEFT JOIN " . TABLE_PREFIX . "user AS user ON (user.userid = grps_user.userid)
LEFT JOIN grps ON (grps.groupid = grps_user.groupid)
LEFT JOIN grps_setting ON (grps_setting.groupid = grps.groupid)
WHERE grps.approved = '1' AND grps_setting.hidden_group != '1'
GROUP BY grps.groupid
ORDER BY totalmembers DESC, grps.groupid DESC, grps_user.join_date DESC
LIMIT 5
");
if (!$db->num_rows($grps_largest))
{ // no groups, this becomes obselete after the first group gets created
$grps_largestbits .= "<tr><td class=\"alt1\" align=\"center\">no groups found at this time</td></tr>";
}
else
{ // display the information
$totalmembers = $grps_largestinfo['totalmembers'];
while ($grps_largestinfo = $db->fetch_array($grps_largest))
{
$grps_largestinfo['title'] = nl2br(stripslashes($grps_largestinfo['title']));
$grps_largestinfo['description'] = nl2br(stripslashes($grps_largestinfo['description']));
$grps_largestinfo['membercount'] = number_format($grps_largestinfo['membercount']);
extract($grps_largestinfo);
eval('$grps_largestbits .= "' . fetch_template("groups_groupshome_largestbits") . '";');
}
}
// ###################### extracts popular (most messages) groups for main grps page
$grps_popular = $db->query_read("
SELECT COUNT(*) AS totalposts, grps.groupid, grps.title, grps.description, grps.approved, grps_setting.hidden_group, user.username
FROM grps_post
LEFT JOIN " . TABLE_PREFIX . "user AS user ON (user.userid = grps_post.userid)
LEFT JOIN grps ON (grps.groupid = grps_post.groupid)
LEFT JOIN grps_setting ON (grps_setting.groupid = grps.groupid)
WHERE grps.approved = '1' AND grps_setting.hidden_group != '1'
GROUP BY grps.groupid
ORDER BY totalposts DESC, grps.groupid DESC
LIMIT 5
");
if (!$db->num_rows($grps_popular))
{ // no groups, this becomes obselete after the first group gets created
$grps_popularbits .= "<tr><td class=\"alt1\" align=\"center\">no groups found at this time</td></tr>";
}
else
{ // display the information
$totalposts = $grps_popularinfo['totalposts'];
while ($grps_popularinfo = $db->fetch_array($grps_popular))
{
$grps_popularinfo['title'] = nl2br(stripslashes($grps_popularinfo['title']));
$grps_popularinfo['description'] = nl2br(stripslashes($grps_popularinfo['description']));
$grps_popularinfo['postcount'] = number_format($grps_popularinfo['postcount']);
extract($grps_popularinfo);
eval('$grps_popularbits .= "' . fetch_template("groups_groupshome_popularbits") . '";');
}
}
eval("\$grps_main = \"".fetch_template("groups_groupshome")."\";");
}
// ###################### processing action actions
if ($_POST['action'] == "docreategroup")
{ // start process for creating a group
if ($vbulletin->GPC['grps_submit'] && trim($vbulletin->GPC['grps_title']) != "" && trim($vbulletin->GPC['grps_description']) != "" && !empty($vbulletin->userinfo['userid']))
{ //make sure theirs everything you need to submit a form
// lets enter it into the database
$db->query_read("
INSERT INTO grps(title, description, catid, approved, leaderid, membercount)
VALUES ('" . addslashes($vbulletin->GPC['grps_title']) . "', '" . addslashes($vbulletin->GPC['grps_description']) . "', " . intval($vbulletin->GPC['grps_cat']) . ", '0', " . $vbulletin->userinfo['userid'] . ", 1)
");
// ###################### lets do the transaction
if ($vbulletin->options['grpsstoreintegration'])
{
if ($vbulletin->userinfo[$vbulletin->options[uttpoints_pointsfield]] >= $vbulletin->options['grpsmakegroupcost'])
{
$chching = intval($vbulletin->userinfo[$vbulletin->options[uttpoints_pointsfield]] - $vbulletin->options['grpsmakegroupcost']);
$db->query_read("
UPDATE " . TABLE_PREFIX . "user
SET " . $vbulletin->options[uttpoints_pointsfield] . " = $chching
WHERE userid = " . $vbulletin->userinfo[userid] . "
");
}
}
if ($vbulletin->options['grps_notifyadminnewgroup'])
{
vbmail($vbulletin->options['webmasteremail'], $vbulletin->userinfo['username'] . " has created a new group", $vbulletin->userinfo['username'] . " has created a new group on your site, please could you go and moderate this group from within the Admin Control Panel.", "From: \"" . $this->vbulletin->options['hometitle'] . " Mailer\" <" . $vbulletin->options['webmasteremail'] . ">");
}
// thanks for submitting the form send you to index
$vbulletin->url = "/groups/index.php?" . $vbulletin->session->vars['sessionurl'];
eval(print_standard_redirect("grps_thanks"));
}
else
{ //they ++++ed up
// submission error make em retake
$vbulletin->url = $vbulletin->options[groupsurl] . $vbulletin->session->vars['sessionurl'] . "?do=creategroup";
eval(print_standard_redirect("grps_formerror"));
} //form submitted either way
} // end the process for creating a group
$navbits = array();
$navbits[$parent] = 'Groups';
$navbits = construct_navbits($navbits);
//handles the rest of the page and layout.
eval('$grps_navbar = "' . fetch_template('groups_navbar') . '";');
eval('$headinclude = "' . fetch_template('headinclude') . '";');
$headinclude = grps_rewrite_links($headinclude);
eval('$navbar = "' . fetch_template('navbar') . '";');
$navbar = grps_rewrite_links($navbar);
eval('$footer = "' . fetch_template('footer') . '";');
$footer = grps_rewrite_links($footer);
eval("print_output(\"".fetch_template("GROUPS")."\");");
?>
Config:
PHP Code:
<?php
//XXXXXXXXXXXXXXXXXX;,XMMMMMS i7XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXSXXXXXXSSXXXSXXXXXXSXXXSXSXXSXXSXXSXXXX
//XXXXXXXXXXXXXXXX7:XMM0aaZWMMX.rXXXXXXX77;iiiii;7XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
//XXXXXXXXXXXXXXXXiXMZXXS22XX8M0 rXXXXX7r20@MMMW8;;7XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
//XXXXXXXXXXXXXXX7.M8XXXr :0MMMMZ:XXXX72W8S7rrXS8MB;;7XXXXXXXXXXSXXXSXXXXXXSXXXXXXXXXXXSXXXXXXXSXXXXXX
//77777X7777X77XXiSMSXrWMMMBi ,@M XX7rZ8;,,,,i;;;7aMSi777XX77XXX7XX77XXXXX77X7XXX7XX77XX7XXX7XX7XXXXXX
//XXX7777XX777777:BMMMZr i;ZM 777SZi,:::ii;r;r7S@a:777777777777777X7XX777X7X7XXXXXXX7777XX7XX77X77
//XXXXXXXXXXXXXXX:ZM. .,:;rZM 77:8,,::.. .:iXMr;XXXXXXXXXXXXX7X7XXXX7X7X77X7XX77XXXXXXXXXXXXXX
//777777777777777iiMX:,,,,::irXMa.7riM, .;0MMMM8iXM.r777777777777777777777777777777777r777777777r7
//777777777777777r.@MX.,:iiiir2@ ;;7MMMMMMMM@ar:.iX8SMi;777777777777777777777777777777777777777777777
//7777777777777777i MM@r::iir8MMWX Mi .ii;;rS@Xi777777777777777777777777777777777777777777777
//rrrrrrrrrrrrrrrrri iMMMMMMM070MM7 ;Z.,.....,:i;rraZ8X:rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
//r77777777rrrrrrrrr rMaW77i :::i;ZMM a;,,,,::i;r77rZ@0:irrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
//rr;rr;r;i. ,. MX:7 BSX7r7aMM.2;iii;;;rX772MMM ;rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
//rrrrr;, ;B@@8: 28;72@ MSXXrrXWMMaMXii;;r7X7SM, ,rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
//;rr;i XMMMMMMMMMMM:iXX@ M2X2X;SB@M .M0X;;;7a@MM7. ,;rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr;r;rrrrr;
//;;ii MMM@WWWWWWMMM8.XXZM MS::arX@Mr 2ZMMMMMMMM7iSMM :;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
//;;; MM@WWWWWWWWWBM0 7XSM MSa Z00B; MMBr2SZ8r :rSSSZM2 .i;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;r;;;;;;;;
//ii. MM@WWWWMMMM@WMM22XS2BW M0MBa0. 7MM@8SrS2aZ8Z22MM :iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
//;; ,MMMM@W@@. MMM, Za2aZ0.Si;: MMaWMMMMMMMMMMMZ i;;;;iiiii;;;;;;;iiiiiiiii;;;iiiiiiiiiiii
//i: MM8 8@WWWaMMMX .rZ ,r7 ;MMMMMMMW MMX .MMS27;;rrr;iiiiiiiiir777r;iiiiiiiiiiiiiiiii
//ii MM WMWMMMM ,:iM .i;S, :MMMMMMMMMMM :MMMMMZ ZX;;rSaS7;ii;X2r. ;SX;iiiiiiiiiiiiiii
//i: MMaZM@MM0 ,,::iM; ;X MMMMMM MMM rMMMMMMMMMMMMMMM XSXS X;iiiiiiiiiiiiii
//:: MMM@@MMi .:,::i;;M; 7 MMMM; MM MMMMMMMMMMMMMMMMMMM.MMMMMS MMMMM 7i:::i:::::::::
//:: MM@WMM :i;ii;;rrM . MMMM XMMM MM MMMM MMM WMMMMMMMMMMMMW MMMMMMMM i;iiiiiiiiiiiii
//:: MM@MM i;77rrrrr2MX8 MMMM WM2 MMM MMMMMBMMM:MMMMMMMMMM0 MMM r,,,,,:,,,,,,:
//::: MMMM ir;rXrrr78MMMM :MMM ,7ZMM@a::S 8MM. MMMMMMM MM :MMMMMM MMM 7:::::::::::::
//,,, MMM2rX77X7X0MMZ7M MMM0MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMM 7 MMMM :, MMM r,,,,,,,,,,,,,
//,,,, MMMMMMMMMMMW aM MMM2MMMMMMMMMMMMMMMMMMMMMMMMMMMMB MMM .r MMMMM ; MMM Xrr;i:,,,,,,,,
//,,,,,. SX.;aM7 M MMM :88i MMMr MMMMMMMMM :i MMX 7MMMM :i,,,,,.,
//,..,.,. B7i:..2M , ;i @MMM @MMMM MMMMM MMMM MMX @MMMMMMMMMMMMMMMMMMMMB .:......
//..,... MWSX7772WM2 M MMMMMMMMMMMMMMMa , MMM MMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM :,,,,,,
//...... M2 S7XSr ,BM M MMMMMMMMMMMMZ ::i. 8MMM MMMMMMMMMMMMMM2 ;20MMMMMMMMMMMZ .......
//...... MMZ7Z22aBS82@M, @M MMMMMMMM :,.,. MMM .MMMMMWMMM . MMMB ,.....
//.,,,,. MMMMMMMMMMMMMMMM: MMM ::,,,,,, MMM , 0MMMMMMM :::. MMM .:::: MMMM ,,,,,,.
// :MM@ ;MMMMMMM MMM MMMMZ
// MMMMM 0MMM SMMMMM
// GRPS: Commune For Groups ,MMMa MMMMX MMMMMM
// vBulletin Add-On Software MMMM MMMMMMMMMMM
// by sabret00the MMM MMMMMMa
// Copyright 2005 M
// ## Changes Directory so it can accesss vBulletin IF we are outside the forums folder, if not this is not nessary ##
chdir("../");
// ## Set GRPS to rewrite links and images automatically
$rewrite_links = TRUE;
?>
|