require(dirname(__FILE__).'/include/config.inc.php');
//初始化参数检测正确性
$cid = empty($cid) ? 11 : intval($cid);
$id = empty($id) ? 0 : intval($id);
?>
$(function(){
$(".softConts .pic img").LoadImage({width:80,height:80});
jQuery('.lightbox').lightbox();
$(".picarr .picture img").LoadImage({width:530,height:350});
$(".picarr .preview img").LoadImage({width:58,height:45});
$(".small").click(function(){$("#textarea").css('font-size','12px');});
$(".big").click(function(){$("#textarea").css('font-size','14px');});
});
/* 选项卡切换 */
function Tabs(tabobj, obj)
{
var tablist = $("#"+tabobj+" li");
for(i=0; i
if(tablist[i].id == obj.id){
$("#"+tabobj+"_title"+i).attr("class","active");
$("#"+tabobj+"_content"+i).show();
} else {
$("#"+tabobj+"_title"+i).attr("class","normal");
$("#"+tabobj+"_content"+i).hide();
}
}
}
![banner-ir.png](templates/default/images/banner-ir.png)
//检测文档正确性
$r = $dosql->GetOne("SELECT * FROM `#@__soft` WHERE id=$id");
if(@$r)
{
//增加一次点击量
$dosql->ExecNoneQuery("UPDATE `#@__soft` SET hits=hits+1 WHERE id=$id");
$row = $dosql->GetOne("SELECT * FROM `#@__soft` WHERE id=$id");
?>
文件类型:<?php echo $row['filetype']; ?> | 更新时间:<?php echo GetDateMk($row['posttime']); ?> |
软件类型:<?php echo $row['softtype']; ?> | 界面语言:<?php echo $row['language']; ?> |
软件大小:<?php echo $row['softsize']; ?><?php echo $row['unit']; ?> | 运行环境:<?php echo $row['runos']; ?> |
官方网站:<?php echo $row['website']; ?> | 演示地址:点击访问 |
![]() |
- 软件简介
- 软件截图
if($row['content'] != '')
{
echo GetContPage($row['content']);
}
else
{
echo '网站资料更新中...';
}
?>
//判断显示缩略图或组图
if(empty($row['picarr']))
{
?>
暂无软件截图
}
else
{
$picarr = explode(',',$row['picarr']);
?>
}
?>
//获取上一篇信息
$r = $dosql->GetOne("SELECT * FROM `#@__soft` WHERE classid=".$row['classid']." AND orderid
if($r < 1)
{
echo '
上一篇:已经没有了';}
else
{
if($cfg_isreurl != 'Y')
$gourl = 'softshow.php?cid='.$r['classid'].'&id='.$r['id'];
else
$gourl = 'softshow-'.$r['classid'].'-'.$r['id'].'-1.html';
echo '
上一篇: '.$r['title'].'';}
//获取下一篇信息
$r = $dosql->GetOne("SELECT * FROM `#@__soft` WHERE classid=".$row['classid']." AND orderid>".$row['orderid']." AND delstate='' AND checkinfo=true ORDER BY orderid ASC");
if($r < 1)
{
echo '
下一篇:已经没有了';}
else
{
if($cfg_isreurl != 'Y')
$gourl = 'softshow.php?cid='.$r['classid'].'&id='.$r['id'];
else
$gourl = 'softshow-'.$r['classid'].'-'.$r['id'].'-1.html';
echo '
下一篇: '.$r['title'].'';}
?>
- 收藏
- 打印
if($cfg_comment == 'Y')
{
?>
$dosql->Execute("SELECT * FROM `#@__usercomment` WHERE molds=3 AND aid=$id AND isshow=1 ORDER BY id DESC");
while($row = $dosql->GetArray())
{
echo '
'.$row['uname'].''.$row['body'].'
'.GetDateTime($row['time']).'';}
?>
$r = $dosql->GetOne("SELECT COUNT(id) as n FROM `#@__usercomment` WHERE molds=3 AND aid=$id AND isshow=1 ORDER BY id DESC");
echo $r['n'];
?>
条评论
说点什么吧...
}
}
?>