Требование: PHP => 5.3, часть 2
[cswow.git] / index.php
blob9fa2fcee7cd1ff1209870c4dd02750075751850f
1 <?php
2 @session_start();
3 include("conf.php");
4 include("lang/lang.".$config['lang'].".php");
5 include("lang/game_text.".$config['lang'].".php");
6 ?>
7 <html>
8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
9 <head><link rel="shortcut icon" href="images/favicon.ico"><title>:: C.S. WOWD :: <?php echo $config['servername']; ?></title>
10 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
11 <link rel="stylesheet" href="wowd.css" type="text/css" />
12 </head>
13 <body>
14 <script type="text/javascript" src="js/ajax.js"></script>
15 <script type="text/javascript" src="js/utils.js"></script>
16 <script type="text/javascript" src="js/my_tooltip.js"></script>
17 <script type="text/javascript" src="js/lightbox.js"></script>
18 <?php
19 // Ïîäêëþ÷àåì ñêðèïò òîëüêî ïî íåîáõîäèìîñòè
20 if (!empty($ajax_modules['ls']))
21 echo '<script type="text/javascript" src="js/my_livesearch.js"></script>';
23 $skinfile = 'skin/'.$config['skin_type'].'/skin.php';
24 if (file_exists($skinfile)) include($skinfile);
25 else include('skin/default/skin.php');
27 <br><hr width=90%>
28 <center><font size=-1>C.S. WoWD 2007-2015 (fork)</font></center>
29 </body></html>