32
32
<link rel="shortcut icon" href="<?php echo $web_path; ?>/favicon.ico" />
34
34
if (Config::get('use_rss')) { ?>
35
<link rel="alternate" type="application/rss+xml" title="<?php echo Config::get('rss_main_title'); ?>" href="<?php echo $web_path; ?>/rss.php" />
36
<link rel="alternate" type="application/rss+xml" title="Ampache Latest Artists Additions" href="<?php echo $web_path; ?>/rss.php?type=latestartist" />
37
<link rel="alternate" type="application/rss+xml" title="Ampache Latest Albums Additions" href="<?php echo $web_path; ?>/rss.php?type=latestalbum" />
38
<link rel="alternate" type="application/rss+xml" title="Ampache Most Popular Albums" href="<?php echo $web_path; ?>/rss.php?type=popularalbum" />
39
<link rel="alternate" type="application/rss+xml" title="Ampache Most Popular Artists" href="<?php echo $web_path; ?>/rss.php?type=popularalbum" />
40
<link rel="alternate" type="application/rss+xml" title="Ampache Most Popular Songs" href="<?php echo $web_path; ?>/rss.php?type=popularsong" />
41
<link rel="alternate" type="application/rss+xml" title="Ampache Recently Played" href="<?php echo $web_path; ?>/rss.php?type=recentlyplayed" />
35
<link rel="alternate" type="application/rss+xml" title="<?php echo _('Now Playing'); ?>" href="<?php echo $web_path; ?>/rss.php" />
36
<link rel="alternate" type="application/rss+xml" title="<?php echo _('Recently Played'); ?>" href="<?php echo $web_path; ?>/rss.php?type=recently_played" />
43
38
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=<?php echo Config::get('site_charset'); ?>" />
44
39
<title><?php echo scrub_out(Config::get('site_title')); ?> - <?php echo $location['title']; ?></title>
40
<link rel="stylesheet" href="<?php echo $web_path; ?>/templates/base.css" type="text/css" media="screen" />
45
41
<link rel="stylesheet" href="<?php echo $web_path; ?><?php echo Config::get('theme_path'); ?>/templates/default.css" type="text/css" media="screen" />
46
42
<link rel="stylesheet" href="<?php echo $web_path; ?>/templates/print.css" type="text/css" media="print" />
47
<link rel="stylesheet" href="<?php echo $web_path; ?>/templates/handheld.css" type="text/css" media="handheld" />
50
45
<script src="<?php echo $web_path; ?>/lib/javascript-base.js" language="javascript" type="text/javascript"></script>
51
46
<script src="<?php echo $web_path; ?>/modules/kajax/ajax.js" language="javascript" type="text/javascript"></script>
52
47
<script src="<?php echo $web_path; ?>/modules/prototype/prototype.js" language="javascript" type="text/javascript"></script>
48
<!-- rfc3514 implementation -->
53
49
<div id="rfc3514" style="display:none;">0x0</div>
54
<div id="maincontainer" <?php
55
if ($GLOBALS['theme']['orientation'] == 'horizontal') {
56
echo " class=\"horizontal_menu\" ";
58
echo " class=\"vertical_menu\" ";
50
<div id="maincontainer">
61
51
<div id="header"><!-- This is the header -->
62
52
<h1 id="headerlogo">
63
53
<a href="<?php echo Config::get('web_path'); ?>">
68
58
<?php show_box_top('','box box_headerbox'); ?>
69
59
<?php require_once Config::get('prefix') . '/templates/show_search_bar.inc.php'; ?>
70
60
<?php require_once Config::get('prefix') . '/templates/show_playtype_switch.inc.php'; ?>
71
<span id="loginInfo"><?php echo $GLOBALS['user']->fullname; ?> [<a href="<?php echo Config::get('web_path'); ?>/logout.php"><?php echo _('Log out'); ?></a>]</span>
61
<span id="loginInfo"><a href="<?php echo Config::get('web_path'); ?>/preferences.php?tab=account"><?php echo $GLOBALS['user']->fullname; ?></a> [<a href="<?php echo Config::get('web_path'); ?>/logout.php"><?php echo _('Log out'); ?></a>]</span>
72
62
<?php show_box_bottom(); ?>
73
63
</div> <!-- End headerbox -->
74
64
</div><!-- End header -->
78
68
<div id="rightbar"><!-- This is the rightbar -->
79
69
<?php require_once Config::get('prefix') . '/templates/rightbar.inc.php'; ?>
80
70
</div><!-- End rightbar -->
82
<table class="smeg-ie" width="100%"><tr><td> -->
83
71
<!-- Tiny little iframe, used to cheat the system -->
84
72
<div id="ajax-loading">Loading . . .</div>
85
73
<iframe name="util_iframe" id="util_iframe" style="display:none;" src="<?php echo Config::get('web_path'); ?>/util.php"></iframe>