~studentersamfundet-web/studentersamfundet-web/web

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?php include("functions.php"); ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="no" lang="no">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
        <!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8" / -->
        <meta name="robots" content="index,follow" />

        <title><?php
				if($posts)
					echo $posts[0]->title . ' | ';
				bloginfo('name');
			?></title>

        <link rel="icon" type="image/png" href="favicon.png" />
        <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('url'); ?>/rss/nyheter_feed.php" title="Det Norske Studentersamfund (nyheter)" />
        <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('url'); ?>/rss/program_feed.php" title="Det Norske Studentersamfund (program)" />
        <link href="style.css" rel="stylesheet" type="text/css" />
        <link rel="stylesheet" href="<?php bloginfo('url'); ?>/css/lightbox.css" type="text/css" media="screen" />

        <script type="text/javascript" src="js/prototype.js"></script>
        <script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
        <script type="text/javascript" src="js/lightbox.js"></script>
		<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.js"></script>
		<script type="text/javascript">
			$(document).ready(function(){ // when the DOM is ready
				var loc = document.location; // store the location in a string
				$('.sub-menu ul li a').each(function(){ // select every a, inside a li, inside an ul, inside .sub-menu and iterate over the a's
					if( loc == $(this).attr('href') ) { // if THIS current elements href-attribute equals the current location do:
						$(this).addClass('current'); // add the class .activePage (note: no dots in the addClass-function!) to THIS current element
					}
				});
			});
		</script>

        <script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/nb_NO" type="text/javascript"></script><script type="text/javascript">FB.init("9f0d4e4f84f00af0249f45aa48fb0efb");</script>
    </head>
    <body class="<?php neuf_body_classes(); ?>">
        <div id="header">

            <div id="access"><a href="#main">Gå direkte til innholdet</a></div>

            <div class="site-title">
                <span><a href="<?php bloginfo('url') ?>/" title="<?php bloginfo('name') ?>" rel="home"><?php bloginfo('name') ?></a></span>
            </div>

            <?php display_quick_menu(); // defined in functions.php ?>

            <div class="aapningstider">
                <table>
                    <tr>
						<td>Mandag - tirsdag</td>
						<td style="text-align:right;">13.00 - 01.00</td>
					</tr>
					<tr>
						<td>Onsdag</td>
						<td style="text-align:right;">- 01.30</td>
					</tr>
					<tr>
						<td>Torsdag - fredag</td>
						<td style="text-align:right;">- 03.00</td>
					</tr>
					<tr>
						<td>Lørdag</td>
						<td style="text-align:right;">15.00 - 03.00</td>
					</tr>
                   			<tr>
						<td>Kjøkkenet</td>
						<td style="text-align:right;">- 19.00</td>
					</tr>
		<tr id="bokkafeen_tider"><td><a href="http://studentersamfundet.no/foreninger.php?id=3">BokCaféen</a> <span style="color:#888888; font-style:italic;">i dag</span></td>
			<td style="text-align:right;"><?php

$tider = array('Stengt',
		'19.00 - 00.00',
		'19.00 - 00.00',
		'19.00 - 00.00',
		'19.00 - 03.00',
		'19.00 - 03.00',
		'20.00 - 03.00');

$day = date('w');
echo '<a href="http://studentersamfundet.no/foreninger.php?id=3">';
echo $tider[$day];
echo '</a>';
?></td></tr>
                </table>
            </div>

			<?php /* Search field commented out
        <div class="search">
            <form action="http://www.studentersamfundet.no/sok.php" id="cse-search-box">
                <input type="hidden" name="cx" value="002357753470547974117:5olmwomtvom" />
                <input type="hidden" name="cof" value="FORID:11" />
                <input type="hidden" name="ie" value="UTF-8" />
                <input type="text" name="q" size="20" />
                <input type="submit" name="sa" value="Søk" />
            </form>
            <script type="text/javascript" src="http://www.google.com/jsapi"></script>
            <script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
            <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=no"></script>
            <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=no"></script>
            <a href="http://translate.google.com/translate?js=n&amp;prev=_t&amp;hl=no&amp;ie=UTF-8&amp;u=<?php echo $_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']; ?>&amp;sl=no&amp;tl=en&amp;history_state0="><img src="bilder/uk.png" alt="studentersamfundet.no in English" /></a>  
        </div> <!-- .search -->
			*/ ?>


			<?php display_menu(); // defined in functions.php ?>

        </div> <!-- #header -->

        <div id="main">