Exemplo n.º 1
0
        echo T_('Rating');
        ?>
</th>
                <?php 
    }
    ?>
                <?php 
    if (AmpConfig::get('userflags')) {
        ?>
                    <th class="cel_userflag"><?php 
        echo T_('Fav.');
        ?>
</th>
                <?php 
    }
    ?>
            <?php 
}
?>
            <th class="cel_action"><?php 
echo T_('Actions');
?>
</th>
        </tr>
    <tfoot>
</table>
<?php 
show_table_render();
if ($browse->get_show_header()) {
    require AmpConfig::get('prefix') . UI::find_template('list_header.inc.php');
}
Exemplo n.º 2
0
        require_once AmpConfig::get('prefix') . UI::find_template('show_highest.inc.php');
        break;
    case 'userflag':
        require_once AmpConfig::get('prefix') . UI::find_template('show_userflag.inc.php');
        break;
    case 'recent':
        $user_id = $_REQUEST['user_id'];
        require_once AmpConfig::get('prefix') . UI::find_template('show_recent.inc.php');
        break;
    case 'wanted':
        require_once AmpConfig::get('prefix') . UI::find_template('show_wanted.inc.php');
        break;
    case 'share':
        require_once AmpConfig::get('prefix') . UI::find_template('show_shares.inc.php');
        break;
    case 'upload':
        require_once AmpConfig::get('prefix') . UI::find_template('show_uploads.inc.php');
        break;
    case 'graph':
        Graph::display_from_request();
        break;
    case 'show':
    default:
        if (Access::check('interface', '50')) {
            require_once AmpConfig::get('prefix') . UI::find_template('show_stats.inc.php');
        }
        break;
}
// end switch on action
show_table_render(false, true);
UI::show_footer();
Exemplo n.º 3
0
</th>
                    <?php 
    }
    ?>
                    <?php 
    if (AmpConfig::get('userflags')) {
        ?>
                        <th class="cel_userflag"><?php 
        echo T_('Fav.');
        ?>
</th>
                    <?php 
    }
    ?>
                <?php 
}
?>
                <th class="cel_action"><?php 
echo T_('Action');
?>
</th>
                <th class="cel_drag"></th>
            </tr>
        </tfoot>
    </table>
</form>
<?php 
show_table_render($argument);
if ($browse->get_show_header()) {
    require AmpConfig::get('prefix') . UI::find_template('list_header.inc.php');
}
Exemplo n.º 4
0
 /**
  * show_footer
  *
  * Shows the footer template and possibly profiling info.
  */
 public static function show_footer()
 {
     if (!defined("TABLE_RENDERED")) {
         show_table_render();
     }
     $plugins = Plugin::get_plugins('display_on_footer');
     foreach ($plugins as $plugin_name) {
         $plugin = new Plugin($plugin_name);
         if ($plugin->load($GLOBALS['user'])) {
             $plugin->_plugin->display_on_footer();
         }
     }
     require_once AmpConfig::get('prefix') . UI::find_template('footer.inc.php');
     if (isset($_REQUEST['profiling'])) {
         Dba::show_profile();
     }
 }