Code: Selecteer alles
Parse error: parse error in /data/members/free/tripod/nl/s/c/o/scoutingforum/htdocs/cache/tpl_MorpheusXGreen.index_body.php on line 205

Code: Selecteer alles
Parse error: parse error in /data/members/free/tripod/nl/s/c/o/scoutingforum/htdocs/cache/tpl_MorpheusXGreen.index_body.php on line 205
Code: Selecteer alles
<!-- IF C_PM --><!-- DEFINE $CA_NEW_MSGS = true --><!-- ENDIF -->
{TPL_CONTENT_TOPNAV1}<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" class="navbar-links"><a href="{U_INDEX}">{L_INDEX}</a></td>
<td align="right" class="navbar-text">{CURRENT_TIME}</td>
</tr>
</table>{TPL_CONTENT_TOPNAV2_PM}
<!-- IF $CA_NEW_MSGS --><!-- INCLUDE newpm.tpl --><!-- ENDIF -->
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left" valign="bottom"><span class="gensmall">
<!-- IF S_LOGGED_IN -->
{PRIVATE_MESSAGE_INFO}<br />
{LAST_VISIT_DATE}<br />
<!-- ELSE -->
<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a><br />
<!-- ENDIF -->
{CURRENT_TIME}<br />
{S_TIMEZONE}<br />
</span></td>
<td align="right" valign="bottom" class="gensmall">
<!-- IF S_LOGGED_IN -->
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td align="right" class="gensmall" nowrap="nowrap"><a href="{U_MARK_READ}">{L_MARK_FORUMS_READ}</a></td>
<td class="moderators">|</td>
<td align="left" class="gensmall" nowrap="nowrap"><a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a></td>
</tr>
<tr>
<td align="right" class="gensmall" nowrap="nowrap"><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a></td>
<td class="moderators">|</td>
<td class="gensmall" align="left" nowrap="nowrap"><a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
</tr>
</table>
<form action="{CA_SEARCH_INDEX}" method="post" class="inline-form">
<input type="hidden" name="show_results" value="topics" />
<input type="text" name="search_keywords" class="post" size="15" />
<input type="submit" value="{L_SEARCH}" class="mainoption" />
</form>
</td>
</tr>
</table>
<?php
/* check for new messages */
$catrow_count = ( isset($this->_tpldata['catrow.']) ) ? sizeof($this->_tpldata['catrow.']) : 0;
for($catrow_i = 0; $catrow_i < $catrow_count; $catrow_i++)
{
$catrow_item = &$this->_tpldata['catrow.'][$catrow_i];
// check for new messages
$new_msg = false;
$forumrow_count = ( isset($catrow_item['forumrow.']) ) ? sizeof($catrow_item['forumrow.']) : 0;
for ($forumrow_i = 0; $forumrow_i < $forumrow_count; $forumrow_i++)
{
$forumrow_item = &$catrow_item['forumrow.'][$forumrow_i];
$new_item = strpos($forumrow_item['FORUM_FOLDER_IMG'], '_new') > 0 ? true : false;
if($new_item)
{
$new_msg = true;
$forumrow_item['XS_NEW'] = '-new';
$forumrow_item['LAST_POST'] = str_replace('icon_latest_reply.gif','icon_newest_reply.gif', $forumrow_item['LAST_POST']);
}
if(strlen($forumrow_item['L_MODERATOR']) && $forumrow_item['L_MODERATOR'] !== ' ')
{
$forumrow_item['L_MODERATOR'] .= ':';
}
}
// add xs switch
$catrow_item['TPL_HDR1'] = $new_msg ? $this->vars['TPL_HDR1_ORANGE'] : $this->vars['TPL_HDR1_BLUE'];
$catrow_item['TPL_HDR2'] = $new_msg ? $this->vars['TPL_HDR2_NEW'] : $this->vars['TPL_HDR2'];
$catrow_item['TPL_FTR'] = $new_msg ? $this->vars['TPL_FTR_NEW'] : $this->vars['TPL_FTR'];
}
?>
<!-- BEGIN catrow -->
{catrow.TPL_HDR1}<a href="javascript:ShowHide('cat_{catrow.CAT_ID}','cat2_{catrow.CAT_ID}','catrow_{catrow.CAT_ID}');">{catrow.CAT_DESC}</a>{catrow.TPL_HDR2}<div id="cat_{catrow.CAT_ID}" style="display: ''; position: relative;"><table width="100%" cellpadding="2" cellspacing="1" class="forumline">
<tr>
<th colspan="2" height="25" nowrap="nowrap"> {L_FORUM} </th>
<th nowrap="nowrap"> {L_TOPICS} </th>
<th nowrap="nowrap"> {L_POSTS} </th>
<th nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row4" align="center" valign="middle" width="30" height="30"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="28" height="32" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1h{catrow.forumrow.XS_NEW}" width="70%" {T_ONCLICK}="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><a class="forumlink{catrow.forumrow.XS_NEW}" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
<span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
</span><span class="moderators">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row3" align="center" valign="middle" width="130"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
</table></div>{catrow.TPL_FTR}
<script language="javascript" type="text/javascript">
<!--
tmp = 'catrow_{catrow.CAT_ID}';
if(GetCookie(tmp) == '2')
{
ShowHide('cat_{catrow.CAT_ID}','cat2_{catrow.CAT_ID}','catrow_{catrow.CAT_ID}');
}
//-->
</script>
<!-- END catrow -->
<!-- End forum content cell -->
</td>
<!-- Start right nav menu col, remove next 4 lines if right menu not required -->
<!-- BEGIN switch_right_nav -->
<td width="{XS_NAV_RIGHT_WIDTH}" align="left" valign="top">{R_MENU}</td>
<!-- END switch_right_nav -->
<!-- End right nav menu col -->
</tr>
</table>
<!-- end of nav menu addition -->
<!-- Start add - Fully integrated shoutbox MOD -->
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2" class="forumline">
<tr>
<td align="center" nowrap="nowrap" class="forumline"><span class="forumline"><a href="{U_SHOUTBOX_MAX}">{L_SHOUTBOX}</a></span></td>
</tr>
<tr>
<td>
<iframe src="{U_SHOUTBOX}" scrolling="YES" width="100%" height="180" frameborder="0" marginheight="0" marginwidth="0" allowtransparency="true"></iframe>
</td>
</tr>
</table>
<br/>
<!-- End add - Fully integrated shoutbox MOD -->
{TPL_HDR1}<a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a>{TPL_HDR2}<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="row4" align="center" valign="middle" rowspan="2"><img src="{T_IMAGESET_PATH}/stats.gif" alt="{L_WHO_IS_ONLINE}" /></td>
<td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
</td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}<br />{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>{TPL_FTR}
<table cellspacing="3" border="0" align="center" cellpadding="0" class="forumline-empty row4">
<tr>
<td width="20" align="center"><img src="{T_IMAGESET_PATH}/folder_new_big.gif" alt="{L_NEW_POSTS}"/></td>
<td><span class="gensmall">{L_NEW_POSTS}</span></td>
<td> </td>
<td width="20" align="center"><img src="{T_IMAGESET_PATH}/folder_big.gif" alt="{L_NO_NEW_POSTS}" /></td>
<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
<td> </td>
<td width="20" align="center"><img src="{T_IMAGESET_PATH}/folder_locked_big.gif" alt="{L_FORUM_LOCKED}" /></td>
<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>
<table cellspacing="4" border="0" align="center" cellpadding="0">
<tr>
<br>
<br>
<!-- Powered by: Crafty Syntax Live Help http://www.craftysyntax.com/ -->
<a href="/scoutingforum/livehelp/livehelp.php?relative=Y&&pingtimes=30"><img src=/scoutingforum/livehelp/image.php? border=0 ></a>
<!-- copyright 2003 - 2005 by Eric Gerdes -->
</tr>
</table>
{TPL_CONTENT_BOTTOMNAV1}<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" class="navbar-links"><a href="{U_INDEX}">{L_INDEX}</a></td>
<td align="right" class="navbar-text">{CURRENT_TIME}</td>
</tr>
</table>{TPL_CONTENT_BOTTOMNAV2}Code: Selecteer alles
<!-- Powered by: Crafty Syntax Live Help http://www.craftysyntax.com/ -->
<a href="/scoutingforum/livehelp/livehelp.php?relative=Y&&pingtimes=30"><img src=/scoutingforum/livehelp/image.php? border=0 ></a>
<!-- copyright 2003 - 2005 by Eric Gerdes -->Code: Selecteer alles
<!-- IF C_PM --><!-- DEFINE $CA_NEW_MSGS = true --><!-- ENDIF -->
{TPL_CONTENT_TOPNAV1}<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" class="navbar-links"><a href="{U_INDEX}">{L_INDEX}</a></td>
<td align="right" class="navbar-text">{CURRENT_TIME}</td>
</tr>
</table>{TPL_CONTENT_TOPNAV2_PM}
<!-- IF $CA_NEW_MSGS --><!-- INCLUDE newpm.tpl --><!-- ENDIF -->
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left" valign="bottom"><span class="gensmall">
<!-- IF S_LOGGED_IN -->
{PRIVATE_MESSAGE_INFO}<br />
{LAST_VISIT_DATE}<br />
<!-- ELSE -->
<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a><br />
<!-- ENDIF -->
{CURRENT_TIME}<br />
{S_TIMEZONE}<br />
</span></td>
<td align="right" valign="bottom" class="gensmall">
<!-- IF S_LOGGED_IN -->
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td align="right" class="gensmall" nowrap="nowrap"><a href="{U_MARK_READ}">{L_MARK_FORUMS_READ}</a></td>
<td class="moderators">|</td>
<td align="left" class="gensmall" nowrap="nowrap"><a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a></td>
</tr>
<tr>
<td align="right" class="gensmall" nowrap="nowrap"><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a></td>
<td class="moderators">|</td>
<td class="gensmall" align="left" nowrap="nowrap"><a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
</tr>
</table>
<form action="{CA_SEARCH_INDEX}" method="post" class="inline-form">
<input type="hidden" name="show_results" value="topics" />
<input type="text" name="search_keywords" class="post" size="15" />
<input type="submit" value="{L_SEARCH}" class="mainoption" />
</form>
</td>
</tr>
</table>
<?php
/* check for new messages */
$catrow_count = ( isset($this->_tpldata['catrow.']) ) ? sizeof($this->_tpldata['catrow.']) : 0;
for($catrow_i = 0; $catrow_i < $catrow_count; $catrow_i++)
{
$catrow_item = &$this->_tpldata['catrow.'][$catrow_i];
// check for new messages
$new_msg = false;
$forumrow_count = ( isset($catrow_item['forumrow.']) ) ? sizeof($catrow_item['forumrow.']) : 0;
for ($forumrow_i = 0; $forumrow_i < $forumrow_count; $forumrow_i++)
{
$forumrow_item = &$catrow_item['forumrow.'][$forumrow_i];
$new_item = strpos($forumrow_item['FORUM_FOLDER_IMG'], '_new') > 0 ? true : false;
if($new_item)
{
$new_msg = true;
$forumrow_item['XS_NEW'] = '-new';
$forumrow_item['LAST_POST'] = str_replace('icon_latest_reply.gif','icon_newest_reply.gif', $forumrow_item['LAST_POST']);
}
if(strlen($forumrow_item['L_MODERATOR']) && $forumrow_item['L_MODERATOR'] !== ' ')
{
$forumrow_item['L_MODERATOR'] .= ':';
}
}
// add xs switch
$catrow_item['TPL_HDR1'] = $new_msg ? $this->vars['TPL_HDR1_ORANGE'] : $this->vars['TPL_HDR1_BLUE'];
$catrow_item['TPL_HDR2'] = $new_msg ? $this->vars['TPL_HDR2_NEW'] : $this->vars['TPL_HDR2'];
$catrow_item['TPL_FTR'] = $new_msg ? $this->vars['TPL_FTR_NEW'] : $this->vars['TPL_FTR'];
}
?>
<!-- BEGIN catrow -->
{catrow.TPL_HDR1}<a href="javascript:ShowHide('cat_{catrow.CAT_ID}','cat2_{catrow.CAT_ID}','catrow_{catrow.CAT_ID}');">{catrow.CAT_DESC}</a>{catrow.TPL_HDR2}<div id="cat_{catrow.CAT_ID}" style="display: ''; position: relative;"><table width="100%" cellpadding="2" cellspacing="1" class="forumline">
<tr>
<th colspan="2" height="25" nowrap="nowrap"> {L_FORUM} </th>
<th nowrap="nowrap"> {L_TOPICS} </th>
<th nowrap="nowrap"> {L_POSTS} </th>
<th nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row4" align="center" valign="middle" width="30" height="30"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="28" height="32" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1h{catrow.forumrow.XS_NEW}" width="70%" {T_ONCLICK}="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><a class="forumlink{catrow.forumrow.XS_NEW}" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
<span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
</span><span class="moderators">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row3" align="center" valign="middle" width="130"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
</table></div>{catrow.TPL_FTR}
<script language="javascript" type="text/javascript">
<!--
tmp = 'catrow_{catrow.CAT_ID}';
if(GetCookie(tmp) == '2')
{
ShowHide('cat_{catrow.CAT_ID}','cat2_{catrow.CAT_ID}','catrow_{catrow.CAT_ID}');
}
//-->
</script>
<!-- END catrow -->
</td>
<!-- BEGIN switch_right_nav -->
<td width="{XS_NAV_RIGHT_WIDTH}" align="left" valign="top">{R_MENU}</td>
<!-- END switch_right_nav -->
</tr>
</table>
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2" class="forumline">
<tr>
<td align="center" nowrap="nowrap" class="forumline"><span class="forumline"><a href="{U_SHOUTBOX_MAX}">{L_SHOUTBOX}</a></span></td>
</tr>
<tr>
<td>
<iframe src="{U_SHOUTBOX}" scrolling="YES" width="100%" height="180" frameborder="0" marginheight="0" marginwidth="0" allowtransparency="true"></iframe>
</td>
</tr>
</table>
<br/>
{TPL_HDR1}<a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a>{TPL_HDR2}<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="row4" align="center" valign="middle" rowspan="2"><img src="{T_IMAGESET_PATH}/stats.gif" alt="{L_WHO_IS_ONLINE}" /></td>
<td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
</td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}<br />{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>{TPL_FTR}
<table cellspacing="3" border="0" align="center" cellpadding="0" class="forumline-empty row4">
<tr>
<td width="20" align="center"><img src="{T_IMAGESET_PATH}/folder_new_big.gif" alt="{L_NEW_POSTS}"/></td>
<td><span class="gensmall">{L_NEW_POSTS}</span></td>
<td> </td>
<td width="20" align="center"><img src="{T_IMAGESET_PATH}/folder_big.gif" alt="{L_NO_NEW_POSTS}" /></td>
<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
<td> </td>
<td width="20" align="center"><img src="{T_IMAGESET_PATH}/folder_locked_big.gif" alt="{L_FORUM_LOCKED}" /></td>
<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>
<table cellspacing="4" border="0" align="center" cellpadding="0">
<tr>
<br>
<br>
<a href="/scoutingforum/livehelp/livehelp.php?relative=Y&&pingtimes=30"><img src=/scoutingforum/livehelp/image.php? border=0 ></a>
</tr>
</table>
{TPL_CONTENT_BOTTOMNAV1}<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" class="navbar-links"><a href="{U_INDEX}">{L_INDEX}</a></td>
<td align="right" class="navbar-text">{CURRENT_TIME}</td>
</tr>
</table>{TPL_CONTENT_BOTTOMNAV2}Code: Selecteer alles
Parse error: parse error in /data/members/free/tripod/nl/s/c/o/scoutingforum/htdocs/cache/tpl_MorpheusXGreen.index_body.php on line 222Dit is het hele bestand! Het bestand waarin de parse error optreedt is een cacheversie hiervan, en daarin is een deel van de inhoud dus al omgezet naar platte tekst. Daarvoor al moet er dus ergens een aanpassing gemaakt zijn in index_body.tpl die deze parse error veroorzaakt.lennardesveld schreef:Het bovenstaande script heeft (maar) 173 regels, en de fout zit in regel 222.
Geef eens het hele bestand. Dus niet de delen waar het (volgens jou) niet aan ligt niet. Geef gewoon het hele bestand.
Zou ook nog kunnen, ja.bee schreef:Dit is het hele bestand! Het bestand waarin de parse error optreedt is een cacheversie hiervan, en daarin is een deel van de inhoud dus al omgezet naar platte tekst. Daarvoor al moet er dus ergens een aanpassing gemaakt zijn in index_body.tpl die deze parse error veroorzaakt.lennardesveld schreef:Het bovenstaande script heeft (maar) 173 regels, en de fout zit in regel 222.
Geef eens het hele bestand. Dus niet de delen waar het (volgens jou) niet aan ligt niet. Geef gewoon het hele bestand.
Code: Selecteer alles
Parse error: parse error in /data/members/free/tripod/nl/s/c/o/scoutingforum/htdocs/includes/template.php(929) : eval()'d code on line 219