<?php

// eXtreme Styles mod cache. Generated on Thu, 19 Jun 2008 18:22:06 +0400 (time=1213885326)

?><form method="POST" action="<?php echo isset($this->vars['TOR_SEARCH_ACTION']) ? $this->vars['TOR_SEARCH_ACTION'] : $this->lang('TOR_SEARCH_ACTION'); ?>" style="display: inline">

<input type="hidden" name="prev_<?php echo isset($this->vars['SEED_EXIST_NAME']) ? $this->vars['SEED_EXIST_NAME'] : $this->lang('SEED_EXIST_NAME'); ?>" value="<?php echo isset($this->vars['SEED_EXIST_VAL']) ? $this->vars['SEED_EXIST_VAL'] : $this->lang('SEED_EXIST_VAL'); ?>" />
<input type="hidden" name="prev_<?php echo isset($this->vars['ONLY_ACTIVE_NAME']) ? $this->vars['ONLY_ACTIVE_NAME'] : $this->lang('ONLY_ACTIVE_NAME'); ?>" value="<?php echo isset($this->vars['ONLY_ACTIVE_VAL']) ? $this->vars['ONLY_ACTIVE_VAL'] : $this->lang('ONLY_ACTIVE_VAL'); ?>" />
<input type="hidden" name="prev_<?php echo isset($this->vars['ONLY_MY_NAME']) ? $this->vars['ONLY_MY_NAME'] : $this->lang('ONLY_MY_NAME'); ?>" value="<?php echo isset($this->vars['ONLY_MY_VAL']) ? $this->vars['ONLY_MY_VAL'] : $this->lang('ONLY_MY_VAL'); ?>" />
<input type="hidden" name="prev_<?php echo isset($this->vars['ONLY_NEW_NAME']) ? $this->vars['ONLY_NEW_NAME'] : $this->lang('ONLY_NEW_NAME'); ?>" value="<?php echo isset($this->vars['ONLY_NEW_VAL']) ? $this->vars['ONLY_NEW_VAL'] : $this->lang('ONLY_NEW_VAL'); ?>" />
<input type="hidden" name="prev_<?php echo isset($this->vars['SHOW_CAT_NAME']) ? $this->vars['SHOW_CAT_NAME'] : $this->lang('SHOW_CAT_NAME'); ?>" value="<?php echo isset($this->vars['SHOW_CAT_VAL']) ? $this->vars['SHOW_CAT_VAL'] : $this->lang('SHOW_CAT_VAL'); ?>" />
<input type="hidden" name="prev_<?php echo isset($this->vars['SHOW_FORUM_NAME']) ? $this->vars['SHOW_FORUM_NAME'] : $this->lang('SHOW_FORUM_NAME'); ?>" value="<?php echo isset($this->vars['SHOW_FORUM_VAL']) ? $this->vars['SHOW_FORUM_VAL'] : $this->lang('SHOW_FORUM_VAL'); ?>" />
<input type="hidden" name="prev_<?php echo isset($this->vars['SHOW_AUTHOR_NAME']) ? $this->vars['SHOW_AUTHOR_NAME'] : $this->lang('SHOW_AUTHOR_NAME'); ?>" value="<?php echo isset($this->vars['SHOW_AUTHOR_VAL']) ? $this->vars['SHOW_AUTHOR_VAL'] : $this->lang('SHOW_AUTHOR_VAL'); ?>" />
<input type="hidden" name="prev_<?php echo isset($this->vars['SHOW_SPEED_NAME']) ? $this->vars['SHOW_SPEED_NAME'] : $this->lang('SHOW_SPEED_NAME'); ?>" value="<?php echo isset($this->vars['SHOW_SPEED_VAL']) ? $this->vars['SHOW_SPEED_VAL'] : $this->lang('SHOW_SPEED_VAL'); ?>" />

