echo site_url('admin/page/edit/' . $child['id']); ?> "> <?php //echo html::image(array('src'=>'cms_assets/images/pencil.png', 'alt'=>'Edit', 'width' => '16', 'height'=>'16', 'align'=>'middle')); ?> <img src="<?php echo vasp_theme(); ?> /images/pencil.png" width="16" height="16" alt="Edit" /> <?php //echo html::image(array('src'=>'cms_assets/images/pencil.png', 'alt'=>'Edit', 'width' => '16', 'height'=>'16', 'align'=>'middle')); ?> </a> <a href="<?php echo site_url('admin/page/delete/' . $child['id']); ?> "> <img src="<?php echo vasp_theme(); ?> /images/delete.png" width="16" height="16" alt="Delete" /> <?php //echo html::image(array('src'=>'cms_assets/images/delete.png', 'alt'=>'Delete', 'width' => '16', 'height'=>'16', 'align'=>'middle')); ?> </a> </td> <?php //if($child['has_children']) $this->children($child['id'], $level); ?> </tr> <?php }
if (file_exists(WEBROOT . $public_folder . '/video/' . $file['file'])) { echo '<a href="' . base_url() . $public_folder . '/video/' . $file['file'] . '" target="_blank"><img src="' . vasp_theme() . '/images/video.png' . '" /></a>'; } break; default: if (file_exists(WEBROOT . $public_folder . '/images/' . $file['file'])) { echo '<a href="' . base_url() . $public_folder . '/images/' . $file['file'] . '" class="overlay" target="image"><img src="' . vasp_theme() . '/images/photo.png' . '" /></a>'; } else { if (file_exists(WEBROOT . $public_folder . '/documents/' . $file['file'])) { echo '<a href="' . base_url() . $public_folder . '/documents/' . $file['file'] . '" target="_blank"><img src="' . vasp_theme() . '/images/document.png' . '" /></a>'; } else { if (file_exists(WEBROOT . $public_folder . '/audio/' . $file['file'])) { echo '<a href="' . base_url() . $public_folder . '/audio/' . $file['file'] . '" target="_blank"><img src="' . vasp_theme() . '/images/audio.png' . '" /></a>'; } else { if (file_exists(WEBROOT . $public_folder . '/video/' . $file['file'])) { echo '<a href="' . base_url() . $public_folder . '/video/' . $file['file'] . '" target="_blank"><img src="' . vasp_theme() . '/images/video.png' . '" /></a>'; } } } } break; } ?> </td> <td class="col col-2"><a href="<?php echo site_url('admin/file/del/' . $file['id']); ?> ">Delete</a></td> </tr> <?php }