File: /home/nyiet8349bzl/Backup/sbc_back/homedir/public_html/TenderAndQuot.php
<?php
include_once "library/config.php";
$sql = "SELECT * FROM mytender WHERE tq_IsActive=1 ORDER BY tq_add_date DESC";
$result = dbQuery($sql);
$num = mysqli_num_rows($connection->myconn, $result) ;
?>
<style type="text/css">
<!--
#olTQ { color: #FF0000;
font-weight: bold;
font-style: italic;
}
-->
</style>
<div id="news" height="400px" class="contact-link">
<ol id="olTQ">
<?php
for ($i = 0; $i < $num; $i++)
{
$it = dbFetchAssoc($result);
extract($it);
?>
<li> <a href="<?php echo $tq_link; ?>" /> <?php echo $tq_title; ?> </a>
<img src="images/new.gif" width="28px" height="14px" /> </li>
<?php echo "<br />\n";
} ?>
</ol>
<br />
<strong>
</div>