            <?php
			$sql1 = "SELECT * FROM offers WHERE publish='1' ORDER BY id desc";
			$result1 = mysql_query($sql1);
	while ($myrow=mysql_fetch_array($result1)) {
			$id=$myrow['id'];
			$name=$myrow['title'];
			$description=$myrow['description'];
			$startdate=$myrow['startdate'];
			$enddate=$myrow['enddate'];
?>
               <?php if ($name!='') { ?>
              <div class="titles"> <?php echo $name ?> </div>
                <?php }?>
              <div style="padding-bottom:10px"><?php echo $description ?></div>
<?php }?>