Parse error: syntax error, unexpected 'else' (T_ELSE) in


#1

I'm getting an error with phpbb throwing this:

Parse error: syntax error, unexpected 'else' (T_ELSE) in /home/csgorepl/public_html/forums/cache/tpl_clarion_forumlist_body.html.php on line 60

on this file:

<?php if (!defined('IN_PHPBB')) exit; $_forumrow_count = (isset($this->_tpldata['forumrow'])) ? sizeof($this->_tpldata['forumrow']) : 0;if ($_forumrow_count) {for ($_forumrow_i = 0; $_forumrow_i < $_forumrow_count; ++$_forumrow_i){$_forumrow_val = &$this->_tpldata['forumrow'][$_forumrow_i]; if (( $_forumrow_val['S_IS_CAT'] && ! $_forumrow_val['S_FIRST_ROW'] ) || $_forumrow_val['S_NO_CAT']) {  ?>

			</ul>
		</div>
		</div>
	<?php } if ($_forumrow_val['S_IS_CAT'] || $_forumrow_val['S_FIRST_ROW'] || $_forumrow_val['S_NO_CAT']) {  ?>

		<div class="zeromargin">
		<div class="forabg">
			<ul class="topiclist">
				<li class="header">
					<dl class="icon">
						<dt><?php if ($_forumrow_val['S_IS_CAT']) {  ?><a href="<?php echo $_forumrow_val['U_VIEWFORUM']; ?>"><?php echo $_forumrow_val['FORUM_NAME']; ?></a><?php } else { echo ((isset($this->_rootref['L_FORUM'])) ? $this->_rootref['L_FORUM'] : ((isset($user->lang['FORUM'])) ? $user->lang['FORUM'] : '{ FORUM }')); } ?></dt>
						<dd class="topics"><?php echo ((isset($this->_rootref['L_TOPICS'])) ? $this->_rootref['L_TOPICS'] : ((isset($user->lang['TOPICS'])) ? $user->lang['TOPICS'] : '{ TOPICS }')); ?></dd>
						<dd class="posts"><?php echo ((isset($this->_rootref['L_POSTS'])) ? $this->_rootref['L_POSTS'] : ((isset($user->lang['POSTS'])) ? $user->lang['POSTS'] : '{ POSTS }')); ?></dd>
						<dd class="lastpost"><span><?php echo ((isset($this->_rootref['L_LAST_POST'])) ? $this->_rootref['L_LAST_POST'] : ((isset($user->lang['LAST_POST'])) ? $user->lang['LAST_POST'] : '{ LAST_POST }')); ?></span></dd>
					</dl>
				</li>
			</ul>
			<ul class="topiclist forums">
	<?php } if (! $_forumrow_val['S_IS_CAT']) {  ?>

		<li class="row">
			<dl class="icon">
				<dt class="chooser-icon <?php if ($_forumrow_val['S_UNREAD_FORUM']) {  ?> unread<?php } else { ?>read<?php } ?>" style="background-image: url(<?php echo $_forumrow_val['FORUM_FOLDER_IMG_SRC']; ?>); background-repeat: no-repeat;"></dt>
				<dt title="<?php echo $_forumrow_val['FORUM_FOLDER_IMG_ALT']; ?>">
				<?php if ($this->_rootref['S_ENABLE_FEEDS'] && $_forumrow_val['S_FEED_ENABLED']) {  ?><!-- <a class="feed-icon-forum" title="<?php echo ((isset($this->_rootref['L_FEED'])) ? $this->_rootref['L_FEED'] : ((isset($user->lang['FEED'])) ? $user->lang['FEED'] : '{ FEED }')); ?> - <?php echo $_forumrow_val['FORUM_NAME']; ?>" href="<?php echo (isset($this->_rootref['U_FEED'])) ? $this->_rootref['U_FEED'] : ''; ?>?f=<?php echo $_forumrow_val['FORUM_ID']; ?>"><img src="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''; ?>/images/feed.gif" alt="<?php echo ((isset($this->_rootref['L_FEED'])) ? $this->_rootref['L_FEED'] : ((isset($user->lang['FEED'])) ? $user->lang['FEED'] : '{ FEED }')); ?> - <?php echo $_forumrow_val['FORUM_NAME']; ?>" /></a> --><?php } if ($_forumrow_val['FORUM_IMAGE']) {  ?><span class="forum-image"><?php echo $_forumrow_val['FORUM_IMAGE']; ?></span><?php } ?>

					<a href="<?php echo $_forumrow_val['U_VIEWFORUM']; ?>" class="forumtitle"><?php echo $_forumrow_val['FORUM_NAME']; ?></a><br />
					<?php echo $_forumrow_val['FORUM_DESC']; ?>

					<?php if ($_forumrow_val['MODERATORS']) {  ?>

						<br /><strong><?php echo $_forumrow_val['L_MODERATOR_STR']; ?>:</strong> <?php echo $_forumrow_val['MODERATORS']; ?>

					<?php } if ($_forumrow_val['SUBFORUMS'] && $_forumrow_val['S_LIST_SUBFORUMS']) {  ?><br /><strong><?php echo $_forumrow_val['L_SUBFORUM_STR']; ?></strong> <?php echo $_forumrow_val['SUBFORUMS']; } ?>

				</dt>
				<?php if ($_forumrow_val['CLICKS']) {  ?>

					<dd class="redirect"><span><?php echo ((isset($this->_rootref['L_REDIRECTS'])) ? $this->_rootref['L_REDIRECTS'] : ((isset($user->lang['REDIRECTS'])) ? $user->lang['REDIRECTS'] : '{ REDIRECTS }')); ?>: <?php echo $_forumrow_val['CLICKS']; ?></span></dd>
				<?php } else if (! $_forumrow_val['S_IS_LINK']) {  ?>

					<dd class="topics"><?php echo $_forumrow_val['TOPICS']; ?> <dfn><?php echo ((isset($this->_rootref['L_TOPICS'])) ? $this->_rootref['L_TOPICS'] : ((isset($user->lang['TOPICS'])) ? $user->lang['TOPICS'] : '{ TOPICS }')); ?></dfn></dd>
					<dd class="posts"><?php echo $_forumrow_val['POSTS']; ?> <dfn><?php echo ((isset($this->_rootref['L_POSTS'])) ? $this->_rootref['L_POSTS'] : ((isset($user->lang['POSTS'])) ? $user->lang['POSTS'] : '{ POSTS }')); ?></dfn></dd>
					<dd class="lastpost"><span>
						<?php if ($_forumrow_val['U_UNAPPROVED_TOPICS']) {  ?><a href="<?php echo $_forumrow_val['U_UNAPPROVED_TOPICS']; ?>"><?php echo (isset($this->_rootref['UNAPPROVED_IMG'])) ? $this->_rootref['UNAPPROVED_IMG'] : ''; ?></a><?php } if ($_forumrow_val['LAST_POST_TIME']) {  ?><dfn><?php echo ((isset($this->_rootref['L_LAST_POST'])) ? $this->_rootref['L_LAST_POST'] : ((isset($user->lang['LAST_POST'])) ? $user->lang['LAST_POST'] : '{ LAST_POST }')); ?></dfn> <?php echo ((isset($this->_rootref['L_POST_BY_AUTHOR'])) ? $this->_rootref['L_POST_BY_AUTHOR'] : ((isset($user->lang['POST_BY_AUTHOR'])) ? $user->lang['POST_BY_AUTHOR'] : '{ POST_BY_AUTHOR }')); ?> <?php echo $_forumrow_val['LAST_POSTER_FULL']; ?>

					<?php if (! $this->_rootref['S_IS_BOT']) {  ?><p class="topicdetails"><?php if ($this->_rootref['S_LTT_ICONS'] && $_forumrow_val['TOPIC_ICON_IMG']) {  ?><img src="<?php echo (isset($this->_rootref['T_ICONS_PATH'])) ? $this->_rootref['T_ICONS_PATH'] : ''; echo $_forumrow_val['TOPIC_ICON_IMG']; ?>" width="<?php echo $_forumrow_val['TOPIC_ICON_IMG_WIDTH']; ?>" height="<?php echo $_forumrow_val['TOPIC_ICON_IMG_HEIGHT']; ?>" alt="" title="" /> <?php } ?><a href="<?php if (! $this->_rootref['S_LTT']) {  echo $_forumrow_val['U_FIRST_POST']; } else { echo $_forumrow_val['U_LAST_POST']; } ?>" title="<?php echo $_forumrow_val['LATEST_TOPIC_TITLE_FULL']; ?>"><?php echo $_forumrow_val['LATEST_TOPIC_TITLE_SHORT']; ?></a></p><?php } if (! $this->_rootref['S_IS_BOT']) {  ?><p class="topicdetails"><?php if ($this->_rootref['S_LTT_ICONS'] && $_forumrow_val['TOPIC_ICON_IMG']) {  ?><img src="<?php echo (isset($this->_rootref['T_ICONS_PATH'])) ? $this->_rootref['T_ICONS_PATH'] : ''; echo $_forumrow_val['TOPIC_ICON_IMG']; ?>" width="<?php echo $_forumrow_val['TOPIC_ICON_IMG_WIDTH']; ?>" height="<?php echo $_forumrow_val['TOPIC_ICON_IMG_HEIGHT']; ?>" alt="" title="" /> <?php } ?><a href="<?php if (! $this->_rootref['S_LTT']) {  echo $_forumrow_val['U_FIRST_POST']; } else { echo $_forumrow_val['U_LAST_POST']; } ?>" title="<?php echo $_forumrow_val['LATEST_TOPIC_TITLE_FULL']; ?>"><?php echo $_forumrow_val['LATEST_TOPIC_TITLE_SHORT']; ?></a></p><?php } if (! $this->_rootref['S_IS_BOT']) {  ?><p class="topicdetails"><?php if ($this->_rootref['S_LTT_ICONS'] && $_forumrow_val['TOPIC_ICON_IMG']) {  ?><img src="<?php echo (isset($this->_rootref['T_ICONS_PATH'])) ? $this->_rootref['T_ICONS_PATH'] : ''; echo $_forumrow_val['TOPIC_ICON_IMG']; ?>" width="<?php echo $_forumrow_val['TOPIC_ICON_IMG_WIDTH']; ?>" height="<?php echo $_forumrow_val['TOPIC_ICON_IMG_HEIGHT']; ?>" alt="" title="" /> <?php } ?><a href="<?php if (! $this->_rootref['S_LTT']) {  echo $_forumrow_val['U_FIRST_POST']; } else { echo $_forumrow_val['U_LAST_POST']; } ?>" title="<?php echo $_forumrow_val['LATEST_TOPIC_TITLE_FULL']; ?>"><?php echo $_forumrow_val['LATEST_TOPIC_TITLE_SHORT']; ?></a></p><?php } if (! $this->_rootref['S_IS_BOT']) {  if (! $this->_rootref['S_LTT']) {  if (! $this->_rootref['S_LTT']) {  if (! $this->_rootref['S_LTT']) {  if (! $this->_rootref['S_LTT']) {  ?><a href="<?php echo $_forumrow_val['U_LAST_POST']; ?>"><?php echo (isset($this->_rootref['LAST_POST_IMG'])) ? $this->_rootref['LAST_POST_IMG'] : ''; ?></a><?php } } } } ?><br /><?php echo $_forumrow_val['LAST_POST_TIME']; } else { echo ((isset($this->_rootref['L_NO_POSTS'])) ? $this->_rootref['L_NO_POSTS'] : ((isset($user->lang['NO_POSTS'])) ? $user->lang['NO_POSTS'] : '{ NO_POSTS }')); ?><br />&nbsp;<?php } ?></span>
					</dd>
				<?php } ?>

			</dl>
		</li>
	<?php } if ($_forumrow_val['S_LAST_ROW']) {  ?>

			</ul>
		</div>
	</div>
	<?php } }} else { ?>

	<div class="panel">
		<div class="inner"><span class="corners-top"><span></span></span>
		<strong><?php echo ((isset($this->_rootref['L_NO_FORUMS'])) ? $this->_rootref['L_NO_FORUMS'] : ((isset($user->lang['NO_FORUMS'])) ? $user->lang['NO_FORUMS'] : '{ NO_FORUMS }')); ?></strong>
		<span class="corners-bottom"><span></span></span></div>
	</div>
<?php } ?>

#2

You have mismatched { }. There is a } missing somewhere (I haven't had the time to find it)


#3

I think the main problem is actually right here.

Looking through the code, it's in a mess. The whole first line is also throwing everything off. It needs to be properly indented for further reading. I would like to help, but I don't want to do your work for you.


#4

Right you are, 49 vs 50, so 1 missing, not sure where though

Well I didn't actually make the file, phpbb did. I'm just trying to solve the issue, I ran it through a code cleaner and it formatted like so:

<?php 
	
	if (!defined('IN_PHPBB')) exit;
	$_forumrow_count = (isset($this->_tpldata['forumrow'])) ? sizeof($this->_tpldata['forumrow']) :
	0;
	
	if ($_forumrow_count) {
		for ($_forumrow_i = 0; $_forumrow_i < $_forumrow_count; ++$_forumrow_i){
			$_forumrow_val = &$this->_tpldata['forumrow'][$_forumrow_i];
			
			if (( $_forumrow_val['S_IS_CAT'] && ! $_forumrow_val['S_FIRST_ROW'] ) || $_forumrow_val['S_NO_CAT']) {
				?>
			</ul>
		</div>
		</div>
	<?php 
			}

			
			if ($_forumrow_val['S_IS_CAT'] || $_forumrow_val['S_FIRST_ROW'] || $_forumrow_val['S_NO_CAT']) {
				?>
		<div class="zeromargin">
		<div class="forabg">
			<ul class="topiclist">
				<li class="header">
					<dl class="icon">
						<dt><?php  if ($_forumrow_val['S_IS_CAT']) { ?><a href="<?php  echo $_forumrow_val['U_VIEWFORUM']; ?>"><?php  echo $_forumrow_val['FORUM_NAME']; ?></a><?php 
				} else {
					echo ((isset($this->_rootref['L_FORUM'])) ? $this->_rootref['L_FORUM'] :
					((isset($user->lang['FORUM'])) ? $user->lang['FORUM'] :
					'{ FORUM }'));
				}

				?></dt>
						<dd class="topics"><?php 
				echo ((isset($this->_rootref['L_TOPICS'])) ? $this->_rootref['L_TOPICS'] :
				((isset($user->lang['TOPICS'])) ? $user->lang['TOPICS'] :
				'{ TOPICS }'));
				?></dd>
						<dd class="posts"><?php 
				echo ((isset($this->_rootref['L_POSTS'])) ? $this->_rootref['L_POSTS'] :
				((isset($user->lang['POSTS'])) ? $user->lang['POSTS'] :
				'{ POSTS }'));
				?></dd>
						<dd class="lastpost"><span><?php 
				echo ((isset($this->_rootref['L_LAST_POST'])) ? $this->_rootref['L_LAST_POST'] :
				((isset($user->lang['LAST_POST'])) ? $user->lang['LAST_POST'] :
				'{ LAST_POST }'));
				?></span></dd>
					</dl>
				</li>
			</ul>
			<ul class="topiclist forums">
	<?php 
			}

			
			if (! $_forumrow_val['S_IS_CAT']) {
				?>
		<li class="row">
			<dl class="icon">
				<dt class="chooser-icon <?php  if ($_forumrow_val['S_UNREAD_FORUM']) { ?> unread<?php  } else { ?>read<?php  } ?>" style="background-image: url(<?php  echo $_forumrow_val['FORUM_FOLDER_IMG_SRC']; ?>); background-repeat: no-repeat;"></dt>
				<dt title="<?php  echo $_forumrow_val['FORUM_FOLDER_IMG_ALT']; ?>">
				<?php  if ($this->_rootref['S_ENABLE_FEEDS'] && $_forumrow_val['S_FEED_ENABLED']) { ?><!-- <a class="feed-icon-forum" title="<?php 
					echo ((isset($this->_rootref['L_FEED'])) ? $this->_rootref['L_FEED'] :
					((isset($user->lang['FEED'])) ? $user->lang['FEED'] :
					'{ FEED }'));
					?> - <?php  echo $_forumrow_val['FORUM_NAME']; ?>" href="<?php 
					echo (isset($this->_rootref['U_FEED'])) ? $this->_rootref['U_FEED'] :
					'';
					?>?f=<?php  echo $_forumrow_val['FORUM_ID']; ?>"><img src="<?php 
					echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] :
					'';
					?>/images/feed.gif" alt="<?php 
					echo ((isset($this->_rootref['L_FEED'])) ? $this->_rootref['L_FEED'] :
					((isset($user->lang['FEED'])) ? $user->lang['FEED'] :
					'{ FEED }'));
					?> - <?php  echo $_forumrow_val['FORUM_NAME']; ?>" /></a> --><?php 
				}

				
				if ($_forumrow_val['FORUM_IMAGE']) {
					?><span class="forum-image"><?php  echo $_forumrow_val['FORUM_IMAGE']; ?></span><?php  } ?>
					<a href="<?php  echo $_forumrow_val['U_VIEWFORUM']; ?>" class="forumtitle"><?php  echo $_forumrow_val['FORUM_NAME']; ?></a><br />
					<?php  echo $_forumrow_val['FORUM_DESC']; ?>
					<?php  if ($_forumrow_val['MODERATORS']) { ?>
						<br /><strong><?php  echo $_forumrow_val['L_MODERATOR_STR']; ?>:</strong> <?php  echo $_forumrow_val['MODERATORS']; ?>
					<?php 
				}

				
				if ($_forumrow_val['SUBFORUMS'] && $_forumrow_val['S_LIST_SUBFORUMS']) {
					?><br /><strong><?php  echo $_forumrow_val['L_SUBFORUM_STR']; ?></strong> <?php 
					echo $_forumrow_val['SUBFORUMS'];
				}

				?>
				</dt>
				<?php  if ($_forumrow_val['CLICKS']) { ?>
					<dd class="redirect"><span><?php 
					echo ((isset($this->_rootref['L_REDIRECTS'])) ? $this->_rootref['L_REDIRECTS'] :
					((isset($user->lang['REDIRECTS'])) ? $user->lang['REDIRECTS'] :
					'{ REDIRECTS }'));
					?>: <?php  echo $_forumrow_val['CLICKS']; ?></span></dd>
				<?php 
				} else
				if (! $_forumrow_val['S_IS_LINK']) {
					?>
					<dd class="topics"><?php  echo $_forumrow_val['TOPICS']; ?> <dfn><?php 
					echo ((isset($this->_rootref['L_TOPICS'])) ? $this->_rootref['L_TOPICS'] :
					((isset($user->lang['TOPICS'])) ? $user->lang['TOPICS'] :
					'{ TOPICS }'));
					?></dfn></dd>
					<dd class="posts"><?php  echo $_forumrow_val['POSTS']; ?> <dfn><?php 
					echo ((isset($this->_rootref['L_POSTS'])) ? $this->_rootref['L_POSTS'] :
					((isset($user->lang['POSTS'])) ? $user->lang['POSTS'] :
					'{ POSTS }'));
					?></dfn></dd>
					<dd class="lastpost"><span>
						<?php  if ($_forumrow_val['U_UNAPPROVED_TOPICS']) { ?><a href="<?php  echo $_forumrow_val['U_UNAPPROVED_TOPICS']; ?>"><?php 
						echo (isset($this->_rootref['UNAPPROVED_IMG'])) ? $this->_rootref['UNAPPROVED_IMG'] :
						'';
						?></a><?php 
					}

					
					if ($_forumrow_val['LAST_POST_TIME']) {
						?><dfn><?php 
						echo ((isset($this->_rootref['L_LAST_POST'])) ? $this->_rootref['L_LAST_POST'] :
						((isset($user->lang['LAST_POST'])) ? $user->lang['LAST_POST'] :
						'{ LAST_POST }'));
						?></dfn> <?php 
						echo ((isset($this->_rootref['L_POST_BY_AUTHOR'])) ? $this->_rootref['L_POST_BY_AUTHOR'] :
						((isset($user->lang['POST_BY_AUTHOR'])) ? $user->lang['POST_BY_AUTHOR'] :
						'{ POST_BY_AUTHOR }'));
						?> <?php  echo $_forumrow_val['LAST_POSTER_FULL']; ?>
					<?php  if (! $this->_rootref['S_IS_BOT']) { ?><p class="topicdetails"><?php  if ($this->_rootref['S_LTT_ICONS'] && $_forumrow_val['TOPIC_ICON_IMG']) { ?><img src="<?php 
								echo (isset($this->_rootref['T_ICONS_PATH'])) ? $this->_rootref['T_ICONS_PATH'] :
								'';
								echo $_forumrow_val['TOPIC_ICON_IMG'];
								?>" width="<?php  echo $_forumrow_val['TOPIC_ICON_IMG_WIDTH']; ?>" height="<?php  echo $_forumrow_val['TOPIC_ICON_IMG_HEIGHT']; ?>" alt="" title="" /> <?php  } ?><a href="<?php 
							
							if (! $this->_rootref['S_LTT']) {
								echo $_forumrow_val['U_FIRST_POST'];
							} else {
								echo $_forumrow_val['U_LAST_POST'];
							}

							?>" title="<?php  echo $_forumrow_val['LATEST_TOPIC_TITLE_FULL']; ?>"><?php  echo $_forumrow_val['LATEST_TOPIC_TITLE_SHORT']; ?></a></p><?php 
						}

						
						if (! $this->_rootref['S_IS_BOT']) {
							?><p class="topicdetails"><?php  if ($this->_rootref['S_LTT_ICONS'] && $_forumrow_val['TOPIC_ICON_IMG']) { ?><img src="<?php 
								echo (isset($this->_rootref['T_ICONS_PATH'])) ? $this->_rootref['T_ICONS_PATH'] :
								'';
								echo $_forumrow_val['TOPIC_ICON_IMG'];
								?>" width="<?php  echo $_forumrow_val['TOPIC_ICON_IMG_WIDTH']; ?>" height="<?php  echo $_forumrow_val['TOPIC_ICON_IMG_HEIGHT']; ?>" alt="" title="" /> <?php  } ?><a href="<?php 
							
							if (! $this->_rootref['S_LTT']) {
								echo $_forumrow_val['U_FIRST_POST'];
							} else {
								echo $_forumrow_val['U_LAST_POST'];
							}

							?>" title="<?php  echo $_forumrow_val['LATEST_TOPIC_TITLE_FULL']; ?>"><?php  echo $_forumrow_val['LATEST_TOPIC_TITLE_SHORT']; ?></a></p><?php 
						}

						
						if (! $this->_rootref['S_IS_BOT']) {
							?><p class="topicdetails"><?php  if ($this->_rootref['S_LTT_ICONS'] && $_forumrow_val['TOPIC_ICON_IMG']) { ?><img src="<?php 
								echo (isset($this->_rootref['T_ICONS_PATH'])) ? $this->_rootref['T_ICONS_PATH'] :
								'';
								echo $_forumrow_val['TOPIC_ICON_IMG'];
								?>" width="<?php  echo $_forumrow_val['TOPIC_ICON_IMG_WIDTH']; ?>" height="<?php  echo $_forumrow_val['TOPIC_ICON_IMG_HEIGHT']; ?>" alt="" title="" /> <?php  } ?><a href="<?php 
							
							if (! $this->_rootref['S_LTT']) {
								echo $_forumrow_val['U_FIRST_POST'];
							} else {
								echo $_forumrow_val['U_LAST_POST'];
							}

							?>" title="<?php  echo $_forumrow_val['LATEST_TOPIC_TITLE_FULL']; ?>"><?php  echo $_forumrow_val['LATEST_TOPIC_TITLE_SHORT']; ?></a></p><?php 
						}

						
						if (! $this->_rootref['S_IS_BOT']) {
							
							if (! $this->_rootref['S_LTT']) {
								
								if (! $this->_rootref['S_LTT']) {
									
									if (! $this->_rootref['S_LTT']) {
										
										if (! $this->_rootref['S_LTT']) {
											?><a href="<?php  echo $_forumrow_val['U_LAST_POST']; ?>"><?php 
											echo (isset($this->_rootref['LAST_POST_IMG'])) ? $this->_rootref['LAST_POST_IMG'] :
											'';
											?></a><?php 
										}

									}

								}

							}

							?><br /><?php 
							echo $_forumrow_val['LAST_POST_TIME'];
						} else {
							echo ((isset($this->_rootref['L_NO_POSTS'])) ? $this->_rootref['L_NO_POSTS'] :
							((isset($user->lang['NO_POSTS'])) ? $user->lang['NO_POSTS'] :
							'{ NO_POSTS }'));
							?><br />&nbsp;<?php  } ?></span>
					</dd>
				<?php  } ?>
			</dl>
		</li>
	<?php 
				}

				
				if ($_forumrow_val['S_LAST_ROW']) {
					?>
			</ul>
		</div>
	</div>
	<?php  } else { ?>
	<div class="panel">
		<div class="inner"><span class="corners-top"><span></span></span>
		<strong><?php 
					echo ((isset($this->_rootref['L_NO_FORUMS'])) ? $this->_rootref['L_NO_FORUMS'] :
					((isset($user->lang['NO_FORUMS'])) ? $user->lang['NO_FORUMS'] :
					'{ NO_FORUMS }'));
					?></strong>
		<span class="corners-bottom"><span></span></span></div>
	</div>
<?php  } ?>

#5

It seems like you changed the code I was looking at. Now you only have 1 curly brace instead of 3. Now it looks like this could also be the problem.


closed #6

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.