Downloads tittle fix

328
.
Hi, anyone pls help to change the download tittle. As we knows default tittle is "Downloads" (in english language pack), i want to change it with the file name too look here a sample
"Downloads - Nokia_OVI_Browser_v1_4_ Beta_Build0580_S60v3_S60v5_ English.sis". *beside the favicon.ico*

It's good for SEO, and search engine friendly
How to change it, anyone?
Прикрепленные файлы:
.
watch in file: /download/index.php
in line 21:
$textl = $lng['downloads'];

change on:
if isset($_GET['cat'])
{
	$cat = intval($_GET['cat']);
	$req = mysql_query("SELECT * FROM `download` WHERE `type` = 'cat' AND `id` = '" . $cat . "' LIMIT 1");
    $res = mysql_fetch_array($req);
	$head_words = $res['text'];
}
elseif isset($_GET['file'])
{
	$file = intval($_GET['file']);
	$req = mysql_query("SELECT * FROM `download` WHERE `type` = 'file' AND `id` = '" . $file . "' LIMIT 1");
    $res = mysql_fetch_array($req);
	$head_words = $res['name'];
}
$textl = $head_words;

and be happy! :-)
.
i get error on it, thanks for help buddy
Прикрепленные файлы:
Всего: 3