// �£�«� �¢�­� �¿ �±�²�°� �­�¨�¶�  ini_set('memory_limit', '128M'); // �±�²� �°�² �±�¥�±�±�¨�¨ session_start(); // �¯�®�¤�ª�«�¾�·� �¾ �±�¨�±�²�¥�¬�­�»�¥ �´� �©�«�» require_once("setup/setup.php"); require_once("libs/basic.php"); require_once("libs/sql.php"); require_once("inc/functions.php"); require_once("inc/general.class.php"); require_once("inc/idna_convert.class.php"); require_once("inc/block.class.php"); require_once("inc/works.class.php"); // ���®�¤�ª�«�¾�·� �¥�¬ �ª�«� �±�± PHPMailer //include_once('admin-page/inc/phpmailer_config.phtml'); //include_once('admin-page/inc/phpmailer_class.phtml'); // �¨�­�¨�¶�¨� �«�¨�§� �¶�¨�¿ �ª�«� �±�±�®�¢ $sql = new sql; $page_data = new page_data; $menu = new menu; //$mail = new PHPMailer(); $sys_messages = new system_messages; $block = new Block; $tcapcha = new TextCaptcha; $Work = new Works; // �¯�®�¤�ª�«�¾�·� �¾�±�¼ �ª �¡�¤ $sql->connect(); // ip-� �¤�°�¥�± �¨ �¤�­�± $user_ip = getenv ("REMOTE_ADDR"); //FULL HOST name $user_detectname = gethostbyaddr(getenv("REMOTE_ADDR")); //HOST name (dns) // �¢�»�·�¨�±�«�¿�¾ url $host = 'http://'.str_replace(array("http://", "www.", "/"), "", $_SERVER['HTTP_HOST']).'/'; $user_user_agent = $_SERVER['HTTP_USER_AGENT']; // �®�·�¨�±�²�ª�  post-�¤� �­�­�»�µ clean_post_data(); $contents = ''; // �¯�®�¤�ª�«�¾�·� �¾ �´� �©�«-�°� �±�¯�°�¥�¤�¥�«�¨�²�¥�«�¼ require_once("templ/index.php"); // �¢ �ª�®�­�²�¥�­�²�¥ �§� �¬�¥�­�¿�¾ �±�¯�¥�¶. �±�¨�¬�¢�®�«�» $contents = str_replace("{page_name}", $page_data->page_data['name'], $contents); // �§� �¬�¥�­�¿�¾ �±�¯�¥�¶. �®�¡�®�§�­� �·�¥�­�¨�¿ �¢ �£�®�«�®�¢�¥ �±�²�°� �­�¨�¶�» $contents = str_replace("{add_tags_to_head}",'',$contents); // �¢�»�¢�®�¦�³ �¯�®�«�­�®�±�²�¼�¾ �±�®�¡�°� �­�­�»�© �ª�®�­�²�¥�­�² �±� �©�²�  $contents = str_replace(array(">\n<",">\r<"," "), array("><","><",""), $contents); $contents = str_replace(array(">\n<",">\n\n<",">\n <"), array("><","><","><"), $contents); $contents = str_replace('