? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/eldertree/application/views/master/

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/savoyglobal.net/eldertree/application/views/master/edit_fee_terms.php

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
?>
<script>
function particular_checking(obj)
{
   var selectValue=obj.value;
   var index =  $(obj).parents('tr').index();
   
   var $table = $(obj).parents('table');
   
    $table.find('tbody tr').each(function(i,o){
        if(index > i)
        {
            var curretValue = $(o).find('td').first().find('select').first().val();
            if(curretValue ==  selectValue)
            {
                alert('valeu already selected');
                $(obj).val('');
            }
        }
    });
   
   
   
   
}
</script>
<div class="row-fluid">
    <div class="tab-pane " id="tab_2">
        <div class="portlet box yellow">
            <div class="portlet-title">
                <div class="caption"><i class="icon-reorder"></i>Updating Fee Settings</div>
                <div class="tools">
                    <a href="#" onclick="viewdata('master','viewinmastersearch','search_fee_term','view_fee_term','<?= $_SESSION['pagenum']; ?>')" class="remove"></a>
                </div>
            </div>
            <div class="portlet-body form">
                <!-- BEGIN FORM-->
                <?php
                $attributes = array('id'            => 'validateform', 'class'         => 'form-horizontal validate');
              echo form_open('master/addinmaster/update_fee_terms/view_fee_term/1', $attributes);
                ?>
                <div id="success-panel" class="message" ></div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Academic Year </label>
                            <div class="controls">
                               <?= $this->mastermodel->get_single_field_value('academic_year','display_name','academic_year_id',$viewinfo->fee_term_academic_year_id) ?>
                            </div>
                        </div>

                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Term</label>
                            <div class="controls">
                                <?php
                    echo $this->mastermodel->get_single_field_value('term', 'term_name', 'term_id', $viewinfo->fee_term_term_id)
                    ?>
                            </div>
                        </div>

                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Class Session</label>
                            <div class="controls">
                                 <?php
                    $session = $this->mastermodel->search_session();;
                    ?>
                    <select  name="fee_term_session" id="fee_term_session" class="required chosen span12">
                        <option value="">Select</option>
                        <?php
                        foreach ($session['results']->result_array() as $list) {
                            ?>
                            <option <?php if ($list['session_id'] == $viewinfo->fee_term_session) echo "selected "; ?> value="<?= $list['session_id']; ?>"><?= $list['session_name']; ?></option>
                            <?php
                        }
                        ?>
                    </select>   
                            </div>
                        </div>

                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Refundable Bond Amount</label>
                            <div class="controls">
                                <input type="text" name="refund_bond_amount" id="refund_bond_amount" class="span12" value="<?=$viewinfo->refund_bond_amount?>"/>
                            </div>
                        </div>

                    </div>
                </div>
                <?php
            $fee_particular = $this->mastermodel->search_fee_particular();
            $no_of_days = $this->mastermodel->search_no_sessions();
            $particular_list = $this->mastermodel->get_data('fee_term_details', $viewinfo->fee_term_id, 'fee_term_id');
            ?>
<h3 class="form-section">Fee Details</h3>
<table class="table table-striped table-hover table-bordered" id="student_tb">
    <thead>
                <tr>                      
                    <th>Fee particulars</th>
                    <th>Term Fee Amount</th>
                    <th>Monthly Fee Amount</th> 
                    <th>Sibling Discount (in %)</th> 
                    <th>No Of Days</th>                                                     
                    <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th>
                </tr>
                </thead>
                <tbody>
                <?php
                foreach ($particular_list as $row) {
                    ?>
                    <tr>    
                        <td>
                            <select id="fee_particular_id" name="fee_particular_id" class="chosen valid required">
                                <option value="">Select</option>
                                <?php
                                foreach ($fee_particular['results']->result_array() as $list) {
                                    echo '<option ';
                                    if ($list['fee_particular_id'] == $row['fee_particular_id'])
                                        echo "selected "; echo' value="' . $list['fee_particular_id'] . '">' . $list['fee_particular_name'] . '</option>';
                                }
                                ?>
                            </select>  
                        </td>
                        <td>
                            <input type="text" value="<?= $row['fee_term_amount'] ?>" name="fee_term_amount" id="fee_term_amount" class="number small_textbox" />
                        </td>
                        <td>
                            <input type="text" value="<?= $row['fee_month_amount'] ?>" name="fee_month_amount" id="fee_month_amount" class="number small_textbox" />
                        </td>
                        <td>
                            <input type="text" value="<?= $row['sibling_discount'] ?>" name="sibling_discount" id="sibling_discount" class="number small_textbox" />
                       </td>
                        <td>
                            <select id="fee_term_no_of_days" name="fee_term_no_of_days" class="chosen ">
                                <option value="">Select</option>
                                <?php
                                foreach ($no_of_days['results']->result_array() as $list) {
                                    echo '<option ';
                                    if ($list['no_sessions'] == $row['fee_term_no_of_days'])
                                        echo "selected "; echo' value="' . $list['no_sessions'] . '">' . $list['no_sessions'] . '</option>';
                                }
                                ?>
                            </select>
                        </td>
                        <td>
                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                        </td>
                    </tr>
                    <?php
                }
                ?>
                <tr>                        
                    <td>
                        <select id="fee_particular_id" name="fee_particular_id" class="chosen required" onchange="particular_checking(this)">
                            <option value="">Select</option>
                            <?php
                            foreach ($fee_particular['results']->result_array() as $list) {
                                echo '<option value="' . $list['fee_particular_id'] . '">' . $list['fee_particular_name'] . '</option>';
                            }
                            ?>

                        </select>  

                    </td>
                    <td>
                        <input type="text" name="fee_term_amount" id="fee_term_amount" class="number small_textbox" />
                    </td>
                    <td>
                        <input type="text" name="fee_month_amount" id="fee_month_amount" class="number small_textbox" />
                    </td>
                    <td>
                            <input type="text"  name="sibling_discount" id="sibling_discount" class="number small_textbox" />
                       </td>
                    <td>
                        <select id="fee_term_no_of_days" name="fee_term_no_of_days" class="chosen valid">
                            <option value="">Select</option>
                            <?php
                            foreach ($no_of_days['results']->result_array() as $list) {
                                echo '<option value="' . $list['no_sessions'] . '">' . $list['no_sessions'] . '</option>';
                            }
                            ?>

                        </select>
                    </td>                    
                    <td>
                        <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                    </td>
                </tr>
                </tbody>
            </table>
