Pagina 1 van 1

overall_header.html probleem

Geplaatst: 13 okt 2008, 22:16
door Pascal
  • Adres van je forum: http://www.beta-garden.com/arcade.php
    Event. modificaties op je forum: zat, maar das niet het probleem ^^
    Wanneer ontstond het probleem? gisteren 10.10.08
    phpBB versie: 3.0.2

    Heb je onlangs iets veranderd aan je forum? de overall_header.html
    Wat is het probleem?
op http://www.beta-garden.com/arcade.php zie je de forum overzicht helemaal naar rechts gaan...

op http://www.beta-garden.com is er geen probleem...

mijn overall_header.html
Spoiler: bekijk
<!-- IF WP_DTD -->{WP_DTD}<!-- ELSE --><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><!-- ENDIF -->
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title><!-- IF PHPBB_BASE --><base href="{PHPBB_BASE}" /><!-- ENDIF -->

<!--
phpBB style name: prosilver
Based on style: prosilver (this is the default phpBB3 style)
Original author: Tom Beddard ( http://www.subBlue.com/ )
Modified by:

NOTE: This page was generated by phpBB, the free open-source bulletin board package.
The phpBB Group is not responsible for the content of this page and forum. For more information
about phpBB please visit http://www.phpbb.com
-->

<link rel="shortcut icon" href="/favicon.ico" />
<script type="text/javascript">
// <![CDATA[
var jump_page = '{LA_JUMP_PAGE}:';
var on_page = '{ON_PAGE}';
var per_page = '{PER_PAGE}';
var base_url = '{A_BASE_URL}';
var style_cookie = 'phpBBstyle';
var onload_functions = new Array();
var onunload_functions = new Array();

<!-- IF S_USER_PM_POPUP -->
if ({S_NEW_PM})
{
var url = '{UA_POPUP_PM}';
window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
}
<!-- ENDIF -->

/**
* Find a member
*/
function find_username(url)
{
popup(url, 760, 570, '_usersearch');
return false;
}

/**
* New function for handling multiple calls to window.onload and window.unload by pentapenguin
*/
window.onload = function()
{
for (var i = 0; i < onload_functions.length; i++)
{
eval(onload_functions);
}
}

window.onunload = function()
{
for (var i = 0; i < onunload_functions.length; i++)
{
eval(onunload_functions);
}
}

// ]]>
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/styleswitcher.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>

<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />

<link href="{T_THEME_PATH}/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />

<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->

<link href="{T_THEME_PATH}/style.css" rel="stylesheet" type="text/css" media="screen, projection" />
<script type="text/javascript" src="{U_SHOUT_STATIC}"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>
<script type="text/javascript" src="{U_SHOUT}"></script>

<script type="text/javascript">
//Image resize mod, created bij Ger, http://www.swordfactsbenelux.nl
function resizeimg()
{
if (document.getElementsByTagName)
{
var img, imgs = document.getElementsByTagName('IMG'), i = imgs.length;
while (i--)
{
img = imgs;
if (img.width > 500 && img.src !=
"http://area51.gamerookie.nl/styles/over ... es/grb.png")
{
img.style.width = '500px';
img.style.border = '1px dashed';
img.onclick = function()
{
var pop = window.open(this.src, 'fullscale');
pop.focus();
}
img.style.cursor = 'pointer';
img.title = 'Klik op de afbeelding om hem op ware grootte te bekijken';
if (img.parentNode.nodeName == 'A')
{
img.parentNode.onclick = function() { return false; }
}
}
}
}
}
</script>

</head>

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
<div class="outside">
<div class="top-left"></div><div class="top-center"></div><div class="top-right"></div>
<div class="inside">
<div class="notopgap">

<div id="wrap">
<a id="top" name="top" accesskey="t"></a>
<div id="page-header">
<div class="headerbar"><a href="{U_INDEX}" class="headerlink"><h1>Title</h1></a>
<div class="inner"><span></span>

<div id="site-description">

</div>

<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
<div id="search-box">
<form action="{U_SEARCH}" method="post" id="search">
<fieldset>
<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
<input class="button2" value="{L_SEARCH}" type="submit" /><br />
<a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
</fieldset>
</form>
</div>
<!-- ENDIF -->

</div>
</div>

<div class="navbar">
<div class="inner"><span class="corners-top"><span></span></span>

<ul class="linklist navlinks">
<!-- IF S_IN_ARCADE -->
<li><a class="icon-home" href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <strong>&#8249;</strong> <a href="{U_ARCADE}">{L_ARCADE_INDEX}</a><!-- IF S_IN_SEARCH --> <strong>&#8249;</strong> {L_ARCADE_SEARCH}<!-- ENDIF --><!-- IF S_IN_FAV --> <strong>&#8249;</strong> <a href="{U_ARCADE_FAV}">{L_ARCADE_FAV}</a><!-- ENDIF --><!-- IF S_IN_STATS --> <strong>&#8249;</strong> <a href="{U_ARCADE_STATS}">{L_ARCADE_STATS}</a><!-- ENDIF --><!-- BEGIN navlinks --> <strong>&#8249;</strong> <a href="{navlinks.U_VIEW_CAT}">{navlinks.CAT_NAME}</a><!-- END navlinks --><!-- IF GAME_NAME --> <strong>&#8249;</strong> <a href="{U_VIEW_GAME}">{GAME_NAME}</a><!-- ENDIF --></li>
<!-- ELSE -->

<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>&#8249;</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li>
<!-- ENDIF -->

<li class="rightside"><a href="#" onclick="fontsizeup(); return false;" onkeypress="fontsizeup(); return false;" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li>

<!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF -->
<!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
</ul>

<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<ul class="linklist leftside">
<li class="icon-ucp">
<a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="u">{L_PROFILE}</a>
<!-- IF S_DISPLAY_PM --> (<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>)<!-- ENDIF --> &bull;
<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
<!-- IF U_RESTORE_PERMISSIONS --> &bull;
<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>
<!-- ENDIF -->
</li>
</ul>
<!-- ENDIF -->

<ul class="linklist rightside">
<li class="icon-members"><a href="http://embed.mibbit.com/?channel=%23bet ... tPass=true" title="IRC Chat" target="blank">Chat</a></li>
<li class="icon-kb"><a href="{U_KB}" title="Hier komt iets nieuws!" accesskey="k">Coming!</a></li>
<li class="icon-ucp"><a href="{U_ARCADE}" title="{L_ARCADE_EXPLAIN}">{L_ARCADE}</a></li>

<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_MEMBERLIST --><li class="icon-members"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><li class="icon-register"><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l">{L_LOGIN_LOGOUT}</a></li>
<!-- ENDIF -->
</ul>

<span class="corners-bottom"><span></span></span></div>
</div>

</div>

<a name="start_here"></a>
<div id="page-body">

<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
<div id="message" class="rules">
<div class="inner"><span class="corners-top"><span></span></span>
<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->


jullie weten vast wel raad ^^

Op verzoek verplaatst naar stijlen
- Niek

Re: overall_header.html probleem

Geplaatst: 14 okt 2008, 00:10
door Bee
Niets aan de hand hier in Opera 9.6?

Re: overall_header.html probleem

Geplaatst: 14 okt 2008, 06:59
door Dmeijer13
Ik gebruik internet explorer 7 & Mozilla FireFox, en in beide is het goed...

Re: overall_header.html probleem

Geplaatst: 14 okt 2008, 08:40
door danny1969
Gewoon even melden dat ik het ook rechts zie staan Pascals en ik gebruik ook Mozilla Firefox.

AfbeeldingAfbeelding

Re: overall_header.html probleem

Geplaatst: 14 okt 2008, 10:50
door Pascal
http://img524.imageshack.us/my.php?imag ... sedeq6.jpg

dan ligt het dus aan mij :?

Edit: aan de poster boven mij: Dat bedoel ik dus... :?

Re: overall_header.html probleem

Geplaatst: 14 okt 2008, 11:42
door satshow
Ik zie het ook in opera 9.60 zelfde als jezelf ziet.

Re: overall_header.html probleem

Geplaatst: 15 okt 2008, 11:16
door Pascal
Ik denk zelf dat het aan de <ul>s ligt... ik ben al 2 dagen non stop aan het zoeken maar door de code zie ik de fouten niet meer, ik wordt een beetje scheel als je begrijpt wat ik bedoel...

Re: overall_header.html probleem

Geplaatst: 17 okt 2008, 22:54
door Pascal
Raar, want op index.php heb ik dit niet, alleen bij de arcade (soms) en ook soms bij viewonline...

Iemand een tip?

Re: overall_header.html probleem

Geplaatst: 18 okt 2008, 14:09
door BetaDevil
Kan ik de source van arcade.php zien, of de URL van waar je deze mod gedownload hebt.

Re: overall_header.html probleem

Geplaatst: 18 okt 2008, 16:38
door Pascal

Code: Selecteer alles

<?php
/**
*
* @package arcade
* @version $Id: arcade.php 251 2008-05-09 19:47:41Z jrsweets $
* @copyright (c) 2008 http://www.JeffRusso.net
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* @ignore
*/
define('IN_PHPBB', true);
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);

