<?php require_once('Connections/eshop.php'); ?>
<?php
mysql_select_db($database_eshop, $eshop);
$query_categories = "SELECT * FROM ads ORDER BY reply_id DESC";
$categories = mysql_query($query_categories, $eshop) or die(mysql_error());
$row_categories = mysql_fetch_assoc($categories);
$totalRows_categories = mysql_num_rows($categories);
?>
<style type="text/css">
<!--
.style2 {color: #0000FF}
.style3 {color: #3490F8}
.style4 {font-size: smaller}
-->
</style>
<span class="style10"><span class="style3">
<?php do { ?>
</MM:DECORATION></MM_REPEATEDREGION>
<MM_REPEATEDREGION SOURCE=" "><MM:DECORATION OUTLINE="Repeat" OUTLINEID=1></MM:DECORATION></MM_REPEATEDREGION>
</span>
<MM_REPEATEDREGION SOURCE=" "><MM:DECORATION OUTLINE="Repeat" OUTLINEID=1></MM:DECORATION></MM_REPEATEDREGION>
</span>
<MM_REPEATEDREGION SOURCE=" "><MM:DECORATION OUTLINE="Repeat" OUTLINEID=1><li class="style2"><span class="style10">
<?php if($totalRows_categories > 0){?>
<?php if ($row_categories['sellerimgs']!=""){?>
<a href="read2.php?mode=read&id=<?php echo $row_categories['reply_id']; ?>" title="View Larger Image"><img src="sellerimgs/<? echo $row_categories['sellerimgs'];?>" width="67" height="58" border="0" align="left" />
<?php } ?>
</a><a rel="nonfollow" href ="read2.php?mode=read&id=<?php echo $row_categories['reply_id']; ?>" title="<?php echo $row_categories['message'];?>"><?php echo substr ($row_categories['message'],0,60); ?>...</a>
<?php }else { echo "No buying leads yet. Check again after sometime.";} ?>
</span></li>
<span class="style10"><br>
<br>
<span class="style10">
<?php } while ($row_categories = mysql_fetch_assoc($categories)); ?>
</span></span>
<?php
mysql_free_result($categories);
?>
Bookmarks