织梦{dede:php}判断下载地址的判断问题,请懂的人解答
{dede:php}
$thisid = $refObj->Fields['aid'];
$totrow=$dsql->GetOne('select * from dede_addonsoft where aid='.$thisid);
if($totrow['softlinks']!='')
{
echo "<a href=\"/plus/download.php?open=0&aid=".$thisid."&cid=1\" style=\"color:white\" target=\"_blank\">下载地址</a>";
}
{/dede:php}