示例#1
0
function dt_dashboard_user_assignments()
{
    $curr_page = $_REQUEST['curr_page'];
    dt_get_user_assignments(10, $curr_page);
    die;
}
                </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">
                    <?php 
                    dt_get_user_assignments(10, 1);
                    ?>
                </div>
            <?php 
                } else {
                    if ($dt_type == 'profile') {
                        ?>
            	<h4 class="border-title"><?php 
                        echo __('Edit Profile', 'dt_themes');
                        ?>
<span></span></h4>
                
                    <?php 
                        echo do_shortcode('[s2Member-Profile /]');
                        ?>