// We use this to display the flash and image files for the game.  This is to hide the acutal path from the end user.
// However this will not work with IBProV3 or IBPro arcadelib games so the real path must be used for the flash file for those type of games.
if (isset($_GET['swf']) || isset($_GET['img']))
{
    require($phpbb_root_path . 'includes/arcade/arcade_protect.' . $phpEx);
}

// implicit else: we are not in swf or img mode
include($phpbb_root_path . 'common.' . $phpEx);

// Handling of V3arcade games
// Only accept the var if its a POST
$v3arcade = (isset($_POST['sessdo'])) ? request_var('sessdo', '') : '';
if (!empty($v3arcade))
{
    require($phpbb_root_path . 'includes/arcade/scoretype/v3arcade.'.$phpEx);
}
// End Handling of V3arcade games

// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();

include($phpbb_root_path . 'includes/arcade/arcade_common.' . $phpEx);
// Initialize arcade auth
$auth_arcade->acl($user->data);
// Initialize arcade class
$arcade = new arcade();

// Is arcade disabled and user not an admin?
if ($arcade->config['arcade_disable'] && !$auth->acl_get('a_'))
{
    header('HTTP/1.1 503 Service Unavailable');

    $message = (!empty($arcade->config['arcade_disable_msg'])) ? $arcade->config['arcade_disable_msg'] : 'ARCADE_DISABLE';
    trigger_error($message);
}

