Файлы топика: Function TimeAgo - Картинки

.
example usage
.
btw I put that code before public function displayError
.
Just a simple code
step by step
#1. take some coffe and snack
#2. pray
#3. then go to sleep..

now serious open
Root/system/johncms/Tools.php

add this
/*Mod Time Ago, By: jimy ironyzm*/
	public function TimeAgo($var){
		$m = time()-$var; $times='just now';
		$t = array('year'
Всего: 3