5
Thank you, but i just solved the problem with a big php code made by me. It was an hard battle but in the end I made it!!!!
this is the link to my site:
http://www.upyou.itIt works!!!
The code in php file:
$data1=strftime("%d/%m/%Y",time());
$temp=substr ($story['posttime'] , 0 ,10);
if ($data1{0}=="0"){
$data1= substr($data1,1,10);
if ($data1{2}=="0"){
$data1=$data1{0}.$data1{1}.substr($data1,3,9);
}
}
else {
if ($data1{3}=="0"){
$data1=substr($data1,0,3).substr($data1,4,9);
}
}
$data2=$temp;
$new = (strncmp($data1,$data2,strlen($data1))==0) ? "yes" : "no";
$story['new']=$new;
Not very smart but I don't know php so this is the best I can do!!
Bye