View file bola/setting.php

File size: 1.48Kb
<?php 

session_name("SID");
session_start();
include_once "../theme/index.php";
include_once "../config.php";
require_once"../conf.php";
include_once "../template/login2.php";

if (!$_SESSION[uin]=="" && !md5($_SESSION[par])=="" && md5($_SESSION[par])==$provpar && $_SESSION[uin]==$provuin)
{
		if ($bola==555)
		{

echo"<br><center>НАСТРОЙКИ</center>";
if (isset($yes))
{ echo'<div align="center"><b>Настройки успешно изменены!</b><br><br></div>'; } 

echo'<form method="post" action="editsetting.php">';
echo'<br>Cообщений в окне чата:<br><input name="wmsg" maxlength="50" value='.$msg.'><br>';
echo'Шрифт<br>
<select name="wttf" class="textbox" value="'.$ttf.'">
<option>Verdana</option>
<option>Arial</option>
<option>Comic Sans MS</option>
<option>Courier</option>
<option>Courier New</option>
<option>Fixedsys</option>
<option>Georgia</option>
<option>Impact</option>
<option>Lucida Console</option>
<option>Lucida Sans Unicode</option>
<option>Microsoft Sans Serif</option>
<option>MS Serif</option>
<option>Palatino Linotype</option>
<option>Script</option>
<option>Sylfaen</option>
<option>System</option>
<option>Times New Roman</option>
<option>Trebuchet MS</option>
</select><br>';

echo'<br><input value="Настроить" name="do" type="submit"/></form>';

}else{
header ("Location: ../index.php?".SID);
}
}else{
header ("Location: ../index.php?".SID);
}

include_once "../theme/foot.php";

?>