我是个新手,想修改个开源网址导航,改显示的个数为四行七列,但却找不到文件或是改了不。下面是文件显示总个数的代码,是什么意思,怎么改成四行七列呢?
public function indexAction(){
$args = func_get_args();
if(count($args) == 2){
$h = $args[0];
$psize = $args[1];
}else{
$h = $psize = '';
} $htmlTemp = addSlash($h); //index
$htmlName = basename($htmlTemp) . '.htm';
$filePath = ROOT . $htmlName; if($psize == 'kp'){
$countAd = 2;
$countSad = 6;
$tpl_name = "theme/".THEME_PATH."index_kp.tpl";
$count = 8;
}else{
$countAd = 4;
$countSad = 8;
$tpl_name = "theme/".THEME_PATH."index.tpl";
$count = 28;
}
if($psize == 'kp' && !is_file(TEMPLATES.$tpl_name)){
return true;