echo base_url(); ?> img/slider-2.png" width="1140" height="557" alt=""/> </div> <div class="item"> <img src="<?php echo base_url(); ?> img/slider-3.png" width="1140" height="557" alt=""/> </div> </div> <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> </a> <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> </div> </div> <div class="row"> <!-- Widget Contact Info --> <div class="col-md-4 pL-fix"> <div class="widget-contact"> <img src="<?php echo get_user_picture(); ?> " width="100" height="100" alt="" class="img100 img-left pull-left"/> <div class="media-body"> <h4 class="media-heading"><?php echo get_user_fullname(); ?> </h4> We've put together this page to provide customized information just for you. </div> <div class="clearfix"></div> <!--Important!--> <p class="widget-contact-url">Check out my external link: <a href="javascript:void()">http://www.url.com</a></p> <div class="widget-contact-map"> <p>Locations:</p> <div class="form-group"> <input type="email" class="form-control" id="exampleInputEmail2" placeholder="Enter Zipcode">
//echo $OUTPUT->heading ( get_string ( 'confirmusers', 'enrol_apply' ) ); echo '<form id="frmenrol" method="post" action="apply.php?id=' . $id . '&enrolid=' . $_GET ['enrolid'] . '">'; echo '<input type="hidden" id="type" name="type" value="confirm">'; echo '<table class="generalbox editcourse boxaligncenter"><tr class="header">'; echo '<th class="header" scope="col"> </th>'; echo '<th class="header" scope="col">' . get_string ( 'coursename', 'enrol_apply' ) . '</th>'; //echo '<th class="header" scope="col">  </th>'; echo '<th class="header" scope="col">' . get_string ( 'applyuser', 'enrol_apply' ) . '</th>'; //echo '<th class="header" scope="col">  </th>'; echo '<th class="header" scope="col">' . get_string ( 'applyusermail', 'enrol_apply' ) . '</th>'; echo '<th class="header" scope="col">' . get_string ( 'applydate', 'enrol_apply' ) . '</th>'; echo '</tr>'; foreach ( $enrol_users as $enrol ) { $user_details=$DB->get_record_sql("select u.firstname,u.lastname,u.email,u.picture from {user} u where u.id=$enrol->userid AND u.deleted=0 AND u.suspended=0"); if($user_details){ $picture = get_user_picture($enrol->userid); echo '<tr><td><input type="checkbox" name="enrolid[]" value="' . $enrol->id . '"></td>'; echo '<td>' . format_string($enrol->course) . '</td>'; //echo '<td>' . $OUTPUT->render($picture) . '</td>'; echo '<td>' .$OUTPUT->render($picture) .$user_details->firstname . ' ' . $user_details->lastname.'</td>'; echo '<td>' . $user_details->email . '</td>'; echo '<td>' . date ( "Y-m-d", $enrol->timecreated ) . '</td></tr>';} } echo '</tr></table>'; echo '<p align="center"><input type="button" value="' . get_string ( 'btnconfirm', 'enrol_apply' ) . '" onclick="doSubmit(\'confrim\');"> <input type="button" value="' . get_string ( 'btncancel', 'enrol_apply' ) . '" onclick="doSubmit(\'cancel\');"></p>'; echo '</form>'; echo '<script>function doSubmit(type){if(type=="cancel"){document.getElementById("type").value=type;}document.getElementById("frmenrol").submit();}</script>'; }else{ echo "<h2 style='text-align: center;'>No users available</h2>"; } echo $OUTPUT->footer ();