#!/bin/bash
last_time_online=`curl -s "http://lolygirl.ru/time_online.php?client=clear"`
curr_date=`date +%s`
echo $(($curr_date - $last_time_online))
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))