<?php defined('ROOT') or exit('Can\'t Access !'); ?>
<link href="<?php echo $template_shop_path;?>/visual/modules/common/type-pic/css/style.css" rel="stylesheet">

<div class="type-pic type-pic-1">
<?php if(is_array(plugins::typeinfo(1)))
foreach(plugins::typeinfo(1) as $type) { ?>
<a href="<?php echo $type['url'];?>" title="<?php echo $type['title'];?>">
    <div class="type-pic-text">
    <h2 cmseasy-id="<?php echo $type['typeid'];?>"   class="cmseasyedit ">
            <?php echo $type['typename'];?>
        </h2>
        <p cmseasy-id="<?php echo $type['typeid'];?>"   class="cmseasyedit ">
            <?php echo $type['subtitle'];?>
        </p>

    </div>
        <img src="<?php echo $type['image'];?>" alt="<?php echo $type['typename'];?>"    class="img-responsive cmseasyeditimg" />
</a>
<?php } ?>
</div>

<style type="text/css">
    .type-pic-1 {
        height: ;
        background:rgba(255, 255, 255, 0);
    }
    .type-pic-1:hover {
        background:rgba(255, 255, 255, 0);
    }
    .type-pic-1 h2 {
        font-size:22px;
        color:#333333;
    }

    .type-pic-1 h2:hover {
        color:#000000;
    }

    .type-pic-1 h2 p {
        font-size:0-size;
        color:0-color;
    }
    }
    .type-pic-1 h2 p:hover {
        color:0-hover-color;
    }

</style>