<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
	<tr>
		<td valign="bottom"><span class="nav"><a href="<?php echo isset($this->vars['U_INDEX']) ? $this->vars['U_INDEX'] : $this->lang('U_INDEX'); ?>" class="nav"><?php echo isset($this->vars['L_INDEX']) ? $this->vars['L_INDEX'] : $this->lang('L_INDEX'); ?></a></span></td>
		<td valign="bottom" align="right"><span class="nav" title="<?php echo isset($this->vars['TP_VER']) ? $this->vars['TP_VER'] : $this->lang('TP_VER'); ?>"><?php echo isset($this->vars['L_MATCHES']) ? $this->vars['L_MATCHES'] : $this->lang('L_MATCHES'); ?> <?php echo isset($this->vars['L_SERACH_MAX']) ? $this->vars['L_SERACH_MAX'] : $this->lang('L_SERACH_MAX'); ?></span></td>
	</tr>
</table>

<div><img src="images/spacer.gif" alt="" width="1" height="4" /></div>

<?php if ($this->vars['SHOW_SEARCH_OPT']) {  ?>
<script language='javascript' type="text/javascript">
  function ShowOrHide(id) {
    if (document.getElementById(id).style.display == "none") { document.getElementById(id).style.display = "block"; }
    else { document.getElementById(id).style.display = "none"; }
  }
</script>
<table width="100%" class="forumline" cellspacing="1" cellpadding="4" border="0" align="center">
	<tr>
		<td class="catHead" align="center" style="letter-spacing: 1px; height: 28px">
		<span class="gen"><b><?php echo isset($this->vars['L_HEADER']) ? $this->vars['L_HEADER'] : $this->lang('L_HEADER'); ?></b></span></td>
	</tr>
	<tr>
		<td class="row1" align="center">
			<div id="advanced" style="display: none;">
			<table cellspacing="0" cellpadding="2" border="0">
				<tr>
					<td valign="top" class="row1" nowrap="nowrap">
						<fieldset class="fieldset" style="margin: 2px;">
							<legend><?php echo isset($this->vars['L_SEARCH_IN']) ? $this->vars['L_SEARCH_IN'] : $this->lang('L_SEARCH_IN'); ?></legend>
							<div style="padding: 4px">
								<?php echo isset($this->vars['CAT_FORUM_SELECT']) ? $this->vars['CAT_FORUM_SELECT'] : $this->lang('CAT_FORUM_SELECT'); ?>
							</div>
						</fieldset>
					</td>
					<td valign="top" class="row1" style="padding: 2px 8px 2px 8px">
						<div>
							<fieldset class="fieldset" style="margin: 2px;">
								<legend><?php echo isset($this->vars['L_SORT_BY']) ? $this->vars['L_SORT_BY'] : $this->lang('L_SORT_BY'); ?></legend>
								<div style="padding: 4px">
									<div class="gen" style="padding-bottom: 2px">
										&nbsp;<select class="post" name="<?php echo isset($this->vars['ORDER_NAME']) ? $this->vars['ORDER_NAME'] : $this->lang('ORDER_NAME'); ?>"><?php echo isset($this->vars['ORDER_OPTIONS']) ? $this->vars['ORDER_OPTIONS'] : $this->lang('ORDER_OPTIONS'); ?></select>&nbsp;
									</div>
									<div class="genmed"><nobr><label for="sort_asc">&nbsp;<input id="sort_asc" type="radio" name="<?php echo isset($this->vars['SORT_NAME']) ? $this->vars['SORT_NAME'] : $this->lang('SORT_NAME'); ?>" value="<?php echo isset($this->vars['SORT_ASC']) ? $this->vars['SORT_ASC'] : $this->lang('SORT_ASC'); ?>" <?php echo isset($this->vars['SORT_ASC_CHECKED']) ? $this->vars['SORT_ASC_CHECKED'] : $this->lang('SORT_ASC_CHECKED'); ?> /> <?php echo isset($this->vars['L_SORT_ASC']) ? $this->vars['L_SORT_ASC'] : $this->lang('L_SORT_ASC'); ?>&nbsp;</label></nobr></div>
									<div class="genmed"><nobr><label for="sort_desc">&nbsp;<input id="sort_desc" type="radio" name="<?php echo isset($this->vars['SORT_NAME']) ? $this->vars['SORT_NAME'] : $this->lang('SORT_NAME'); ?>" value="<?php echo isset($this->vars['SORT_DESC']) ? $this->vars['SORT_DESC'] : $this->lang('SORT_DESC'); ?>" <?php echo isset($this->vars['SORT_DESC_CHECKED']) ? $this->vars['SORT_DESC_CHECKED'] : $this->lang('SORT_DESC_CHECKED'); ?> /> <?php echo isset($this->vars['L_SORT_DESC']) ? $this->vars['L_SORT_DESC'] : $this->lang('L_SORT_DESC'); ?>&nbsp;</label></nobr></div>
								</div>
							</fieldset>
						</div>
						<div style="padding-top: 4px">
							<fieldset class="fieldset" style="margin: 2px;">
								<legend><?php echo isset($this->vars['L_POSTS_FROM']) ? $this->vars['L_POSTS_FROM'] : $this->lang('L_POSTS_FROM'); ?></legend>
								<div class="gen" style="padding: 4px 4px 5px 4px">
									&nbsp;<select class="post" name="<?php echo isset($this->vars['TIME_NAME']) ? $this->vars['TIME_NAME'] : $this->lang('TIME_NAME'); ?>"><?php echo isset($this->vars['TIME_OPTIONS']) ? $this->vars['TIME_OPTIONS'] : $this->lang('TIME_OPTIONS'); ?></select>&nbsp;
								</div>
							</fieldset>
						</div>
					</td>
					<td valign="top" class="row1">
						<div>
							<fieldset class="fieldset" style="margin: 2px;">
								<legend><?php echo isset($this->vars['L_SHOW_ONLY']) ? $this->vars['L_SHOW_ONLY'] : $this->lang('L_SHOW_ONLY'); ?></legend>
								<div style="padding: 4px">
									<div class="gen"><nobr>
										<label for="only_active"><input id="only_active" type="checkbox" name="<?php echo isset($this->vars['ONLY_ACTIVE_NAME']) ? $this->vars['ONLY_ACTIVE_NAME'] : $this->lang('ONLY_ACTIVE_NAME'); ?>" value="1" <?php echo isset($this->vars['ONLY_ACTIVE_CHECKED']) ? $this->vars['ONLY_ACTIVE_CHECKED'] : $this->lang('ONLY_ACTIVE_CHECKED'); ?> /><?php echo isset($this->vars['L_ONLY_ACTIVE']) ? $this->vars['L_ONLY_ACTIVE'] : $this->lang('L_ONLY_ACTIVE'); ?>&nbsp;</label>
										<label for="only_my"><input id="only_my" type="checkbox" name="<?php echo isset($this->vars['ONLY_MY_NAME']) ? $this->vars['ONLY_MY_NAME'] : $this->lang('ONLY_MY_NAME'); ?>" value="1" <?php echo isset($this->vars['ONLY_MY_CHECKED']) ? $this->vars['ONLY_MY_CHECKED'] : $this->lang('ONLY_MY_CHECKED'); ?> <?php echo isset($this->vars['ONLY_MY_DISABLED']) ? $this->vars['ONLY_MY_DISABLED'] : $this->lang('ONLY_MY_DISABLED'); ?> /><?php echo isset($this->vars['L_ONLY_MY']) ? $this->vars['L_ONLY_MY'] : $this->lang('L_ONLY_MY'); ?>&nbsp;</label>
										<label for="seed_exist"><input id="seed_exist" type="checkbox" name="<?php echo isset($this->vars['SEED_EXIST_NAME']) ? $this->vars['SEED_EXIST_NAME'] : $this->lang('SEED_EXIST_NAME'); ?>" value="1" <?php echo isset($this->vars['SEED_EXIST_CHECKED']) ? $this->vars['SEED_EXIST_CHECKED'] : $this->lang('SEED_EXIST_CHECKED'); ?> /><?php echo isset($this->vars['L_SEED_EXIST']) ? $this->vars['L_SEED_EXIST'] : $this->lang('L_SEED_EXIST'); ?>&nbsp;</label>
									</nobr></div>
									<div class="gen"><nobr><label for="only_new"><input id="only_new" type="checkbox" name="<?php echo isset($this->vars['ONLY_NEW_NAME']) ? $this->vars['ONLY_NEW_NAME'] : $this->lang('ONLY_NEW_NAME'); ?>" value="1" <?php echo isset($this->vars['ONLY_NEW_CHECKED']) ? $this->vars['ONLY_NEW_CHECKED'] : $this->lang('ONLY_NEW_CHECKED'); ?> <?php echo isset($this->vars['ONLY_NEW_DISABLED']) ? $this->vars['ONLY_NEW_DISABLED'] : $this->lang('ONLY_NEW_DISABLED'); ?> /><?php echo isset($this->vars['L_ONLY_NEW']) ? $this->vars['L_ONLY_NEW'] : $this->lang('L_ONLY_NEW'); ?>&nbsp;</label>[<img src="<?php echo isset($this->vars['L_ONLY_NEW_IMG']) ? $this->vars['L_ONLY_NEW_IMG'] : $this->lang('L_ONLY_NEW_IMG'); ?>" width="12" height="9">]&nbsp;</nobr></div>
								</div>
							</fieldset>
						</div>
						<div style="padding-top: 5px">
							<fieldset class="fieldset" style="margin: 2px;">
								<legend><?php echo isset($this->vars['L_DISPLAYING']) ? $this->vars['L_DISPLAYING'] : $this->lang('L_DISPLAYING'); ?></legend>
								<table cellspacing="4" cellpadding="0" border="0">
									<tr>
										<td>
											<div class="gen"><nobr><label for="show_cat"><input id="show_cat" type="checkbox" name="<?php echo isset($this->vars['SHOW_CAT_NAME']) ? $this->vars['SHOW_CAT_NAME'] : $this->lang('SHOW_CAT_NAME'); ?>" value="1" <?php echo isset($this->vars['SHOW_CAT_CHECKED']) ? $this->vars['SHOW_CAT_CHECKED'] : $this->lang('SHOW_CAT_CHECKED'); ?> /><?php echo isset($this->vars['L_SHOW_CAT']) ? $this->vars['L_SHOW_CAT'] : $this->lang('L_SHOW_CAT'); ?>&nbsp;</label>&nbsp;&nbsp;</nobr></div>
											<div class="gen"><nobr><label for="show_forum"><input id="show_forum" type="checkbox" name="<?php echo isset($this->vars['SHOW_FORUM_NAME']) ? $this->vars['SHOW_FORUM_NAME'] : $this->lang('SHOW_FORUM_NAME'); ?>" value="1" <?php echo isset($this->vars['SHOW_FORUM_CHECKED']) ? $this->vars['SHOW_FORUM_CHECKED'] : $this->lang('SHOW_FORUM_CHECKED'); ?> /><?php echo isset($this->vars['L_SHOW_FORUM']) ? $this->vars['L_SHOW_FORUM'] : $this->lang('L_SHOW_FORUM'); ?>&nbsp;</label>&nbsp;&nbsp;</nobr></div>
										</td>
										<td>
											<div class="gen"><nobr><label for="show_author"><input id="show_author" type="checkbox" name="<?php echo isset($this->vars['SHOW_AUTHOR_NAME']) ? $this->vars['SHOW_AUTHOR_NAME'] : $this->lang('SHOW_AUTHOR_NAME'); ?>" value="1" <?php echo isset($this->vars['SHOW_AUTHOR_CHECKED']) ? $this->vars['SHOW_AUTHOR_CHECKED'] : $this->lang('SHOW_AUTHOR_CHECKED'); ?> /><?php echo isset($this->vars['L_SHOW_AUTHOR']) ? $this->vars['L_SHOW_AUTHOR'] : $this->lang('L_SHOW_AUTHOR'); ?>&nbsp;</label></nobr></div>
											<div class="gen"><nobr><label for="show_speed"><input id="show_speed" type="checkbox" name="<?php echo isset($this->vars['SHOW_SPEED_NAME']) ? $this->vars['SHOW_SPEED_NAME'] : $this->lang('SHOW_SPEED_NAME'); ?>" value="1" <?php echo isset($this->vars['SHOW_SPEED_CHECKED']) ? $this->vars['SHOW_SPEED_CHECKED'] : $this->lang('SHOW_SPEED_CHECKED'); ?> /><?php echo isset($this->vars['L_SHOW_SPEED']) ? $this->vars['L_SHOW_SPEED'] : $this->lang('L_SHOW_SPEED'); ?>&nbsp;</label></nobr></div>
										</td>
									</tr>
								</table>
							</fieldset>
						</div>
					</td>
				</tr>
			</table>
			<hr />
			</div>
			<table cellspacing="0" cellpadding="2" border="0">
				<tr>
					<td valign="top" class="row1" nowrap="nowrap">
						<fieldset class="fieldset" style="margin: 2px;">
							<legend><?php echo isset($this->vars['L_SEED_NOT_SEEN']) ? $this->vars['L_SEED_NOT_SEEN'] : $this->lang('L_SEED_NOT_SEEN'); ?></legend>
							<div style="padding: 4px">
								&nbsp;<select class="post" name="<?php echo isset($this->vars['S_NOT_SEEN_NAME']) ? $this->vars['S_NOT_SEEN_NAME'] : $this->lang('S_NOT_SEEN_NAME'); ?>"><?php echo isset($this->vars['S_NOT_SEEN_OPTIONS']) ? $this->vars['S_NOT_SEEN_OPTIONS'] : $this->lang('S_NOT_SEEN_OPTIONS'); ?></select>&nbsp;
							</div>
						</fieldset>
					</td>
					<td valign="top" class="row1">
						<div>
							<fieldset class="fieldset" style="margin: 2px;">
								<legend><?php echo isset($this->vars['L_TITLE_MATCH']) ? $this->vars['L_TITLE_MATCH'] : $this->lang('L_TITLE_MATCH'); ?></legend>
								<div style="padding: 4px">
									&nbsp;<input class="post" type="text" size="40" maxlength="<?php echo isset($this->vars['TITLE_MATCH_MAX']) ? $this->vars['TITLE_MATCH_MAX'] : $this->lang('TITLE_MATCH_MAX'); ?>" name="<?php echo isset($this->vars['TITLE_MATCH_NAME']) ? $this->vars['TITLE_MATCH_NAME'] : $this->lang('TITLE_MATCH_NAME'); ?>" value="<?php echo isset($this->vars['TITLE_MATCH_VAL']) ? $this->vars['TITLE_MATCH_VAL'] : $this->lang('TITLE_MATCH_VAL'); ?>" />&nbsp;
								</div>
							</fieldset>
						</div>
					</td>
					<td valign="top" class="row1">
						<div>
							<fieldset class="fieldset" style="margin: 2px;">
								<legend><?php echo isset($this->vars['L_AUTHOR']) ? $this->vars['L_AUTHOR'] : $this->lang('L_AUTHOR'); ?></legend>
								<div style="padding: 4px">
									&nbsp;<input class="post" type="text" size="16" maxlength="<?php echo isset($this->vars['POSTER_NAME_MAX']) ? $this->vars['POSTER_NAME_MAX'] : $this->lang('POSTER_NAME_MAX'); ?>" name="<?php echo isset($this->vars['POSTER_NAME_NAME']) ? $this->vars['POSTER_NAME_NAME'] : $this->lang('POSTER_NAME_NAME'); ?>" value="<?php echo isset($this->vars['POSTER_NAME_VAL']) ? $this->vars['POSTER_NAME_VAL'] : $this->lang('POSTER_NAME_VAL'); ?>" />&nbsp;
								</div>
							</fieldset>
						</div>
					</td>
				</tr>
			</table>
		<span class="genmed"><a href="javascript:ShowOrHide('advanced')"><?php echo isset($this->vars['L_SEARCH_ADV']) ? $this->vars['L_SEARCH_ADV'] : $this->lang('L_SEARCH_ADV'); ?></a></span>
		</td>
	</tr>
	<tr>
		<td class="catBottom" align="center" style="padding: 0px; height: 26px">
			<span class="genmed"><input type="submit" class="liteoption" value="<?php echo isset($this->vars['L_SEARCH']) ? $this->vars['L_SEARCH'] : $this->lang('L_SEARCH'); ?>" name="submit" /></span>
		</td>
	</tr>
</table>

<div><img src="images/spacer.gif" alt="" width="1" height="6" /></div>
<?php } ?>

