<script>

function addBalance(amount)
{
document.getElementById("amount").value = amount;

}



</script>



<table width="550" border="0" cellspacing="0" cellpadding="0" class="tableBorder">

  <tr>
    <td class="mainTableTitle">

      <span>&nbsp;&nbsp;&raquo;</span> <?=$titleMessage?>

    </td>
  </tr>


  <tr>
    <td>
<form id="formID"  method="post" enctype="multipart/form-data" action="<?=site_url('rate/importRate')?>">
<input type='hidden' name='id_rate' id='id_rate' value='<?= $id_rate; ?>' >

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="border-bottom:1px solid #99BBE8; border-top:1px solid #99BBE8">

<tr>
	<td class='formLabelRigit' width='30%' style='padding-top:10px;padding-bottom:3px;padding-left:5px;'>  Upload File :  </td>
	<td class='formLabelLeft' width='70%' style='padding-top:10px;padding-bottom:3px;padding-left:5px;'><input type="file" name="userfile" id="userfile" /></td>
</tr>

<tr>
	<td class='formLabelRigit' style="padding-top:3px;padding-bottom:3px;">  Type :  </td>
	<td class='formLabelLeft' style="padding-top:3px;padding-bottom:3px;padding-left:5px;">
<select name="type" id="type" class = 'selectFrom'>
    <option value="1">Replace</option>
    <option value="2">Remove then Upload</option>
  </select>
	</td>
</tr>


  <tr>
    <td colspan="2" align="center" style="padding:15px;"><input type="submit" class="submit_but" name="submit" value="Upload Now" class="input-submit" /></td>
  </tr>



</table>

</form>
    </td>
  </tr>
</table>



