375 lines
16 KiB
HTML
375 lines
16 KiB
HTML
<!DOCTYPE html>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="format-detection" content="telephone=no" />
|
|
<!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
|
|
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
|
|
<!--meta http-equiv="Content-Security-Policy" content="default-src * 'self' gap: ; frame-src * 'self' gap: http: ; style-src * 'self' 'unsafe-inline' 'unsafe-eval'; script-src * 'self' 'unsafe-inline' 'unsafe-eval'; " /-->
|
|
|
|
<title>I love xm24</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/index.css" />
|
|
<link rel="stylesheet" type="text/css" href="css/toastr.css" />
|
|
<link rel="stylesheet" href="css/themes/default/jquery.mobile-1.4.5.min.css" />
|
|
|
|
<script type="text/javascript" src="js/vendor/jquery-1.10.2.min.js"></script>
|
|
<script type="text/javascript" src="js/vendor/jquery.mobile-1.4.5.min.js"></script>
|
|
<script type="text/javascript" src="js/vendor/xml2json.js"></script>
|
|
<script type="text/javascript" src="js/vendor/toastr.js"></script>
|
|
<script type="text/javascript" src="js/vendor/moment.min.js"></script>
|
|
|
|
<!--script src="js/swipe-page.js"></script-->
|
|
<script type="text/javascript" src="js/main.js"></script>
|
|
<script type="text/javascript" src="js/update.js"></script>
|
|
<script type="text/javascript" src="js/query.js"></script>
|
|
<script type="text/javascript" src="js/eventsCRUD.js"></script>
|
|
<script type="text/javascript" src="js/events.js"></script>
|
|
<script type="text/javascript" src="js/push.js"></script>
|
|
<script type="text/javascript" src="js/share.js"></script>
|
|
|
|
<script type="text/javascript" src="cordova.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<!--panel -->
|
|
<div data-role="panel" data-position="right" id="outside" data-theme="a" data-position-fixed="true" data-display="overlay" data-swipe-close="true">
|
|
<p><img src="image/ilovexm24_puzzle-300x300.jpg" class="panel_logo" /></p>
|
|
<ul data-role="listview">
|
|
<li><a class="nav" href="#info">Home</a></li>
|
|
<li><a class="nav" href="#ilove">I love XM24</a></li>
|
|
<li><a class="nav" href="#events">Eventi</a></li>
|
|
<li><a class="nav" href="#about">About</a></li>
|
|
<li>
|
|
<input type="text" class="cerca" value="" placeholder="Cerca" data-clear-btn="true" />
|
|
</li>
|
|
<li>
|
|
<button onclick="cerca();" class="ui-btn ui-corner-all">Cerca su tutto il sito</button>
|
|
</li>
|
|
<hr/>
|
|
<li data-icon="mail"><a href="mailto:info@digitigrafo.it" onclick="segnalaBug();">Hey, non mi funziona!</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<!--footer -->
|
|
<div data-position="fixed" id="navfooter" data-role="footer" data-theme="b" role="contentinfo" class="hide ui-footer ui-bar-a ui-footer-fixed slideup">
|
|
|
|
<ul>
|
|
<!--li><a href="#">< precedente</a></li-->
|
|
<li><a data-rel="back" href="#" data-ajax="false"><h3>INDIETRO</h3></a></li>
|
|
<!--li><a href="#">successiva ></a></li-->
|
|
</ul>
|
|
</div>
|
|
|
|
<!--/navbar -->
|
|
<div data-role="header" data-position="fixed" id="navheader">
|
|
<div data-role="navbar" id="nav2" data-iconpos="left" data-theme="a">
|
|
<ul class="downnav">
|
|
<li><a class="ui-mini" href="#outside" data-icon="bars">
|
|
<img src="image/xm-logo.png" class="rwd" />
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- /header -->
|
|
|
|
<!-- Home page -->
|
|
<!-- <div data-role="page" id="index" data-dom-cache="true" data-theme="a" class="ui-page">
|
|
<center><p><img src="image/xm-logo.png" class="rwd" /></p>
|
|
<ul data-role="listview" data-inset="true">
|
|
<li>
|
|
<a class="nav" href="#ilove">
|
|
<img src="./image/ilovexm24_puzzle-300x300.jpg" class="ui-li-thumb">
|
|
<h2>I love XM24</h2>
|
|
<p>Bla blabla</p>
|
|
<!-p class="ui-li-aside">iOS</p-=>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a class="nav" href="#info">
|
|
<img src="./image/xm24-particolare2.jpeg" class="ui-li-thumb">
|
|
<h2>Info e comunicati</h2>
|
|
<p>Bla Bla blabla</p>
|
|
<!--p class="ui-li-aside">BlackBerry</p-=>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a class="nav" href="#events">
|
|
<img src="./image/xm24-particolare2.jpeg" class="ui-li-thumb">
|
|
<h2>Eventi</h2>
|
|
<p>Bla Bla blabla</p>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</center>
|
|
<!=-a class="minibox orange nav" href="#eventi"> Eventi</a>
|
|
<a class="minibox green nav" href="#lab"> Laboratori</a>
|
|
<a class="minibox green nav" href="#ultime"> News</a>
|
|
<a class="minibox green nav" href="#tag"> Tag</a>
|
|
<a class="minibox blue nav" href="#quotidiano"> Un post a caso</a ==>
|
|
|
|
<br/ style="clear:both;">
|
|
<div id="aggiornahome">Aggiorna i contenuti dal sito XM24 di tanto in tanto.
|
|
<br/> Per iniziare da capo e riscaricare tutti i contenuti clicca su reset. </p>
|
|
|
|
|
|
<center>
|
|
<img src="./image/ilovexm24_puzzle-300x300.jpg" width="50px" id="aggiorna" />
|
|
|
|
|
|
|
|
<fieldset class="ui-grid-a">
|
|
<div class="ui-block-a">
|
|
<input value="Aggiorna" data-theme="a" type="Submit" onclick="checkAndUpdate();" id="aggiorna2">
|
|
</div>
|
|
<div class="ui-block-b">
|
|
<input value="Reset" data-theme="b" type="Reset" onclick="checkAndReset();" id="resetta">
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
|
|
|
|
<div data-role="popup" id="benvenuta" data-dismissible="false">
|
|
<p>Questa è la prima volta che apri l'app I LOVE XM, aspetta un minuto che si scarichi i contenuti dal sito. POi ricordati di tanto in tanto di andare nella sezione Aggiorna!
|
|
<p><img class="gifloader" src="./image/ajax_loader_red_512.gif" /></p>
|
|
|
|
</p>
|
|
<input type="button" value="OK" onclick='$("#benvenuta").popup("close");alterContent(#info);' />
|
|
|
|
</div>
|
|
</div> -->
|
|
|
|
<div data-role="page" id="info" data-prev="index" data-next="" data-dom-cache="true" data-theme="a" class="ui-page">
|
|
<div role="main" class="ui-content">
|
|
<!-- <center><p><img src="image/xm-logo.png" class="rwd" /></p></center> -->
|
|
<div class="ui-body">
|
|
<p class="introlettera">Info e comunicati</p>
|
|
<p id="mostralistainfo" class="listatovirgole listevoci">
|
|
<img class="gifloader" src="./image/ajax_loader_red_512.gif" />
|
|
</p>
|
|
</div>
|
|
<!-- chiude body-->
|
|
</div>
|
|
<!--chiude content -->
|
|
</div>
|
|
|
|
</div>
|
|
<div data-role="page" id="events" data-prev="index" data-next="" data-dom-cache="true" data-theme="a" class="ui-page">
|
|
<div role="main" class="ui-content">
|
|
<div class="ui-body">
|
|
<p class="introlettera">EVENTI</p>
|
|
<p id="mostralista" class="listatovirgole listevoci">
|
|
|
|
</p>
|
|
</div>
|
|
<!-- chiude body-->
|
|
</div>
|
|
<!--chiude content -->
|
|
</div>
|
|
|
|
<div data-role="page" id="about" data-dom-cache="true" data-theme="a" class="ui-page">
|
|
|
|
<div role="main" class="ui-content">
|
|
|
|
<div class="ui-body">
|
|
<p class="introlettera">About I love XM24</p>
|
|
<p id="mostralistaabout" class="listatovirgole listevoci">
|
|
<img class="gifloader" src="./image/ajax_loader_red_512.gif" />
|
|
</p>
|
|
</div>
|
|
<!-- chiude body-->
|
|
</div>
|
|
<!--chiude content -->
|
|
</div>
|
|
<!-- chiude pagina -->
|
|
|
|
|
|
<div data-role="page" id="ilove" data-prev="index" data-next="" data-dom-cache="true" data-theme="a" class="ui-page">
|
|
|
|
<div role="main" class="ui-content">
|
|
|
|
<div class="ui-body">
|
|
<p class="introlettera">IO AMO XM</p>
|
|
<p id="mostralista" class="listatovirgole listevoci">
|
|
<img class="gifloader" src="./image/ajax_loader_red_512.gif" />
|
|
</p>
|
|
</div>
|
|
<!-- chiude body-->
|
|
</div>
|
|
<!--chiude content -->
|
|
</div>
|
|
<!-- chiude pagina -->
|
|
|
|
<!-- chiude pagina -->
|
|
<div data-role="page" id="quotidiano" data-transition="slide" data-prev="index" data-next="" data-dom-cache="true" data-theme="a" class="ui-page">
|
|
<div role="main" class="ui-content">
|
|
<div class="ui-body"><img onclick='myJsonRandomPost("#titolosingleR", "#mostracontentsingleR");' src="./image/RICARICA.png" style="float:right;width:80px;cursor:pointer;" />
|
|
<p class="introlettera">Un diritto al giorno:</p>
|
|
<p id="mostrapostrandom">
|
|
<p class="introlettera" id="titolosingleR"></p>
|
|
<p id="mostracontentsingleR" class="listatovirgole"><img class="gifloader" src="./image/ajax_loader_red_512.gif" /></p>
|
|
</div>
|
|
<!-- chiude body-->
|
|
</div>
|
|
<!--chiude content -->
|
|
</div>
|
|
<!-- chiude pagina -->
|
|
<!--div data-role="page" id="aggiorna" data-transition="slide" data-prev="index" data-next="" data-dom-cache="true" data-theme="a" class="ui-page">
|
|
|
|
<div role="main" class="ui-content">
|
|
|
|
<div class="ui-body">
|
|
|
|
<p class="introlettera" id="">Aggiornamenti</p>
|
|
|
|
<p>
|
|
Aggiorna i contenuti dal sito XM24 di tanto in tanto.
|
|
<br/> Per iniziare da capo e riscaricare tutti i contenuti clicca su reset. </p>
|
|
|
|
|
|
<center>
|
|
<img src="./image/icona_aggiorna.png" id="aggiorna" />
|
|
|
|
|
|
|
|
<fieldset class="ui-grid-a">
|
|
<div class="ui-block-a">
|
|
<input value="Aggiorna" data-theme="a" type="Submit" onclick="checkAndUpdate();" id="aggiorna2">
|
|
</div>
|
|
<div class="ui-block-b">
|
|
<input value="Reset" data-theme="b" type="Reset" onclick="checkAndReset();" id="resetta">
|
|
</div>
|
|
</fieldset>
|
|
|
|
</center>
|
|
|
|
|
|
<p id="boxdata" style="display:none;">I tuoi diritti sono stati aggiornati l'ultima volta il <span id="datadiritti">2016/07/18</span> alle <span id="datadirittiora">00:00</span>.</p>
|
|
<img src="image/icona_aggiorna.gif" style="visibility:hidden;" id="aggiornamento" />
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
chiude pagina -->
|
|
<div data-role="page" id="singleQpost" data-prev="index" data-next="" data-dom-cache="true" data-theme="a" class="ui-page">
|
|
|
|
<div role="main" class="ui-content">
|
|
|
|
<div class="ui-body">
|
|
<p class="introlettera" id="titolosingle"></p>
|
|
|
|
<p id="mostracontentsingle">
|
|
<img class="gifloader" src="./image/ajax_loader_red_512.gif" />
|
|
|
|
</p>
|
|
|
|
<script>
|
|
//funzione carica pagina
|
|
</script>
|
|
<button onclick="shareMeNow('ciao', 'testo', 'http://www.enc.org/xm24')">Text Share</button>
|
|
</div>
|
|
<!-- chiude body-->
|
|
</div>
|
|
<!--chiude content -->
|
|
</div>
|
|
<!-- chiude pagina -->
|
|
<div data-role="page" id="ultime" data-transition="slide" data-prev="index" data-next="" data-dom-cache="true" data-theme="a" class="ui-page">
|
|
|
|
<div role="main" class="ui-content">
|
|
|
|
<div class="ui-body">
|
|
<p class="introlettera">ultime novità</p>
|
|
<p id="mostralistaultime" class="listatovirgole listevoci">
|
|
<img class="gifloader" src="./image/ajax_loader_red_512.gif" />
|
|
</p>
|
|
</div>
|
|
<!-- chiude body-->
|
|
</div>
|
|
<!--chiude content -->
|
|
</div>
|
|
<!-- chiude pagina -->
|
|
<div data-role="page" id="tag" data-transition="slide" data-prev="index" data-next="" data-dom-cache="true" data-theme="a" class="ui-page">
|
|
<div role="main" class="ui-content">
|
|
<div class="ui-body">
|
|
<p class="introlettera">Naviga per tag</p>
|
|
<p id="mostralistaTag" class="listatovirgole">
|
|
<img class="gifloader" src="./image/ajax_loader_red_512.gif" />
|
|
</p>
|
|
<script>
|
|
// D
|
|
</script>
|
|
</div>
|
|
<!-- chiude body-->
|
|
</div>
|
|
<!--chiude content -->
|
|
</div>
|
|
<!-- chiude pagina -->
|
|
<div data-role="page" id="posttag" data-transition="slide" data-prev="" data-next="" data-dom-cache="true" data-theme="a" class="ui-page">
|
|
<div role="main" class="ui-content">
|
|
<div class="ui-body">
|
|
<p class="introlettera">TAG:</p>
|
|
<p class="introlettera" id="tagtitle"></p>
|
|
<p id="tagpostlist" class="listatovirgole listevoci">
|
|
<img class="gifloader" src="./image/ajax_loader_red_512.gif" />
|
|
</p>
|
|
</div>
|
|
<!-- chiude body-->
|
|
</div>
|
|
<!--chiude content -->
|
|
</div>
|
|
<!-- chiude pagina -->
|
|
<div data-role="page" id="ricerca" data-prev="index" data-next="" data-dom-cache="true" data-theme="a" class="ui-page">
|
|
<div role="main" class="ui-content">
|
|
<div class="ui-body">
|
|
<p class="introlettera">Risultati della ricerca</p>
|
|
<p class="listresult listatovirgole listevoci">
|
|
</div>
|
|
|
|
<div data-role="popup" id="aggiornaora" data-dismissible="false">
|
|
<p>Questa voce è nuova ed è disponibile online. Aggiorna ora gli articoli locali della tua app:</p>
|
|
<input type="button" value="OK" onclick='$( "#aggiornaora" ).popup( "close" );update();alterContent("#info")' />
|
|
</div>
|
|
<!-- chiude body-->
|
|
</div>
|
|
<!--chiude content -->
|
|
</div>
|
|
<!-- chiude pagina -->
|
|
<div data-role="page" id="alert" data-prev="index" data-next="" data-dom-cache="true" data-theme="a" class="ui-page">
|
|
|
|
<div role="main" class="ui-content">
|
|
|
|
<div class="ui-body" style="text-align: center">
|
|
<p><img src="image/xm-logo.png" class="rwd" /></p>
|
|
<h1 class="introlettera" id="alert-title"></h1>
|
|
<h2 id="alert-message"></h2>
|
|
<!--<button onclick="spengimi()" id="spegni-musica">Ferma Musica</button>-->
|
|
</div>
|
|
<!-- chiude body-->
|
|
</div>
|
|
<!--chiude content -->
|
|
</div>
|
|
<!-- chiude pagina -->
|
|
</body>
|
|
|
|
</html>
|