<small></small></h1> </div> </div> </div> <?php if (!is_user_logged_in()) { idp_showAlertMessage('notLoggedInList'); } else { if ($updated === true) { idp_showAlertMessage('submittedBuilding', 'success'); } else { if ($error === true) { idp_showAlertMessage('submittedError'); } } $buildings = Idp_Main::getStudentBuildings(); if (count($buildings) == 0) { idp_showAlertMessage('noBuildingsStudent', 'warning'); } ?> <div class="row"> <?php foreach ($buildings as $building) { $attachment = wp_get_attachment_image_src($building['main_image'], 'large-thumbnail'); if ($attachment === false) { $attachment[] = get_template_directory_uri() . "/images/spacer.png"; } ?> <div class="col-sm-6 col-lg-4"> <div class="thumbnail"> <img src="<?php
echo __('Buildings', 'idp-plugin'); ?> </th> </tr> </tfoot> <tbody class="searchable"> <?php $args = array('exclude' => array(1), 'orderby' => 'id', 'order' => 'ASC', 'fields' => 'all'); $students = get_users($args); usort($students, create_function('$a, $b', 'return strnatcasecmp(Idp_Admin::getUserDisplayName($a), Idp_Admin::getUserDisplayName($b));')); $row_alternate = true; foreach ($students as $student) { $user_roles = $student->roles; $roles_count = count($user_roles); $buildings = Idp_Main::getStudentBuildings($student->ID); $buildings_count = count($buildings); $status = __('Has not yet started.', 'idp-plugin'); if ($row_alternate) { ?> <tr class=\"alternate\" valign=\"top\"> <?php } else { ?> <tr valign=\"top\"> <?php } ?> <th class="check-column" scope="row"> <label class="screen-reader-text" for="cb-select-<?php echo $student->id;