count($SiteStyles)-1) { $style = $DefStyle; } else $style = $_COOKIE['style']; }; include("option.php"); $codech = ""; for ($i=0;$i<6;$i++) { $codech = $codech.dechex(rand(0,35)); }; if ((isset($_GET['action'])) and (isset($_GET['id']))) { $file = file($file); $flag = false; for ($i=0;$i", "\n", $mess_2); $flag = true; break; } } if (!$flag) exit; ?>
Редактировать запись
 Имя:
 E-mail:
 URL:
 Мессага:
Редактировать ответ
 Мессага:
Администрирование
Login:
Password:
= 0) { $pages = $pages."<< Назад "; } $n = ceil(sizeof($array) / $viwe); $next2 = -$viwe; for ($i = 1; $i<=$n; $i++) { $next2 = $next2 + $viwe; $pages = $pages."".$i." "; }; if ($next1 < sizeof($array)) { $pages = $pages." Далее >>"; } $str_out = ''; for ($i = $next; ($i < ($next + $viwe)) & ($i < sizeof($array)); $i++) { $mf = $mess_form; $str = $array[$i]; list($id,$chepushilo,$mail,$url,$mess,$otvet,$date,$ip) = split("\|",$str); $mess = stripslashes($mess); if ((isset($login)) and (isset($password)) and ($login == $userlogin) and ($password == $userpass)) $admin = "[DEL]  [EDIT]"; else $admin = ''; $mf = ereg_replace("%DATA%", $date, $mf); $mf = ereg_replace("%ADMIN%", $admin, $mf); $mf = ereg_replace("%CHEPUSHILO%", $chepushilo, $mf); $mf = ereg_replace("%MAIL%", $mail, $mf); $mf = ereg_replace("%URL%", $url, $mf); $mf = ereg_replace("%MESS%", $mess, $mf); $mf = ereg_replace("%OTVET%", $otvet, $mf); if (!empty($otvet)) $mf = ereg_replace("%RE%", $re, $mf); else $mf = ereg_replace("%RE%", "", $mf); $all .= $mf; }; $all = substr_replace($all,"",-4,4); if (!($all .= @implode(file("down.htm"), ""))) exit; $all = ereg_replace("%PARAM%","length=".$confirmer_num."&rand=".rand(1,9999999), $all); $all = ereg_replace("%NAME1%", $name_1, $all); $all = ereg_replace("%MAIL1%", $mail_1, $all); $all = ereg_replace("%URL1%", $url_1, $all); $all = ereg_replace("%MESAGA%", $mess_1, $all); $all = ereg_replace("%PAGES%", $pages, $all); $all = ereg_replace("%PAGE%", " ".($next/$viwe+1), $all); echo $all; }; ?>