コード例 #1
0
ファイル: index.php プロジェクト: ridaovic/Artistes
    								});
    								$('.usa').html("");
    										var $button = $('.translator-completed-left').clone();
    										$('.usa').html($button);
    							});
    		</script>
		    <!-- translator -->

        <script type="text/javascript" > $('document').ready(function(){ $('.change').niceselect(); }) </script>

        
        <?php 
include 'search.php';
include 'searchevent.php';
include 'searchartiste.php';
$artved = requete_artiste('{"query":{"bool":{"must":[],"must_not":[{"constant_score":{"filter":{"missing":{"field":"artist.oeuvres"}}}},{"constant_score":{"filter":{"missing":{"field":"artist.title"}}}}],"should":[{"match_all":{}}]}},"from":0,"size":3,"sort":[],"facets":{}}');
$oeuvretend = requete_nouveautes('{"query":{"bool":{"must":[{"match_all":{}}],"must_not":[],"should":[]}},"from":0,"size":5,"sort":[{"lastModified":{"order":"asc"}},{"executionTime":{"order":"desc"}}],"facets":{}}');
?>
    
    </head>
	
    <body>
	<div class="translator">
    
    <!-- facebook button -->
    <div id="fb-root"></div>
    <script>(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/fr_FR/sdk.js#xfbml=1&version=v2.0";
コード例 #2
0
ファイル: artiste.php プロジェクト: ridaovic/Artistes
          }
        });

        
        

      });
    </script>

    <script type="text/javascript" > $('document').ready(function(){ $('.change').niceselect(); }) </script>

    <?php 
include 'search.php';
include 'searchevent.php';
include 'searchartiste.php';
$artiste = requete_artiste('{"query":{"bool":{"must":[],"must_not":[],"should":[{"query_string":{"default_field":"artist.title","query":"' . $_GET["artiste"] . '"}},{"query_string":{"default_field":"artist.body","query":"Figuratif"}}]}},"from":0,"size":1,"sort":[],"facets":{}}');
$oeuvretend = requete_nouveautes('{"query":{"bool":{"must":[{"wildcard":{"nouveau.title":"*"}}],"must_not":[{"wildcard":{"nouveau.title":"*découvertes"}}],"should":[]}},"from":0,"size":3,"sort":[{"@timestamp":{"order":"desc"}}],"facets":{}}');
?>

                <script src="js/modernizrdetail.js"></script>

	<!--<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>-->
	<script src="js/main.js"></script>
   
	<!--google analytics-->
	<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');