<div class="row-fluid">
    <div class="span6 ">
        <div class="control-group">
            <label class="control-label">Due Dates (for Term):</label>
            <div class="controls">
               <input type="text" class="required calfocus span12" name="fee_term_due_date" id="fee_term_due_date" value="<?= $this->mastermodel->convertdatenormalformat($viewinfo->fee_term_due_date) ?>"/>
            </div>
        </div>

    </div>
    <div class="span6 ">
        <div class="control-group">
            <label class="control-label">Due Dates (for monthly):</label>
            <div class="controls">
                <div id="month_payment_list">
                    <?php
                    $accademic_details = $this->mastermodel->get_data_srow('academic_year', $viewinfo->fee_term_academic_year_id, 'academic_year_id');
                    $academic_year_id = $accademic_details->academic_year_id;
                    $term_academic_details = $this->mastermodel->get_data_dual_srow('term_academic_details', $academic_year_id, 'academic_year_id', $viewinfo->fee_term_term_id, 'term_id');


                    $month_dates = $this->mastermodel->get_data('fee_term_due_date', $viewinfo->fee_term_id, 'fee_term_id');
                    $month_pay_date = array();
                    foreach ($month_dates as $value) {
                        $day = strtotime($value['fee_term_monthly_due_date']);
                        $month_pay_date[date('m-Y', $day)] = date('d', $day);
                    }
                    $start = $term_academic_details->term_start_date;
                    $end = $term_academic_details->term_end_date;
                    $dt = $term_academic_details->term_start_date;

                    $options = "
                    <select>
                        <option></option>
                    </select>    
                    ";
                    while (strtotime($dt) <= strtotime($end)) {
                        $month = date('m', strtotime($dt));
                        $year = date('Y', strtotime($dt))
                        ?>
                        <label style="float:left;width:80px;margin-top: 5px;"><?= date('M Y', strtotime($dt)) ?></label>
                        <select name="month_date[]" class="required chosen" style="width: 75px;clear: right;float: left;margin-bottom:10px;">
                            <?php
                            for ($i = 1; $i <= $num = cal_days_in_month(CAL_GREGORIAN, $month, $year); $i++) {
                                $day = str_pad($i, 2, 0, STR_PAD_LEFT)
                                ?>
                                <option <?= ($i == $month_pay_date[$month . '-' . $year]) ? "selected" : "" ?> value="<?= $year . '-' . $month . '-' . $day ?>"><?= $day ?></option>
                                <?php
                            }
                            ?>
                        </select>
                        <div class="clear"></div>
                        <?php
                        $dt = date('Y-m-01', strtotime("+1 months", strtotime($dt)));
                    }
//echo $end;
//echo date('Y-m', strtotime("+1 months", strtotime("09-12-1989")))
                    ?>
                </div>
            </div>
        </div>

    </div>
</div>
                           

                <div class="form-actions">
                    <input type="hidden" name="tab_name" value="fee_term"/>
                <input type="hidden" name="resfunction" value="search_fee_term"/>
                <input type="hidden" name="fee_term_id" id="fee_term_id" value="<?= $viewinfo->fee_term_id ?>"/>
                    <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Save</button>
                    <button type="button" onclick="viewdata('master','viewinmastersearch','search_fee_term','view_fee_term','<?= $_SESSION['pagenum']; ?>')" class="btn">Cancel</button>
                </div>
                <?php
                echo form_close();
                ?>
                <!-- END FORM-->                
            </div>
        </div>
    </div>
</div>







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