// Get the varibles we will use to build the arcade pages
$mode = request_var('mode', '');
$cat_id    = request_var('c', 0);
$game_id = request_var('g', 0);
$user_id = request_var('u', 0);
$start = request_var('start', 0);
$term = request_var('term', '');
$type = request_var('type', '');

if ($mode == 'download' && $type == 'list' && $arcade->config['download_list'])
{
    $arcade->display_download_list();
}

// Assign index specific vars
$template->assign_vars(array(
    'CAT_IMG'                => $user->img('forum_read', 'NO_NEW_GAMES'),
    'CAT_NEW_IMG'            => $user->img('forum_unread', 'NEW_GAMES'),
    'CAT_LOCKED_IMG'        => $user->img('forum_read_locked', 'NEW_GAMES_LOCKED'),
    'CAT_NEW_LOCKED_IMG'    => $user->img('forum_unread_locked', 'NO_NEW_GAMES_LOCKED'),

    'S_LOGIN_ACTION'        => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=login') . '&redirect=' . urlencode(str_replace('&', '&', build_url())),
    )
);

switch ($mode)
{
    case 'random':
        $random_game = array();
        $random_game = $arcade->get_random_game();
        if (!empty($random_game))
        {
            redirect(append_sid("{$phpbb_root_path}arcade.$phpEx", 'mode=play&g='. $random_game));
        }
    break;

    case 'stats':
        $arcade->set_data($mode);
        include($phpbb_root_path . 'includes/arcade/arcade_stats.'.$phpEx);
    break;

    case 'download':
        include($phpbb_root_path . 'includes/arcade/arcade_download.'.$phpEx);
    break;

    case 'play':
    case 'popup':
        if (!isset($game_id) || empty($game_id))
        {
            break;
        }

        // We won't let guests play games in a new window, it would cause some other problems.
        if ($mode == 'popup' && !$user->data['is_registered'])
        {
            break;
        }

        if (!$user->data['is_registered'] && !$auth_arcade->acl_getc_global('c_play'))
        {
            $total_games = $arcade->get_total('games');
            $message =  sprintf($user->lang['ARCADE_REGISTER_MESSAGE_PLAY'], $total_games, '<a href="' . append_sid("{$phpbb_root_path}ucp.$phpEx", "mode=register") . '">', '</a>', '<a href="' . append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=login&redirect=' . urlencode("arcade.$phpEx?mode=play&g=$game_id")) . '">', '</a>');
            trigger_error($message);
        }

        include($phpbb_root_path . 'includes/arcade/arcade_play.'.$phpEx);
    break;

    case 'score':
    case 'done':
        // Well you should never get to this condition if you are not
        // logged in however just in case...
        if (!$user->data['is_registered'])
        {
            redirect(append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=login'));
        }
        include($phpbb_root_path . 'includes/arcade/arcade_score.'.$phpEx);
    break;

    case 'addfav':
    case 'delfav':
        $arcade->set_arcade_favorites($mode, $cat_id, $game_id);
    break;

    case 'cat':
        // Break out and diplay main arcade page if the cat_id is not set
        if (empty($cat_id))
        {
            break;
        }

    case 'fav':
    case 'search':
        include($phpbb_root_path . 'includes/arcade/arcade_games.'.$phpEx);
    break;

    default:
    // The default case is to continue to load the page
    break;
}
// At the index display all the categories...
// Configure style, language, etc.
display_arcade_header($arcade->config['welcome_index'], $arcade->config['search_index'], $arcade->config['links_index']);
display_arcade();
display_arcade_online();

// Output page
page_header($user->lang['ARCADE_INDEX'], false);

$template->set_filenames(array(
    'body' => 'arcade/arcade_index_body.html')
);

page_footer();
?>
ik heb de arcade van: http://www.phpbb.com/community/viewtopi ... 0&t=685225