Косметика интерфейса.)
[cswowd.git] / skin / dark / skin.php
blob8ac984b2cfd0d9470b93ad27d34bf2ddb6f780fb
1 <?php
2 include_once("include/functions.php");
3 include_once("include/simple_cacher.php");
4 ?>
5 <link href="skin/dark/style.css" type=text/css rel=stylesheet>
6 <script type="text/javascript" src="js/menu.js"></script>
7 <script type="text/javascript" src="skin/dark/menu.js"></script>
8 <body>
9 <table width=100% align="center"><tr><td>
10 <table cellspacing="0" cellpadding="0" width="100%" align="center" background="skin/dark/img/top-tile.gif" border="0">
11 <tbody>
12 <tr>
13 <td align="left"><img src="skin/dark/img/gryphon-left.gif"></td>
14 <td width=100% align="center"><img src="skin/dark/img/logo.gif"></td>
15 <td align="right"><img src="skin/dark/img/gryphon-right.gif"></td>
16 </tr>
17 <tr>
18 <td align="center" width="100%" background="skin/dark/img/up.gif" colspan="3" height="33"><img src="skin/dark/img/logo2.gif"></td>
19 </tr>
20 </tbody>
21 </table>
23 <table cellspacing="0" cellpadding="0" width="100%" align="center" background="skin/dark/img/up-center.gif" border="0">
24 <tbody>
25 <tr>
26 <td align="left"><img src="skin/dark/img/up-left.gif"></td>
27 <td width=100% align=center>text1 | text2</td>
28 <td align="right"><img src="skin/dark/img/up-right.gif"></td>
29 </tr>
30 </tbody>
31 </table>
33 <table width="100%" cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="#000000">
34 <tr>
35 <td valign="top">
36 <table cellspacing="0" cellpadding="0" width="190">
37 <tr>
38 <td valign="top" width="14"><img height="13" src="skin/dark/img/1.gif" width="14" border="0"></td>
39 <td valign="top" width="100%" background="skin/dark/img/2.gif"></td>
40 <td valign="top" width="13"><img height="13" src="skin/dark/img/3.gif" width="13" border="0"></td>
41 </tr>
42 <tr>
43 <td width="14" background="skin/dark/img/4.gif" height="49"><img height="14" src="skin/dark/img/spacer.gif" width="14" border="0"></td>
44 <td>
45 <div class="menutitle">
46 <form style="display: inline" method="get">
47 <input name="s" type="hidden" value="all">
48 <input class="ls_search" alt="all" name="name" style="width: 100%;">
49 </form>
50 </div>
51 <?php
52 // Получаем данные для левого меню (сначала из кэша)
53 $left_menu_file = "left_menu_".$config['lang'].".js";
54 if (checkUseCacheJs($left_menu_file, 60*60*24))
56 include("site_menu.php");
57 echo 'var leftmenu = '.php2js($menu).';';
58 echo 'generateLeftMenu("leftmenu");';
59 flushJsCache($left_menu_file);
62 </td>
63 <td width="14" background="skin/dark/img/6.gif" ><img height="14" src="skin/dark/img/spacer.gif" width="14" border="0"></td>
64 </tr>
65 <tr>
66 <td valign="top" width="14"><img height="13" src="skin/dark/img/8.gif" width="14" border="0"></td>
67 <td valign="top" width="152" background="skin/dark/img/10.gif"></td>
68 <td valign="top" width="13"><img height="13" src="skin/dark/img/9.gif" width="13" border="0"></td>
69 </tr>
70 </table>
71 </td>
73 <td width=100% valign="top">
74 <table class="mainbody" cellspacing="0" cellpadding="0">
75 <tr>
76 <td width="20"><img src="skin/dark/img/border-top-left.gif"></td>
77 <td width="100%" background="skin/dark/img/border-top-center.gif"></td>
78 <td width="20"><img src="skin/dark/img/border-top-right.gif"></td>
79 </tr>
81 <tr>
82 <td background="skin/dark/img/border-left.gif"> </td>
84 <td class="body" align="center" valign="top"> <?php include("main.php");?></td>
86 <td background="skin/dark/img/border-right.gif"> </td>
87 </tr>
88 <tr>
89 <td><img src="skin/dark/img/border-bot-left.gif"></td>
90 <td background="skin/dark/img/border-bot-center.gif"> </td>
91 <td><img src="skin/dark/img/border-bot-right.gif"></td>
92 </tr>
93 </table>
94 </td>
96 <td valign="top">
97 <table class="mainmenu" cellspacing="0" cellpadding="0" width="180">
98 <tr>
99 <td valign=top width="14"><img height="13" src="skin/dark/img/1.gif" width="14" border="0"></td>
100 <td valign=top width="152" background="skin/dark/img/2.gif"></td>
101 <td valign=top width="13"><img height="13" src="skin/dark/img/3.gif" width="13" border="0"></td>
102 </tr>
103 <tr>
104 <td width="14" background="skin/dark/img/4.gif"><img height="14" src="skin/dark/img/spacer.gif" width="14" border="0"></td>
105 <td>
106 <form name="langform">
107 <?php echo $lang['lang']; ?>
108 <select name="lang" style="width: 100%;border: 0px none; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);" onChange="document.langform.submit();">
109 <option <?php if ($config['lang']=='ru') echo "selected=\"selected\""; ?> value="ru">Русский</option>
110 <option <?php if ($config['lang']=='en') echo "selected=\"selected\""; ?> value="en">English</option>
111 </select></form>
113 <form name="skinform">
114 <?php echo $lang['skin']; ?>
115 <select name="skin" style="width: 100%;border: 0px none; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);" onChange="document.skinform.submit();">
116 <option <?php if ($config['skin_type']=='default') echo "selected=\"selected\""; ?> value="default">Default</option>
117 <option <?php if ($config['skin_type']=='modern') echo "selected=\"selected\""; ?> value="modern">Modern</option>
118 <option <?php if ($config['skin_type']=='dark') echo "selected=\"selected\""; ?> value="dark">Dark</option>
119 <option <?php if ($config['skin_type']=='lofk_skin') echo "selected=\"selected\""; ?> value="lofk_skin">LOFK</option>
120 <option <?php if ($config['skin_type']=='wrath') echo "selected=\"selected\""; ?> value="wrath">Wrath</option>
121 </select></form>
123 </td>
124 <td width="14" background="skin/dark/img/6.gif"><img src="skin/dark/img/spacer.gif" width="14" border="0"></td>
125 </tr>
126 <tr>
127 <td valign="top" width="14"><img height="13" src="skin/dark/img/8.gif" width="14" border="0"></td>
128 <td valign="top" width="152" background="skin/dark/img/10.gif"></td>
129 <td valign="top" width="13"><img height="13" src="skin/dark/img/9.gif" width="13" border="0"></td>
130 </tr>
131 </table>
132 <table cellspacing="0" cellpadding="0" width="180">
133 <tr>
134 <td valign="top" width="14"><img height="13" src="skin/dark/img/1.gif" width="14" border="0"></td>
135 <td valign="top" width="152" background="skin/dark/img/2.gif"></td>
136 <td valign="top" width="13"><img height="13" src="skin/dark/img/3.gif" width="13" border="0"></td>
137 </tr>
138 <tr>
139 <td width="14" background="skin/dark/img/4.gif" height="49"><img height="14" src="skin/dark/img/spacer.gif" width="14" border="0"></td>
140 <td>
142 </td>
143 <td width="14" background="skin/dark/img/6.gif"><img height="14" src="skin/dark/img/spacer.gif" width="14" border="0"></td>
144 </tr>
145 <tr>
146 <td valign=top width="14"><img height="13" src="skin/dark/img/8.gif" width="14" border="0"></td>
147 <td valign=top width="152" background="skin/dark/img/10.gif"></td>
148 <td valign=top width="13"><img height=13 src="skin/dark/img/9.gif" width="13" border="0"></td>
149 </tr>
150 </table>
151 <table cellspacing="0" cellpadding="0" width="180">
152 <tr>
153 <td valign="top" width="14"><img height="13" src="skin/dark/img/1.gif" width="14" border="0"></td>
154 <td valign="top" width="152" background="skin/dark/img/2.gif"></td>
155 <td valign="top" width="13"><img height="13" src="skin/dark/img/3.gif" width="13" border="0"></td>
156 </tr>
157 <tr>
158 <td width="14" background="skin/dark/img/4.gif" height="49"><img height="14" src="skin/dark/img/spacer.gif" width="14" border=0></td>
159 <td>
161 </td>
162 <td width="14" background="skin/dark/img/6.gif"><img height="14" src="skin/dark/img/spacer.gif" width="14" border="0"></td>
163 </tr>
164 <tr>
165 <td valign="top" width="14"><img height="13" src="skin/dark/img/8.gif" width="14" border="0"></td>
166 <td valign="top" width="152" background="skin/dark/img/10.gif"></td>
167 <td valign="top" width="13"><img height="13" src="skin/dark/img/9.gif" width="13" border="0"></td>
168 </tr>
169 </table>
170 </td>
171 </tr>
172 </table>
173 </td></tr></table>
174 </body>