Windler (11.05.2012/09:48)Ага спасибо !
[php]<?php
$array = array (
'new' => '',
);
$path = !empty($array[$act]) ? $array[$act] . '/' : '';
if (array_key_exists($act, $array) && file_exists($path . $act . '.php')) {
require_on
Windler (11.05.2012/09:48)Ага спасибо !
[php]<?php
$array = array (
'new' => '',
);
$path = !empty($array[$act]) ? $array[$act] . '/' : '';
if (array_key_exists($act, $array) && file_exists($path . $act . '.php')) {
require_on