function days_to_birthdate($birthdate){ $bd=explode('.',$birthdate); $bd=mktime(0,0,0,$bd[1],$bd[0],date('Y')+($bd[1].$bd[0]<=date('md'))); return ceil(($bd-time())/86400); }
Архив
Август 2023
Всего: 2 записи
text-overflow ellipsis 2 строки
a{ height:40px; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }