Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding "You are here" to page number
10-07-2012, 05:14 AM
Post: #1
Adding "You are here" to page number
On the homepage I was hoping to update the text shown for the page number you're viewing to show "You are here" instead of just 1,2,3 etc.

I believe the code that needs changed is somewhere inside this:


$baglanti=db_baglan();
$kategoriler='<li><h2>'.$lcl['categories'].'</h2><ul>';
$result = mysql_query("select * from category order by category");
if ($category_link==""){$linki="?id=#id&category=#category&option=category&p=1";} else {$linki=$category_link;}
while ($row = mysql_fetch_array($result))
{

$linki2=str_replace('#id',$row['id'],$linki);
$linki2=str_replace('#category',$row['category'],$linki2);
$linki2=str_replace('#p','1',$linki2);


$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>';


How would you add a simple text to that?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: