Пример #1
0
" ><?php 
        echo $row['slo_text'];
        ?>
</a><br>
		<?php 
    }
    ?>
</div>
<?php 
}
?>
<div class="well">
<?php 
academic_completed($dbh, $team_id, 'Saved');
//Check for submitted assessments
academic_completed($dbh, $team_id, 'Submitted');
//if there are pending re-assessments, hide the create button
if ($reassess_pending < 1) {
    ?>
  					<br>
   					<button type="button" onclick="window.location.href='assessment.php?pickteam=<?php 
    echo $team_id;
    ?>
'">Create New Assessment</button>     
    </div>   
 
 <?php 
}
?>
  
    </div><!-- container -->
        }
    }
    ?>
</div>
<?php 
    //}
    ?>
<div class="well">
<?php 
    if ($team->team_type == 1) {
        //institutional_completed($team_id, 'Saved');
        institutional_completed($team_id, 'I_Complete');
        institutional_completed($team_id, 'F_Complete');
    } else {
        academic_completed($team_id, 'I_Complete');
        academic_completed($team_id, 'F_Complete');
    }
    //if there are pending re-assessments, hide the create button
    if ($reassess_pending < 1) {
        ?>
  					<br>
   					<button type="button" onclick="window.location.href='assessment.php?team_id=<?php 
        echo $team->team_id;
        ?>
&user_id=<?php 
        echo $user->user_id;
        ?>
'">Create New Assessment</button>     
    </div>   
 
 <?php