1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php 
$sites = array('http://site1.com','http://site2.com','http://site3.com');
for($i=1; $i<=3; $i++){
$class=$i==1?'services_box1':'';
?>
<div class="services_box <?php echo($class);?>">
<a href="<?php echo($sites[$i-1]); ?>">
<div class="services_icon<?php echo($i); ?>"></div>
<h3><?php echo_option('perception_home_icon_title'.$i); ?></h3>
<hr />
<p><?php echo_option('perception_home_icon_desc'.$i); ?></p>
</a>
</div>
<?php }