Example #1
0
function dt_dashboard_user_courses()
{
    $curr_page = $_REQUEST['curr_page'];
    dt_get_user_course_overview(5, $curr_page);
    die;
}
                </div>
            <?php 
        } else {
            if ($dt_type == 'gradings') {
                ?>
            	<h4 class="border-title"><?php 
                echo __('Gradings', 'dt_themes');
                ?>
<span></span></h4>
            	<div id="dt-sc-ajax-load-image" style="display:none;"><img src="<?php 
                echo IAMD_BASE_URL . "images/loading.png";
                ?>
" alt="" /></div>
                <div class="dashboard-content" id="dt-sc-dashboard-user-courses">
                    <?php 
                dt_get_user_course_overview(5, 1);
                ?>
                </div>
            <?php 
            } else {
                if ($dt_type == 'assignments') {
                    ?>
            	<h4 class="border-title"><?php 
                    echo __('Assignments', 'dt_themes');
                    ?>
<span></span></h4>
            	<div id="dt-sc-ajax-load-image" style="display:none;"><img src="<?php 
                    echo IAMD_BASE_URL . "images/loading.png";
                    ?>
" alt="" /></div>
                <div class="dashboard-content" id="dt-sc-dashboard-user-assignments">