أخي انسخ هذا الكود واستبدله بالموجود في ملفcmps_index.php ويجب أن تغير اسم ملف cmps_index.php الي index.php وتقوم برفعه خارج مجلد vb وهذا هو الكود المعدل
كود PHP:
<?php
// ++=========================================================================++
// || vBadvanced CMPS v3.0.1 (vB 3.6 - vB 3.7) - 59633
// || © 2003-2008 vBadvanced.com - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 06:01, Sun Jul 20th 2008
// || 214059633_406552603562
// ++ ========================================================================++
error_reporting(E_ALL & ~E_NOTICE);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
define('VBA_SCRIPT', 'CMPS');
// ============================================
// Enter the full path to your forum here
// Example: /home/emirates/public_html/vb
// ============================================
$forumpath = '/home/emirates/public_html/vb';
// ============================================
// No Further Editing Necessary!
// ============================================
if ($forumpath)
{
if (!is_dir($forumpath))
{
echo 'Invalid forum path specified! Please edit this file and be sure to include the correct path for your $forumpath variable.';
exit;
}
chdir($forumpath);
}
$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();
require_once('./includes/vba_cmps_include_template.php');
require_once('./global.php');
print_portal_output($home);
?>
والسلام عليكم ورحمة الله وبركاتة
مواقع النشر (المفضلة)