Subversion Repositories eFlore/Applications.cel

Rev

Rev 3986 | Rev 3990 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!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">
        <head>
                <title>Photographies publiques du CEL - Tela Botanica</title>

                <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
                <meta http-equiv="Content-style-type" content="text/css" />
                <meta http-equiv="Content-script-type" content="text/javascript" />
                <meta http-equiv="Content-language" content="fr" />

                <meta name="revisit-after" content="15 days" />
        <meta name="robots" content="index,follow" />
        <meta name="author" content="Tela Botanica" />
        <meta name="keywords" content="Tela Botanica, photographie, CEL" />
        <meta name="description" content="Widget de présentation des dernières photo publiées sur le Carnet en Ligne de Tela Botanica" />

                <!-- OpenGraph pour Facebook, Pinterest, Google+ -->
                <meta property="og:type" content="website" />
                <meta property="og:title" content="Widget photo du CeL" />
                <meta property="og:site_name" content="Tela Botanica" />
                <meta property="og:description" content="Mini-galerie photo des observations publiques du Carnet en Ligne" />
                <?php if (isset($items[0])) : ?>
                        <meta property="og:image" content="<?php echo sprintf($items[0]['url_tpl'], 'CRS'); ?>" />
                <?php else : ?>
                        <meta property="og:image" content="https://resources.tela-botanica.org/tb/img/256x256/carre_englobant.png" />
                        <meta property="og:image:type" content="image/png" />
                        <meta property="og:image:width" content="256" />
                        <meta property="og:image:height" content="256" />
                <?php endif; ?>
                <meta property="og:locale" content="fr_FR" />

                <!-- Spécial mobile -->
                <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />

                <!-- Favicones -->
                <link rel="icon" type="image/png" href="https://resources.tela-botanica.org/tb/img/16x16/favicon.png" />
                <link rel="shortcut icon" type="image/x-icon" href="https://resources.tela-botanica.org/tb/img/16x16/favicon.ico" />
                <!-- Jquery-ui custom css-->
                <link href="https://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.18/css/smoothness/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css" media="screen" />
                <!-- Bootstrap CSS -->
                <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous" />
                <!-- Fontawesome -->
                <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous" />
                <!-- Leaflet -->
                <link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A==" crossorigin=""/>

                <!-- Feuilles de styles -->
                <link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>photo.css" media="screen" />
                <link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>popup.css" media="screen" />
                <link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>contact.css" media="screen" />
                <link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>photoCommun.css" media="screen" />
                <style type="text/css">
                        <?php $dimention_basique = floor(93/$colonne);?>
                        #cel-photo-contenu<?php echo $id; ?> .grid-sizer,
                        #cel-photo-contenu<?php echo $id; ?> .grid-item {
                                width: <?php echo $dimention_basique; ?>vw;
                        }

                        #cel-photo-contenu<?php echo $id; ?> .grid-item {
                                height: <?php echo $dimention_basique; ?>vw;
                        }

                        #cel-photo-contenu<?php echo $id; ?> .grid-item--width2 {
                                width: <?php echo ($dimention_basique*2)+1; ?>vw;
                        }

                        #cel-photo-contenu<?php echo $id; ?> .grid-item--height2 {
                                height: <?php echo number_format((($dimention_basique*2)+0.99),2); ?>vw;
                        }
                </style>
                <!-- Javascript : bibliothèques -->
                <!-- Jquery -->
                <script type="text/javascript" src="https://resources.tela-botanica.org/jquery/1.11.1/jquery-1.11.1.min.js"></script>

                <!-- Jquery UI : nécessaire pour le minicalendrier et l'auto-complétion -->
                <script type="text/javascript" src="https://resources.tela-botanica.org/jquery/jquery-ui/1.11.0/js/jquery-ui.min.js"></script>
                <!-- Jquery Plugins -->
                <!-- Jquery Validate : nécessaire pour la validation des formulaires -->
                <script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/jquery.validate.min.js"></script>
                <script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/additional-methods.min.js"></script>
                <script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/messages_fr.js"></script>
                <!-- Jquery Form :nécessaire pour l'upload des images -->
                <script type="text/javascript" src="https://resources.tela-botanica.org/jquery/form/3.51/jquery.form.min.js"></script>
                <!-- Bootstrap -->
                <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
                <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
                <!-- Masonry -->
                <script src="<?php echo $url_js; ?>masonry.pkgd.js"></script>
                <!-- Leaflet -->
                <script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js" integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA==" crossorigin=""></script>

                <!-- Script WidgetPhoto -->
                <script type="text/Javascript" src="<?php echo $url_js; ?>WidgetPhotoCommun.js"></script>
                <script type="text/Javascript" src="<?php echo $url_js; ?>WidgetPhoto.js"></script>
                <script type="text/javascript" src="<?php echo $url_js; ?>WidgetPhotoPopup.js"></script>
                <script type="text/javascript" src="<?php echo $url_js; ?>WidgetPhotoContact.js"></script>

                <!--  Google Analytics -->
                <?php if($prod): ?>
                        <?php include "analytics.html"; ?>
                <?php endif; ?>
        </head>
        <body style="margin: 0">
                <!-- WIDGET:CEL:PHOTO - DEBUT -->
                <div id="cel-photo-contenu<?php echo $id; ?>" class="cel-photo-contenu">
                <?php if (isset($erreurs) || isset($informations)) : ?>
                        <h1>Erreur &amp; informations</h1>
                        <p>Impossible d'afficher le flux.</p>
                        <!-- Affichage des erreurs et messages d'information : -->
                        <?php if ($erreurs) : ?>
                                <?php foreach ($erreurs as $erreur) : ?>
                                        <p class="erreur"><?php echo $erreur; ?></p>
                                <?php endforeach; ?>
                        <?php endif; ?>

                        <?php if ($informations) : ?>
                                <?php foreach ($informations as $information) : ?>
                                        <p class="info"><?php echo $information; ?></p>
                                <?php endforeach; ?>
                        <?php endif; ?>
                <?php else : ?>
                        <h1>
                                <?php if (!empty($titre)) : ?>
                                        <?php echo $titre; ?>
                                <?php endif ; ?>
                                <?php if($icone_rss && !empty($champ_recherche)) : ?>
                                <!--                            Affichage du bouton rss si on est pas en mode eflore-->
                                <a href="<?php echo $flux_rss_url; ?>"
                                        class="cel-photo-flux"
                                        title="Suivre les images"
                                        onclick="window.open(this.href);return false;">
                                        <img src="https://www.tela-botanica.org/sites/commun/generique/images/rss.png" alt="Suivre les images" />
                                </a>
                                <?php endif; ?>
                        </h1>
                        <?php if (!empty($champ_recherche)) : ?>
                                <form id="form-recherche<?php echo $id; ?>" class="form-recherche container" action="">
                                        <div id="bloc-recherche<?php echo $id; ?>" class="bloc-recherche form-inline d-flex justify-content-center w-100">
                                                <input type="text" id="champ-recherche<?php echo $id; ?>"
                                                           name="champ-recherche<?php echo $id; ?>" class="recherche form-control mr-1"
                                                           placeholder="Votre recherche" <?php echo('value="'.$filtres["recherche"].'"'); ?>>
                                                <input type="hidden" id="filtres<?php echo $id; ?>" name="filtres<?php echo $id; ?>">
                                                <a id="bouton-rechercher<?php echo $id; ?>" class="btn btn-success bouton-rechercher mr-1"><i class="fas fa-search"></i>&nbsp;Rechercher</a>
                                                <a id="bouton-plus-filtres<?php echo $id; ?>" class="btn btn-outline-secondary bouton-plus-filtres">
                                                        <span class="plus">
                                                                <i class="fas fa-chevron-down"></i>&nbsp;Plus&nbsp;de&nbsp;filtres
                                                        </span>
                                                        <span class="moins hidden">
                                                                <i class="fas fa-chevron-up"></i>&nbsp;Fermer&nbsp;les&nbsp;filtres
                                                        </span>
                                                </a>
                                        </div>
                                        <div id="autres-filtres<?php echo $id; ?>" class="autres-filtres row hidden">
                                                <a id="bouton-fermer-filtres<?php echo $id; ?>" class="btn bouton-fermer-filtres"><i class="fas fa-times"></i></a>
                                                <div id="bloc-filtres-gauche" class="bloc-filtres bloc-filtres-gauche col-lg-6">
                                                        <div class="row bloc-taxon bloc-filtre">
                                                                <label for="taxon">Taxon</label>
                                                                <input type="text" id="taxon" name="taxon" class="form-control"
                                                                <?php echo('value="'.$filtres["taxon"].'"'); ?>>
                                                        </div>
                                                        <div class="row bloc-referentiel bloc-filtre">
                                                                <label for="referentiel">Référentiel</label>
                                                                <select name="referentiel" id="referentiel" class="custom-select form-control referentiel">
                                                                        <option value="bdtfxr"
                                                                        <?php if($filtres["referentiel"] == "bdtfxr" || !$filtres["referentiel"]){
echo ('selected="selected"');}?> title="Trachéophytes de France métropolitaine">Métropole (index réduit)</option>
                                                                        <option value="bdtfx" title="Trachéophytes de France métropolitaine"
                                                                        <?php if($filtres["referentiel"] == "bdtfx"){
                                                                                        echo('selected="selected"');
                                                                                }?>>Métropole (BDTFX)</option>
                                                                        <option value="bdtxa" title="Trachéophytes des Antilles"
                                                                        <?php if($filtres["referentiel"] == "bdtxa"){
                                                                                        echo('selected="selected"');
                                                                                }?>>Antilles françaises
                                                                                (BDTXA)</option>
                                                                        <option value="bdtre" title="Trachéophytes de La Réunion"
                                                                        <?php if($filtres["referentiel"] == "bdtxe"){
                                                                                        echo('selected="selected"');
                                                                                }?>>Réunion (BDTRE)</option>
                                                                        <option value="aublet" title="Guyane">Guyane (AUBLET2)
                                                                                <?php if($filtres["referentiel"] == "aublet"){
                                                                                        echo('selected="selected"');
                                                                                }?></option>
                                                                        <option value="florical" title="Nouvelle-Calédonie">Nouvelle-Calédonie (FLORICAL)
                                                                                <?php if($filtres["referentiel"] == "florical"){
                                                                                        echo('selected="selected"');
                                                                                }?></option>
                                                                        <option value="isfan" title="Afrique du Nord">Afrique du Nord (ISFAN)
                                                                                <?php if($filtres["referentiel"] == "isfan"){
                                                                                        echo('selected="selected"');
                                                                                }?></option>
                                                                        <option value="apd" title="Afrique de l'Ouest et du Centre"
                                                                        <?php if($filtres["referentiel"] == "apd"){
                                                                                        echo('selected="selected"');
                                                                                }?>>Afrique de l'Ouest
                                                                                et du Centre (APD)</option>
                                                                        <option value="lbf" title="Liban" <?php if($filtres["referentiel"] == "lbf"){
                                                                                        echo('selected="selected"');
                                                                                }?>>Liban (LBF)</option>
                                                                        <option value="autre" title="Autre/Inconnu"
                                                                        <?php if($filtres["referentiel"] == "autre"){
                                                                                        echo('selected="selected"');
                                                                                }?>>Autre/Inconnu</option>
                                                                </select>
                                                        </div>
                                                        <div class="bloc-periode bloc-filtre">
                                                                <label for="periode" class="d-block">Date (début-fin)</label>
                                                                <div class="form-row">
                                                                        <div class="form-group mb-lg-0 mb-1 col">
                                                                                <input type="date" id="date_deb" name="date_deb" class="form-control"
                                                                                <?php echo('value="'.$filtres["date_deb"].'"'); ?>>
                                                                        </div>
                                                                        <div class="form-group mb-0 col">
                                                                                <input type="date" id="date_fin" name="date_fin" class="form-control"
                                                                                <?php echo('value="'.$filtres["date_fin"].'"'); ?>>
                                                                        </div>
                                                                </div>
                                                                <input type="hidden" id="periode" name="periode">
                                                        </div>
                                                        <div class="row  bloc-localite bloc-filtre">
                                                                <label for="commune">Localité</label>
                                                                <input type="text" id="commune" name="commune" class="form-control"
                                                                <?php echo('value="'.$filtres["commune"].'"'); ?>>
                                                        </div>
                                                        <div class="row  bloc- bloc-filtre">
                                                                <label for="dept">Département</label>
                                                                <input type="text" id="dept" name="dept" class="form-control"
                                                                           placeholder="Numéros (séparés par des virgules)"
                                                                <?php echo('value="'.$filtres["dept"].'"'); ?>>
                                                        </div>
                                                        <div class="row  bloc- bloc-filtre">
                                                                <label for="pays">Pays</label>
                                                                <input type="text" id="pays" name="pays" class="form-control"
                                                                <?php echo('value="'.$filtres["pays"].'"'); ?>>
                                                        </div>
                                                </div>
                                                <div id="bloc-filtres-droite" class="bloc-filtres bloc-filtres-droite col-lg-6">
                                                        <div class="row  bloc- bloc-filtre">
                                                                <label for="auteur">Auteur</label>
                                                                <input type="text" id="auteur" name="auteur" class="form-control"
                                                                           placeholder="Nom, email" <?php echo('value="'.$filtres["auteur"].'"'); ?>>
                                                        </div>
                                                        <div class="row  bloc- bloc-filtre">
                                                                <label for="programme">Programme</label>
                                                                <input type="text" id="programme" name="programme" class="form-control"
                                                                <?php echo('value="'.$filtres["programme"].'"'); ?>>
                                                        </div>
                                                        <div class="row  bloc- bloc-filtre">
                                                                <label for="tag">Tags (tous)</label>
                                                                <input type="text" id="tag" name="tag" class="form-control"
                                                                <?php echo('value="'.$filtres["tag"].'"'); ?>>
                                                        </div>
                                                        <div class="list bloc-photos-affichees bloc-filtre mt-3">
                                                                <div class="form-check mt-3">
                                                                        <input type="checkbox" id="standard" name="standard"
                                                                                   class="non-standards form-check-input" value="non-standard"
                                                                        <?php if($filtres["non_standard"]){
                                                                                        echo('checked');
                                                                                }?>>
                                                                        <label for="standard" class="non-standards form-check-label">Afficher les
                                                                                photos des observations "standards"</label>
                                                                </div>

                                                                <div class="form-check mt-3 hidden">
                                                                        <input type="checkbox" id="smartphone-anonyme" name="photos-affichees" class="smartphone-anonyme form-check-input" value="smartphone-anonyme">
                                                                        <label for="smartphone-anonyme" class="smartphone-anonyme form-check-label">Afficher les photos des observations smartphone anonyme</label>
                                                                </div>
                                                        </div>
                                                </div>
                                        </div>
                                </form>
                        <?php else : ?>
