12345678910111213 |
- {eyou:php}
- $sql = "SELECT aid,seo_title,seo_keywords,seo_description FROM ey_archives WHERE typeid=51674 and province_id=$areaid and is_del=0 and status=1 and arcrank=0";
- {/eyou:php}
-
- {eyou:sql sql='$sql' cachetime='3600' id='seo_cat'}
- {eyou:notempty name='$seo_cat' /}
- {eyou:php}
- $seo_title = $seo_cat['seo_title'];
- $seo_keywords = $seo_cat['seo_keywords'];
- $seo_description = $seo_cat['seo_description'];
- {/eyou:php}
- {/eyou:notempty}
- {/eyou:sql}
|