?>
 
	</td>
</tr>
<tr>
  <td class="td-label">File</td>
  <td><?php 
echo UI::createTextBox('file_path', $row['file_path'], '', '', $edited, $class = 'form-control mce-img_file_path');
?>
 
  <?php 
if ($row['file_path']) {
    ?>
  <img src="<?php 
    echo URL::Base();
    echo str_replace(Config::FolderProject(), '', str_replace('/files/', '/thumbs/', $row['file_path']));
    ?>
" class="mc_preload wp-post-image" alt="<?php 
    echo $row['deskripsi'];
    ?>
" title="" style="display: block;">
  <?php 
}
if ($edited) {
    ?>
  <a data-toggle="modal" class="btn btn-warning" href="javascript:void('')" data-target="#myModal">File Manager</a>
  <?php 
}
?>
  </td>
</tr>
Example #2
0
	<br/>
		<div class="clearfix">
			<div class="header_left">
				<h3 class="box_header animation-slide slide">Sponsor</h3>			
			</div>
			<div class="header_right">
				<a style="display: block;" href="#" id="prev2" class="scrolling_list_control_left icon_small_arrow left_black"></a>
				<a style="display: block;" href="#" id="next2" class="scrolling_list_control_right icon_small_arrow right_black"></a>
			</div>
		</div>
	<br/>
	<div class="list_carousel_arip">
		<ul id="foo2">
			<?php 
$base = URL::Base();
$folder_project = Config::FolderProject();
foreach ($list_sponsor as $rp) {
    ?>
				<li><a href="<?php 
    echo $rp['link'];
    ?>
" target="_BLANK"><img src="<?php 
    echo $base;
    echo str_replace($folder_project, '', $rp['file_path']);
    ?>
" style="display: block;" height="40px"></a></li>
			<?php 
}
?>
		</ul>
	</div>