echo $current_category["name"]?>
if ($c != 1){
echo '\r\n";
};
?>
if ($n_subcategories > 0){
echo '
'."\r\n";
echo '
'.$t01.' "'.$current_category["name"].'":
'."\r\n";
$t = ceil($n_subcategories/2);
echo '
'."\r\n";
echo '
'."\r\n";
for ($x = 0; $x < $t; $x++){
echo '
»
('.$subcategories[$x]["subcategories"].'/'.$subcategories[$x]["pages"].')
'."\r\n";
};
echo "
\r\n";
echo '
'."\r\n";
if ($n_subcategories > 1){
for ($x = $t; $x < $n_subcategories; $x++){
echo '
»
('.$subcategories[$x]["subcategories"].'/'.$subcategories[$x]["pages"].')
'."\r\n";
};
}else{
echo " \r\n";
};
echo "
\r\n";
echo "
\r\n";
echo "
\r\n";
};
if ($current_category["pages"] == "y"){
if ($n_pages > 0){
echo '
'."\r\n";
echo '
'.$t05a.' '.$s.' - '.$e.' '.$t05b.' '.$total_pages.' '.$t05c.' "'.$current_category["name"].'":
'."\r\n";
for ($x = 0; $x < $n_pages; $x++){
echo '
'."\r\n";
echo '
'."\r\n";
echo '
'.$pages[$x]["description"].'
'."\r\n";
echo '
'.$pages[$x]["url"].'
'."\r\n";
echo "
\r\n";
};
echo "
\r\n";
}else{
echo '
'."\r\n";
echo '
'.$t06.' "'.$current_category["name"].'"
'."\r\n";
echo "
\r\n";
};
if ($s != 1 || $e != $total_pages){
function query($s){
global $c;
if ($c != 1) { $query = "?c=$c"; };
if (($c != 1) & $s != 1){
$query .= "&s=$s";
}elseif ($s != 1){
$query = "?s=$s";
};
return $query;
};
echo '
'."\r\n";
if ($s != 1){
$previous = $s - $n;
echo '
'.$t07.''."\r\n";
};
for ($x = 1; $x <= ceil($total_pages/$n); $x++){
$current = ($x-1) * $n + 1;
if ($current == $s){
echo $x."\r\n";
}else{
echo '
'.$x.''."\r\n";
};
};
if ($e < $total_pages){
$next = $s + $n;
echo '
'.$t08.''."\r\n";
};
echo "
\r\n";
};
};
include ("include_links.php");
?>