TVDB: better handling of first run
[nonametv.git] / web-admin / index.php
blobed3502a368ae0d71377888cf564ee667a05db874
1 <?php
3 require "config.php";
4 require "common.php";
5 require "mysql.php";
6 require "admin/admins.php";
8 //
9 // start session and check login
11 start_nonametv_session();
12 $dadmin = get_session_data();
15 // read global config
17 if( $debug ) dbg( "dconf" , $dconf );
20 <html>
21 <head>
22 <title>NonameTV</title>
23 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
24 <meta http-equiv="description" content="NonameTV - XMLTV">
25 <meta http-equiv="Replay to" content="tcrnek@gonix.net">
26 <meta http-equiv="Keywords" content="XMLTV, backend">
27 <meta http-equiv="address" content="Zagreb, Croatia">
28 <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
29 </head>
30 <frameset rows="88,*" frameborder="NO" border="0" framespacing="0">
31 <frame name="top" scrolling="NO" noresize src="topframe.php" >
32 <?php
34 if( $dadmin ){
37 <frameset cols="120,*" frameborder="NO" border="0" framespacing="0">
38 <frame name="menu" noresize src="menu.php">
39 <frame name="main" src="main.php">
40 </frameset>
41 <?php
43 } else {
46 <frame name="login" scrolling="YES" noresize src="admin/login.php">
47 <?php
52 </frameset>
53 <noframes>
54 <body bgcolor="#FFFFFF" text="#000000">
55 </body>
56 </noframes>
57 </html>