Файл: chats/my/css.php
Строк: 48
<?php
//////////////////////////////////////////
// CHAT POWERED : http://sim-sim.h2m.ru//
// ICQ : 378036650 //
// Email : olegarhi75@mail.ru //
// WEB SITE Version 1.0 www.waufon.ru //
////////////////////////////////////////
require( "../inc/conf.inc.php" );
require( "../inc/check.php" );
$login = autorize();
$sound = $login['sound'] ;
if ( empty( $theme ) )
{
echo "<title>Темки чата</title>";
echo "<style type="text/css">";
echo "body { font-size: {$fs}; color: {$tcol}; background-color: {$bcol} }";
echo "a:link,a:visited { text-decoration: underline; color: {$lcol} }";
echo "div { border-style:solid; border-width: 1px; background-color: {$rcol} }";
echo "</style>";
echo "</head>";
echo "<body>";
if($sound=="1")
{
echo "<!--h--><!--h--><a><bgsound src="../sound/info.wav"></br>";
}
echo "<p align="center"><div><b>Цветовые CSS стили</b></p></div></a><br/>";
echo "<div>";
echo "<a href="theme.php?id={$id}&pass={$pass}&theme=22">CSS-waufon</a><br/>";
echo "<a href="theme.php?id={$id}&pass={$pass}&theme=21">CSS-attack</a><br/>";
echo "<a href="theme.php?id={$id}&pass={$pass}&theme=23">CSS-Matrix</a><br/>";
echo "<a href="theme.php?id={$id}&pass={$pass}&theme=24">CSS-ContrStrike</a><br/>";
echo "<a href="theme.php?id={$id}&pass={$pass}&theme=25">CSS-Carbon</a><br/>";
echo "<a href="theme.php?id={$id}&pass={$pass}&theme=26">CSS-Sierra</a><br/>";
echo "<a href="theme.php?id={$id}&pass={$pass}&theme=27">CSS-Roza Love</a><br/>";
echo "<a href="theme.php?id={$id}&pass={$pass}&theme=28">CSS-GTA</a><br/>";
echo "<a href="theme.php?id={$id}&pass={$pass}&theme=29">CSS-Sims-2</a><br/>";
echo "<a href="theme.php?id={$id}&pass={$pass}&theme=30">CSS-KotiK</a><br/>";
}
else
{
echo "<meta http-equiv="refresh" content="1;URL=./?id={$id}&pass={$pass}"/>";
echo "<title>Темы</title>";
echo "<style type="text/css">";
echo "body { font-size: {$fs}; color: {$tcol}; background-color: {$bcol} }";
echo "a:link,a:visited { text-decoration: underline; color: {$lcol} }";
echo "div { border-style:solid; border-width: 1px; background-color: {$rcol} }";
echo "</style>";
echo "</head>";
echo "<body>";
echo "<div align="center">";
$theme = intval( $theme );
$query = mysql_query( "update users set theme='".$theme."' where id='".$id."';" );
if ( $query )
{
print "Настройки для вашего профиля изменены!<br/>";
}
else
{
print "Произошла непредвиденная ошибка, пожалуйсто обратитесь к администрации.<br/>";
}
}
echo "</div><br/>";
echo "<a href="index.php?id={$id}&pass={$pass}">К-ебинет ваш мля</a><br/>";
echo "<a href="./?id={$id}&pass={$pass}">Прихожая</a><br/>";
$end = gettime( );
echo "<p align="center">";
echo "[".round( $end - $mystart, 5 )."]";
echo "</p></body></html>";
mysql_close( $link );
?>