<!-- Main Block Start -->
<div id="middleContent">
    <!-- Bread Crumb Start -->
    <div class="breadCrumb">
        <span><a class="home" href="<?= base_url(); ?>"></a></span>        
        <span class=""><a href="<?= base_url(); ?>partitions">الأقسام</a></span>
        <span class="current"><?php echo $partition->par_title ?></span>
    </div>
    <!-- Bread Crumb End -->
    <div class="block">
        <div class="title"><?php echo $partition->par_title ?></div>
        <div class="info"><?php echo date('d/m/Y', $partition->par_created) ?> ▪ عدد المشاهدات (<?php echo $partition->par_count_visit ?>)</div>
        <div class="content text">
           
                <?php if ($partition->par_img != "" && file_exists(PUBPATH . "global/uploads/" . $partition->par_img)) { ?>
                    <img src="<?php echo base_url(); ?>global/uploads/<?php echo $partition->par_img; ?>" width="130px" height="100px" alt="" class="img" />
                <?php } elseif ($partition->par_link_img != "" && check_img_url($partition->par_link_img)) { ?>
                    <img src="<?php echo $partition->par_link_img ?>" width="130px" height="100px" alt="" class="img" />
                <?php } else { ?>
                    <img src="<?php echo base_url(); ?>global/modules/admin/images/no-img.png" width="130px" height="100px" alt="" class="img" />
                <?php } ?>  
<?php echo $partition->par_topic ?>


<?php //}  ?>
        </div>
    </div>
</div>

<!-- Main Block End -->