Файлы категории

.

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'
.
Салом алейкум

supper вариант

408
(43 kb)
.
Hey guys! Finally I'm gonna change status!?

umnik, Пробуй.

395
(5 kb)
.
Добавлено: 12.06.2017 / 02:48
currently I'm using this
$glob = glob(ROOT_PATH.'asset/smiley/*.{gif,jpg,png}', GLOB_BRACE);
		$res_sm = '';
		foreach ($glob as $f) {
			$value = basename($f,'.png');
			$res_sm .= '<a href="javascript:tag(\':'.$value.'\', \':\'); show_hide(\'sm\');">:'.$value.'&lt
.

this is the default smiley directory

.

any one know how to show all default smiley in here?

.
Hey guys! Finally I'm gonna change status!?

Ооо, пока не забыл, для ленивых
Инверсия цветов в стилях css

function inverseColors($css)
{
    preg_match_all('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $css, $matches);
    $original = $matches[0];
    $inversed = array();
    foreach ($matches[1] as $key => $color) {
        $parts = str_split($color, strlen($color) == 3 ? 1 : 2);
        foreach ($parts as &$part) {
            $part = str_pad(dechex(255 
.
JohnCMS

Танц

496
(3 kb)
.

Сделайте эту картинку в 32х32 размере

474
(6 kb)
.
Hey guys! Finally I'm gonna change status!?

Iron_Man, Последняя попытка

379
(6 kb)
Всего: 8458