[eluser]Uresh Patel[/eluser]
<div id="register" align="left" style="width:1000px;">
<div class="regname"> <span> Files Management </span> </div>
<div style="width:900px;" class="loginJob">
<?php
if (isset($folder) && $folder!= '')
{
?>
<form method="post" name="dwnld" action="<?php echo base_url().'index.php/employeer/employeer_search/folder_file_details'?>" >
<input type="submit" name="saveto" value="Save To Evaluated">
<table width="100%" border="0" cellpadding="2" cellspacing="2" vspace="2">
<tr class="gridrowhead">
<th width="53" align="center">Select</th>
<th width="786" align="center">Details</th>
<th width="76" align="center">Download</th>
<th width="76" align="center">Delete</th>
</tr>
<?php
$r=0;
$i=0;
foreach($folder as $row)
{
$hi = base_url()."public/uploads/".$row['path'];
?>
<tr class="">
<td align="center"><input type="checkbox" name="save_to_fldr[<?php echo $i; ?>]" value="<?php echo $row['seeker_user_id'];?>"/></td>
<td align="left"> <b>Username :</b><?php echo $row['user_name']; ?>
<b>Country :</b><?php echo $row['country']; ?>
<b>Key Skills :</b><?php echo $row['key_skills'] ; ?>
<b>Education :</b><?php echo $row['education']; ?>
<b>Title :</b><?php echo $row['resume_title']; ?> <br/>
<b>Location :</b><?php echo $row['current_location']; ?>
<b>Experience :</b><?php echo $row['experience_month']."-".$row['experience_year']; ?>
<b>files_id :</b><?php echo $row['emp_saved_files_id']; ?>
<b>fldr_id :</b><?php echo $row['emp_fldr_id']; ?>
</td>
<input type="hidden" name="emp_saved_files_id['<?php echo $i; ?>']" value="<?php echo $row['emp_saved_files_id']; ?>" />
<input type="hidden" name="emp_fldr_id['<?php echo $i; ?>']" value="<?php echo $row['emp_fldr_id']; ?>" />
<input type="hidden" name="seeker_user_id['<?php echo $i; ?>']" value="<?php echo $row['seeker_user_id']; ?>" />
<?php $i++;
if($file_count > 0)
{
?>
<td align="center"><a href="<?php echo $hi; ?>">
<input value="<?php echo "Download"; ?>" type="submit" id="dwnlds" name="dwnlds">
</a> </td>
<?php }
else
{
if($file_count <= 0)
{
if($r==0)
echo "<b>Please Recharge for More Resume Downloads</b>";
?>
<?php $r++;
} ?>
<td align="center">
<input value="<?php echo "Download"; ?>" type="submit" id="dwnlds" name="dwnlds" disabled="disabled"/>
</td>
<?php } ?>
<td align="center"><a href="<?php echo site_url().'/employeer/employeer_search/delete_files/'.$row['emp_saved_files_id']; ?>"> <img >config->item('FAL_assets_front').'/'.$this->config->item('FAL_images')?>/del.png" border="0" > </a> </td>
</tr>
<?php }
?>
</table>
<table>
<?php
}
else
{
?>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><?php echo $this->lang->line('no_files_message');?></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<?php
}?>
</form>
[removed]
function confirmDelete(delUrl)
{
if(confirm("Sure you want to Delete ?"))
{
document.location = delUrl;
}
else
{
}
}
function confirmSave(delUrl)
{
if(confirm("Sure you want to Save Resume"))
{
document.location = delUrl;
}
else
{
}
}
[removed]