mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-21 06:53:49 +02:00
Deprecate S_ROW_COUNT, remove *really* old assignments from the code
git-svn-id: file:///svn/phpbb/trunk@9107 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
21573a8473
commit
ae9c4068e7
@ -297,7 +297,7 @@ class ucp_groups
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
$group_id_ary = array();
|
||||
$leader_count = $member_count = $pending_count = 0;
|
||||
|
||||
while ($row = $db->sql_fetchrow($result))
|
||||
{
|
||||
$block = ($row['group_leader']) ? 'leader' : (($row['user_pending']) ? 'pending' : 'member');
|
||||
@ -335,8 +335,7 @@ class ucp_groups
|
||||
|
||||
'U_VIEW_GROUP' => append_sid('memberlist', 'mode=group&g=' . $row['group_id']),
|
||||
|
||||
'S_GROUP_DEFAULT' => ($row['group_id'] == $user->data['group_id']) ? true : false,
|
||||
'S_ROW_COUNT' => ${$block . '_count'}++)
|
||||
'S_GROUP_DEFAULT' => ($row['group_id'] == $user->data['group_id']) ? true : false)
|
||||
);
|
||||
|
||||
$group_id_ary[] = $row['group_id'];
|
||||
@ -353,7 +352,6 @@ class ucp_groups
|
||||
ORDER BY group_type DESC, group_name";
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
$nonmember_count = 0;
|
||||
while ($row = $db->sql_fetchrow($result))
|
||||
{
|
||||
switch ($row['group_type'])
|
||||
@ -389,9 +387,7 @@ class ucp_groups
|
||||
'S_CAN_JOIN' => ($row['group_type'] == GROUP_OPEN || $row['group_type'] == GROUP_FREE) ? true : false,
|
||||
'GROUP_COLOUR' => $row['group_colour'],
|
||||
|
||||
'U_VIEW_GROUP' => append_sid('memberlist', 'mode=group&g=' . $row['group_id']),
|
||||
|
||||
'S_ROW_COUNT' => $nonmember_count++)
|
||||
'U_VIEW_GROUP' => append_sid('memberlist', 'mode=group&g=' . $row['group_id']))
|
||||
);
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
@ -24,7 +24,7 @@
|
||||
<ul class="topiclist topics">
|
||||
|
||||
<!-- BEGIN draftrow -->
|
||||
<li class="row<!-- IF draftrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<li class="row<!-- IF draftrow.S_ROW_NUM is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl>
|
||||
<dt>
|
||||
<a href="{draftrow.U_INSERT}" title="{L_LOAD_DRAFT}" class="topictitle">{draftrow.DRAFT_SUBJECT}</a><br />
|
||||
|
@ -7,7 +7,7 @@
|
||||
<div class="inner"><span class="corners-top"><span></span></span>
|
||||
<div class="column1">
|
||||
<!-- BEGIN faq_block -->
|
||||
<!-- IF faq_block.S_ROW_COUNT == 4 -->
|
||||
<!-- IF faq_block.S_ROW_NUM == 4 -->
|
||||
</div>
|
||||
|
||||
<div class="column2">
|
||||
@ -16,7 +16,7 @@
|
||||
<dl class="faq">
|
||||
<dt><strong>{faq_block.BLOCK_TITLE}</strong></dt>
|
||||
<!-- BEGIN faq_row -->
|
||||
<dd><a href="#f{faq_block.S_ROW_COUNT}r{faq_block.faq_row.S_ROW_COUNT}">{faq_block.faq_row.FAQ_QUESTION}</a></dd>
|
||||
<dd><a href="#f{faq_block.S_ROW_NUM}r{faq_block.faq_row.S_ROW_NUM}">{faq_block.faq_row.FAQ_QUESTION}</a></dd>
|
||||
<!-- END faq_row -->
|
||||
</dl>
|
||||
<!-- END faq_block -->
|
||||
@ -29,14 +29,14 @@
|
||||
<div class="clear"></div>
|
||||
|
||||
<!-- BEGIN faq_block -->
|
||||
<div class="panel <!-- IF faq_block.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<div class="panel <!-- IF faq_block.S_ROW_NUM is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<div class="inner"><span class="corners-top"><span></span></span>
|
||||
|
||||
<div class="content">
|
||||
<h2>{faq_block.BLOCK_TITLE}</h2>
|
||||
<!-- BEGIN faq_row -->
|
||||
<dl class="faq">
|
||||
<dt id="f{faq_block.S_ROW_COUNT}r{faq_block.faq_row.S_ROW_COUNT}"><strong>{faq_block.faq_row.FAQ_QUESTION}</strong></dt>
|
||||
<dt id="f{faq_block.S_ROW_NUM}r{faq_block.faq_row.S_ROW_NUM}"><strong>{faq_block.faq_row.FAQ_QUESTION}</strong></dt>
|
||||
<dd>{faq_block.faq_row.FAQ_ANSWER}</dd>
|
||||
<dd><a href="#faqlinks" class="top2">{L_BACK_TO_TOP}</a></dd>
|
||||
</dl>
|
||||
|
@ -33,7 +33,7 @@
|
||||
<ul class="topiclist cplist">
|
||||
|
||||
<!-- BEGIN topicrow -->
|
||||
<li class="row<!-- IF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->">
|
||||
<li class="row<!-- IF topicrow.S_ROW_NUM is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->">
|
||||
<dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
|
||||
<dt <!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS -->style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF -->>
|
||||
<!-- IF topicrow.S_SELECT_TOPIC --><a href="{topicrow.U_SELECT_TOPIC}" class="topictitle">[ {L_SELECT_MERGE} ]</a> <!-- ENDIF -->
|
||||
|
@ -24,7 +24,7 @@
|
||||
<ul class="topiclist cplist">
|
||||
|
||||
<!-- BEGIN unapproved -->
|
||||
<li class="row<!-- IF unapproved.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<li class="row<!-- IF unapproved.S_ROW_NUM is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl>
|
||||
<dt>
|
||||
<a href="{unapproved.U_POST_DETAILS}" class="topictitle">{unapproved.SUBJECT}</a> {unapproved.ATTACH_ICON_IMG}<br />
|
||||
@ -78,7 +78,7 @@
|
||||
<ul class="topiclist cplist">
|
||||
|
||||
<!-- BEGIN report -->
|
||||
<li class="row<!-- IF report.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<li class="row<!-- IF report.S_ROW_NUM is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl>
|
||||
<dt>
|
||||
<a href="{report.U_POST_DETAILS}#reports" class="topictitle">{report.SUBJECT}</a> {report.ATTACH_ICON_IMG}<br />
|
||||
@ -119,7 +119,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- BEGIN log -->
|
||||
<tr class="<!-- IF log.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<tr class="<!-- IF log.S_ROW_NUM is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<td>{log.ACTION}</td>
|
||||
<td><span>{log.USERNAME}</span></td>
|
||||
<td><span>{log.IP}</span></td>
|
||||
|
@ -27,7 +27,7 @@
|
||||
<tbody>
|
||||
<!-- IF S_LOGS -->
|
||||
<!-- BEGIN log -->
|
||||
<!-- IF log.S_ROW_COUNT is even --><tr class="bg1"><!-- ELSE --><tr class="bg2"><!-- ENDIF -->
|
||||
<!-- IF log.S_ROW_NUM is even --><tr class="bg1"><!-- ELSE --><tr class="bg2"><!-- ENDIF -->
|
||||
<td>{log.USERNAME}</td>
|
||||
<td style="text-align: center">{log.IP}</td>
|
||||
<td style="text-align: center">{log.DATE}</td>
|
||||
|
@ -69,7 +69,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- BEGIN usernotes -->
|
||||
<!-- IF usernotes.S_ROW_COUNT is even --><tr class="bg1"><!-- ELSE --><tr class="bg2"><!-- ENDIF -->
|
||||
<!-- IF usernotes.S_ROW_NUM is even --><tr class="bg1"><!-- ELSE --><tr class="bg2"><!-- ENDIF -->
|
||||
<td>{usernotes.REPORT_BY}</td>
|
||||
<td style="text-align: center">{usernotes.IP}</td>
|
||||
<td style="text-align: center">{usernotes.REPORT_AT}</td>
|
||||
|
@ -238,7 +238,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- BEGIN userrow -->
|
||||
<tr class="<!-- IF userrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<tr class="<!-- IF userrow.S_ROW_NUM is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<td><!-- IF userrow.U_PROFILE --><a href="{userrow.U_PROFILE}">{userrow.USERNAME}</a><!-- ELSE -->{userrow.USERNAME}<!-- ENDIF --></td>
|
||||
<td class="posts"><a href="{userrow.U_SEARCHPOSTS}" title="{L_SEARCH_POSTS_BY} {userrow.USERNAME}">{userrow.NUM_POSTS}</a></td>
|
||||
</tr>
|
||||
@ -259,7 +259,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- BEGIN iprow -->
|
||||
<tr class="<!-- IF iprow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<tr class="<!-- IF iprow.S_ROW_NUM is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<td><!-- IF iprow.HOSTNAME --><a href="{iprow.U_WHOIS}">{iprow.HOSTNAME}</a> ({iprow.IP})<!-- ELSE --><a href="{iprow.U_WHOIS}">{iprow.IP}</a> (<a href="{iprow.U_LOOKUP_IP}">{L_LOOKUP_IP}</a>)<!-- ENDIF --></td>
|
||||
<td class="posts">{iprow.NUM_POSTS}</td>
|
||||
</tr>
|
||||
|
@ -39,7 +39,7 @@
|
||||
<li><p class="notopics">{L_DELETED_TOPIC}</p></li>
|
||||
<!-- ELSE -->
|
||||
|
||||
<li class="row<!-- IF postrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<li class="row<!-- IF postrow.S_ROW_NUM is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl>
|
||||
<dt>
|
||||
<a href="{postrow.U_VIEW_DETAILS}" class="topictitle">{postrow.POST_SUBJECT}</a> <br />
|
||||
|
@ -34,7 +34,7 @@
|
||||
<ul class="topiclist cplist">
|
||||
|
||||
<!-- BEGIN postrow -->
|
||||
<li class="row<!-- IF postrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<li class="row<!-- IF postrow.S_ROW_NUM is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl>
|
||||
<dt>
|
||||
<a href="{postrow.U_VIEW_DETAILS}" class="topictitle">{postrow.POST_SUBJECT}</a> {postrow.ATTACH_ICON_IMG}<br />
|
||||
|
@ -102,7 +102,7 @@ onload_functions.push('subPanels()');
|
||||
|
||||
<div id="topicreview">
|
||||
<!-- BEGIN postrow -->
|
||||
<div class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<div class="post <!-- IF postrow.S_ROW_NUM is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<div class="inner"><span class="corners-top"><span></span></span>
|
||||
|
||||
<div class="postbody" id="pr{postrow.POST_ID}">
|
||||
|
@ -45,7 +45,7 @@
|
||||
<tbody>
|
||||
|
||||
<!-- BEGIN highest -->
|
||||
<tr class="<!-- IF highest.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<tr class="<!-- IF highest.S_ROW_NUM is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<td>{highest.USERNAME_FULL}</td>
|
||||
<td>{highest.WARNINGS}</td>
|
||||
<td>{highest.WARNING_TIME}</td>
|
||||
@ -78,7 +78,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- BEGIN latest -->
|
||||
<tr class="<!-- IF latest.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<tr class="<!-- IF latest.S_ROW_NUM is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<td>{latest.USERNAME_FULL}</td>
|
||||
<td>{latest.WARNING_TIME}</td>
|
||||
<td>{latest.WARNINGS}</td>
|
||||
|
@ -29,7 +29,7 @@
|
||||
<tbody>
|
||||
|
||||
<!-- BEGIN user -->
|
||||
<tr class="<!-- IF user.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<tr class="<!-- IF user.S_ROW_NUM is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<td>{user.USERNAME_FULL}</td>
|
||||
<td>{user.WARNINGS}</td>
|
||||
<td>{user.WARNING_TIME}</td>
|
||||
|
@ -129,7 +129,7 @@
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
|
||||
<tr class="<!-- IF memberrow.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<tr class="<!-- IF memberrow.S_ROW_NUM is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<td><!-- IF memberrow.RANK_IMG --><span class="rank-img">{memberrow.RANK_IMG}</span><!-- ELSE --><span class="rank-img">{memberrow.RANK_TITLE}</span><!-- ENDIF --><!-- IF S_IN_SEARCH_POPUP and not S_SELECT_SINGLE --><input type="checkbox" name="user" value="{memberrow.USERNAME}" /> <!-- ENDIF -->{memberrow.USERNAME_FULL}<!-- IF S_SELECT_SINGLE --><br />[ <a href="#" onclick="insert_single('{memberrow.A_USERNAME}'); return false;">{L_SELECT}</a> ]<!-- ENDIF --></td>
|
||||
<td class="posts"><!-- IF memberrow.POSTS --><a href="{memberrow.U_SEARCH_USER}" title="{L_SEARCH_USER_POSTS}">{memberrow.POSTS}</a><!-- ELSE -->{memberrow.POSTS}<!-- ENDIF --></td>
|
||||
<td class="info"><!-- IF memberrow.U_WWW or memberrow.LOCATION --><!-- IF memberrow.U_WWW --><div><a href="{memberrow.U_WWW}" title="{L_VISIT_WEBSITE}: {memberrow.U_WWW}">{memberrow.U_WWW}</a></div><!-- ENDIF --><!-- IF memberrow.LOCATION --><div>{memberrow.LOCATION}</div><!-- ENDIF --><!-- ELSE --> <!-- ENDIF --></td>
|
||||
|
@ -17,7 +17,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- BEGIN admin -->
|
||||
<tr class="<!-- IF admin.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<tr class="<!-- IF admin.S_ROW_NUM is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<td><!-- IF admin.RANK_IMG --><span class="rank-img">{admin.RANK_IMG}</span><!-- ELSE --><span class="rank-img">{admin.RANK_TITLE}</span><!-- ENDIF -->{admin.USERNAME_FULL}</td>
|
||||
<td class="info"><!-- IF admin.U_GROUP -->
|
||||
<a<!-- IF admin.GROUP_COLOR --> style="font-weight: bold; color:#{admin.GROUP_COLOR}"<!-- ENDIF --> href="{admin.U_GROUP}">{admin.GROUP_NAME}</a>
|
||||
@ -50,7 +50,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- BEGIN mod -->
|
||||
<tr class="<!-- IF mod.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<tr class="<!-- IF mod.S_ROW_NUM is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<td><!-- IF mod.RANK_IMG --><span class="rank-img">{mod.RANK_IMG}</span><!-- ELSE --><span class="rank-img">{mod.RANK_TITLE}</span><!-- ENDIF -->{mod.USERNAME_FULL}</td>
|
||||
<td class="info"><!-- IF mod.U_GROUP -->
|
||||
<a<!-- IF mod.GROUP_COLOR --> style="font-weight: bold; color:#{mod.GROUP_COLOR}"<!-- ENDIF --> href="{mod.U_GROUP}">{mod.GROUP_NAME}</a>
|
||||
|
@ -10,7 +10,7 @@
|
||||
<dt><label>{L_TO}:</label></dt>
|
||||
<dd>
|
||||
<!-- BEGIN to_recipient -->
|
||||
<!-- IF not to_recipient.S_FIRST_ROW and to_recipient.S_ROW_COUNT mod 2 eq 0 --></dd><dd><!-- ENDIF -->
|
||||
<!-- IF not to_recipient.S_FIRST_ROW and to_recipient.S_ROW_NUM mod 2 eq 0 --></dd><dd><!-- ENDIF -->
|
||||
<!-- IF to_recipient.IS_GROUP --><a href="{to_recipient.U_VIEW}"><strong>{to_recipient.NAME}</strong></a> <!-- ELSE -->{to_recipient.NAME_FULL} <!-- ENDIF -->
|
||||
<!-- IF not S_EDIT_POST --><input type="submit" name="remove_{to_recipient.TYPE}[{to_recipient.UG_ID}]" value="x" class="button2" /> <!-- ENDIF -->
|
||||
<!-- END to_recipient -->
|
||||
@ -22,7 +22,7 @@
|
||||
<dt><label>{L_BCC}:</label></dt>
|
||||
<dd>
|
||||
<!-- BEGIN bcc_recipient -->
|
||||
<!-- IF not bcc_recipient.S_FIRST_ROW and bcc_recipient.S_ROW_COUNT mod 2 eq 0 --></dd><dd><!-- ENDIF -->
|
||||
<!-- IF not bcc_recipient.S_FIRST_ROW and bcc_recipient.S_ROW_NUM mod 2 eq 0 --></dd><dd><!-- ENDIF -->
|
||||
<!-- IF bcc_recipient.IS_GROUP --><a href="{bcc_recipient.U_VIEW}"><strong>{bcc_recipient.NAME}</strong></a><!-- ELSE -->{bcc_recipient.NAME_FULL} <!-- ENDIF -->
|
||||
<!-- IF not S_EDIT_POST --><input type="submit" name="remove_{bcc_recipient.TYPE}[{bcc_recipient.UG_ID}]" value="x" class="button2" /> <!-- ENDIF -->
|
||||
<!-- END bcc_recipient -->
|
||||
@ -43,7 +43,7 @@
|
||||
<!-- IF .to_recipient -->
|
||||
<dd>
|
||||
<!-- BEGIN to_recipient -->
|
||||
<!-- IF not to_recipient.S_FIRST_ROW and to_recipient.S_ROW_COUNT mod 2 eq 0 --></dd><dd><!-- ENDIF -->
|
||||
<!-- IF not to_recipient.S_FIRST_ROW and to_recipient.S_ROW_NUM mod 2 eq 0 --></dd><dd><!-- ENDIF -->
|
||||
<!-- IF to_recipient.IS_GROUP --><a href="{to_recipient.U_VIEW}"><strong>{to_recipient.NAME}</strong></a><!-- ELSE -->{to_recipient.NAME_FULL} <!-- ENDIF -->
|
||||
<!-- IF not S_EDIT_POST --><input type="submit" name="remove_{to_recipient.TYPE}[{to_recipient.UG_ID}]" value="x" class="button2" /> <!-- ENDIF -->
|
||||
<!-- END to_recipient -->
|
||||
|
@ -3,7 +3,7 @@
|
||||
<p>{L_POST_REVIEW_EXPLAIN}</p>
|
||||
|
||||
<!-- BEGIN post_review_row -->
|
||||
<div id="ppr{post_review_row.POST_ID}" class="post <!-- IF post_review_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF post_review_row.ONLINE_STATUS --> online<!-- ENDIF -->">
|
||||
<div id="ppr{post_review_row.POST_ID}" class="post <!-- IF post_review_row.S_ROW_NUM is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF post_review_row.ONLINE_STATUS --> online<!-- ENDIF -->">
|
||||
<div class="inner"><span class="corners-top"><span></span></span>
|
||||
|
||||
<div class="postbody">
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
<div id="topicreview">
|
||||
<!-- BEGIN topic_review_row -->
|
||||
<div class="post <!-- IF topic_review_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<div class="post <!-- IF topic_review_row.S_ROW_NUM is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<div class="inner"><span class="corners-top"><span></span></span>
|
||||
|
||||
<div class="postbody" id="pr{topic_review_row.POST_ID}">
|
||||
|
@ -103,7 +103,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- BEGIN recentsearch -->
|
||||
<tr class="<!-- IF recentsearch.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<tr class="<!-- IF recentsearch.S_ROW_NUM is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<td><a href="{recentsearch.U_KEYWORDS}">{recentsearch.KEYWORDS}</a></td>
|
||||
<td class="active"><span> {recentsearch.TIME}</span></td>
|
||||
</tr>
|
||||
|
@ -51,7 +51,7 @@
|
||||
<ul class="topiclist topics">
|
||||
|
||||
<!-- BEGIN searchresults -->
|
||||
<li class="row<!-- IF searchresults.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<li class="row<!-- IF searchresults.S_ROW_NUM is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl class="icon" style="background-image: url({searchresults.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
|
||||
<dt <!-- IF searchresults.TOPIC_ICON_IMG -->style="background-image: url({T_ICONS_PATH}{searchresults.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF -->>
|
||||
<!-- IF searchresults.S_UNREAD_TOPIC --><a href="{searchresults.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF -->
|
||||
@ -86,7 +86,7 @@
|
||||
<!-- ELSE -->
|
||||
|
||||
<!-- BEGIN searchresults -->
|
||||
<div class="search post <!-- IF searchresults.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF searchresults.S_POST_REPORTED --> reported<!-- ENDIF -->">
|
||||
<div class="search post <!-- IF searchresults.S_ROW_NUM is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF searchresults.S_POST_REPORTED --> reported<!-- ENDIF -->">
|
||||
<div class="inner"><span class="corners-top"><span></span></span>
|
||||
|
||||
<!-- IF searchresults.S_IGNORE_POST -->
|
||||
|
@ -30,7 +30,7 @@
|
||||
<ul class="topiclist cplist">
|
||||
|
||||
<!-- BEGIN attachrow -->
|
||||
<li class="row<!-- IF attachrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<li class="row<!-- IF attachrow.S_ROW_NUM is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl>
|
||||
<dt style="width: 40%"><a href="{attachrow.U_VIEW_ATTACHMENT}" class="topictitle">{attachrow.FILENAME}</a> ({attachrow.SIZE})<br />
|
||||
<!-- IF attachrow.S_IN_MESSAGE -->{L_PM}: <!-- ELSE -->{L_TOPIC}: <!-- ENDIF --><a href="{attachrow.U_VIEW_TOPIC}">{attachrow.TOPIC_TITLE}</a></dt>
|
||||
|
@ -59,8 +59,8 @@
|
||||
|
||||
<div id="gallery">
|
||||
<!-- BEGIN avatar_row --><!-- BEGIN avatar_column -->
|
||||
<label for="av-{avatar_row.S_ROW_COUNT}-{avatar_row.avatar_column.S_ROW_COUNT}"><img src="{avatar_row.avatar_column.AVATAR_IMAGE}" alt="" /><br />
|
||||
<input type="radio" name="avatar_select" id="av-{avatar_row.S_ROW_COUNT}-{avatar_row.avatar_column.S_ROW_COUNT}" value="{avatar_row.avatar_column.AVATAR_FILE}" /></label>
|
||||
<label for="av-{avatar_row.S_ROW_NUM}-{avatar_row.avatar_column.S_ROW_NUM}"><img src="{avatar_row.avatar_column.AVATAR_IMAGE}" alt="" /><br />
|
||||
<input type="radio" name="avatar_select" id="av-{avatar_row.S_ROW_NUM}-{avatar_row.avatar_column.S_ROW_NUM}" value="{avatar_row.avatar_column.AVATAR_FILE}" /></label>
|
||||
<!-- END avatar_column --><!-- END avatar_row -->
|
||||
</div>
|
||||
|
||||
|
@ -92,7 +92,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- BEGIN leader -->
|
||||
<tr class="<!-- IF leader.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<tr class="<!-- IF leader.S_ROW_NUM is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<td class="name">{leader.USERNAME_FULL}</td>
|
||||
<td><!-- IF leader.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td>
|
||||
<td class="posts">{leader.USER_POSTS}</td>
|
||||
@ -134,7 +134,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- ELSE -->
|
||||
<tr class="<!-- IF member.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<tr class="<!-- IF member.S_ROW_NUM is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<td class="name">{member.USERNAME_FULL}</td>
|
||||
<td><!-- IF member.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td>
|
||||
<td class="posts">{member.USER_POSTS}</td>
|
||||
@ -209,7 +209,7 @@
|
||||
<ul class="topiclist cplist">
|
||||
|
||||
<!-- BEGIN leader -->
|
||||
<li class="row<!-- IF attachrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<li class="row<!-- IF attachrow.S_ROW_NUM is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl>
|
||||
<dt><a href="{leader.U_EDIT}" class="topictitle"<!-- IF leader.GROUP_COLOUR --> style="color: #{leader.GROUP_COLOUR};"<!-- ENDIF -->>{leader.GROUP_NAME}</a>
|
||||
<!-- IF leader.GROUP_DESC --><br />{leader.GROUP_DESC}<!-- ENDIF --></dt>
|
||||
|
@ -24,7 +24,7 @@
|
||||
<!-- IF not leader.GROUP_SPECIAL -->
|
||||
<!-- DEFINE $SHOW_BUTTONS = 1 -->
|
||||
<!-- ENDIF -->
|
||||
<li class="row<!-- IF leader.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<li class="row<!-- IF leader.S_ROW_NUM is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl>
|
||||
<dt><!-- IF S_CHANGE_DEFAULT --><input title="{L_CHANGE_DEFAULT_GROUP}" type="radio" name="default"<!-- IF leader.S_GROUP_DEFAULT --> checked="checked"<!-- ENDIF --> value="{leader.GROUP_ID}" /> <!-- ENDIF -->
|
||||
<a href="{leader.U_VIEW_GROUP}" class="forumtitle"<!-- IF leader.GROUP_COLOUR --> style="color:#{leader.GROUP_COLOUR}"<!-- ENDIF -->>{leader.GROUP_NAME}</a>
|
||||
@ -53,7 +53,7 @@
|
||||
<!-- IF not member.GROUP_SPECIAL -->
|
||||
<!-- DEFINE $SHOW_BUTTONS = 1 -->
|
||||
<!-- ENDIF -->
|
||||
<li class="row<!-- IF member.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<li class="row<!-- IF member.S_ROW_NUM is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl>
|
||||
<dt><!-- IF S_CHANGE_DEFAULT --><input title="{L_CHANGE_DEFAULT_GROUP}" type="radio" name="default"<!-- IF member.S_GROUP_DEFAULT --> checked="checked"<!-- ENDIF --> value="{member.GROUP_ID}" /> <!-- ENDIF -->
|
||||
<a href="{member.U_VIEW_GROUP}" class="forumtitle"<!-- IF member.GROUP_COLOUR --> style="color:#{member.GROUP_COLOUR}"<!-- ENDIF -->>{member.GROUP_NAME}</a>
|
||||
@ -86,7 +86,7 @@
|
||||
<!-- IF not pending.GROUP_SPECIAL -->
|
||||
<!-- DEFINE $SHOW_BUTTONS = 1 -->
|
||||
<!-- ENDIF -->
|
||||
<li class="row<!-- IF pending.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<li class="row<!-- IF pending.S_ROW_NUM is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl>
|
||||
<dt>
|
||||
<a href="{pending.U_VIEW_GROUP}" class="forumtitle"<!-- IF pending.GROUP_COLOUR --> style="color:#{pending.GROUP_COLOUR}"<!-- ENDIF -->>{pending.GROUP_NAME}</a>
|
||||
@ -118,7 +118,7 @@
|
||||
<!-- IF nonmember.S_CAN_JOIN -->
|
||||
<!-- DEFINE $SHOW_BUTTONS = 1 -->
|
||||
<!-- ENDIF -->
|
||||
<li class="row<!-- IF nonmember.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<li class="row<!-- IF nonmember.S_ROW_NUM is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl>
|
||||
<dt>
|
||||
<a href="{nonmember.U_VIEW_GROUP}" class="forumtitle"<!-- IF nonmember.GROUP_COLOUR --> style="color:#{nonmember.GROUP_COLOUR}"<!-- ENDIF -->>{nonmember.GROUP_NAME}</a>
|
||||
|
@ -25,7 +25,7 @@
|
||||
<ul class="topiclist cplist">
|
||||
|
||||
<!-- BEGIN topicrow -->
|
||||
<li class="row<!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ELSEIF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<li class="row<!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ELSEIF topicrow.S_ROW_NUM is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<!-- IF topicrow.S_DELETED_TOPIC -->
|
||||
<dl><dt><strong>{L_DELETED_TOPIC}</strong></dt>
|
||||
<dd class="mark"><input type="checkbox" name="t[{topicrow.TOPIC_ID}]" id="t{topicrow.TOPIC_ID}" /></dd>
|
||||
|
@ -36,7 +36,7 @@
|
||||
<ul class="topiclist cplist">
|
||||
|
||||
<!-- BEGIN draftrow -->
|
||||
<li class="row<!-- IF draftrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<li class="row<!-- IF draftrow.S_ROW_NUM is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl>
|
||||
<dt>
|
||||
<a class="topictitle" href="{draftrow.U_VIEW_EDIT}">{draftrow.DRAFT_SUBJECT}</a><br />
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<ul class="topiclist cplist">
|
||||
<!-- BEGIN topicrow -->
|
||||
<li class="row<!-- IF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<li class="row<!-- IF topicrow.S_ROW_NUM is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
|
||||
<dt <!-- IF topicrow.TOPIC_ICON_IMG -->style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF -->>
|
||||
<!-- IF topicrow.S_UNREAD --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a><br />
|
||||
|
@ -20,7 +20,7 @@
|
||||
<ul class="topiclist cplist">
|
||||
|
||||
<!-- BEGIN forumrow -->
|
||||
<li class="row<!-- IF forumrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<li class="row<!-- IF forumrow.S_ROW_NUM is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl class="icon" style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
|
||||
<dt><a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a><br />
|
||||
<!-- IF forumrow.LAST_POST_TIME -->{L_LAST_POST} {forumrow.LAST_POST_AUTHOR_FULL} <a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a> {L_POSTED_ON_DATE} {forumrow.LAST_POST_TIME}
|
||||
@ -47,7 +47,7 @@
|
||||
<ul class="topiclist cplist">
|
||||
|
||||
<!-- BEGIN topicrow -->
|
||||
<li class="row<!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ELSEIF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<li class="row<!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ELSEIF topicrow.S_ROW_NUM is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
|
||||
<dt style="<!-- IF topicrow.TOPIC_ICON_IMG -->background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;<!-- ENDIF -->" title="{topicrow.TOPIC_FOLDER_IMG_ALT}">
|
||||
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
<div id="topicreview">
|
||||
<!-- BEGIN history_row -->
|
||||
<div class="post <!-- IF history_row.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<div class="post <!-- IF history_row.S_ROW_NUM is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<div class="inner"><span class="corners-top"><span></span></span>
|
||||
|
||||
<div class="postbody" id="pr{history_row.MSG_ID}">
|
||||
|
@ -57,7 +57,7 @@
|
||||
<ul class="topiclist cplist pmlist">
|
||||
|
||||
<!-- BEGIN messagerow -->
|
||||
<li class="row<!-- IF messagerow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF messagerow.PM_CLASS --> {messagerow.PM_CLASS}<!-- ENDIF -->">
|
||||
<li class="row<!-- IF messagerow.S_ROW_NUM is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF messagerow.PM_CLASS --> {messagerow.PM_CLASS}<!-- ENDIF -->">
|
||||
<dl class="icon" style="background-image: url({messagerow.FOLDER_IMG_SRC}); background-repeat: no-repeat;">
|
||||
<dt<!-- IF messagerow.PM_ICON_URL and S_PM_ICONS --> style="background-image: url({messagerow.PM_ICON_URL}); background-repeat: no-repeat;"<!-- ENDIF -->>
|
||||
|
||||
|
@ -134,7 +134,7 @@
|
||||
<ul class="topiclist topics">
|
||||
<!-- ENDIF -->
|
||||
|
||||
<li class="row<!-- IF topicrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->">
|
||||
<li class="row<!-- IF topicrow.S_ROW_NUM is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->">
|
||||
<dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
|
||||
<dt<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}"><!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
|
||||
<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF -->
|
||||
|
@ -22,7 +22,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- BEGIN user_row -->
|
||||
<tr class="<!-- IF user_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<tr class="<!-- IF user_row.S_ROW_NUM is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<td>{user_row.USERNAME_FULL}<!-- IF user_row.USER_IP --> <span style="margin-left: 30px;">{L_IP}: <a href="{user_row.U_USER_IP}">{user_row.USER_IP}</a> » <a href="{user_row.U_WHOIS}" onclick="popup(this.href, 750, 500); return false;">{L_WHOIS}</a></span><!-- ENDIF -->
|
||||
<!-- IF user_row.USER_BROWSER --><br />{user_row.USER_BROWSER}<!-- ENDIF --></td>
|
||||
<td class="info"><a href="{user_row.U_FORUM_LOCATION}">{user_row.FORUM_LOCATION}</a></td>
|
||||
|
@ -114,7 +114,7 @@
|
||||
|
||||
<!-- BEGIN postrow -->
|
||||
<!-- IF postrow.S_FIRST_UNREAD --><a id="unread"></a><!-- ENDIF -->
|
||||
<div id="p{postrow.POST_ID}" class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF postrow.S_ONLINE --> online<!-- ENDIF -->">
|
||||
<div id="p{postrow.POST_ID}" class="post <!-- IF postrow.S_ROW_NUM is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF postrow.S_ONLINE --> online<!-- ENDIF -->">
|
||||
<div class="inner"><span class="corners-top"><span></span></span>
|
||||
|
||||
<div class="postbody">
|
||||
|
Loading…
x
Reference in New Issue
Block a user