Example #1
0
}
?>
<form id="myform" method="post" action="" target="" enctype="multipart/form-data">
<table width="100%" border="0" cellpadding="2">
    <tr>
      <td align="right" class="type-one">&nbsp;</td>
      <td align="left" class="type-one"><strong>
        <input name="op" type="hidden" id="op" value="1" />
      </strong></td>
      <td width="54%" align="left">&nbsp;</td>
    </tr>
    <tr>
      <td width="14%" align="right" class="type-one">Object of Expenditure: </td>
      <td width="32%" align="left" class="type-one">
	  <?php 
echo form_dropdown('budget_expenditure_id', budget_expenditures_options(), Input::get('budget_expenditure_id') ? Input::get('budget_expenditure_id') : $expense->budget_expenditure_id);
?>
</td>
      <td align="left">&nbsp;</td>
    </tr>
    <tr>
      <td align="right" class="type-one">Date: </td>
      <td align="left" class="type-one"><input name="date" type="text" id="date" value="<?php 
echo $expense->date;
?>
" size="35" class="ilaw" onfocus="this.style.margin = '0'; this.style.borderWidth = '2px'; this.style.backgroundColor = '#FFFFFF';" onblur="this.style.margin = '1px'; this.style.borderWidth = '1px'; this.style.backgroundColor = '#E9F0F5';"/></td>
      <td align="left">&nbsp;</td>
    </tr>
    <tr>
      <td align="right" class="type-one">Description: </td>
      <td align="left" class="type-one"><input name="description" type="text" id="description" value="<?php 
Example #2
0
    echo Session::flashData('msg');
    ?>
</div>
<?php 
} else {
}
?>
<form id="budget_expenses" method="post" action="<?php 
echo base_url();
?>
budget/expenses" target="" enctype="multipart/form-data">
<table width="100%" border="0">
  <tr>
    <td width="88%">Filter:<?php 
$js = 'id = "budget_expenditure_id"';
echo form_dropdown('budget_expenditure_id', budget_expenditures_options(), Input::get('budget_expenditure_id') ? Input::get('budget_expenditure_id') : $id, $js);
?>
    
    <?php 
//if ($from_budget != ''):
?>
    	<?php 
echo anchor(base_url() . 'budget/', 'Back to Expenditures');
?>
	<?php 
//endif;
?>
      <div id="added"></div></td>
    <td width="1%">&nbsp;</td>
    <td width="11%"><a href="<?php 
echo base_url();