File: /home/harmonyg/public_html/ektest/wp-content/themes/hathor/parts/mid-contant.php
<div class="our_work">
<div class="title">
<h2 class="blue1"><?php echo of_get_option('recent_work'); ?></h2>
<p><?php echo of_get_option('recent_work2'); ?></p>
</div>
<div id="middle" class="cols2 sidebar_left box_white">
<div class="content" role="main">
<article class="post-detail">
<div class="entry">
<div class="work-carousel">
<div class="work-carousel-head"> <a class="prev" id="work-carousel-prev" href="#" ><span>prev</span></a> <a class="next" id="work-carousel-next" href="#"><span>next</span></a> </div>
<div class="carousel_content">
<div class="caroufredsel_wrapper" >
<ul id="work-carousel" >
<li>
<?php if(of_get_option('recent1')){ ?>
<div class="work">
<div class="main">
<div class="view view-second"> <img src="<?php echo of_get_option('recent1'); ?>" alt="<?php echo of_get_option('recenttitle1'); ?>" />
<div class="mask"></div>
<div class="content">
<?php if(of_get_option('recenttitle1')){ ?>
<h2><?php echo of_get_option('recenttitle1'); ?></h2>
<?php } ?>
<p><?php echo of_get_option('recentdesc1'); ?></p>
<a href="<?php echo of_get_option('recenturl1'); ?>" class="info"><?php echo of_get_option('recentlink2'); ?></a> </div>
</div>
</div>
<p class="port"><a href="<?php echo of_get_option('recenturl1'); ?>"><?php echo of_get_option('recenttitle1'); ?></a></p>
</div>
</li>
<li>
<?php } ?>
<?php if(of_get_option('recent2')){ ?>
<div class="work">
<div class="main">
<div class="view view-second">
<?php if(of_get_option('recent2')){ ?>
<img src="<?php echo of_get_option('recent2'); ?>" alt="<?php echo of_get_option('recenttitle2'); ?>" /><?php } ?>
<div class="mask">
</div>
<div class="content">
<?php if(of_get_option('recenttitle2')){ ?>
<h2><?php echo of_get_option('recenttitle2'); ?></h2>
<?php } ?>
<p><?php echo of_get_option('recentdesc2'); ?></p>
<a href="<?php echo of_get_option('recenturl2'); ?>" class="info"><?php echo of_get_option('recentlink2'); ?></a> </div>
</div>
</div>
<p class="port"><a href="<?php echo of_get_option('recenturl2'); ?>"><?php echo of_get_option('recenttitle2'); ?></a></p>
</div>
</li>
<li>
<?php } ?>
<?php if(of_get_option('recent3')){ ?>
<div class="work">
<div class="main">
<div class="view view-second"> <img src="<?php echo of_get_option('recent3'); ?>" alt="<?php echo of_get_option('recenttitle3'); ?>" />
<div class="mask">
</div>
<div class="content">
<?php if(of_get_option('recenttitle3')){ ?>
<h2><?php echo of_get_option('recenttitle3'); ?></h2>
<?php } ?>
<p><?php echo of_get_option('recentdesc3'); ?></p>
<a href="<?php echo of_get_option('recenturl3'); ?>" class="info"><?php echo of_get_option('recentlink2'); ?></a> </div>
</div>
</div>
<p class="port"><a href="<?php echo of_get_option('recenturl3'); ?>"><?php echo of_get_option('recenttitle3'); ?></a></p>
</div>
</li>
<li >
<?php } ?>
<?php if(of_get_option('recent4')){ ?>
<div class="work">
<div class="main">
<div class="view view-second"> <img src="<?php echo of_get_option('recent4'); ?>" alt="<?php echo of_get_option('recenttitle4'); ?>" />
<div class="mask">
</div>
<div class="content">
<?php if(of_get_option('recenttitle4')){ ?>
<h2><?php echo of_get_option('recenttitle4'); ?></h2>
<?php } ?>
<p><?php echo of_get_option('recentdesc4'); ?></p>
<a href="<?php echo of_get_option('recenturl4'); ?>" class="info"><?php echo of_get_option('recentlink2'); ?></a> </div>
</div>
</div>
<p class="port"><a href="<?php echo of_get_option('recenturl4'); ?>"><?php echo of_get_option('recenttitle4'); ?></a></p>
</div>
</li>
<li >
<?php } ?>
</ul>
</div>
</div>
</div>
</div>
</article>
</div></div>