<table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0">
	<tr>
		<th align="center" nowrap="nowrap" title="">&nbsp;</th>
		<?php if ($this->vars['SHOW_CAT']) {  ?>
		<th align="center" nowrap="nowrap"title="<?php echo isset($this->vars['L_CATEGORY']) ? $this->vars['L_CATEGORY'] : $this->lang('L_CATEGORY'); ?>"> <?php echo isset($this->vars['L_SHORT_CAT']) ? $this->vars['L_SHORT_CAT'] : $this->lang('L_SHORT_CAT'); ?> </th>
		<?php } ?>
		<?php if ($this->vars['SHOW_FORUM']) {  ?>
		<th align="center" nowrap="nowrap" title="<?php echo isset($this->vars['L_FORUM']) ? $this->vars['L_FORUM'] : $this->lang('L_FORUM'); ?>"> <?php echo isset($this->vars['L_SHORT_FORUM']) ? $this->vars['L_SHORT_FORUM'] : $this->lang('L_SHORT_FORUM'); ?> </th>
		<?php } ?>
		<th align="center" nowrap="nowrap" title="<?php echo isset($this->vars['L_TOPIC']) ? $this->vars['L_TOPIC'] : $this->lang('L_TOPIC'); ?>"> <?php echo isset($this->vars['L_SHORT_TOPIC']) ? $this->vars['L_SHORT_TOPIC'] : $this->lang('L_SHORT_TOPIC'); ?> </th>
		<?php if ($this->vars['SHOW_AUTHOR']) {  ?>
		<th align="center" nowrap="nowrap" title="<?php echo isset($this->vars['L_AUTHOR']) ? $this->vars['L_AUTHOR'] : $this->lang('L_AUTHOR'); ?>"> <?php echo isset($this->vars['L_SHORT_AUTHOR']) ? $this->vars['L_SHORT_AUTHOR'] : $this->lang('L_SHORT_AUTHOR'); ?> </th>
		<?php } ?>
		<th align="center" nowrap="nowrap" title="<?php echo isset($this->vars['L_DL']) ? $this->vars['L_DL'] : $this->lang('L_DL'); ?>"> <?php echo isset($this->vars['L_SHORT_DL']) ? $this->vars['L_SHORT_DL'] : $this->lang('L_SHORT_DL'); ?> </th>
		<th align="center" nowrap="nowrap" title="<?php echo isset($this->vars['L_SIZE']) ? $this->vars['L_SIZE'] : $this->lang('L_SIZE'); ?>"> <?php echo isset($this->vars['L_SHORT_Size']) ? $this->vars['L_SHORT_Size'] : $this->lang('L_SHORT_Size'); ?> </th>
		<th align="center" nowrap="nowrap" title="<?php echo isset($this->vars['L_COMPL']) ? $this->vars['L_COMPL'] : $this->lang('L_COMPL'); ?>"> <?php echo isset($this->vars['L_SHORT_C']) ? $this->vars['L_SHORT_C'] : $this->lang('L_SHORT_C'); ?> </th>
		<th align="center" nowrap="nowrap" title="<?php echo isset($this->vars['L_SEEDERS']) ? $this->vars['L_SEEDERS'] : $this->lang('L_SEEDERS'); ?>"> <?php echo isset($this->vars['L_SHORT_S']) ? $this->vars['L_SHORT_S'] : $this->lang('L_SHORT_S'); ?> </th>
		<th align="center" nowrap="nowrap" title="<?php echo isset($this->vars['L_LEECHERS']) ? $this->vars['L_LEECHERS'] : $this->lang('L_LEECHERS'); ?>"> <?php echo isset($this->vars['L_SHORT_L']) ? $this->vars['L_SHORT_L'] : $this->lang('L_SHORT_L'); ?> </th>
		<th align="center" nowrap="nowrap" title="<?php echo isset($this->vars['L_REPLIES']) ? $this->vars['L_REPLIES'] : $this->lang('L_REPLIES'); ?>"> <?php echo isset($this->vars['L_SHORT_R']) ? $this->vars['L_SHORT_R'] : $this->lang('L_SHORT_R'); ?> </th>
		<?php if ($this->vars['SHOW_SPEED']) {  ?>
		<th align="center" nowrap="nowrap" title="<?php echo isset($this->vars['L_DL_SPEED']) ? $this->vars['L_DL_SPEED'] : $this->lang('L_DL_SPEED'); ?>"> <?php echo isset($this->vars['L_SHORT_SP']) ? $this->vars['L_SHORT_SP'] : $this->lang('L_SHORT_SP'); ?> </th>
		<?php } ?>
		<th align="center" nowrap="nowrap" title="<?php echo isset($this->vars['L_POSTED']) ? $this->vars['L_POSTED'] : $this->lang('L_POSTED'); ?>"> <?php echo isset($this->vars['L_SHORT_Added']) ? $this->vars['L_SHORT_Added'] : $this->lang('L_SHORT_Added'); ?> </th>
	</tr>
	<?php

$tor_count = ( isset($this->_tpldata['tor.']) ) ?  sizeof($this->_tpldata['tor.']) : 0;
for ($tor_i = 0; $tor_i < $tor_count; $tor_i++)
{
 $tor_item = &$this->_tpldata['tor.'][$tor_i];
 $tor_item['S_ROW_COUNT'] = $tor_i;
 $tor_item['S_NUM_ROWS'] = $tor_count;

?>
	<tr class="<?php echo isset($tor_item['ROW_CLASS']) ? $tor_item['ROW_CLASS'] : ''; ?>">
		<td align="center"><?php if ($tor_item['USER_AUTHOR']) {  ?><div class="gen" style="padding-bottom: 3px">&nbsp;<b>&reg;</b>&nbsp;</div><?php } else { ?><?php echo isset($tor_item['POST_IMG']) ? $tor_item['POST_IMG'] : ''; ?><?php } ?></td>
		<?php if ($this->vars['SHOW_CAT']) {  ?>
		<td align="center" class="gen"><a class="gen" href="<?php echo isset($tor_item['CAT_HREF']) ? $tor_item['CAT_HREF'] : ''; ?>"><?php echo isset($tor_item['CAT_TITLE']) ? $tor_item['CAT_TITLE'] : ''; ?></a></td>
		<?php } ?>
		<?php if ($this->vars['SHOW_FORUM']) {  ?>
		<td align="center" class="gen"><a class="gen" href="<?php echo isset($tor_item['FORUM_HREF']) ? $tor_item['FORUM_HREF'] : ''; ?>"><?php echo isset($tor_item['FORUM_NAME']) ? $tor_item['FORUM_NAME'] : ''; ?></a></td>
		<?php } ?>
		<td title="<?php echo isset($tor_item['TITLE_AUTHOR']) ? $tor_item['TITLE_AUTHOR'] : ''; ?>" class="genmed"><a class="<?php echo isset($tor_item['DL_CLASS']) ? $tor_item['DL_CLASS'] : ''; ?>" href="<?php echo isset($tor_item['TOPIC_HREF']) ? $tor_item['TOPIC_HREF'] : ''; ?>"><b><?php echo isset($tor_item['TOPIC_TITLE']) ? $tor_item['TOPIC_TITLE'] : ''; ?></b></a></td>
		<?php if ($this->vars['SHOW_AUTHOR']) {  ?>
		<td align="center" class="genmed"><a class="genmed" href="<?php echo isset($tor_item['POSTER_HREF']) ? $tor_item['POSTER_HREF'] : ''; ?>"><?php echo isset($tor_item['USERNAME']) ? $tor_item['USERNAME'] : ''; ?></a></td>
		<?php } ?>
		<td align="center" class="genmed" nowrap="nowrap" style="cursor: pointer" onClick="window.location.href='<?php echo isset($tor_item['DL_TOR_HREF']) ? $tor_item['DL_TOR_HREF'] : ''; ?>'"><a class="genmed" href="<?php echo isset($tor_item['DL_TOR_HREF']) ? $tor_item['DL_TOR_HREF'] : ''; ?>">[ <span class="bold" onclick="this.className='normal'">DL</span> ]</a></td>
		<td align="center" title="<?php echo isset($tor_item['TITLE_SPEED']) ? $tor_item['TITLE_SPEED'] : ''; ?>" nowrap="nowrap" class="gensmall"><?php echo isset($tor_item['TOR_SIZE']) ? $tor_item['TOR_SIZE'] : ''; ?></td>
		<td align="center" title="<?php echo isset($this->vars['L_COMPL']) ? $this->vars['L_COMPL'] : $this->lang('L_COMPL'); ?>" class="gensmall"><?php echo isset($tor_item['COMPLETED']) ? $tor_item['COMPLETED'] : ''; ?></td>
		<td align="center" title="<?php echo isset($tor_item['SEEDS_TITLE']) ? $tor_item['SEEDS_TITLE'] : ''; ?>" class="seedmed"><b><?php echo isset($tor_item['SEEDS']) ? $tor_item['SEEDS'] : ''; ?></b></td>
		<td align="center" title="<?php echo isset($this->vars['L_LEECHERS']) ? $this->vars['L_LEECHERS'] : $this->lang('L_LEECHERS'); ?>" class="leechmed"><b><?php echo isset($tor_item['LEECHS']) ? $tor_item['LEECHS'] : ''; ?></b></td>
		<td align="center" title="<?php echo isset($tor_item['VIEWS']) ? $tor_item['VIEWS'] : ''; ?> <?php echo isset($this->vars['L_VIEWS']) ? $this->vars['L_VIEWS'] : $this->lang('L_VIEWS'); ?>" class="gensmall"><?php echo isset($tor_item['REPLIES']) ? $tor_item['REPLIES'] : ''; ?></td>
		<?php if ($this->vars['SHOW_SPEED']) {  ?>
		<td align="center" title="<?php echo isset($tor_item['UL_SPEED']) ? $tor_item['UL_SPEED'] : ''; ?>" nowrap="nowrap" class="leechmed"><?php echo isset($tor_item['DL_SPEED']) ? $tor_item['DL_SPEED'] : ''; ?></td>
		<?php } ?>
		<td align="center" nowrap="nowrap" title="<?php echo isset($this->vars['L_POSTED']) ? $this->vars['L_POSTED'] : $this->lang('L_POSTED'); ?>" class="gensmall"><?php echo isset($tor_item['ADDED']) ? $tor_item['ADDED'] : ''; ?></td>
	</tr>
	<?php

} // END tor

