require_once(dirname(__FILE__).'/include/config.inc.php');
//初始化参数检测正确性
$cid = empty($cid) ? 11 : intval($cid);
?>
$(function(){
$(".softlist li img").LoadImage({width:50,height:50});
});
![banner-ir.png](templates/default/images/banner-ir.png)
$dopage->GetPage("SELECT * FROM `#@__soft` WHERE (classid=$cid OR parentstr LIKE '%,$cid,%') AND delstate='' AND checkinfo=true ORDER BY orderid DESC",8);
while($row = $dosql->GetArray())
{
if($row['picurl'] != '') $picurl = $row['picurl'];
else $picurl = 'templates/default/images/nofoundpic.gif';
if($row['linkurl']=='' and $cfg_isreurl!='Y') $gourl = 'softshow.php?cid='.$row['classid'].'&id='.$row['id'];
else if($cfg_isreurl=='Y') $gourl = 'softshow-'.$row['classid'].'-'.$row['id'].'-1.html';
else $gourl = $row['linkurl'];
?>
<?php echo $row['title']; ?> <?php echo $row['softsize']; ?><?php echo $row['unit']; ?> <?php echo ReStrLen($row['description'],90); ?>
}
?>
<?php echo $dopage->GetList(); ?>
一键复制
编辑
Web IDE
原始数据
按行查看
历史