i want to edit the modules/What_New/config.php the :
if (isset($_COOKIE['online'])) {
$aw_new_products = func_query_first_cell("select count(*) from $sql_tbl[products] where add_date > ".$_COOKIE['online']." and add_date < ".time());
$smarty->assign("new_products_count",$aw_new_products);
$smarty->assign("new_products_date",$_COOKIE['online']);
$smarty->assign("new_products_text",($aw_new_products == 1)?$aw_new_products."
new product":$aw_new_products."
new products");
setcookie("last_visit", time(), time()+94608000);
} else {
setcookie("online", $_COOKIE['last_visit'], 0);
setcookie("last_visit", time(), time()+94608000);
$aw_new_products = func_query_first_cell("select count(*) from $sql_tbl[products] where add_date > ".$_COOKIE['last_visit']." and add_date < ".time());
$smarty->assign("new_products_text",($new_products_count == 1)?"$aw_new_products
new product":"$aw_new_products
new products");
$smarty->assign("new_products_count",$aw_new_products);
$smarty->assign("new_products_date",$_COOKIE['last_visit']);
I want to edit the BOLD text to be language variable, coz i can't translate the txt_whats_new and leave the bold text to be on language. It will look weird. Also the
http://www.gsmcorner.gr/home.php?WhatsNew=Y still doesn't work, in the past you ask for login details but i was on holiday. Can you have a look?