<!--                            Pas de champ de recherche -> Affichage style eflore-->
                        <ul class="liste-illustrations">
                                <li class="icone-organe-list <?php echo $filtres['tag'] == 'fleur' ? 'active' : ''; ?>">
                                        <a class="lien-images-organes fourni" data-tag="fleur" title="fleur" id="eflore-fleur">
                                                <img class="icone-organe" src="https://www.tela-botanica.org/eflore/consultation/presentations/images/icones_tags/fleur.png" alt="fleur">
                                                fleur                   </a>
                                </li>
                                <li class="icone-organe-list <?php echo $filtres['tag'] == 'feuille' ? 'active' : ''; ?>">
                                        <a class="lien-images-organes fourni" data-tag="feuille" title="feuille" id="eflore-feuille">
                                                <img class="icone-organe" src="https://www.tela-botanica.org/eflore/consultation/presentations/images/icones_tags/feuille.png" alt="feuille">feuille</a>
                                </li>
                                <li class="icone-organe-list <?php echo $filtres['tag'] == 'fruit' ? 'active' : ''; ?>">
                                        <a class="lien-images-organes fourni" data-tag="fruit" title="fruit" id="eflore-fruit">
                                                <img class="icone-organe" src="https://www.tela-botanica.org/eflore/consultation/presentations/images/icones_tags/fruit.png" alt="fruit">fruit</a>
                                </li>
                                <li class="icone-organe-list <?php echo $filtres['tag'] == 'ecorce' ? 'active' : ''; ?>">
                                        <a class="lien-images-organes fourni" data-tag="ecorce" title="ecorce" id="eflore-ecorce">
                                                <img class="icone-organe" src="https://www.tela-botanica.org/eflore/consultation/presentations/images/icones_tags/ecorce.png" alt="ecorce">ecorce</a>
                                </li>
                                <li class="icone-organe-list <?php echo $filtres['tag'] == 'port' ? 'active' : ''; ?>">
                                        <a class="lien-images-organes fourni" data-tag="port" title="port" id="eflore-port">
                                                <img class="icone-organe" src="https://www.tela-botanica.org/eflore/consultation/presentations/images/icones_tags/port.png" alt="port">port</a>
                                </li>
                                <li class="icone-organe-list <?php echo $filtres['tag'] == 'rameau' ? 'active' : ''; ?>">
                                        <a class="lien-images-organes fourni" data-tag="rameau" title="rameau" id="eflore-rameau">
                                                <img class="icone-organe" src="https://www.tela-botanica.org/eflore/consultation/presentations/images/icones_tags/rameau.png" alt="rameau">rameau</a>
                                </li>
                        </ul>
                        <?php endif ; ?>
                        <div id="cel-galerie-photo<?php echo $id; ?>"
                                 class="cel-galerie-photo <?php echo empty($champ_recherche) ? 'eflore' : ''; ?>">
                                <div class="grid-sizer"></div>

                                <?php foreach ($items as $t =>$tag) : ?>
                                        <?php foreach ($tag as $i => $item) : ?>
                                                <?php
                                                $auteurTruncatedEmail = preg_replace('/[^@]+$/i', '...', $item['utilisateur']['mail_utilisateur']);
                                                        $auteur = trim($item['utilisateur']['nom_utilisateur']) ? $item['utilisateur']['nom_utilisateur'] : $auteurTruncatedEmail;
                                                        $dimention_img = 'CRS';
                                                        $class_extra = '';
                                                ?>
                                                <?php if ( $i === 0 && $extra_actif ) : ?>
                                                        <?php
                                                                $dimention_img = 'CRL';
                                                                $class_extra = ' grid-item--width2 grid-item--height2';
                                                        ?>
                                                <?php endif; ?>
                                                <div class="cel-photo grid-item <?php echo $class_extra; ?> <?php echo $t; ?>">
                                                        <a href="<?php echo sprintf($item['url_tpl'], 'O'); ?>" class="cel-img"
                                                           title="<?php echo $item['titre']; ?> - Publiée le <?php echo $item['date_redige']; ?> - GUID : <?php echo $item['id_photo_formate']; ?>" rel="galerie-princ<?php echo $id; ?>">
                                                                <img src="<?php echo sprintf($item['url_tpl'], $dimention_img). '?timestamp=' . time(); ?>" alt="<?php echo $item['titre']; ?>">
                                                        </a>
                                                        <div id="cel-info-<?php echo $item['id_photo_formate']; ?>" class="cel-infos">
                                                                <strong>
                                                                        <?php if (!empty($item['lien'])) : ?>
                                                                                <a class="cel-img-titre" href="<?php echo $item['lien']; ?>"
                                                                                        onclick="window.open(this.href);return false;"
                                                                                        title="Cliquez pour accéder à la fiche eFlore">
                                                                                        <?php echo $item['obs']['nom_sel']; ?>
                                                                                </a><br />
                                                                                par
                                                                                        <a class="cel-img-contact"
                                                                                        href="<?php echo $item['urlProfil']; ?>"
                                                                                        title="Afficher le profil" target="_blank">
                                                                                        <?php echo $auteur; ?>
                                                                                </a>
                                                                        <?php else : ?>
                                                                                <?php echo $item['titre']; ?>
                                                                        <?php endif; ?>
                                                                </strong>
                                                        </div>
                                                </div>
                                        <?php endforeach; ?>
                                <?php endforeach; ?>
                                <div id="next-previous-buttons">
                                        <?php if (0 < $start): ?>
                                                <a id="bouton-photos-precedentes" href="<?php echo $url_widget_photos_precedente;?>" class="btn btn-success"><i class="fas fa-backward"></i>&nbsp;Photos precedentes</a>
                                        <?php endif;?>

                                        <?php if ($total > ($start + $limit)): ?>
                                                <a id="bouton-photos-suivantes" href="<?php echo $url_widget_photos_suivantes;?>" class="btn btn-success"><i class="fas fa-forward"></i>&nbsp;Photos suivantes</a>
                                        <?php else :?>
                                                <div class="alert alert-secondary mt-0 ml-1" role="alert" style="display: inline-block;">Toutes les photos disponibles, correspondant à vos critères, ont été affichées</div>
                                        <?php endif;?>
                                </div>
                        </div>
                        <p class="cel-photo-pieds discretion nettoyage">
                                <span class="cel-photo-source">
                                        Source :
                                        <a href="http://www.tela-botanica.org/page:cel" title="Carnet en Ligne" onclick="window.open(this.href);return false;">
                                                CEL
                                        </a>
                                </span>
                                <span class="cel-photo-date-generation">Au <?php echo strftime('%A %d %B %Y à %H:%M:%S'); ?></span>
                         </p>

                <?php endif; ?>
                </div>
                <!-- modale -->
                <div id="fenetre-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="fenetre-modal-label" style="display: none;" aria-hidden="true">
                        <div class="modal-dialog modal-dialog-centered" role="document">
                                <div class="modal-content">
                                        <div class="modal-header">
                                                <h5 class="modal-title" id="fenetre-modal-label"></h5>
                                                <button type="button" class="close btn btn-sm btn-secondary" data-dismiss="modal" aria-label="Close">
                                                        <span aria-hidden="true">&times;</span>
                                                </button>
                                        </div>
                                        <div class="modal-body row" id="print_content"></div>
                                        <div class="modal-footer hidden"></div>
                                </div>
                        </div>
                </div>
                <!-- WIDGET:CEL:PHOTO - FIN -->
                <script type="text/Javascript">
                        //<![CDATA[
                                var widgetProp = {
                                        'id'              : "<?php echo $id; ?>",
                                        'galerieId'       : "<?php echo $galerie_id; ?>",
                                };

                                $( document ).ready( function() {
                                        photo = new WidgetPhoto( widgetProp );
                                        photo.init();
                                });
                        //]]>
                </script>
        </body>
</html>