PHP 8.1.33
Preview: modal_student_profile.php Size: 4.58 KB
/home/jambtst2015/public_html/app/application/views/backend/teacher/modal_student_profile.php

<?php
$student_info   =   $this->db->get_where('enroll' , array(
    'student_id' => $param2 , 'year' => $this->db->get_where('settings' , array('type' => 'running_year'))->row()->description
    ))->result_array();
foreach($student_info as $row):?>

<div class="profile-env">
    
    <header class="row">
        
        <div class="col-sm-3">
            
            <a href="#" class="profile-picture">
                <img src="<?php echo $this->crud_model->get_image_url('student' , $row['student_id']);?>" 
                    class="img-responsive img-circle" />
            </a>
            
        </div>
        
        <div class="col-sm-9">
            
            <ul class="profile-info-sections">
                <li style="padding:0px; margin:0px;">
                    <div class="profile-name">
                            <h3>
                                <?php echo $this->db->get_where('student' , array('student_id' => $param2))->row()->name;?>                     
                            </h3>
                    </div>
                </li>
            </ul>
            
        </div>
        
        
    </header>
    
    <section class="profile-info-tabs">
        
        <div class="row">
            
            <div class="">
                    <br>
                <table class="table table-bordered">
                
                    <?php if($row['class_id'] != ''):?>
                    <tr>
                        <td><?php echo get_phrase('class');?></td>
                        <td><b><?php echo $this->crud_model->get_class_name($row['class_id']);?></b></td>
                    </tr>
                    <?php endif;?>

                    <?php if($row['section_id'] != '' && $row['section_id'] != 0):?>
                    <tr>
                        <td><?php echo get_phrase('section');?></td>
                        <td><b><?php echo $this->db->get_where('section' , array('section_id' => $row['section_id']))->row()->name;?></b></td>
                    </tr>
                    <?php endif;?>
                
                    <?php if($row['roll'] != ''):?>
                    <tr>
                        <td><?php echo get_phrase('roll');?></td>
                        <td><b><?php echo $row['roll'];?></b></td>
                    </tr>
                    <?php endif;?>
                    <tr>
                        <td><?php echo get_phrase('birthday');?></td>
                        <td><b><?php echo $this->db->get_where('student' , array('student_id' => $row['student_id']))->row()->birthday;?></b></td>
                    </tr>
                    <tr>
                        <td><?php echo get_phrase('gender');?></td>
                        <td><b><?php echo $this->db->get_where('student' , array('student_id' => $row['student_id']))->row()->sex;?></b></td>
                    </tr>
                    <tr>
                        <td><?php echo get_phrase('phone');?></td>
                        <td><b><?php echo $this->db->get_where('student' , array('student_id' => $row['student_id']))->row()->phone;?></b></td>
                    </tr>
                    <tr>
                        <td><?php echo get_phrase('email');?></td>
                        <td><b><?php echo $this->db->get_where('student' , array('student_id' => $row['student_id']))->row()->email;?></b></td>
                    </tr>
                    <tr>
                        <td><?php echo get_phrase('address');?></td>
                        <td><b><?php echo $this->db->get_where('student' , array('student_id' => $row['student_id']))->row()->address;?></b>
                        </td>
                    </tr>
                    <tr>
                        <td><?php echo get_phrase('parent');?></td>
                        <td>
                            <b>
                                <?php 
                                    $parent_id = $this->db->get_where('student' , array('student_id' => $row['student_id']))->row()->parent_id;
                                    echo $this->db->get_where('parent' , array('parent_id' => $parent_id))->row()->name;
                                ?>
                            </b>
                        </td>
                    </tr>
                    <tr>
                        <td><?php echo get_phrase('parent_phone');?></td>
                        <td><b><?php echo $this->db->get_where('parent' , array('parent_id' => $parent_id))->row()->phone;?></b></td>
                    </tr>
                    
                </table>
            </div>
        </div>      
    </section>
    
    
    
</div>


<?php endforeach;?>

Directory Contents

Dirs: 0 × Files: 34

Name Size Perms Modified Actions
2.50 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
3.11 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
2.01 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
6.10 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
3.86 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
3.98 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
4.33 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
1.32 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
3.98 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
6.29 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
9.33 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
1.77 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
2.42 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
5.88 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
2.60 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
702 B lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
2.37 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
1.64 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
3.33 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
9.81 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
9.80 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
4.58 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
4.34 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
3.71 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
9.75 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
1.54 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
9.19 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
12.74 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
9.49 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
5.42 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
3.50 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
6.55 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
1.40 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
1.52 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).