<?php // $Id: index.php,v 1.5 2007/04/30 17:08:54 skodak Exp $

    require_once('../../../config.php');
    require_once($CFG->dirroot.'/course/lib.php');
    require_once($CFG->dirroot.'/course/report/log/lib.php');
    require_once($CFG->libdir.'/adminlib.php');

    admin_externalpage_setup('reportlog');

    admin_externalpage_print_header();


    $course = get_site();

    print_heading(get_string('chooselogs') .':');

    print_mnet_log_selector_form($CFG->mnet_localhost_id, $course);

    echo '<br />';
    print_heading(get_string('chooselivelogs') .':');

    $heading = link_to_popup_window('/course/report/log/live.php?id='. $course->id,
                                    'livelog', get_string('livelogs'),
                                    500, 800, '', 'none', true);

    print_heading($heading, 'center', 3);


    admin_externalpage_print_footer();

?>