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
>MediaBase
</title
>
26 <link rel
="stylesheet" href
="styles.css" type
="text/css">
31 <img src
="img/mediabase.jpg" alt
="MediaBase logo">
34 <a href
="index.php">Browse
</a
>
35  
; 
;|
 
; 
;
36 <a href
="locations.php">Locations
</a
>
38 // |
39 // <a href="searchaudio.php">Search audio</a>
41  
; 
;|
 
; 
;
42 <a href
="searchfiles.php">Search files
</a
>
44 if ($config['use_categories'])
47  
; 
;|
 
; 
;
48 <a href
="categories.php">Categories
</a
>