极速企业站群头部banner调用

日期: 2019-03-02 16:23:36 人气: -

<?php
$dosql->Execute("SELECT * FROM `#@__infoimg` WHERE classid=13 AND delstate='' AND checkinfo=true ORDER BY orderid DESC LIMIT 0,5");
while($row = $dosql->GetArray())
{
if($row['linkurl'] != '')$gourl = $row['linkurl'];
else $gourl = 'javascript:;';
?>
<li><img src="<?php echo $row['picurl']; ?>" width="1400" height="385" /></li>
<?php
}
?>