[SUPPORT]UberCMS Vip Shop Fix

firsthacks

New Member
Sep 17, 2012
20
0
To Fix The VIP SHOP
img1.png

Just Replace vipshop.php with this
PHP:
<?php
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d'
| http://www.meth0d.org
| #######################################################################
| This program is free software: you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation, either version 3 of the License, or
| (at your option) any later version.
| #######################################################################
| This program is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
\======================================================================*/
 
 
 
define('TAB_ID', 12);
define('PAGE_ID', 13);
 
require_once "global.php";
 
if (!LOGGED_IN)
{
    header("Location: /");
    exit;
}
 
$tpl->Init();
 
$tpl->AddGeneric('head-init');
 
$tpl->AddIncludeSet('generic');
$tpl->WriteIncludeFiles();
 
$tpl->AddGeneric('head-overrides-generic');
$tpl->AddGeneric('head-bottom');
$tpl->AddGeneric('generic-top');
 
$tpl->Write('<div id="column1" class="column">');
$tpl->AddGeneric('comp-vip-redeem');
$tpl->Write('</div>');
 
$tpl->Write('<div id="column2" class="column">');
$tpl->AddGeneric('comp-vip-balance');
$tpl->AddGeneric('comp-vip-about');
$tpl->AddGeneric('comp-vip-support');
$tpl->Write('</div>');
 
$tpl->AddGeneric('generic-column3');
$tpl->AddGeneric('footer');
 
$tpl->SetParam('page_title', 'VIP Shop');
$tpl->SetParam('body_id', 'home');
 
$tpl->Output();
 
?>

how it was fixed > looks like somewone edited it
PHP:
/** Secret! **/ require_once "error.php"; exit; /** Secret! **/

Hope i helped
 

Users who are viewing this thread

Top