2 require('inc.config.php');
3 require('inc.functions.php');
5 define('MB_T_AUDIO',1);
7 define('MB_T_EMPTY',3);
9 $self = $_SERVER['PHP_SELF'];
11 if (!mysql_connect($config['mysql_hostname'],$config['mysql_username'],$config['mysql_password'])) {
12 echo "<b>Fatal error:</b> ".mysql_error()."\n";
16 if (!mysql_select_db($config['mysql_database'])) {
17 echo "<b>Fatal error:</b> ".mysql_error()."\n";
22 <!DOCTYPE HTML
PUBLIC "-//W3C//DTD HTML 4.01//EN">
25 <title
>Offline media content database
</title
>
26 <link rel
="stylesheet" href
="styles.css" type
="text/css">
31 <a href
="index.php">Browse
</a
>
32  
; 
;|
 
; 
;
33 <a href
="locations.php">Locations
</a
>
35 // |
36 // <a href="searchaudio.php">Search audio</a>
38  
; 
;|
 
; 
;
39 <a href
="searchfiles.php">Search files
</a
>
41 if ($config['use_categories'])
44  
; 
;|
 
; 
;
45 <a href
="categories.php">Categories
</a
>