30-03-2011, 06:25 AM
To do this, we one have to exchange one line of code.
This code is in the functions file, which is located at
/include/functions.php
Find this line, in the function "categories()":
change that, to:
NOTE: Be sure to clear your cache files for the changes to take effect.
This code is in the functions file, which is located at
/include/functions.php
Find this line, in the function "categories()":
Code:
$kategoriler=$kategoriler.'<li><a href="'.$root_url.$linki2.'">'.urldecode($row['category']).'</a></li>';
change that, to:
Code:
$cat_id = $row['id'];
$result2 = mysql_query("select * from video where `category` = '$cat_id'");
$cat_tot = mysql_num_rows($result2);
$kategoriler=$kategoriler.'<li><a href="'.$root_url.$linki2.'">'.urldecode($row['category']).'</a>('.$cat_tot.')</li>';
NOTE: Be sure to clear your cache files for the changes to take effect.