修改article.php
1 <?php 2 if(isset($article) && $article['cat_id'] > 2 && $article['cat_id'] <>13) 3 { 4 $smarty->display('article.dwt', $cache_id); 5 } 6 elseif($article['cat_id'] == 13) 7 { 8 $smarty->display('article13.dwt', $cache_id); 9 } 10 else 11 { 12 $smarty->display('article_pro.dwt', $cache_id); 13 } 14 ?>