织梦模板中判断语句

{dede:php}
$aid = intval($_GET['aid']);
$row = $dsql->GetOne("SELECT arc.*,arc1.* FROM dede_addonarticle arc left join dede_archives arc1 on arc.aid = arc1.id where arc.aid = {$aid}");
 if($row['ispay'] == '1'){
  echo '';
}else{
  echo '';
}
{/dede:php}

 

你可能感兴趣的:(二次开发)