last_time_online=`curl -s "http://lolygirl.ru/time_online.php?client=clear"`
last_time_online=${last_time_online:1:${#last_time_online}-1}
curr_date=`date +%s`
echo $(($curr_date - $last_time_online))
.menu:hover
https://jsfiddle.net/tke4bx2w/1/