<div class="adsmanager_search_box">
<div class="adsmanager_inner_box">
<?php echo '<div align="left">'.$pagenav->writePagesCounter().'</div>'; ?>
<form action="index.php" method="get">
<input type="hidden" name="option" value="<?php echo $option; ?>" />
<input type="hidden" name="page" value="<?php echo $page;?>" />
<?php
switch($page)
{
case "show_user":
echo '<input type="hidden" name="userid" value="'.$userid.'" />';
break;
case "show_category":
echo '<input type="hidden" name="catid" value="'.$catid.'" />';
break;
}
?>
<div align="left"><input name="text_search" id="text_search" maxlength="30" alt="search" class="inputbox" type="text" size="20" value="<?php echo $text_search;?>" onblur="if(this.value=='') this.value='';" onfocus="if(this.value=='<?php echo $text_search;?>') this.value='';" /></div>
<a href="<?php echo sefRelToAbs("index.php?option=$option&page=show_search&catid=$catid&Itemid=$itemid");?>">Расширенный поиск по недвижимости ПМР</a></div>
<input type="hidden" name="order" value="<?php echo $order; ?>" />
<input type="hidden" name="expand" value="<?php echo $expand; ?>" />
<input type="hidden" name="Itemid" value="<?php echo $itemid;?>" />
</form>
</div>
</div>