Public feed #527605

bannerphpcode

public php v1 · immutable
Raw Edit
·published 2007-06-01 11:25 UTC
rendered paste body
<?//headerecho '<table width="92%" border="0" align="center">  <tr bgcolor="#6394bd">    <td><center><img src="http://www.anothercyclingforum.com/Themes/classic/images/simplebanner.gif"></center></td>  </tr></table>'; //search & message form 	if ($context['user']['is_logged'])  echo '      <table width="92%" border="0" align="center">  <tr bgcolor="#afc6db">    <td><center><b>', $context['user']['name'], '</b>';if ($context['allow_pm'])echo ', ', $txt[152], ' <a href="', $scripturl, '?action=pm">', $context['user']['messages'], ' ', $context['user']['messages'] != 1 ? $txt[153] : $txt[471], '</a>', $txt['newmessages4'], ' ', $context['user']['unread_messages'], ' ', $context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1'] ;echo '</center></td><td>		<center>	<form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0;">						<div style="margin-top: 7px;">							<b>', $txt[182], ': </b><input type="text" name="search" value="" style="width: 190px;" />&nbsp;							<input type="submit" name="submit" value="', $txt[182], '" style="width: 8ex;" />';	// Search within current topic?	if (!empty($context['current_topic']))		echo '							<input type="hidden" name="topic" value="', $context['current_topic'], '" />';		// If we're on a certain board, limit it to this board ;).	elseif (!empty($context['current_board']))		echo '							<input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';	echo '						</div>					</form></center></td></tr></table>';?>