<td><?=($page>0)?("<a href='?cmd=s&pg=".($page-1)."' ".tooltip('Click here to go to the previous page of retrieved posts')." >"):""?><- Previous page<?=($page > 0) ? "</a>" : ""?></td>
<td>Display<span<?=tooltip('Use this drop down list to select the number of posts to display on each page')?>><select name='mpp' onChange="submit();"><?php
<td><?=(count($args['posts'])==$mPPage+1)?("<a href='?cmd=s&pg=".($page+1)."' ".tooltip('Click here to go to the next page of retrieved posts')." >"):""?>Next page -><?=(count($args['posts'])==$mPPage+1)?"</a>":""?></td>
echo"<td class='cmd' rowspan='3'><a href='?cmd=".urlencode("F#".$p[$i]['rctype']."#".$p[$i]['fid'])."' ".tooltip('Click here to go to the main page of the forum in which that message was posted')." >View forum</a><br/>";
echo"<a href='?cmd=".urlencode("T#".$p[$i]['rctype']."#".$p[$i]['tid'])."' ".tooltip('Click here to go to the page of the topic in which that message was posted')." >View topic</a><br/>";
echo"<a href='?cmd=".urlencode("R#".$p[$i]['rctype']."#".$p[$i]['id'])."&q=0' ".tooltip('Click here to go to the compose form and reply to this post')." >Reply</a> - ";
echo"<a href='?cmd=".urlencode("R#".$p[$i]['rctype']."#".$p[$i]['id'])."&q=1' ".tooltip('Click here to go to the compose form and reply to this post with included quotations')." >Quote</a>\n";
echo"<tr><td>Posted <b>".gmstrftime("%H:%M:%S on %d/%m/%Y",$p[$i]['moment']);
echo"</b> by ".(is_null($p[$i]['pid'])?'<b>':('<a href="message?a=c&ct=0&id='.$p[$i]['pid'].'" '.tooltip('Click here to go to the compose form and send a private message to the author of this post').' >'));
echo"<tr><td class='edit' colspan='2'>Edited by ";
echo(is_null($p[$i]['edit_id'])?'<b>':('<a href="message?a=c&ct=0&id='.$p[$i]['edit_id'].'"'.tooltip('Click here to go to the compose form and send a private message to the author of this post').' >')).utf8entities($p[$i]['edited_by']);
echo(is_null($p[$i]['edit_id'])?'</b>':'</a>')." at ".gmstrftime("%H:%M:%S on %d/%m/%Y",$p[$i]['edited'])."</td></tr>";
}
echo"</table>\n";
}
?>
<formmethod='post'action='?'>
<inputtype='hidden'name='cmd'value='s'/>
<inputtype='hidden'name='pg'value='<?=$page?>'/>
<tablecellspacing="0"cellpadding="0"class="fcmd">
<tr>
<td><?=($page>0)?("<a href='?cmd=s&pg=".($page-1)."'".tooltip('Click here to go to the previous page of retrieved posts')." >"):""?><- Previous page<?=($page > 0) ? "</a>" : ""?></td>
<td>Display<span<?=tooltip('Use this drop down list to select the number of posts to display on each page')?><select name='mpp' onChange="submit();"><?php
<td><?=(count($args['posts'])==$mPPage+1)?("<a href='?cmd=s&pg=".($page+1)."'".tooltip('Click here to go to the next page of retrieved posts')." >"):""?>Next page -><?=(count($args['posts'])==$mPPage+1)?"</a>":""?></td>