View file waplend/banners0.php
<?php echo "<div class='contur_t'><div style='text-align:center;'>WapLend.org советует: </div>"; $qwer = mysql_query("SELECT * FROM `banners0`;"); while($mne = mysql_fetch_array($qwer)) { echo "<div style='text-align:".$mne['type'].";'>".$mne['text']."</div>"; } echo "</div> "; ?>