{eyou:if condition='((int)$parentid === 38)'}
{eyou:sql sql="$sql" cachetime='3600' empty='没有数据' id='kp'}
{eyou:type typeid='$kp.aid' empty='暂时没有数据'}
{$field.typename}
{/eyou:type}
{/eyou:sql}
{eyou:else /}
{eyou:sql sql="$sql" cachetime='3600' empty='没有数据' id='kp'}
{eyou:sql sql="$sql2" cachetime='3600' empty='没有数据' id='kp2'}
{$kp2.typename}
{/eyou:sql}
{/eyou:sql}
{/eyou:if}
上一篇
下一篇
$num and topid=38 and parentid=38 and is_del=0 and type=1 and area_id=$areaid ORDER BY number asc LIMIT 1)";
}else{
$sql = "SELECT * FROM ey_seo_number WHERE id = (SELECT id FROM ey_seo_number WHERE number>$num and topid=38 and parentid=$parentid and is_del=0 and type=1 and area_id=0 ORDER BY number asc LIMIT 1)";
}
?>
{eyou:if condition='((int)$parentid === 38)'}
{eyou:sql sql="$sql" cachetime='3600' empty='没有数据' id='kp'}
{eyou:type typeid='$kp.aid' empty='暂时没有数据'}
{$field.typename}
{/eyou:type}
{/eyou:sql}
{eyou:else /}
{eyou:sql sql="$sql" cachetime='3600' empty='没有数据' id='kp'}
{eyou:sql sql="$sql2" cachetime='3600' empty='没有数据' id='kp2'}
{$kp2.typename}
{/eyou:sql}
{/eyou:sql}
{/eyou:if}