Файл: my/color_nik.php
Строк: 430
<?
require'../includes.php';
$align='left';
$title='Цвет ника';
head();
aut();
who_add(0,'enter');
if (empty($act)){
if (isset ($_GET['i'])&&$_GET['i']==1)echo '<b>Изменения сохранены.</b><br />';
echo "Выберите цвет:<br />";
/* <option value="000000">Черный</option>
<option value="FFFFFF">Белый</option>
<option value="FF0000">Красный</option>
<option value="00FF00">Зеленый</option>
<option value="006400">Темно-зеленый</option>
<option value="0000FF">Синий</option>
<option value="000080">Темно-синий</option>
<option value="00FFFF">Голубой</option>
<option value="FFFF00">Желтый</option>
<option value="808080">Серый</option>
<option value="C0C0C0">Светло-серый</option>
<option value="9ACD32">Желто-зеленый</option>
<option value="7FFF00">Салатовый</option>
<option value="90EE90">Светло-зеленый</option>
<option value="4B0082">Индиго</option>
<option value="8A2BE2">Фиолетовый</option>
<option value="008B8B">Темно-голубой</option>
<option value="4682B4">Голубая сталь</option>
<option value="87CEEB">Светло-голубой</option>
<option value="FF7F50">Кораловый</option>
<option value="8B4513">Коричневый</option>
<option value="B22222">Красный кирпич</option>
<option value="DC143C">Малиновый</option>
<option value="FF1493">Ярко-розовый</option>
<option value="FF69B4">Розовый</option>
<option value="FF8C00">Оранжевый</option>
<option value="FFD700">Золото</option>
<option value="BDB76B">Хаки</option>
<option value="FFA07A">Оранжево-розовый</option>
<option value="D2B48C">Желто-коричневый</option>*/
if ($ver!='wml')echo '<form method="post" action="color_nik?act=color&'.SID.'" name="auth">';
echo '<select name="color">
<option value="808080">Gray</option>
<option value="696969">DimGray</option>
<option value="000000">Black</option>
<option value="FFB6C1">LightPink</option>
<option value="FFC0CB">Pink</option>
<option value="DB7093">PaleVioletRed</option>
<option value="FFF0F5">LavenderBlush</option>
<option value="DA70D6">Orchid</option>
<option value="D8BFD8">Thistle</option>
<option value="EE82EE">Violet</option>
<option value="DDA0DD">Plum</option>
<option value="BA55D3">MediumOrchid</option>
<option value="4B0082">Indigo</option>
<option value="9370DB">MediumPurple</option>
<option value="7B68EE">MediumSlateBlue</option>
<option value="483D8B">DarkSlateBlue</option>
<option value="6A5ACD">SlateBlue</option>
<option value="191970">MidnightBlue</option>
<option value="F8F8FF">GhostWhite</option>
<option value="E6E6FA">Lavender</option>
<option value="6495ED">CornflowerBlue</option>
<option value="B0C4DE">LightsteelBlue</option>
<option value="778899">LightSlateGray</option>
<option value="708090">SlateGray</option>
<option value="F0F8FF">AliceBlue</option>
<option value="4682B4">SteelBlue</option>
<option value="87CEFA">LightskyBlue</option>
<option value="87CEEB">SkyBlue</option>
<option value="ADD8E6">LightBlue</option>
<option value="B0E0E6">PowderBlue</option>
<option value="5F9EA0">CadetBlue</option>
<option value="F0FFFF">Azure</option>
<option value="E0FFFF">LightCyan</option>
<option value="AFEEEE">PaleTurquoise</option>
<option value="2F4F4F">DarkSlateGray</option>
<option value="7FFFD4">Aquamarine</option>
<option value="66CDAA">MediumAquamarine</option>
<option value="F5FFFA">Mintcream</option>
<option value="3CB371">MediumSeaGreen</option>
<option value="2E8B57">SeaGreen</option>
<option value="F0FFF0">Honeydew</option>
<option value="98FB98">PaleGreen</option>
<option value="90EE90">LightGreen</option>
<option value="228B22">ForestGreen</option>
<option value="006400">DarkGreen</option>
<option value="8FBC8F">DarkSeaGreen</option>
<option value="556B2F">DarkOliveGreen</option>
<option value="6B8E23">OliveDrab</option>
<option value="FFFFF0">Ivory</option>
<option value="FFFFE0">LightYellow</option>
<option value="FAFAD2">LightGoldenrodYellow</option>
<option value="F5F5DC">Beige</option>
<option value="BDB76B">DarkKhaki</option>
<option value="EEE8AA">PaleGoldenrod</option>
<option value="FFFACD">LemonChiffon</option>
<option value="F0E68C">Khaki</option>
<option value="FFF8DC">Cornsilk</option>
<option value="FFFAF0">FloralWhite</option>
<option value="FDF5E6">Oldlace</option>
<option value="F5DEB3">Wheat</option>
<option value="FFE4B5">Moccasin</option>
<option value="FFEFD5">PapayaWhip</option>
<option value="FFEBCD">BlanchedAlmond</option>
<option value="FFDEAD">NavajoWhite</option>
<option value="FAEBD7">AntiqueWhite</option>
<option value="D2B48C">Tan</option>
<option value="DEB887">Burlywood</option>
<option value="FFE4C4">Bisque</option>
<option value="FAF0E6">Linen</option>
<option value="CD853F">Peru</option>
<option value="FFDAB9">Peachpuff</option>
<option value="8B4513">SaddleBrown</option>
<option value="FFF5EE">SeaShell</option>
<option value="A0522D">Sienna</option>
<option value="FFA07A">LightSalmon</option>
<option value="E9967A">DarkSalmon</option>
<option value="FFE4E1">MistyRose</option>
<option value="FFFAFA">Snow</option>
<option value="F08080">LightCoral</option>
<option value="BC8F8F">RosyBrown</option>
<option value="CD5C5C">IndianRed</option>
<option value="A52A2A">Brown</option>
<option value="DC143C">Crimson</option>
<option value="FF69B4">HotPink</option>
<option value="FF1493">DeepPink</option>
<option value="C71585">MediumVioletRed</option>
<option value="FF00FF">Magenta</option>
<option value="FF00FF">Fuchsia</option>
<option value="8B008B">DarkMagenta</option>
<option value="800080">Purple</option>
<option value="9400D3">DarkViolet</option>
<option value="9932CC">DarkOrchid</option>
<option value="8A2BE2">BlueViolet</option>
<option value="0000FF">Blue</option>
<option value="0000CD">MediumBlue</option>
<option value="00008B">DarkBlue</option>
<option value="000080">Navy</option>
<option value="4169E1">RoyalBlue</option>
<option value="1E90FF">DodgerBlue</option>
<option value="00BFFF">DeepSkyBlue</option>
<option value="00CED1">DarkTurquoise</option>
<option value="00FFFF">Cyan</option>
<option value="00FFFF">Aqua</option>
<option value="008B8B">DarkCyan</option>
<option value="008080">Teal</option>
<option value="48D1CC">MediumTurquoise</option>
<option value="20B2AA">LightSeaGreen</option>
<option value="40E0D0">Turquoise</option>
<option value="00FA9A">MediumSpringGreen</option>
<option value="00FF7F">SpringGreen</option>
<option value="32CD32">LimeGreen</option>
<option value="00FF00">Lime</option>
<option value="008000">Green</option>
<option value="7CFC00">LawnGreen</option>
<option value="7FFF00">Chartreuse</option>
<option value="ADFF2F">GreenYellow</option>
<option value="9ACD32">YellowGreen</option>
<option value="FFFF00">Yellow</option>
<option value="808000">Olive</option>
<option value="FFD700">Gold</option>
<option value="DAA520">Goldenrod</option>
<option value="B8860B">DarkGoldenrod</option>
<option value="FFA500">Orange</option>
<option value="FF8C00">DarkOrange</option>
<option value="F4A460">SandyBrown</option>
<option value="D2691E">Chocolate</option>
<option value="FF4500">OrangeRed</option>
<option value="FF7F50">Coral</option>
<option value="FF6347">Tomato</option>
<option value="FA8072">Salmon</option>
<option value="FF0000">Red</option>
<option value="B22222">FireBrick</option>
<option value="8B0000">DarkRed</option>
<option value="800000">Maroon</option>
</select><br />';
if ($v_us['level']>=7){
echo '<br />Эффект:<br /><select name="effnik">
<option value="0">Нет</option>
<option value="1">Мигание</option>';
echo '</select><br /><br />';
}
if ($ver=='wml'){
echo '<anchor>Сменить<go href="color_nik?act=color&'.SID.'" method="post">
<postfield name="color" value="$(color)"/>
<postfield name="effnik" value="$(effnik)"/>
</go></anchor><br/><br />';
}else{
echo '<input class="ibutton" type="submit" class="ibutton" value="Сменить"/></form>';
}
}else{
$color = check($_POST['color']);
$effnik = check($_POST['effnik']);
query ("Update users set color_nik='".$color."', effnik='".$effnik."' WHERE id ='".$v_us['id']."'");
header ('Location: color_nik?i=1&'.SID); exit;
}
echo '<br />';
echo gb.'<a href="'.H.'my/index">Личный кабинет</a>'.div;
echo gb.'<a href="'.H.'enter">Прихожая</a>'.div;
foot(); // автор -=ШАХТЕР=- http://waphp.ru
?>