Rar! ϐs t u z z R@0P 襬 襩 CMS\index.php ܀H ՁC;L !B0Ӏ`8 MO H eU // () $nameDB = "blog";// $nameSERVER = "localhost";// $nameUSER = "root";// $passUSER = "";// mysql_select_db($nameDB, mysql_connect($nameSERVER,$nameUSER,$passUSER)); // () // $header_title = " HTML"; $header_metaD = " "; $header_metaK = " "; if($_GET['blog'])$blog = $_GET['blog'];//, GET , // $blog // if(!$blog)//, $blog, news.php { include("moduls/news.php"); $txt = index_page();// , // } // C if($blog) { include("moduls/text.php"); $txt = blog($blog);// , } // C include("templates/index.html");// ?>%t { } } _OgH@0V 襬 襩 CMS\moduls\text.php ܀H ՁC;L !B0Ӏ`8 MO H /Z function blog($blog) { $result_index = mysql_query("SELECT * FROM blog WHERE id = '$blog'");// $myrow_index = mysql_fetch_array($result_index); if($myrow_index != "")// {// ... $sm_read = file("templates/text.html");//... $sm_read = implode("",$sm_read);// file() , $text = str_replace("[end]","",$myrow_index[text]);// - //(, [end] , " ") // $sm_read = str_replace("[_text]",$text,$sm_read);// $sm_read = str_replace("[_title]",$myrow_index[title],$sm_read);// $sm_read = str_replace("[_author]",$myrow_index[author],$sm_read);// $sm_read = str_replace("[_date_b]",$myrow_index[date_b],$sm_read);// } else $sm_read = "
";// , return $sm_read;// html } ?>qt #{a;@0Z 襬 襩 CMS\templates\text.html ܀H ՁC;L !B0Ӏ`8 MO H Of ,6tr @0M 襬 襩 CMS\moduls ܀H ՁC;L !B0Ӏ`8 MO H 6*tu @0P 襬 襩 CMS\templates ܀H ՁC;L !B0Ӏ`8 MO H j5щtk |@0F 襬 襩 CMS ܀H ՁC;L !B0Ӏ`8 MO H *={ @