企业分站如何调用新闻头条

日期: 2021-09-23 12:41:50 人气: -

新闻头条

<?php $dosql->Execute("SELECT * FROM `#@__infolist` WHERE (classid=4 or parentid=4) AND delstate='' AND checkinfo=true And flag like 'h%' ORDER BY orderid DESC LIMIT 0,1");

$row1 = $dosql->GetArray()?>

<span id="_span"><a href="newsshow.php?cid=<?php echo $row1['classid'].'&id='.$row1['id'] ?>" title="<?=$row1['title']?>"><?php echo ReStrLen($row1['title'],11);?></a></span>

<div id="_spannr">

<?php echo ReStrLen($row1['description'],50);?>

</div>


----------------------------------------


And flag like 'h%'