<?php
if (! defined ( 'BLOCK_FILE' )) {
	if (function_exists ( "location" ))
		location ( "../index.php" );
	else
		die ();
	exit ();
}

global $tracker_lang, $CURGROUP;
if ($CURGROUP ['can_browse']) {
	$content = '<table width="100%">
   <tr><td>
   &nbsp;' . $tracker_lang ['torrents'] . '
   <form method="get" action=browse.php>
   <input type="text" name="search" size="20" value="" /></td></tr>
   <tr><td>

   <input type="submit" value="' . $tracker_lang ['search_btn'] . '!" /></td></tr>
   </form>
   </table>';
}
if ($CURGROUP ['can_users']) {
	$content .= '<table width="100%">
   <tr><td>
   &nbsp;' . $tracker_lang ['users'] . '
   <form method="get" action=users.php>
   <input type="text" name="search" size="20" value="" /></td></tr>
   <tr><td>

   <input type="submit" value="' . $tracker_lang ['search_btn'] . '!" /></td></tr>
   </form>
   </table>';
}
if ($CURGROUP ['can_req']) {
	$content .= '<table width="100%">
   <tr><td>
   &nbsp;' . $tracker_lang ['requests'] . '
   <form method="get" action=viewrequests.php>
   <input type="text" name="search" size="20" value="" /></td></tr>
   <tr><td>

   <input type="submit" value="' . $tracker_lang ['search_btn'] . '!" /></td></tr>
   </form>
   </table>';
}
if ($CURGROUP ['can_off']) {
	$content .= '<table width="100%">
   <tr><td>
   &nbsp;' . $tracker_lang ['offers'] . '
   <form method="get" action=viewoffers.php>
   <input type="text" name="search" size="20" value="" /></td></tr>
   <tr><td>

   <input type="submit" value="' . $tracker_lang ['search_btn'] . '!" /></td></tr>
   </form>
   </table>';
}
$blocktitle = $tracker_lang ['search'];
?>