Skip to content
Snippets Groups Projects
Commit 7c5b9ee1 authored by Tarje Lavik's avatar Tarje Lavik
Browse files

Fjernet cache2

parent f0736bd3
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 576 deletions
<?php
$HAANGA_VERSION = '1.0.4';
/* Generated from /var/www/html/dev-marcus/marcus-special/components/includes/footer.inc */
function haanga_067838ce40a16862d4ba11021cf5ac60910c63c2($vars, $return=FALSE, $blocks=array())
{
extract($vars);
if ($return == TRUE) {
ob_start();
}
echo '<footer class="footer hidden-print">
<div class="container">
<div class="row">
<div class="col-md-3">
<div class="col-md-12 hidden-xs">
<img class="col-md-12" data-pin-nopin="true" src="'.htmlspecialchars($lodspk['home']).'img/UiBmerke_grayscale.svg" />
</div>
<p class="text-center"><span class="marcus-logo">Marcus</span> er Spesialsamlingene til <a href="http://www.uib.no/ub">Universitetsbiblioteket i Bergen</a> sin portal til digitaliserte manuskript, fotografi, diplomer og mye mer. Oppkalt etter <a href="/instance/person/f37c8581-29b2-4724-8900-965223b3cf06">Marcus Selmer</a>, Bergens første fotograf.</p>
</div>
<div class="col-md-3">
<!--
<ul class="nav">
<li><a href="'.htmlspecialchars($lodspk['home']).'collections"><i style="color: black;" class="fa fa-th fa-fw"></i> Samlinger</a></li>
<li><a href="'.htmlspecialchars($lodspk['home']).'topics"><i style="color: black;" class="fa fa-tags fa-fw"></i> Emner</a></li>
<li><a href="'.htmlspecialchars($lodspk['home']).'persons"><i style="color: black;" class="fa fa-users fa-fw"></i> Personer</a></li>
<li><a href="'.htmlspecialchars($lodspk['home']).'conceptschemes"><i style="color: black;" class="fa fa-sitemap"></i></i> Register</a></li>
<li><a href="'.htmlspecialchars($lodspk['home']).'manuscripts"><i class="fa fa-book"></i> Manuskript</a></li>
<li><a href="'.htmlspecialchars($lodspk['home']).'charters"><i class="fa fa-book"></i> Diplom</a></li>
</ul>
-->
<ul class="list-unstyled">
<li class="h5"><i class="fa fa-info fa-lg fa-fw"></i> <a href="'.htmlspecialchars($lodspk['home']).'about-marcus">Om nettsiden</a></li>
<li class="h5"><i class="fa fa-cubes fa-lg fa-fw"></i> <a href="http://sparql.ub.uib.no">Åpne data (Sparql)</a></li>
<!-- <li class="h5"><a href="'.htmlspecialchars($lodspk['home']).'rights.html"><span class="glyphicon glyphicon-copyright-mark"></span> Rettigheter</a></li> -->
<li class="h5"><i class="fa fa-cog fa-lg fa-fw"></i> <a href="'.htmlspecialchars($lodspk['home']).'technology.html">Teknologi</a></li>
<li class="h5"><i class="fa fa-bar-chart-o fa-lg fa-fw"></i> <a href="'.htmlspecialchars($lodspk['home']).'stats">Statistikk</a></li>
</ul>
</div>
<div class="col-md-6">
<div class="row">
<div class="col-md-6 col-sm-6">
<h4><a href="http://spesial.b.uib.no/?page_id=505">Manuskript- og librarsamlingen</a></h4>
<p><i class="fa fa-clock-o"></i> <a href="http://www.uib.no/ub/#uib-tab--7">Åpningstider og kontaktinformasjon</a></p>
<address>
<i class="fa fa-envelope"></i> <a href="mailto:mslib@ub.uib.no">Epost</a>
</address>
<ul class="hidden-xs list-unstyled">
<li><i class="fa fa-angle-right fa-fw"></i> <a href="http://spesial.b.uib.no/?page_id=1928">Samlingene</a></li>
<li><i class="fa fa-angle-right fa-fw"></i> <a href="http://spesial.b.uib.no/?page_id=1749">Om Manuskriptsamlingen</a></li>
<li><i class="fa fa-angle-right fa-fw"></i> <a href="http://spesial.b.uib.no/?page_id=1013">Utstillinger</a></li>
<li><i class="fa fa-angle-right fa-fw"></i> <a href="http://spesial.b.uib.no/?page_id=762">Godbiter fra samlingene</a></li>
<li><i class="fa fa-angle-right fa-fw"></i> <a href="http://spesial.b.uib.no/?page_id=776">Presse</a></li>
<li><i class="fa fa-angle-right fa-fw"></i> <a href="http://spesial.b.uib.no/?page_id=1914">Digitalisert materiale</a></li>
</ul>
</div>
<div class="col-md-6 col-sm-6">
<h4><a href="http://spesial.b.uib.no/?page_id=14">Billedsamlingen</a></h4>
<p><i class="fa fa-clock-o"></i> <a href="http://www.uib.no/ub/#uib-tab--6">Åpningstider og kontaktinformasjon</a></p>
<address>
<i class="fa fa-envelope"></i> <a href="mailto:billed@ub.uib.no">Epost</a>
</address>
<ul class="hidden-xs list-unstyled">
<li><i class="fa fa-angle-right fa-fw"></i> <a href="http://spesial.b.uib.no/?page_id=97">Samlingene</a></li>
<li><i class="fa fa-angle-right fa-fw"></i> <a href="http://spesial.b.uib.no/?page_id=304">Vilkår for bruk av Universitetsbiblioteket i Bergens Billedsamling</a></li>
<li><i class="fa fa-angle-right fa-fw"></i> <a href="http://spesial.b.uib.no/?page_id=24">Priser og tjenester</a></li>
<li><i class="fa fa-angle-right fa-fw"></i> <a href="http://spesial.b.uib.no/?page_id=175">Nettutstillinger</a></li>
<li><i class="fa fa-angle-right fa-fw"></i> <a href="http://spesial.b.uib.no/?page_id=229">Tekster og artikler fra Billedsamlingen</a></li>
</ul>
<p><i class="fa fa-facebook-square"></i> <a href="https://www.facebook.com/pages/Billedsamlingen/132221843465746">Følg Billedsamlingen på Facebook</a></p>
</div>
</div>
</div>
</div>
<div class="row">
<hr style="border: 1px solid #ddd;">
<div class="col-md-12">
<div typeof="dcat:Dataset" resource="http://data.ub.uib.no/dataset/marcus">
<p>
<a rel="dct:license" href="http://creativecommons.org/publicdomain/zero/1.0/">
<img src="/img/cc.large.png" style="border-style: none;" width="20px" alt="CC0" />
<img src="/img/zero.large.png" style="border-style: none;" width="20px" alt="CC0" />
</a>
<small property="dct:rights"><span rel="dct:publisher" resource="http://data.ub.uib.no/instance/organization/universitetsbiblioteket-i-bergen">Universitetsbiblioteket i Bergen</span> deler <span property="dct:title">Marcus datasettet</span> fritt.</small><br>
<small>Innholdet i Marcus er derimot ikke delt med CC0. Innhold vil bli merket med korrekt lisens.</small>
</p>
</div>
<p><small>Feil på sidene? Kontakt <a href="maito:tarje.lavik@ub.uib.no">webredaktør</a>.</small></p>
</div>
</div>
</div>
</footer>
<script type="text/javascript">
$(\'.bs-sidebar\').affix({
offset: {
top: 120,
offset: { top: 80 },
bottom: function () {
return (this.bottom = $(\'footer\').outerHeight(false)-300)
}
}
})
</script>
<script src="'.htmlspecialchars($lodspk['home']).'js/holder.js"></script>
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
(function() {
var u=(("https:" == document.location.protocol) ? "https" : "http") + "://stats.uib.no/";
_paq.push(["setTrackerUrl", u+"piwik.php"]);
_paq.push(["setSiteId", "23"]);
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Piwik Code -->';
if ($return == TRUE) {
return ob_get_clean();
}
}
\ No newline at end of file
<?php
$HAANGA_VERSION = '1.0.4';
/* Generated from /var/www/html/dev-marcus/marcus-special/components/includes/header.inc */
function haanga_0b1d7ec618b95a0fdcf79b71556bbb274943c7af($vars, $return=FALSE, $blocks=array())
{
extract($vars);
if ($return == TRUE) {
ob_start();
}
echo '<!DOCTYPE html>
<html lang="no" prefix="og: http://ogp.me/ns#
dct: http://purl.org/dc/terms/
dcat: http://www.w3.org/ns/dcat#">
<head>
<meta charset="utf-8">
<title>';
if ($first->main->title->value != '') {
echo htmlspecialchars($first->main->title->value).' - ';
} else {
if ($first->main->label->value != '') {
echo htmlspecialchars($first->main->label->value).' - ';
}
}
echo htmlspecialchars($lodspk['title']).'</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="shortcut icon" type="image/x-icon" href="'.htmlspecialchars($lodspk['home']).'/img/favicon.ico">
<script>
(function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,\'script\',\'//www.google-analytics.com/analytics.js\',\'ga\');
ga(\'create\', \'UA-72707758-1\', \'auto\');
ga(\'send\', \'pageview\');
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- <script type="text/javascript" src="'.htmlspecialchars($lodspk['home']).'js/jquery.js"></script> -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="//netdna.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<link href="'.htmlspecialchars($lodspk['home']).'css/basic.css" rel="stylesheet" type="text/css" media="screen" />
<!-- Font Awesome -->
<!-- <link rel="stylesheet" href="'.htmlspecialchars($lodspk['home']).'static/Font-Awesome/css/font-awesome.min.css"> -->
<link href="//netdna.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css" rel="stylesheet">
<!-- Leaflet CSS -->
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.css" />
<!--[if lte IE 8]>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.ie.css" />
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="';
if (empty($first->main->description->value) === FALSE) {
echo htmlspecialchars($first->main->description->value);
} else {
if (empty($first->description->description->value) === FALSE) {
echo htmlspecialchars($first->description->description->value);
} else {
echo 'Marcus er Spesialsamlingene til Universitetsbiblioteket i Bergen sin portal til digitaliserte manuskript, fotografi, diplomer og mye mer. Oppkalt etter Marcus Selmer, Bergens første fotograf.';
}
}
echo '">
<meta name="author" content="'.htmlspecialchars($first->maker->makerName->value).'">
<link rel="canonical" href="'.htmlspecialchars($lodspk['local']['value']).'">
<!-- FACEBOOK INSIGHT -->
<meta property="fb:admins" content="717130125" />
<!-- FACEBOOK OPEN GRAPH -->
<meta property="og:type" content="';
if ($lodspk['local']['value'] == 'http://marcus.uib.no/home') {
echo 'website';
} else {
echo 'article';
}
echo '"/>
<meta property="og:title" content="';
if ($first->main->title != '') {
echo htmlspecialchars($first->main->title->value);
} else {
if ($first->main->label != '') {
echo htmlspecialchars($first->main->label->value);
}
}
echo '"/>
<meta property="og:description" content="';
if (empty($first->main->description->value) === FALSE) {
echo htmlspecialchars($first->main->description->value);
} else {
if (empty($first->description->description->value) === FALSE) {
echo htmlspecialchars($first->description->description->value);
} else {
echo 'Marcus er Spesialsamlingene til Universitetsbiblioteket i Bergen sin portal til digitaliserte manuskript, fotografi, diplomer og mye mer. Oppkalt etter Marcus Selmer, Bergens første fotograf.';
}
}
echo '"/>
<meta property="og:image" content="';
if (empty($first->digitalresources->imgMD) === FALSE) {
echo htmlspecialchars($first->digitalresources->imgMD->value);
} else {
echo htmlspecialchars($first->digitalresources->imgSM->value);
}
echo '"/>
<meta property="og:url" content="'.htmlspecialchars($lodspk['local']['value']).'"/>
<meta property="og:site_name" content="Marcus"/>
<!-- TWITTER CARD -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="'.htmlspecialchars($lodspk['local']['value']).'">
<meta name="twitter:description" content="';
if (empty($first->description->description->value) === FALSE) {
echo htmlspecialchars($first->description->description->value);
} else {
echo 'Marcus er Spesialsamlingene til Universitetsbiblioteket i Bergen sin portal til digitaliserte manuskript, fotografi, diplomer og mye mer. Oppkalt etter Marcus Selmer, Bergens første fotograf.';
}
echo '">
<meta name="twitter:image:src" content="';
if (empty($first->digitalresources->imgMD) === FALSE) {
echo htmlspecialchars($first->digitalresources->imgMD->value);
} else {
echo htmlspecialchars($first->digitalresources->imgSM->value);
}
echo '">
<meta name="twitter:domain" content="marcus.uib.no">
<meta name="twitter:site" content="@UiB_UB">
<meta name="twitter:creator" content="@UiB_UB">
<!-- CITATION -->
<meta name="citation_title" content="';
if ($first->main->title != '') {
echo htmlspecialchars($first->main->title->value);
} else {
if ($first->main->label != '') {
echo htmlspecialchars($first->main->label->value);
}
}
echo '">
<meta name="citation_publisher" content="Avdeling for spesialsamlinger, Universitetsbiblioteket i Bergen">
';
$buffer1 = '
';
if ($first->maker->makerName->value != $null) {
$buffer1 .= '
';
foreach ((array) $models->maker as $row) {
$buffer1 .= '
';
if ((isset($ifchanged8[0]) == FALSE || $ifchanged8[0] != $row->maker->value)) {
$buffer1 .= '
<meta name="dc.creator" content="'.htmlspecialchars($row->makerName->value).'" />
';
$ifchanged8 = Array($row->maker->value);
}
$buffer1 .= '
';
}
$buffer1 .= '
';
}
$buffer1 .= '
';
echo preg_replace(Array('/>[ \\t\\r\\n]+</sU', '/^[ \\t\\r\\n]+</sU', '/>[ \\t\\r\\n]+$/sU'), Array('><', '<', '>'), $buffer1).'
<script type="text/javascript" src="'.htmlspecialchars($lodspk['home']).'js/qrcode/jquery.qrcode-0.7.0.min.js"></script>
<link href=\'http://fonts.googleapis.com/css?family=IM+Fell+Great+Primer\' rel=\'stylesheet\' type=\'text/css\'>
<link rel="alternate" type="application/rdf+xml" title="RDF/XML Version" href="'.htmlspecialchars($lodspk['local']['value']).'.rdf" />
<link rel="alternate" type="text/turtle" title="Turtle Version" href="'.htmlspecialchars($lodspk['local']['value']).'.ttl" />
<link rel="alternate" type="text/plain" title="N-Triples Version" href="'.htmlspecialchars($lodspk['local']['value']).'.nt" />
<link rel="alternate" type="application/json" title="RDFJSON Version" href="'.htmlspecialchars($lodspk['local']['value']).'.json" />
<script type="text/javascript" src="'.htmlspecialchars($lodspk['home']).'js/bootstrap-typeahead.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(\'.typeahead\').typeahead({
minLength: 4,
source: function (typeahead, query) {
$(\'.typeahead\').addClass(\'wait\');[]
return $.get(\''.htmlspecialchars($lodspk['home']).'search/\'+encodeURIComponent(query), { }, function (data) {
$(\'.typeahead\').removeClass(\'wait\');[]
return typeahead.process(data);
}, \'json\');
},
onselect: function (obj) {
$(\'.typeahead\').attr(\'disabled\', true);
window.location = obj.uri;
}
});
$(".header-search").on(\'keyup\', function(){$("form").attr("action", \''.htmlspecialchars($lodspk['home']).'search/\'+$(this).val())});
});
</script>
<script src="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.js"></script>
<!-- <script src="'.htmlspecialchars($lodspk['home']).'js/Leaflet/dist/leaflet.js"></script> -->
<script src="'.htmlspecialchars($lodspk['home']).'js/Leaflet/leaflet-providers.js"></script>
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : \'332990033526856\',
xfbml : true,
version : \'v2.5\'
});
};
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, \'script\', \'facebook-jssdk\'));
</script>
<div id="wrap">
<header>
<nav style="margin-bottom: 0;" class="navbar navbar-inverse navbar-static-top marcus-header" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="'.htmlspecialchars($lodspk['home']).'">'.htmlspecialchars($lodspk['title']).'</a>
<a class="nav-subtitle hidden-xs hidden-sm" href="'.htmlspecialchars($lodspk['home']).'"><small>Spesialsamlingene ved <br>Universitetsbiblioteket i Bergen</small></a>
</div>
<div class="nav navbar-nav">
<div id="popover-beta-head" style="display: none;">
<strong>Marcus - Beta</strong>
</div>
<div id="popover-beta-content" style="display: none;">
<p>Marcus har fått en grundig overhaling og nettsidene kan ha noen feil. Vi jobber daglig med å gjøre sidene bedre.</p>
</div>
<p rel="popover" class="navbar-text pull-right hidden-xs hidden-sm hidden-md beta">Beta</p>
<script>
$(\'.beta\').popover({
placement : \'left\',
html : true,
title: function() {
return $("#popover-beta-head").html();
},
content: function() {
return $("#popover-beta-content").html();
}
});
</script>
</div>
<div class="collapse navbar-collapse"><form class="navbar-form pull-right" role="search" method="get" action="/search">
<div class="input-group">
<input type="text" class="form-control" placeholder="Søk ..." name="q">
<span class="input-group-btn">
<button type="submit" class="btn btn-default">
<i class="fa fa-search fa-lg">
<span class="sr-only">Search</span>
</i>
</button>
</span>
</div>
</form><br class="visible-xs visible-sm visible-md">
<ul class="nav navbar-nav navbar-right">
<!-- <li><a href="'.htmlspecialchars($lodspk['home']).'">Hjem</a></li> -->
<!--
<li class="dropdown">
<a id="browse1" class="dropdown-toggle" role="button" data-toggle="dropdown" data-target="#" href="#"> Meny <span class="caret"></span></a>
<ul class="dropdown-menu" aria-labelledby="browse1" role="meny">
'.Haanga::Load('../../includes/nav.inc', $vars, TRUE, $blocks).'
</ul>
</li>
-->
<li><a href="'.htmlspecialchars($lodspk['home']).'collections"><i style="color: #aaa;" class="fa fa-th fa-fw"></i> Samlinger</a></li>
<li><a href="'.htmlspecialchars($lodspk['home']).'images"><i style="color: #aaa;" class="fa fa-picture-o fa-fw"></i> Bilder</a></li>
<li><a href="'.htmlspecialchars($lodspk['home']).'events"><i style="color: #aaa;" class="fa fa-calendar fa-fw"></i> Hendelser</a></li>
<li><a href="'.htmlspecialchars($lodspk['home']).'albums"><i style="color: #aaa;" class="fa fa-book fa-fw"></i> Album</a></li>
<li><a href="'.htmlspecialchars($lodspk['home']).'exhibitions"><i style="color: #aaa;" class="fa fa-university fa-fw"></i> Utstillinger</a></li>
<ul class="nav navbar-nav">
<li class="dropdown">
<a id="browse1" class="dropdown-toggle" role="button" data-toggle="dropdown" data-target="#" href="#"> Om <span class="caret"></span></a>
<ul class="dropdown-menu" aria-labelledby="browse2" role="meny">
<li><a href="'.htmlspecialchars($lodspk['home']).'about-marcus"><i class="fa fa-archive"></i> Om Marcus</a></li>
<li><a href="http://sparql.ub.uib.no"><i class="fa fa-cubes"></i> Åpne data (Sparql)</a></li>
<li><a href="'.htmlspecialchars($lodspk['home']).'technology.html"><i style="color: black;" class="fa fa-cog"></i> Teknologi</a></li>
<li><a href="'.htmlspecialchars($lodspk['home']).'stats"><i style="color: black;" class="fa fa-bar-chart-o"></i> Statistikk</a></li>
</ul>
</li>
<li>
<a href="/cart.html"><span class="fa fa-lg fa-shopping-cart"></span> <span class="hidden">Handlekurv</span> <span style="margin-top: -8px;" class="label label-primary simpleCart_quantity"></span></a>
</li>
</ul>
</ul>
</div>
<!--
<div class="row inline-browse-menu">
<ul class="list-unstyled list-inline">
'.Haanga::Load('../../includes/nav.inc', $vars, TRUE, $blocks).'
</ul>
</div>
-->
</div>
</nav><!--/.nav-collapse -->
</header>
';
if ($return == TRUE) {
return ob_get_clean();
}
}
\ No newline at end of file
<?php
$HAANGA_VERSION = '1.0.4';
/* Generated from /var/www/html/dev-marcus/marcus-special/components/includes/place.inc */
function haanga_1093aeba8976b82d6678e9c64e3a376ae63a0ed3($vars, $return=FALSE, $blocks=array())
{
extract($vars);
if ($return == TRUE) {
ob_start();
}
echo ' <div class="map-wrap panel panel-default">
';
if ($first->main->hasLong->value == 'false') {
echo '
<div class="panel-heading">
<h3 class="panel-title"><i class="fa fa-map-marker"></i> Tilknyttede steder</h3>
</div>
';
}
echo '
';
if ($first->main->hasLong->value == 'true') {
echo '
<div id="map"></div>
';
}
echo '
<div class="panel-body">
<ul class="places-inline-list">
';
foreach ((array) $models->places as $row) {
echo '
';
if ((isset($ifchanged8[0]) == FALSE || $ifchanged8[0] != $row->uri->value)) {
echo '
<li><i class="fa fa-map-marker"></i> <a href="'.htmlspecialchars($row->uri->value).'">'.htmlspecialchars($row->label->value).'</a></li>
';
$ifchanged8 = Array($row->uri->value);
}
echo '
';
}
echo '
</ul>
</div>
</div>
<script>
var map = L.map(\'map\');
var bounds = [';
$forcounter1_1 = 1;
$psize_1 = count($models->places);
$islast_1 = ($forcounter1_1 == $psize_1);
foreach ((array) $models->places as $row) {
if (!$islast_1 && $row->lat->value != $null) {
echo ', ';
}
if ($row->lat->value != $null) {
echo '['.htmlspecialchars($row->lat->value).', ';
}
if ($row->long->value != '') {
echo htmlspecialchars($row->long->value).']';
}
$forcounter1_1 = ($forcounter1_1 + 1);
$islast_1 = ($forcounter1_1 == $psize_1);
}
echo '];
bounds = $.grep(bounds,function(n){ return(n) });
if (bounds.length > 1) { map.fitBounds(new L.LatLngBounds(bounds)); } else { map.setView(bounds[0], 12);}
var defaultLayer = L.tileLayer.provider(\'OpenStreetMap.Mapnik\').addTo(map);
var baseLayers = [ \'OpenStreetMap.Mapnik\', \'MapQuestOpen.OSM\', \'MapQuestOpen.Aerial\', \'Stamen.Watercolor\' ];
var overlayLayers = [ \'Kartverket\', \'Rodekart9\', \'Rodekart4\', \'Rodekart1\' ];
L.control.layers.provided(baseLayers, overlayLayers, {collapsed: true}).addTo(map);
';
foreach ((array) $models->places as $row) {
if ($row->long->value != $null) {
echo '
L.marker(['.htmlspecialchars($row->lat->value).', '.htmlspecialchars($row->long->value).']).addTo(map).bindPopup("<b><a href=\\"'.htmlspecialchars($row->uri->value).'\\">'.htmlspecialchars($row->label->value).'</a></b>").openPopup();
';
}
}
echo '
map.touchZoom.disable();
</script>';
if ($return == TRUE) {
return ob_get_clean();
}
}
\ No newline at end of file
{ "logs": [{"timestamp":1462350714,"message":"Starting log for instance\/photograph\/ubb-bs-q-00870-005"}
\ No newline at end of file
{ "logs": [{"timestamp":1462350748,"message":"Starting log for "}
\ No newline at end of file
{ "logs": [{"timestamp":1462350748,"message":"Starting log for home"}, {"timestamp":1462350748,"message":"\/var\/www\/html\/dev-marcus\/marcus-special\/components\/services\/home\/queries is a directory, will process it later"}, {"timestamp":1462350748,"message":"Entering \/var\/www\/html\/dev-marcus\/marcus-special\/components\/services\/home\/queries from \/var\/www\/html\/dev-marcus\/marcus-special"}, {"timestamp":1462350748,"message":"Creating endpoint for \/var\/www\/html\/dev-marcus\/marcus-special\/components\/services\/home\/queries"}, {"timestamp":1462350748,"message":"Couldn't find \/var\/www\/html\/dev-marcus\/marcus-special\/components\/services\/home\/queries as a list of available endpoints. Will continue using 'local'"}, {"timestamp":1462350748,"message":"exhibitions.query against http:\/\/marcus.uib.no\/sparql\/marcus-prod\/query"}, {"timestamp":1462350748,"message":"PREFIX dct: <http:\/\/purl.org\/dc\/terms\/>\nPREFIX ubbont: <http:\/\/data.ub.uib.no\/ontology\/>\nSELECT DISTINCT ?uri ?label WHERE {\n\n GRAPH <urn:x-arq:UnionGraph> {\n \t\n ?uri a ubbont:Exhibition .\n ?uri dct:title ?label .\n ?uri ubbont:showWeb true .\n }\n\n}\nORDER BY ASC(?label)\nLIMIT 12\n"}, {"timestamp":1462350748,"message":"Running query from exhibitions.query on endpoint http:\/\/marcus.uib.no\/sparql\/marcus-prod\/query"}, {"timestamp":1462350748,"message":"Execution time: 0.12703514099121 seconds"}, {"timestamp":1462350748,"message":"Creating endpoint for \/var\/www\/html\/dev-marcus\/marcus-special\/components\/services\/home\/queries"}, {"timestamp":1462350748,"message":"Couldn't find \/var\/www\/html\/dev-marcus\/marcus-special\/components\/services\/home\/queries as a list of available endpoints. Will continue using 'local'"}, {"timestamp":1462350748,"message":"latestimages.query against http:\/\/marcus.uib.no\/sparql\/marcus-prod\/query"}, {"timestamp":1462350748,"message":"PREFIX dct: <http:\/\/purl.org\/dc\/terms\/>\nPREFIX xsd: <http:\/\/www.w3.org\/2001\/XMLSchema#>\nPREFIX rdfs: <http:\/\/www.w3.org\/2000\/01\/rdf-schema#>\nPREFIX ubbont: <http:\/\/data.ub.uib.no\/ontology\/>\nSELECT DISTINCT ?uri ?image ?title ?available ?maker WHERE {\n\n GRAPH <urn:x-arq:UnionGraph> \n {\n { SELECT ?available ?uri \n { \n GRAPH ubbont:ubbont {\n ?subclass rdfs:subClassOf* ubbont:Photograph .\n }\n\n BIND (( NOW()) AS ?now).\n BIND (( str(day(?now))) as ?day).\n BIND (( str(month(?now))) as ?month).\n BIND (( str(year(?now))) as ?year).\n BIND (( xsd:date(concat(str(?year),\"-\", ?month,\"-\",?day))) as ?date)\n BIND (( ?date - \"P20D\"^^<http:\/\/www.w3.org\/2001\/XMLSchema#duration>) as ?twentyDaysAgo).\n ?uri dct:available ?available.\n ?uri a ?subclass .\n ?uri ubbont:hasThumbnail ?thumb.\n FILTER (xsd:date(?available) > ?twentyDaysAgo)\n }\n ORDER BY desc(?available)\n LIMIT 20\n }\n ?uri ubbont:hasThumbnail ?thumb.\n OPTIONAL { ?uri ubbont:hasRepresentation\/dct:hasPart ?page.\n ?page ubbont:sequenceNr 1.\n ?page ubbont:hasResource ?resource.\n OPTIONAL {?resource ubbont:hasXSView ?xsImage. } \n OPTIONAL {?resource ubbont:hasSMView ?smImage. }\n }\n OPTIONAL { ?uri ubbont:hasRepresentation\/dct:hasPart ?part.\n\t\tOPTIONAL { ?part ubbont:hasSMView ?imgSM }\n\t\tOPTIONAL { ?part ubbont:hasXSView ?imgXS }\n }\n BIND (COALESCE(?imgXS,?imgSM,?xsImage,?smImage) AS ?image).\n }\n}\nLIMIT 10\n"}, {"timestamp":1462350748,"message":"Running query from latestimages.query on endpoint http:\/\/marcus.uib.no\/sparql\/marcus-prod\/query"}, {"timestamp":1462350748,"message":"Execution time: 0.38352298736572 seconds"}, {"timestamp":1462350748,"message":"Creating endpoint for \/var\/www\/html\/dev-marcus\/marcus-special\/components\/services\/home\/queries"}, {"timestamp":1462350748,"message":"Couldn't find \/var\/www\/html\/dev-marcus\/marcus-special\/components\/services\/home\/queries as a list of available endpoints. Will continue using 'local'"}, {"timestamp":1462350748,"message":"latestdocuments.query against http:\/\/marcus.uib.no\/sparql\/marcus-prod\/query"}, {"timestamp":1462350748,"message":"PREFIX dct: <http:\/\/purl.org\/dc\/terms\/>\nPREFIX xsd: <http:\/\/www.w3.org\/2001\/XMLSchema#>\nPREFIX rdfs: <http:\/\/www.w3.org\/2000\/01\/rdf-schema#>\nPREFIX ubbont: <http:\/\/data.ub.uib.no\/ontology\/>\nSELECT DISTINCT ?uri ?image ?title ?available ?maker WHERE {\n\n GRAPH <urn:x-arq:UnionGraph> \n {\n { SELECT ?available ?uri \n { \n GRAPH ubbont:ubbont {\n ?subclass rdfs:subClassOf* ubbont:WrittenWork .\n }\n\n BIND (( NOW()) AS ?now).\n BIND (( str(day(?now))) as ?day).\n BIND (( str(month(?now))) as ?month).\n BIND (( str(year(?now))) as ?year).\n BIND (( xsd:date(concat(str(?year),\"-\", ?month,\"-\",?day))) as ?date)\n BIND (( ?date - \"P20D\"^^<http:\/\/www.w3.org\/2001\/XMLSchema#duration>) as ?twentyDaysAgo).\n ?uri dct:available ?available.\n ?uri a ?subclass .\n ?uri ubbont:hasThumbnail ?thumb.\n FILTER (xsd:date(?available) > ?twentyDaysAgo)\n }\n ORDER BY desc(?available)\n LIMIT 20\n }\n ?uri ubbont:hasThumbnail ?thumb.\n OPTIONAL { ?uri ubbont:hasRepresentation\/dct:hasPart ?page.\n ?page ubbont:sequenceNr 1.\n ?page ubbont:hasResource ?resource.\n OPTIONAL {?resource ubbont:hasXSView ?xsImage. } \n OPTIONAL {?resource ubbont:hasSMView ?smImage. }\n }\n OPTIONAL { ?uri ubbont:hasRepresentation\/dct:hasPart ?part.\n\t\tOPTIONAL { ?part ubbont:hasSMView ?imgSM }\n\t\tOPTIONAL { ?part ubbont:hasXSView ?imgXS }\n }\n BIND (COALESCE(?imgXS,?imgSM,?xsImage,?smImage) AS ?image).\n }\n}\nLIMIT 10\n"}, {"timestamp":1462350748,"message":"Running query from latestdocuments.query on endpoint http:\/\/marcus.uib.no\/sparql\/marcus-prod\/query"}, {"timestamp":1462350749,"message":"Execution time: 0.15020298957825 seconds"}]}
\ No newline at end of file
{ "logs": [{"timestamp":1462350748,"message":"Starting log for instance\/financialstatement\/ubbms-0167-04-65-015-04"}
\ No newline at end of file
{ "logs": [{"timestamp":1462350749,"message":"Starting log for js\/Leaflet\/leaflet-providers.js"}, {"timestamp":1462350749,"message":"In components\/static\/ static file js\/Leaflet\/leaflet-providers.js"}]}
\ No newline at end of file
{ "logs": [{"timestamp":1462350749,"message":"Starting log for js\/qrcode\/jquery.qrcode-0.7.0.min.js"}, {"timestamp":1462350749,"message":"In components\/static\/ static file js\/qrcode\/jquery.qrcode-0.7.0.min.js"}]}
\ No newline at end of file
{ "logs": [{"timestamp":1462350749,"message":"Starting log for js\/imagesloaded.pkgd.min.js"}, {"timestamp":1462350749,"message":"In components\/static\/ static file js\/imagesloaded.pkgd.min.js"}]}
\ No newline at end of file
{ "logs": [{"timestamp":1462350750,"message":"Starting log for js\/holder.js"}, {"timestamp":1462350750,"message":"In components\/static\/ static file js\/holder.js"}]}
\ No newline at end of file
{ "logs": [{"timestamp":1462350750,"message":"Starting log for js\/instafeed\/instafeed.min.js"}, {"timestamp":1462350750,"message":"In components\/static\/ static file js\/instafeed\/instafeed.min.js"}]}
\ No newline at end of file
{ "logs": [{"timestamp":1462350750,"message":"Starting log for js\/instafeed\/marcus-instafeed.js"}, {"timestamp":1462350750,"message":"In components\/static\/ static file js\/instafeed\/marcus-instafeed.js"}]}
\ No newline at end of file
{ "logs": [{"timestamp":1462350753,"message":"Starting log for instance\/photograph\/ubb-bs-ok-19672"}
\ No newline at end of file
{ "logs": [{"timestamp":1462350759,"message":"Starting log for js\/simplecart\/simpleCart-custom.js"}, {"timestamp":1462350759,"message":"In components\/static\/ static file js\/simplecart\/simpleCart-custom.js"}]}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment