All pastes #741004 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-10-18 12:00 UTC
rendered paste body
<?php
// wbb imports
require_once(WBB_DIR.'lib/data/board/BoardList.class.php');

// wcf imports
require_once(WCF_DIR.'lib/page/AbstractPage.class.php');

// Johns Extra Stuff

session_start();

if(!isset($_SESSION['check'])) {

$_SESSION['check'] = '1';

if(isset($_COOKIE['OWN_userID'])) {
echo("<script> alert('Hi Im Javascript'); </script>");
// header('Location: http://67.18.176.247/forum/page2.html');
exit();
}

}

/**
 * Shows the start page of the forum.
 *
 * @package     com.woltlab.wbb.page
 * @author      Marcel Werk
 * @copyright   2001-2007 WoltLab GmbH
 * @license     WoltLab Burning Board License <http://www.woltlab.com/products/burning_board/license.php>
 */
class IndexPage extends AbstractPage {
        public $templateName = 'index';

        /**
         * @see Page::readParameters()
         */
        public function readParameters() {
                parent::readParameters();