Exemple #1
0
    return;
}
if ($params->get('show_search')) {
    ?>
    <div class="componentheading<?php 
    echo $params->get('pageclass_sfx');
    ?>
">

        <table  class="basictable bl_bl_single_category_table_for_search" width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td width="60%">&nbsp;</td>
                <td width="40%" nowrap align="right">
                    <?php 
    //  if ($params->get('search_fieldshow'))
    echo HTML_booklibrary::displaySimpleSearch();
    echo '<div class="bl_bl_single_category_top_advanced_search my_btn my_btn-info">        
                        <a href="' . $mosConfig_live_site . '/index.php?option=com_booklibrary&task=show_search&catid=0&Itemid=$Itemid"> Advanced search</a>
                    </div>';
    ?>
                </td>
            </tr>
        </table>
    </div>
    <?php 
}
$total = count($rows);
if ($total > 0) {
    $view_type = $params->get('view_type');
    if (isset($_REQUEST['viewtype'])) {
        $view_type_selected = mosGetParam($_REQUEST, 'viewtype');