<?php
/**
  * @version   $Id: default_file.php 10868 2013-05-30 04:05:27Z btowles $
  * @author    RocketTheme http://www.rockettheme.com
  * @copyright Copyright (C) 2007 - 2016 RocketTheme, LLC
  * @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
  */

$file = $that->file;
$slices_count = count($file->Slices);
$publish = !$file->published ? 'publish' : 'unpublish';
$published = $file->published ? 'published' : 'unpublished';

?>

<li data-id="file-<?php echo $file->id; ?>" class="file file-<?php echo $published; ?> total-slices-<?php echo $slices_count; ?>">
    <div class="badge-count"><span><?php echo $slices_count; ?></span></div>
    <div class="wrapper">
        <img src="<?php echo $file->miniadminthumburl; ?>" alt="" width="<?php echo (RokGallery_Config::DEFAULT_MINI_ADMIN_THUMB_XSIZE); ?>" height="<?php echo (RokGallery_Config::DEFAULT_MINI_ADMIN_THUMB_YSIZE); ?>" />
    </div>
</li>

