Пример #1
0
/**
* Print Search Engine
* $param $content_type 
*/
function printSearchEngine($content_type, $submit_page, $full_search = false)
{
    global $link;
    ?>
<table width="100%" border="0" cellspacing="0" cellpadding="1" align="center">
  <tr>
    <td class="tableBorder">
      <table width="100%" border="0" cellspacing="1" cellpadding="0">
      	<tr>
	  <td class="tableTitle">
	    <a href="javascript: void(0);" onclick="showHideSearch('search');">&#8250; <?php 
    echo translate('Search');
    ?>
</a>
	  </td>
	  <td class="tableTitle">
            <div align="right">
              <?php 
    $link->doLink('javascript: help(\'search\');', '?', '', 'color: #FFFFFF;', translate('Help') . ' - ' . translate('My Re
servations'));
    ?>
            </div>
          </td>
	</tr>
</table>
<div id="search" style="display: <?php 
    echo getShowHide('search');
    ?>
">
  <table width="100%" border="0" cellspacing="1" cellpadding="0">
    <tr class="cellColor"><td><center><?php 
    CmnFns::searchEngine($content_type, $submit_page, $full_search);
    ?>
</center></td></tr>
  </table>
</div>
    </td>
  </tr>
</table>
<?php 
}