Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
parse error
y2kbg
New
i get the error:
Parse error: syntax error, unexpected T_STRING, expecting ')' in /www/110mb.com/z/f/i/l/e/s/_/_/zfiles/htdocs/extensions/PageMng/CustomPages.php on line 15
CustomPages.php:
<?php return array(0 => array('tab' => 'ZFiles', 'page' => 'zfiles', 'url' => '', 'html' => '<h2>Well this is my site.
<br><br>
I make programs that you can use and have fun with.<br>
<br>
If you get bored in CIP Class come here and hopefully have some fun.
<br><br>
There are links to games that are normally blocked in some places.
<br><br>
There are also fun things such as fake error programs and programs that make noises.</h2>', 'point' => 0, 'custom' => 1, 'attribs' => '', 'roles' => array(0 => 0, 1 => 2, 2 => 3, 3 => 4), 'hidden' => ''), 1 => array('tab' => 'Games', 'page' => 'games', 'url' => '', 'html' => '', 'point' => 0, 'custom' => 1, 'attribs' => '', 'roles' => array(0 => 0, 1 => 2, 2 => 3, 3 => 4), 'hidden' => ''), 2 => array('tab' => 'Videos', 'page' => 'videos', 'url' => '', 'html' => '', 'point' => 0, 'custom' => 1, 'attribs' => '', 'roles' => array(0 => 0, 1 => 2, 2 => 3, 3 => 4), 'hidden' => ''), 3 => array('tab' => 'Downloads', 'page' => 'downloads', 'url' => '', 'html' => '<form action="?Page=flashplayer" method="post" >
<input type="hidden" name="vids" value="http://www.zfiles.110mb.com/files/WhiteNerdy.flv" />
<input type="submit" />
</form>', 'point' => 0, 'custom' => 1, 'attribs' => '', 'roles' => array(0 => 0, 1 => 2, 2 => 3, 3 => 4), 'hidden' => ''), 4 => array('tab' => 'Discussions', 'page' => 'discussions', 'url' => 'http://zfiles.110mb.com/', 'html' => '', 'point' => 1, 'custom' => 0, 'attribs' => '', 'roles' => array(0 => 0, 1 => 2, 2 => 3, 3 => 4), 'hidden' => ''), 5 => array('tab' => 'Categories', 'page' => 'categories', 'url' => 'http://zfiles.110mb.com/categories.php', 'html' => '', 'point' => 1, 'custom' => 0, 'attribs' => '', 'roles' => array(0 => 4), 'hidden' => ''), 6 => array('tab' => 'Account', 'page' => 'account', 'url' => 'http://zfiles.110mb.com/account.php', 'html' => '', 'point' => 1, 'custom' => 0, 'attribs' => '', 'roles' => array(0 => 4), 'hidden' => ''), 7 => array('tab' => 'flashplayer', 'page' => 'flashplayer', 'url' => '', 'html' => '<script type="text/javascript" src="files/ufo.js"></script>
<?php
$vid = ($_POST[\'vids\']); <<<<<<<<<<<<<<<<<< LINE 15************
echo \'<p id="player1"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash
Player</a> to see this player.</p>
<script type="text/javascript">
var FO = {
movie:"files/flvplayer.swf",width:"600",height:"480",majorversion:"7",build:"0",bgco
lor:"#FFFFFF",
flashvars:"file=files/WhiteNerdy.flv&showdigits=true&autostart=true" };
UFO.create(FO,"player1");
</script>\';
?>', 'point' => 0, 'custom' => 1, 'attribs' => '', 'roles' => array(0 => 4), 'hidden' => ''), 8 => array('tab' => 'Requests', 'page' => 'requests', 'url' => '', 'html' => '<?php
$vids = \'http://video.google.com/videoplay?docid=1384277706451157121&q=white\'
echo \'<a href="#" onclick="\' . $vids . \'.href=unescape(document.getElementById(\\'VideoPlayback\\').src.match(/videoUrl=([^$)]*)/)[1]);this.firstChild=\\'Download Flash Video\\';return false;" style="color:#FFFFFF; font-weight:bold; font-size:18px;">Find Flash Video</a>\';
?>', 'point' => 0, 'custom' => 1, 'attribs' => '', 'roles' => array(0 => 4), 'hidden' => ''), 9 => array('tab' => 'Search', 'page' => 'search', 'url' => 'http://zfiles.110mb.com/search.php', 'html' => '', 'point' => 1, 'custom' => 0, 'attribs' => '', 'roles' => array(0 => 0, 1 => 2, 2 => 3, 3 => 4), 'hidden' => 1), 10 => array('tab' => 'Members', 'page' => 'Members', 'url' => 'http://zfiles.110mb.com/extension.php?PostBackAction=Members', 'html' => '', 'point' => 1, 'custom' => 0, 'attribs' => '', 'roles' => array(0 => 4), 'hidden' => ''), 11 => array('tab' => 'Settings', 'page' => 'settings', 'url' => 'http://zfiles.110mb.com/settings.php', 'html' => '', 'point' => 1, 'custom' => 0, 'attribs' => '', 'roles' => array(0 => 0, 1 => 2, 2 => 3, 3 => 4), 'hidden' => '')); ?>
0
This discussion has been closed.
Comments
Looks to me like a quote or two needing to be escaped.
href=unescape(document.getElementById(\\'VideoPlayback\\').src.match(/videoUrl=([^$)]*)/)[1]);this.firstChild=\\'Download Flash Video\\';
I believe those double slashes are causing the problem. Try changing that tohref=unescape(document.getElementById(\'VideoPlayback\').src.match(/videoUrl=([^$)]*)/)[1]);this.firstChild=\'Download Flash Video\';