if($cat_id == ‘205‘){
$smarty->display(‘cat1.dwt‘, $cache_id);
}elseif($cat_id == ‘2‘){
$smarty->display(‘cat2.dwt‘, $cache_id);
}else{
$smarty->display(‘category.dwt‘, $cache_id);
}
时间: 2024-11-05 20:37:14
if($cat_id == ‘205‘){
$smarty->display(‘cat1.dwt‘, $cache_id);
}elseif($cat_id == ‘2‘){
$smarty->display(‘cat2.dwt‘, $cache_id);
}else{
$smarty->display(‘category.dwt‘, $cache_id);
}