Локализация и другое.)
[cswow.git] / skin / modern / skin.php
blobf41f008353fd7ff0c29d2b4956565e6cfcb4f7b6
1 <?php
2 include_once("include/functions.php");
3 include_once("include/simple_cacher.php");
4 ?>
5 <link href="skin/modern/style.css" type="text/css" rel="stylesheet">
6 <script type="text/javascript" src="js/menu.js"></script>
7 <script type="text/javascript" src="skin/modern/menu.js"></script>
8 <table class="foundation" cellspacing="0" cellpadding="0">
9 <tbody>
10 <tr>
11 <td class="lefttitle"></td>
12 <td colspan="2" align="center">
13 <table class="sitetitle" cellspacing="0" cellpadding="0">
14 <tbody>
15 <tr>
16 <td class="ugverhfon">&nbsp;</td>
17 <td class="topfon">&nbsp;</td>
18 <td class="fonmenu">WOWD::<?php echo $config['servername']; ?></td>
19 <td class="topfon">&nbsp;</td>
20 <td class="ugverhfon2">&nbsp;</td>
21 </tr>
22 </tbody>
23 </table>
24 </td>
25 <td class="righttitle"></td>
26 </tr>
27 <tr>
28 <td class="leftmenu">
29 <table class="mainmenu">
30 <tbody>
31 <tr><td class="top"></td></tr>
32 <tr>
33 <td class="body">
34 <!--<?php echo $lang['search_database']; ?><br> -->
35 <form style="display: inline" method="get">
36 <input name="s" type="hidden" value="all" >
37 <input class="ls_search" alt="all" name="name" style="width: 190;"><br />
38 </form>
39 <?php
40 // Получаем данные для левого меню (сначала из кэша)
41 $left_menu_file = "left_menu_".$config['lang'].".js";
42 if (checkUseCacheJs($left_menu_file, 60*60*24))
44 include("site_menu.php");
45 echo 'var leftmenu = '.php2js($menu).';';
46 echo 'generateLeftMenu("leftmenu");';
47 flushJsCache($left_menu_file);
50 </td>
51 </tr>
52 <tr><td class="bottom"></td></tr>
53 </tbody>
54 </table>
55 </td>
56 <td class="mybody">
57 <!-- -->
58 <table class="mainbody" cellspacing="0" cellpadding="0">
59 <tbody>
60 <tr>
61 <td class="bodytopleft">&nbsp;</td>
62 <td class="bodytop"></td>
63 <td class="bodytopright">&nbsp;</td>
64 </tr>
65 <tr>
66 <td class="bodyleft"></td>
67 <td class="body>"<center><?php include("main.php");?></center></td>
68 <td class="bodyright"></td>
69 </tr>
70 <tr>
71 <td class="bodybottomleft"></td>
72 <td class="bodybottom"></td>
73 <td class="bodybottomright"></td>
74 </tr>
75 </tbody>
76 </table>
77 <!-- -->
78 </td>
79 <!-- -->
80 <td valign="top" width="150">
81 <table class="rightmenu">
82 <tbody>
83 <tr><td class="rtop"></td></tr>
84 <tr>
85 <td class="rbody">
86 <form name="langform">
87 Язык:
88 <select name="lang" style="width: 120;border: 0px none; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);" onchange="document.langform.submit();">
89 <option <?php if ($config['lang']=='ru') echo "selected=\"selected\""; ?> value="ru">Русский</option>
90 <option <?php if ($config['lang']=='en') echo "selected=\"selected\""; ?> value="en">Английский</option>
91 </select>
92 </form>
94 <form name="skinform">
95 Скин:
96 <select name="skin" style="width: 120;border: 0px none; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);" onchange="document.skinform.submit();">
97 <option <?php if ($config['skin_type']=='default') echo "selected=\"selected\""; ?> value="default">Default</option>
98 <option <?php if ($config['skin_type']=='modern') echo "selected=\"selected\""; ?> value="modern">Modern</option>
99 <option <?php if ($config['skin_type']=='dark') echo "selected=\"selected\""; ?> value="dark">Dark</option>
100 <option <?php if ($config['skin_type']=='lofk_skin') echo "selected=\"selected\""; ?> value="lofk_skin">LOFK</option>
101 <option <?php if ($config['skin_type']=='wrath') echo "selected=\"selected\""; ?> value="wrath">Wrath</option>
102 </select>
103 </form>
105 </td>
106 <tr><td class="rbottom"></td></tr>
107 </tr>
108 </tbody>
109 </table>
110 </td>
111 <!-- -->
113 </tr>
114 </tbody>
115 </table>