Code: Select all
<!-- BEGIN recent -->
<!-- IF (recent.S_IS_CAT and not recent.S_FIRST_ROW) or recent.S_NO_CAT -->
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
<!-- IF recent.S_IS_CAT or recent.S_FIRST_ROW or recent.S_NO_CAT -->
<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dd style="width: 46%">{TITLE}</dd>
<dd style="width: 15%">Topic</dd>
<dd class="width: 10%">{L_LAST_POST}</dd>
<dd style="width: 25%"><span></span></dd>
</dl>
</li>
</ul>
<ul class="topiclist forums">
<!-- ENDIF -->
<!-- IF not recent.S_IS_CAT -->
<li class="row">
<dl class="icon" style="background-image: url({recent.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
<dt style="<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS -->background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;<!-- ENDIF -->; width: 40%" title="{topicrow.TOPIC_FOLDER_IMG_ALT}">
{recent.ATTACH_ICON_IMG} <!-- IF recent.S_HAS_POLL or recent.S_TOPIC_MOVED --><b>{recent.TOPIC_TYPE}</b> <!-- ENDIF --><a title="{L_POSTED}: {recent.FIRST_POST_TIME}" href="{recent.U_VIEW_TOPIC}" class="topictitle">{recent.TOPIC_TITLE}</a>
<!-- IF recent.S_TOPIC_UNAPPROVED or recent.S_POSTS_UNAPPROVED -->
<a href="{recent.U_MCP_QUEUE}">{recent.UNAPPROVED_IMG}</a>
<!-- ENDIF -->
<!-- IF recent.S_TOPIC_REPORTED -->
<a href="{recent.U_MCP_REPORT}">{REPORTED_IMG}</a>
<!-- ENDIF -->
<!-- IF recent.PAGINATION -->
<p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {recent.PAGINATION} ] </p>
<!-- ENDIF -->
</dt>
<dd style="width: 15%"> <a class="forumlink" href="{recent.U_VIEW_FORUM}">{recent.FORUM_NAME}</a></dd>
<dd class="lastpost">
<span>
by {recent.LAST_POST_AUTHOR_FULL} <a href="{recent.U_LAST_POST}">{LAST_POST_IMG}</a> <br />on {recent.LAST_POST_TIME}
</span>
</dd>
<dd style="width: 8%"><span> {L_REPLIES} :{recent.REPLIES}<br /> {L_VIEWS} :{recent.VIEWS}</span></dd>
</dl>
</li>
<!-- ENDIF -->
<!-- IF recent.S_LAST_ROW -->
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
<!-- BEGINELSE -->
<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt> {TITLE} </dt>
</dl>
</li>
</ul>
<ul class="topiclist forums">
<li class="row">
<dl class="icon">
<dd style="line-height: 1.2em"><strong><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></strong></dd>
</dl>
</li>
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- END recent -->
Code: Select all
Fatal error: Call to undefined function request_var() in /var/www/forums/recent.php on line 423
Me too, how to fix this?herbie_popnecker wrote:I'm getting this error if I call recent.phpCode: Select all
Fatal error: Call to undefined function request_var() in /var/www/forums/recent.php on line 423
I´ve the same problem.grover66 wrote:Noticed one bug, BB code is not displayed properly.
For example, the BBcode for BOLD shows up like this
[b:27x02wh3]this should be bold[/b:27x02wh3]
Regards
Looks like includes/functions_display.php is not included properly in your indexfile or whatever file you're including recent.phpherbie_popnecker wrote:I'm getting this error if I call recent.phpCode: Select all
Fatal error: Call to undefined function request_var() in /var/www/forums/recent.php on line 423
I used eregi_replace to eliminate ":2yaaau4t", ":2i39nnp6", ":1fg8xyik", ... I´d like to find a more elegant solution. Anyone has any idea?grover66 wrote:Noticed one bug, BB code is not displayed properly.
For example, the BBcode for BOLD shows up like this
[b:27x02wh3]this should be bold[/b:27x02wh3]
Regards