if(isset($tor_item)) { unset($tor_item); } 

?>
	<?php

$tor_not_found_count = ( isset($this->_tpldata['tor_not_found.']) ) ?  sizeof($this->_tpldata['tor_not_found.']) : 0;
for ($tor_not_found_i = 0; $tor_not_found_i < $tor_not_found_count; $tor_not_found_i++)
{
 $tor_not_found_item = &$this->_tpldata['tor_not_found.'][$tor_not_found_i];
 $tor_not_found_item['S_ROW_COUNT'] = $tor_not_found_i;
 $tor_not_found_item['S_NUM_ROWS'] = $tor_not_found_count;

?>
	<tr>
	 <td class="row1" align="center" valign="middle" colspan="<?php echo isset($this->vars['TOR_COLSPAN']) ? $this->vars['TOR_COLSPAN'] : $this->lang('TOR_COLSPAN'); ?>" height="32"><span class="gen"><?php echo isset($tor_not_found_item['L_NO_MATCH']) ? $tor_not_found_item['L_NO_MATCH'] : ''; ?></span></td>
	</tr>
	<?php

} // END tor_not_found

if(isset($tor_not_found_item)) { unset($tor_not_found_item); } 

?>
	<tr>
	 <td class="catBottom" align="center" valign="middle" colspan="<?php echo isset($this->vars['TOR_COLSPAN']) ? $this->vars['TOR_COLSPAN'] : $this->lang('TOR_COLSPAN'); ?>" height="28">&nbsp;</td>
	</tr>
</table>

<table width="100%" cellspacing="2" cellpadding="2" border="0">
	<tr>
		<td valign="top" style="padding-left: 2px"><span class="nav"><?php echo isset($this->vars['PAGE_NUMBER']) ? $this->vars['PAGE_NUMBER'] : $this->lang('PAGE_NUMBER'); ?></span></td>
		<td align="right" valign="top" nowrap="nowrap"><span class="nav"><?php echo isset($this->vars['PAGINATION']) ? $this->vars['PAGINATION'] : $this->lang('PAGINATION'); ?></span></td>
	</tr>
</table>

</form>