<button type="button" class="btn btn-success" id="newpatient">New Patient</button> <br> <label class="control-label" id="PhoneNumberLabel" for="inputPatient">Patient Phone Number:</label> <div class="controls"> <input type="text" class="form-control pull-left" name="patientNumber" id="patientNumber" tyle="margin: 0 auto;" data-provide="typeahead" data-items="4" data-source="["Value 1","Value 2","Value 3"]"> </div> <label class="control-label" for="inputPatient">Doctor:</label> <div class="controls"> <?php $obj_users = new Hmgtuser(); $doctors = $obj_users->get_user_by_type('doctor'); hmgt_render_doctors_options($doctors, 'doctor', $selected); ?> </div> <label class="control-label" id="datepickerfromlabel" for="inputPatient" style="display:none;"> From:</label> <input type="text" id="datepickerfrom" style="display:none;" class="form-control" value="2016-01-13 12:00:00"> <label class="control-label" id="datepickertolabel" for="inputPatient" style="display:none;"> To:</label> <input type="text" id="datepickerto" style="display:none;" class="form-control" value="2016-01-13 12:00:00"> <label class="control-label" for="inputPatient">Session Type:</label> <div class="controls"> <?php $obj_sessions = new Hmgt_session(); $sessions = $obj_sessions->get_all_session(); hmgt_render_options($sessions, 'session', $selected);
?> </th> <th><?php _e('Doctor Email', 'hospital_mgt'); ?> </th> <th><?php _e('Action', 'hospital_mgt'); ?> </th> </tr> </tfoot> <tbody> <?php $doctor_data = $obj_users->get_user_by_type('doctor'); if (!empty($doctor_data)) { foreach ($doctor_data as $retrieved_data) { $retrieved_data = (object) $retrieved_data; ?> <tr> <td class="docotor_name"><?php echo $retrieved_data->doctor_name; ?> </td> <td class="docotor_mobile"><?php echo $retrieved_data->user_email; ?> </td> <td class="action"> <a href="?dashboard=user&page=doctor&tab=adddoctor&action=edit&docotor_id=<?php