<?php // ++=========================================================================++ // || vBadvanced CMPS v3.2.1 (vB 3.6 - vB 3.8) - 70508 // || © 2003-2010 vBadvanced.com - All Rights Reserved // || This file may not be redistributed in whole or significant part. // || http://vbadvanced.com // || Downloaded 18:06, Tue Feb 9th 2010 // || 467070508_407843050728 // ++ ========================================================================++ 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/vbadvanced/public_html/forum // ============================================ $forumpath = '/home/content/g/a/m/gameapbt/html/forums'; // ============================================ // 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); } ?> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-12946892-1"); pageTracker._trackPageview(); } catch(err) {}</script> PHP:
Are you just posting random spam to get your postcount up? This has nothing to do with it, he just posted HTML in the middle of a PHP file.
...Sorry that I misread the error? I thought I had read the error similar to: Syntax error, unexpected '?' Code (markup): I'm well aware that you can't embed HTML directly in PHP, but I'm not spamming.. On a sidenote, thanks for letting me increase my post count by one..
that code just defines constants,variables and changing directory, don't function any process to screen. I guess it's not the main page of your forum. it is like a settings page. so just requesting this page will print a blank page..
I agree with mehmetm in saying that the file is a configuration page. It looks like something used as the index.php that defines all the basepaths, etc. You're going to want to put that javascript into the header of the vbadvanced template you're using.