It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn't find one. Please enter the address of your feed to validate.

Source: http://starchilds.fr/wqemariameliss

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <!-- Title -->
  5. <title>wqemariameliss</title>
  6.  
  7. <!-- Required Meta Tags Always Come First -->
  8. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  9. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  10. <!-- Favicon -->
  11. <link rel="shortcut icon" href="https://starchilds.fr/themes/volcano/img/icon.png" />
  12.  
  13. <meta name="title" content="wqemariameliss">
  14. <meta name="description" content="Star Childs Mp3 PlatForm">
  15. <meta name="keywords" content="star childs,music sharing">
  16.  
  17.  
  18. <link rel="canonical" href="https://starchilds.fr" /><link rel="home" href="https://starchilds.fr" /><link rel="alternate" href="https://starchilds.fr?lang=english" hreflang="en" /><link rel="alternate" href="https://starchilds.fr?lang=french" hreflang="fr" /><meta property="og:title" content="wqemariameliss"><meta property="og:image" content="https://starchilds.fr/upload/photos/d-avatar.jpg"><meta property="og:image:width" content="500"><meta property="og:image:height" content="500"><meta property="og:description" content="O blog é um reflexo da minha paixão pela moda infantil. Cada post é escrito com cuidado e atenção aos detalhes, com o objetivo de ajudar outras mães a fazerem as melhores escolhas para seus filhos."><meta property="og:url" content="https://starchilds.fr/wqemariameliss" />
  19. <!-- Google Fonts -->
  20. <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;800;900&display=swap" rel="stylesheet">
  21. <link href="https://starchilds.fr/themes/volcano/fonts/Roboto.css" rel="stylesheet">
  22. <link href="https://starchilds.fr/themes/volcano/fonts/Muli.css" rel="stylesheet">
  23.  
  24. <script src="https://starchilds.fr/themes/volcano/js/jquery.min.js?v=1.5.2"></script>
  25. <link rel="stylesheet" href="https://starchilds.fr/themes/volcano/css/jquery-ui.css?v=1.5.2">
  26. <script src="https://starchilds.fr/themes/volcano/js/jquery-ui.min.js?v=1.5.2"></script>
  27. <!-- CSS -->
  28. <link rel="stylesheet" href="https://starchilds.fr/themes/volcano/css/bootstrap.min.css?v=1.5.2">
  29. <link rel="stylesheet" href="https://starchilds.fr/themes/volcano/css/owl.carousel.min.css?v=1.5.2">
  30. <link rel="stylesheet" href="https://starchilds.fr/themes/volcano/css/style.css?v=1.5.2">
  31. <script src="https://starchilds.fr/themes/volcano/js/wavesurfer.min.js?v=1.5.2"></script>
  32.  
  33. <style media="screen">
  34.  
  35. </style>
  36.  
  37.  
  38. <script type="text/javascript" src="https://starchilds.fr/themes/volcano/js/tag-it.min.js?v=1.5.2"></script>
  39. <link rel="stylesheet" href="https://starchilds.fr/themes/volcano/css/jquery.tagit.css?v=1.5.2">
  40. <link rel="stylesheet" href="https://starchilds.fr/themes/volcano/css/bootstrap-colorpicker.min.css?v=1.5.2" />
  41. <script src="https://starchilds.fr/themes/volcano/js/bootstrap-colorpicker.min.js?v=1.5.2"></script>
  42.  
  43. <script type="text/javascript" src="https://starchilds.fr/themes/volcano/js/fastclick.js?v=1.5.2"></script>
  44. <!--  Scripts-->
  45. <script>
  46. function ajaxUrl() {
  47. return 'https://starchilds.fr/endpoints';
  48. }
  49. function siteUrl() {
  50. return 'https://starchilds.fr/';
  51. }
  52. </script>
  53. <!-- <script src="https://unpkg.com/wavesurfer.js"></script> -->
  54. <script src="https://starchilds.fr/themes/volcano/js/emojionearea.min.js?v=1.5.2"></script>
  55. <link rel="stylesheet" href="https://starchilds.fr/themes/volcano/css/emojionearea.min.css?v=1.5.2">
  56.              
  57. <script>
  58.            window.run_station = null;
  59.            $(document).ready(function() {
  60.                // $(".emoji_comment_btn").emojioneArea({
  61.                //     standalone: true,
  62.                //     autocomplete: false,
  63.                //     pickerPosition: "bottom",
  64.                //     emojiPlaceholder: "",
  65.                //     inline: true,
  66.                //     dir            : "ltr",
  67.                //     placement : 'absright'
  68.                // // container: "#container",
  69.                // // hideSource: false,
  70.                // // useSprite: false
  71.                // });
  72.                window.init_emojioneArea = function() {
  73.                    $(".comment_input").emojioneArea({
  74.                        useInternalCDN: true,
  75.                        events: {
  76.                            keyup: function (editor, event) {
  77.                                let emojioneArea = this; //this is instance of EmojioneArea
  78.                                                                id = $( $(this)[0].source[0]).attr('data-audio-id');
  79.                                $($(".comment_input")).limit("640", '#charsLeft_'+id);
  80.                                c_id = $( $(this)[0].source[0]).attr('data-comment-id');
  81.                                if ($('#write_comment_'+c_id).length) {
  82.                                 $($('#write_comment_'+c_id)).limit("640", '#charsLeft_r_'+c_id);
  83.                                }
  84.                                                                if (event.which === 13 && !event.shiftKey) {
  85.                                    // $scope.onPressKeyTextarea(event);
  86. var audioid = $( $(this)[0].source[0]).attr('data-audio-id');
  87. var commentid = $( $(this)[0].source[0]).attr('data-comment-id');
  88. if(typeof commentid !== 'undefined'){
  89. registerCommentreplay(emojioneArea.getText(), audioid, commentid, event, $(this));
  90. }else{
  91. registerComment(emojioneArea.getText(), audioid, event, $(this));
  92. }
  93.                                    emojioneArea.setText('');
  94.                                    emojioneArea.hidePicker();
  95.                                    emojioneArea.editor.focus();
  96.                                    event.preventDefault();
  97.                                }
  98.                            }
  99.                        },
  100.                        search: false,
  101.                        recentEmojis: false,
  102.                        filtersPosition: "bottom",
  103.                        tones: false,
  104.                        autocomplete: true,
  105.                        filters: {animals_nature: false, food_drink: false, activity: false, travel_places: false, objects: false, symbols: false, flags: false}
  106.                    });
  107.                }
  108. window.init_emojioneArea();
  109.  
  110. window.init_emojioneArea_replay = function(id) {
  111. $('#write_comment_'+id).emojioneArea({
  112. useInternalCDN: true,
  113. events: {
  114. keyup: function (editor, event) {
  115. let _emojioneArea = this; //this is instance of EmojioneArea
  116. if (event.which === 13 && !event.shiftKey) {
  117. var _audioid = $( $(this)[0].source[0]).attr('data-audio-id');
  118. var _commentid = $( $(this)[0].source[0]).attr('data-comment-id');
  119. registerCommentreplay(_emojioneArea.getText(), _audioid, _commentid, event, $(this));
  120. _emojioneArea.setText('');
  121. _emojioneArea.hidePicker();
  122. _emojioneArea.editor.focus();
  123. event.preventDefault();
  124. }
  125. }
  126. },
  127. search: false,
  128. recentEmojis: false,
  129. filtersPosition: "bottom",
  130. tones: false,
  131. autocomplete: false,
  132. filters: {animals_nature: false, food_drink: false, activity: false, travel_places: false, objects: false, symbols: false, flags: false}
  133. });
  134. }
  135.  
  136. window.init_blogemojioneArea = function() {
  137.                    $(".blog_comment_input").emojioneArea({
  138.                        useInternalCDN: true,
  139.                        events: {
  140.                            keyup: function (editor, event) {
  141.                                let emojioneArea = this; //this is instance of EmojioneArea
  142.                                if (event.which === 13 && !event.shiftKey) {
  143.                                    // $scope.onPressKeyTextarea(event);
  144. var audioid = $( $(this)[0].source[0]).attr('data-article-id');
  145.                                    registerBlogComment(emojioneArea.getText(), audioid, event, $(this));
  146.                                    emojioneArea.setText('');
  147.                                    emojioneArea.hidePicker();
  148.                                    emojioneArea.editor.focus();
  149.                                    event.preventDefault();
  150.                                }
  151.                            }
  152.                        },
  153.                        search: false,
  154.                        recentEmojis: false,
  155.                        filtersPosition: "bottom",
  156.                        tones: false,
  157.                        autocomplete: true,
  158.                        filters: {animals_nature: false, food_drink: false, activity: false, travel_places: false, objects: false, symbols: false, flags: false}
  159.                    });
  160.                }
  161.                window.init_blogemojioneArea();
  162.            });
  163. </script>
  164.  
  165. <script>
  166. $(document).ready(function() {
  167.  $.ajaxSetup({
  168.    data: {
  169.        hash_id: getHashID()
  170.    },
  171.    cache: false
  172.  });
  173. });
  174. window.addEventListener("popstate", function(e) {
  175.            window.location.href = location.href;
  176.        });
  177.        window.search_url = 'https://starchilds.fr/search/songs/';
  178.        window.chatfetch = false;
  179.        window.UpdateChatU = 0;
  180. $(document).on('click', '[data-load]', function(event) {
  181. if ($('.ma_container').attr('data-page') == 'home') {
  182. window.location.href = siteUrl() + $(this).attr('data-load');
  183. return false;
  184. }
  185. $('.xzoom-source').remove();
  186. $('#buy_ticket_modal').modal('hide');
  187. if ($(this).attr('data-load') == '') {window.open($(this).attr('href'), '_blank');
  188. if (parseInt($('.ss_track_play_pause').attr('data_is_ad')) > 0) {
  189. is_sent = 1;
  190. song_id = $('#current-track').attr('value');
  191. onTimesUp(song_id);
  192. return false;
  193. }
  194. return false;
  195. }
  196.  //$('.sections li').removeClass('active');
  197.      $('#bar_loading').show().animate({width:20 + 80 * Math.random() + "%"}, 200);
  198.      event.preventDefault();
  199.      var url = $(this).attr('data-load');
  200.      $.ajax({
  201.        url: siteUrl() + '/ajax-load.php?path=' + url,
  202.        type: 'GET',
  203.        dataType: 'html'
  204.      })
  205.      .done(function(data_html, textStatus, request) {
  206.       if (request.status == 201) {
  207.       $('#login_box').modal('show');
  208.       } else {
  209.                        if(window.run_station !== null){
  210.                            window.run_station.pause();
  211.                        }
  212.  
  213.       data = JSON.parse($(data_html).filter('#json-data').val());
  214.        window.history.pushState({state:'new', ajax_url: url},'', data.url);
  215.  
  216.                        if(data.page_name == 'messages'){
  217.                            window.chatfetch = true;
  218. }else{
  219.                            window.chatfetch = false;
  220. }
  221.  
  222.        if(data.page_name !== 'search'){
  223.            $('#search_keyword').val('');
  224. }
  225.  
  226.        $('#container_content').html(data_html);
  227.        $('meta[name=title]').attr('content', data.site_title);
  228.        $('#page').attr('data-page', data.page_name);
  229.        $('meta[name=description]').attr('content', data.description);
  230.        $('meta[name=keywords]').attr('content', data.keyword);
  231.        $('title').html(data.site_title);
  232.        if (data.page_name) {
  233.         setTimeout(function () {
  234.         updateWaves = false;
  235.         if ($('#current-track').val()) {
  236.         if (Amplitude.getActiveSongMetadata().id == $('#current-track').val()) {
  237.         updateWaves = true;
  238.         } else {
  239.         $('body').removeClass('player_running');
  240.         }
  241.         } else {
  242.         updateWaves = true;
  243.         }
  244.         if (updateWaves == true) {
  245.         var getCurrentPlaying = Number($('.amplitude-song-played-progress').attr('value')) * 100;
  246.         $('#light-wave, #light-waves').width(getCurrentPlaying + '%');
  247.         updateWaveForm();
  248.         }
  249.         }, 100);
  250.                            if( data.page_name == 'blogs' ){
  251.                                window.search_url = 'https://starchilds.fr/blogs/tag/';
  252.                            }
  253.        }
  254.        if (Amplitude.getActiveSongMetadata().id && $('#page').attr('data-page') == 'track') {
  255.         if (Amplitude.getActiveSongMetadata().id == $('#current-track').val()) {
  256.         $('body').addClass('player_running');
  257.         }
  258.        }
  259.        if (Amplitude.getActiveSongMetadata().u_id && $('#page').attr('data-page') != 'track') {
  260.         $('.playlist-list-song[data-id=' + Amplitude.getActiveSongMetadata().u_id + ']').addClass('playing');
  261.         $('.list-recommended[data-id=' + Amplitude.getActiveSongMetadata().u_id + ']').addClass('playlist-list-song playing');
  262.         if ($('.feed_post[data-id="' + Amplitude.getActiveSongMetadata().u_id + '"]').length > 0) {
  263.         $.get('https://starchilds.fr/endpoints/get-song-info', {id: Amplitude.getActiveSongMetadata().id}, function(data) {
  264.         if (data.status == 200) {
  265.         $('body').attr('song-duration', data.duration);
  266.         if (data.songWaves.length > 0) {
  267. $('.feed_post[data-id="' + data.songID + '"]:first').find('.waveform-small').html(data.songWaves);
  268. $('#light-wave img').width($('#dark-wave').width() + 'px');
  269. $('#light-waves img').width($('#dark-wavez').width() + 'px');
  270. $('.feed_post[data-id="' + data.songID + '"]:first').find('.post-actions').removeClass('hidden');
  271. $('.feed_post[data-id="' + data.songID + '"]:first').find('.ssong_comments').removeClass('hidden');
  272. $('.feed_post[data-id="' + data.songID + '"]:first').find('.mus_feeds_bodycoms').removeClass('hidden');
  273. $('.feed_post[data-id="' + data.songID + '"]:first').find('.art-info').removeClass('hidden');
  274.     $('.feed_post[data-id="' + data.songID + '"]:first').find('.comment_list').html(data.comments);
  275.     $('.feed_post[data-id="' + data.songID + '"]:first').find('.comment-waves').html(data.waves);
  276.     var getCurrentPlaying = Number($('.amplitude-song-played-progress').attr('value')) * 100;
  277.                $('#light-wave, #light-waves').width(getCurrentPlaying + '%');
  278.     updateWaveForm();
  279. }
  280.         }
  281.         });
  282.         }
  283.        }
  284.                        $('#music-user-ads-table').find('[type="checkbox"]').each(function(index, el) {
  285.                            $(el).bootstrapToggle();
  286.                        });
  287.                        if( data.page_name === 'station'){
  288.                            setTimeout(function () {
  289.                                $('body').addClass('player_running');
  290.                            }, 100);
  291.                        }
  292.       }
  293.  
  294.      })
  295.      .fail(function() {
  296.         window.location.href = siteUrl()+'/404';
  297.      })
  298.      .always(function() {
  299.       if (typeof data !== 'undefined') {
  300.       if (data.page_name == 'user' && data.scroll == true) {
  301.         $('html,body').animate({
  302.        scrollTop: $('#myTab').offset().top - 350
  303.    });
  304.        } else {
  305.         $('html,body').animate({
  306.        scrollTop: $('body').offset().top
  307.    });
  308.        }
  309.                        window.init_emojioneArea();
  310.       }
  311.        $('#bar_loading').animate({width:"100%"}, 200).fadeOut(300, function() {
  312.           $(this).width("0");
  313.        });
  314.      });
  315.  });
  316. window.artist_sell = 'on';
  317. var video_player;
  318. </script>
  319.  
  320. <style>
  321. :root {
  322. --main-color: #F98F1D;
  323. --second-color: #ea8e48;
  324. }
  325.  
  326. .sidebar .sidebar_innr .sections li a:before {
  327.     background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='11' height='15.866' viewBox='0 0 11 15.866'%3e%3cg id='Hover:_Sound_bar' data-name='Hover: Sound bar' transform='translate(-1502 -129.5)'%3e%3cline id='Line_8' data-name='Line 8' y2='15.866' transform='translate(1511.5 129.5)' fill='none' stroke='%23ea8e48' stroke-width='3'/%3e%3cline id='Line_9' data-name='Line 9' y2='14.254' transform='translate(1503.5 130.306)' fill='none' stroke='%23ea8e48' stroke-width='3'/%3e%3c/g%3e%3c/svg%3e");
  328. }
  329. header .head_search .search_dropdown .see_all a:before {
  330. background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3e%3cpath fill='%23F98F1D' d='M13,9L15.5,6.5L16.92,7.92L12,12.84L7.08,7.92L8.5,6.5L11,9V3H13V9M3,15H21V17H3V15M3,19H13V21H3V19Z' /%3e%3c/svg%3e");
  331. }
  332. .see_all a:before {
  333. background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3e%3cpath fill='%23F98F1D' d='M13,9L15.5,6.5L16.92,7.92L12,12.84L7.08,7.92L8.5,6.5L11,9V3H13V9M3,15H21V17H3V15M3,19H13V21H3V19Z' /%3e%3c/svg%3e");
  334. }
  335. .sq_music_tracks .track .track_info .play_btn {
  336. background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='42.505' height='42.5' viewBox='0 0 42.505 42.5'%3e%3cpath id='Path_7225' data-name='Path 7225' d='M8827,2861.251a21.252,21.252,0,1,1,21.251,21.249A21.276,21.276,0,0,1,8827,2861.251Zm14.1-17.34a18.2,18.2,0,0,0-6.086,4.009,18.976,18.976,0,0,0,0,26.66,18.218,18.218,0,0,0,6.086,4.013,19.327,19.327,0,0,0,14.311,0,18.159,18.159,0,0,0,6.084-4.013,18.968,18.968,0,0,0,0-26.66,18.18,18.18,0,0,0-6.084-4.009,19.327,19.327,0,0,0-14.311,0Zm2.277,24.14c-.106,0-.214-.178-.267-.178a2.321,2.321,0,0,1-.107-.358v-11.8a2.33,2.33,0,0,1,.107-.358c.053,0,.16-.178.267-.178.125,0,.252-.18.376-.18a.369.369,0,0,0,.356.18l8.726,5.9c.107,0,.178.176.231.176.054.18.089.18.089.358s-.035.176-.089.358c-.054,0-.124.178-.231.178l-8.726,5.9a.37.37,0,0,0-.356.178C8843.627,2868.229,8843.5,2868.051,8843.375,2868.051Z' transform='translate(-8827.001 -2840)' fill='%23F98F1D'/%3e%3c/svg%3e");
  337.  
  338. }
  339.  
  340. </style>
  341.  
  342. <script src="https://starchilds.fr/themes/volcano/js/header.js?3008"></script>
  343.  
  344. <link rel="stylesheet" href="https://starchilds.fr/themes/volcano/css/custom.style.css?1356" id="custom.style.css">
  345.  
  346. <link rel="stylesheet" href="https://starchilds.fr/themes/volcano/js/lib/sweetalert2/dist/sweetalert2.min.css?v=1.5.2">
  347. <link rel="stylesheet" type="text/css" href="https://starchilds.fr/themes/volcano/css/dataTables.bootstrap4.min.css?v=1.5.2">
  348. <link rel="stylesheet" href="https://starchilds.fr/themes/volcano/css/bootstrap-select.min.css?v=1.5.2">
  349.  
  350. <script src="https://js.stripe.com/v3/"></script>
  351. <script type="text/javascript" src="https://starchilds.fr/themes/volcano/js/xzoom.min.js"></script>
  352. <script src="https://starchilds.fr/themes/volcano/js/html2pdf.bundle.js?v=1.5.2"></script>
  353. <script src="https://starchilds.fr/themes/volcano/js/qrcode.js?v=1.5.2"></script>
  354. <link rel="stylesheet" href="https://starchilds.fr/themes/volcano/css/lightbox.min.css?v=1.5.2">
  355. <script src="https://starchilds.fr/themes/volcano/js/lightbox.min.js?v=1.5.2"></script>
  356. <link rel="stylesheet" href="https://starchilds.fr/themes/volcano/css/flatpickr.min.css?v=1.5.2">
  357. <script src="https://starchilds.fr/themes/volcano/js/flatpickr.js?v=1.5.2"></script>
  358. </head>
  359.  
  360. <body class=" side_open" data-lang="ltr">
  361. <div class="music_app">
  362. <div class="ma_container" id="page" data-page="user">
  363. <!-- Start Sidebar  -->
  364. <div class="ma_sidebar">
  365. <div class="sidebar">
  366. <div class="sidebar_innr" data-simplebar>
  367. <ul class="sections">
  368. <h3>Explorer</h3>
  369. <li class="" >
  370. <a href="https://starchilds.fr/discover" data-load="discover">
  371. <svg xmlns="http://www.w3.org/2000/svg" width="25" height="24.997" viewBox="0 0 25 24.997"> <path id="Subtraction_4" data-name="Subtraction 4" d="M8853.4,2866.4h-10.287v-10.285H8853.4V2866.4Zm-8.828-8.826v7.369h7.366v-7.369Zm-5.885,8.826H8828.4v-10.285h10.287V2866.4Zm-8.828-8.826v7.369h7.37v-7.369Zm23.541-5.884h-10.287V2841.4H8853.4v10.286Zm-8.828-8.828v7.369h7.366v-7.369Zm-5.885,8.828H8828.4V2841.4h10.287v10.286Zm-8.828-8.828v7.369h7.37v-7.369Z" transform="translate(-8828.399 -2841.4)" fill="currentColor"/> </svg> Découvrir
  372. </a>
  373. </li>
  374. <li class="  hidden">
  375. <a href="https://starchilds.fr/feed" data-load="feed">
  376. <svg enable-background="new 0 0 24 24" height="512" viewBox="0 0 24 24" width="512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="m20.5 24h-12c-1.378 0-2.5-1.121-2.5-2.5v-15c0-1.379 1.122-2.5 2.5-2.5h12c1.378 0 2.5 1.121 2.5 2.5v15c0 1.379-1.122 2.5-2.5 2.5zm-12-19c-.827 0-1.5.673-1.5 1.5v15c0 .827.673 1.5 1.5 1.5h12c.827 0 1.5-.673 1.5-1.5v-15c0-.827-.673-1.5-1.5-1.5z"/><path fill="currentColor" d="m4.5 21h-1c-1.378 0-2.5-1.121-2.5-2.5v-16c0-1.379 1.122-2.5 2.5-2.5h12c1.378 0 2.5 1.121 2.5 2.5 0 .276-.224.5-.5.5s-.5-.224-.5-.5c0-.827-.673-1.5-1.5-1.5h-12c-.827 0-1.5.673-1.5 1.5v16c0 .827.673 1.5 1.5 1.5h1c.276 0 .5.224.5.5s-.224.5-.5.5z"/><path fill="currentColor" d="m18.5 17h-8c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h8c.276 0 .5.224.5.5s-.224.5-.5.5z"/><path fill="currentColor" d="m18.5 21h-8c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h8c.276 0 .5.224.5.5s-.224.5-.5.5z"/><path fill="currentColor" d="m18.5 13h-8c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h8c.276 0 .5.224.5.5s-.224.5-.5.5z"/><path fill="currentColor" d="m18.5 9h-8c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h8c.276 0 .5.224.5.5s-.224.5-.5.5z"/></svg> Fil d&#039;actualités
  377. </a>
  378. </li>
  379. <li class="">
  380. <a href="https://starchilds.fr/new_music" data-load="new_music">
  381. <svg xmlns="http://www.w3.org/2000/svg" width="17.533" height="25" viewBox="0 0 17.533 25"> <path id="Subtraction_5" data-name="Subtraction 5" d="M8833.326,2865.7a5.626,5.626,0,1,1,3.574-9.967l.59.484v-14.786a.732.732,0,0,1,1.464,0v.046a2.538,2.538,0,0,0,1.479,1.985,8.266,8.266,0,0,0,4.07.982.732.732,0,0,1,0,1.464,9.4,9.4,0,0,1-5-1.3l-.553-.354v15.764a.055.055,0,0,1,0,.013v.017a.017.017,0,0,0,0,.007v.006a.055.055,0,0,1,0,.012A5.636,5.636,0,0,1,8833.326,2865.7Zm0-9.789a4.164,4.164,0,1,0,4.164,4.164A4.168,4.168,0,0,0,8833.326,2855.911Z" transform="translate(-8827.701 -2840.7)" fill="currentColor"/> </svg> Nouveautés
  382. </a>
  383. </li>
  384. <li class="">
  385. <a href="https://starchilds.fr/top_music" data-load="top_music">
  386. <svg xmlns="http://www.w3.org/2000/svg" width="24.699" height="25" viewBox="0 0 24.699 25"> <path id="Path_7218" data-name="Path 7218" d="M8843.883,2857.355a3.644,3.644,0,0,1,5.96-2.812l.082.069v-8.76a.624.624,0,1,1,1.247,0v.029a1.414,1.414,0,0,0,.828,1.076,4.939,4.939,0,0,0,2.425.583.623.623,0,1,1,0,1.247,5.98,5.98,0,0,1-3.175-.83l-.078-.049v9.448a3.645,3.645,0,1,1-7.289,0Zm1.248,0a2.4,2.4,0,1,0,2.4-2.4A2.4,2.4,0,0,0,8845.131,2857.355Zm-14.779-3.431a5.2,5.2,0,0,1,8.511-4.017l.545.447v-13.677a.677.677,0,0,1,1.354,0v.042a2.347,2.347,0,0,0,1.367,1.835,7.667,7.667,0,0,0,3.768.908.677.677,0,0,1,0,1.354,8.718,8.718,0,0,1-4.623-1.2l-.512-.33v14.583a.023.023,0,0,1,0,.013v.027a.016.016,0,0,1,0,.011,5.205,5.205,0,1,1-10.41,0Zm1.351,0a3.853,3.853,0,1,0,3.853-3.853A3.855,3.855,0,0,0,8831.7,2853.924Z" transform="translate(-8830.352 -2836)" fill="currentColor"/> </svg> Top musique
  387. </a>
  388. </li>
  389. <li class="">
  390. <a href="https://starchilds.fr/albums" data-load="albums">
  391. <svg xmlns="http://www.w3.org/2000/svg" width="25" height="24.899" viewBox="0 0 25 24.899"> <path id="Subtraction_7" data-name="Subtraction 7" d="M8840.7,2866.271a12.482,12.482,0,0,1-9.5-20.6,12.858,12.858,0,0,1,7.555-4.3v1.47a10.64,10.64,0,0,0-6.635,3.837,11.324,11.324,0,0,0-2.529,7.79,11.224,11.224,0,0,0,11.106,10.437,11.009,11.009,0,0,0,7.088-2.511,11.145,11.145,0,0,0,3.851-6.535,10.987,10.987,0,0,0-1.144-7.384,11.373,11.373,0,0,0-5.617-5l-.868-.352v10.651a3.474,3.474,0,0,1-.633,1.981,3.556,3.556,0,0,1-1.678,1.228,2.367,2.367,0,0,1-.74.112,4.252,4.252,0,0,1-1.321-.243,3.423,3.423,0,0,1-1.646-1.22,3.183,3.183,0,0,1-.6-1.979,3.126,3.126,0,0,1,.67-1.853l0-.007a3.554,3.554,0,0,1,1.7-1.228,2.424,2.424,0,0,1,.739-.112,4.152,4.152,0,0,1,1.31.242l.829.275v-9.6a12.856,12.856,0,0,1,7.553,4.3,12.482,12.482,0,0,1-9.5,20.6Z" transform="translate(-8828.199 -2841.371)" fill="currentColor"/> </svg> Albums
  392. </a>
  393. </li>
  394. <li class="">
  395. <a href="https://starchilds.fr/spotlight" data-load="spotlight">
  396. <svg xmlns="http://www.w3.org/2000/svg" width="20.631" height="24.9" viewBox="0 0 20.631 24.9"> <path id="Path_7233" data-name="Path 7233" d="M8838.615,2866.2h0l-7.295-7.285a10.323,10.323,0,1,1,14.594,0l-7.3,7.287Zm0-23.534a8.946,8.946,0,0,0-8.264,5.517,8.753,8.753,0,0,0-.508,5.178,8.9,8.9,0,0,0,2.445,4.579l6.326,6.34,6.326-6.34a8.911,8.911,0,0,0,2.445-4.576,8.946,8.946,0,0,0-3.8-9.191A8.886,8.886,0,0,0,8838.615,2842.665Z" transform="translate(-8828.301 -2841.3)" fill="currentColor"/> </svg> Spotlight
  397. </a>
  398. </li>
  399. <li class="">
  400. <a href="https://starchilds.fr/genres" data-load="genres">
  401. <svg xmlns="http://www.w3.org/2000/svg" width="19.093" height="23.901" viewBox="0 0 19.093 23.901"> <path id="Subtraction_34" data-name="Subtraction 34" d="M8837.182,2863.9h-1.264v-4.6l-.45-.044a9.68,9.68,0,0,1-5.761-2.684,10.215,10.215,0,0,1-2.707-5.26h1.283a8.426,8.426,0,0,0,16.535,0h1.274a10.15,10.15,0,0,1-2.7,5.26,9.682,9.682,0,0,1-5.761,2.684l-.453.044v4.6Zm-.631-9.056a4.925,4.925,0,0,1-3.641-1.543l-.018-.016a5.1,5.1,0,0,1-1.5-3.6V2847.7h1.266v1.985a3.9,3.9,0,0,0,7.79,0V2847.7h1.264v1.985a5.109,5.109,0,0,1-1.5,3.6l-.02.016A4.934,4.934,0,0,1,8836.551,2854.846Zm-3.894-8.142h-1.266v-1.545a5.1,5.1,0,0,1,1.5-3.6l.018-.015a4.932,4.932,0,0,1,3.641-1.541,4.2,4.2,0,0,1,1.937.4l.033.016.037.011a3.967,3.967,0,0,1,1.635,1.112l.037.033a4.466,4.466,0,0,1,1.088,1.625,4.909,4.909,0,0,1,.394,1.958v1.544h-1.264v-1.545a3.9,3.9,0,0,0-7.79,0v1.545Z" transform="translate(-8827 -2840)" fill="currentColor"/> </svg> Genres
  402. </a>
  403. </li>
  404. <li class="">
  405. <a href="https://starchilds.fr/playlists" data-load="playlists">
  406. <svg xmlns="http://www.w3.org/2000/svg" width="23.707" height="19.162" viewBox="0 0 23.707 19.162"> <g id="Group_9318" data-name="Group 9318" transform="translate(-2.51 -457.207)"> <path id="Path_6453" data-name="Path 6453" d="M3469,13930.909h11.364v2.272H3469Zm0-7.955h15.909v2.273H3469Zm0-7.954h22.727v2.272H3469Z" transform="translate(-3466 -13457.303)" fill="currentColor" class="icon_stroke" stroke-width="0.98"/> <path id="Path_7235" data-name="Path 7235" d="M82.656,1.8a3.89,3.89,0,0,1-1.892-.448c-.4-.234-.634-.527-.634-.8V.524a.531.531,0,0,0-1.063,0V7.255A2.865,2.865,0,1,0,80.13,9.472c0-.005,0-.01,0-.016s0-.005,0-.008V2.193a4.8,4.8,0,0,0,2.526.652.524.524,0,1,0,0-1.048Zm-5.44,9.5a1.826,1.826,0,1,1,1.851-1.826A1.84,1.84,0,0,1,77.217,11.3Z" transform="translate(-57.46 463.533)" fill="currentColor"/> </g> </svg> Playlists
  407. </a>
  408. </li>
  409. <li class="">
  410. <a href="https://starchilds.fr/fame" data-load="fame">
  411. <svg xmlns="http://www.w3.org/2000/svg" width="26" height="23.728" viewBox="0 0 26 23.728"> <path id="Path_6305" data-name="Path 6305" d="M3584.546,13078.682h2.272v11.363h-2.272Zm-4.546,3.409h2.272v4.545H3580Zm9.091-9.091h2.273v20.454h-2.273Zm4.545,2.271h2.273v20.456h-2.273Zm4.546,3.41h2.272v11.363h-2.272Zm4.546,3.409H3605v4.545h-2.272Z" transform="translate(-3579.5 -13072.5)" fill="currentColor" class="icon_stroke" stroke-width="1"/> </svg>
  412. Top écoutes
  413. </a>
  414. </li>
  415. <li class="">
  416. <a href="https://starchilds.fr/point-system" data-load="point-system">
  417. <svg xmlns="http://www.w3.org/2000/svg" width="24.659" height="22.655" viewBox="0 0 24.659 22.655"> <g id="Group_9322" data-name="Group 9322" transform="translate(-7.751 -625.474)"> <path id="Path_7236" data-name="Path 7236" d="M8820.372,2870.056a15.79,15.79,0,0,1-7.756-1.818l-.677-.375-.253.729a.493.493,0,0,1-.187.233l-.014.009a.422.422,0,0,1-.261.077h-3.432a.481.481,0,0,1-.492-.494v-10.291a.484.484,0,0,1,.492-.494h3.432a.53.53,0,0,1,.35.142.535.535,0,0,1,.143.352v.65h.649a7.381,7.381,0,0,1,4.549,1.576l.177.14h2.707a4.485,4.485,0,0,1,3.346,1.5l.194.217h3.894a5.1,5.1,0,0,1,2.7.78,5.168,5.168,0,0,1,1.691,1.76,14.286,14.286,0,0,1-4.992,3.9A14.773,14.773,0,0,1,8820.372,2870.056Zm-8.654-10.291v6.759l.316.188.038.022a14.183,14.183,0,0,0,8.3,2.334,13.654,13.654,0,0,0,5.136-.993,13.157,13.157,0,0,0,4.264-2.764l.7-.645-.705-.59-.016-.011a4.084,4.084,0,0,0-2.246-.858l-.239-.013h-3.252l.173.789a4.665,4.665,0,0,1,.111,1v.494H8815.3v-.989h8.055l-.333-.878-.044-.124-.016-.029a3.6,3.6,0,0,0-1.2-1.379,3.471,3.471,0,0,0-1.737-.6l-3.308,0a6.347,6.347,0,0,0-4.352-1.714Zm-3.43-1.144v9.3h2.442v-9.3Z" transform="translate(-8799.4 -2222.076)" fill="currentColor" class="icon_stroke" stroke-width="0.3"/> <path id="Path_6605" data-name="Path 6605" d="M3366.446,7177.582l-3.682,2.248,1-4.2-3.276-2.806,4.3-.345,1.659-3.983,1.653,3.983,4.3.345-3.275,2.806,1,4.2Z" transform="translate(-3344.385 -6543.025)" fill="currentColor"/> </g> </svg> Gagnez des points
  418. </a>
  419. </li>
  420. </ul>
  421.  
  422. <ul class="sections">
  423. <h3>Boutique</h3>
  424. <li class="">
  425. <a href="https://starchilds.fr/store/songs" data-load="store/songs">
  426. <svg xmlns="http://www.w3.org/2000/svg" width="28.05" height="28.05" viewBox="0 0 28.05 28.05"> <g id="Group_9324" data-name="Group 9324" transform="translate(-2.94 -712.3)"> <path id="Path_6772" data-name="Path 6772" d="M3772.806,8082.976l5.555,5.554-1.83,1.83-5.555-5.555a11.672,11.672,0,1,1,1.83-1.829Zm-2.609-.962a9.053,9.053,0,1,0-.182.183Z" transform="translate(-3748.36 -7351)" fill="currentColor" class="icon_stroke" stroke-width="1.4"/> <g id="Icon_feather-globe" data-name="Icon feather-globe" transform="translate(9.476 718.914)"> <path id="Path_7238" data-name="Path 7238" d="M14.747,8.873A5.873,5.873,0,1,1,8.873,3,5.873,5.873,0,0,1,14.747,8.873Z" transform="translate(-3 -3)" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="0.9"/> <path id="Path_7239" data-name="Path 7239" d="M3,18H14.747" transform="translate(-3 -12.127)" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="0.9"/> <path id="Path_7240" data-name="Path 7240" d="M14.349,3A8.986,8.986,0,0,1,16.7,8.873a8.986,8.986,0,0,1-2.349,5.873A8.986,8.986,0,0,1,12,8.873,8.986,8.986,0,0,1,14.349,3Z" transform="translate(-8.476 -3)" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="0.9"/> </g> </g> </svg> Explorer
  427. </a>
  428. </li>
  429. <li class="">
  430. <a href="https://starchilds.fr/purchased" data-load="purchased">
  431. <svg xmlns="http://www.w3.org/2000/svg" width="24.999" height="25.196" viewBox="0 0 24.999 25.196"> <path id="Union_6" data-name="Union 6" d="M8827.667,2865.2a.66.66,0,0,1-.667-.667v-.083l1.126-14.553a.634.634,0,0,1,.206-.425l.015-.01a.641.641,0,0,1,.446-.178h2.082v-.659a8.666,8.666,0,0,1,2.524-6.1,8.63,8.63,0,0,1,12.2,0,8.659,8.659,0,0,1,2.528,6.1v.659h2.078a.646.646,0,0,1,.448.178l.015.01a.631.631,0,0,1,.207.422l1.127,14.581a.694.694,0,0,1-.163.493.7.7,0,0,1-.432.232Zm.719-1.332h22.225l-1.02-13.254H8829.4Zm6.067-20.509a7.208,7.208,0,0,0-2.234,4.941l-.043.982h14.611v-.659a7.274,7.274,0,0,0-6.967-7.277l-.292-.012-.028,0A7.267,7.267,0,0,0,8834.453,2843.356Zm2.395,13.218v-2.653h5.306v2.653Z" transform="translate(-8827 -2840)" fill="currentColor"/> </svg> Mes achats
  432. </a>
  433. </li>
  434. <li class="">
  435. <a href="https://starchilds.fr/store/products" data-load="store/products">
  436. <svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"> <path id="Path_4908" data-name="Path 4908" d="M3440.75,1557.063v11.687a1.238,1.238,0,0,1-1.25,1.25h-20a1.238,1.238,0,0,1-1.25-1.25v-11.687a4.986,4.986,0,0,1-1.25-3.313v-7.5a1.238,1.238,0,0,1,1.25-1.25h22.5a1.238,1.238,0,0,1,1.25,1.25v7.5A5.033,5.033,0,0,1,3440.75,1557.063Zm-2.5,1.525a4.879,4.879,0,0,1-2.713-.063,4.948,4.948,0,0,1-2.287-1.462,5.217,5.217,0,0,1-1.688,1.25,5.078,5.078,0,0,1-4.125,0,5.206,5.206,0,0,1-1.687-1.25,5.077,5.077,0,0,1-2.288,1.475,5,5,0,0,1-2.713.05v8.912h17.5Zm-6.25-4.838a1.25,1.25,0,1,1,2.5,0,2.5,2.5,0,0,0,5,0v-6.25h-20v6.25a2.5,2.5,0,0,0,5,0,1.25,1.25,0,1,1,2.5,0,2.5,2.5,0,0,0,5,0Z" transform="translate(-3416.5 -1544.5)" fill="currentColor" class="icon_stroke" stroke-width="1"/> </svg>
  437. Produits
  438. </a>
  439. </li>
  440. </ul>
  441. <ul class="sections">
  442. <h3>Mes interactions</h3>
  443. <li  class="">
  444. <a href="https://starchilds.fr/recently_played" data-load="recently_played">
  445. <svg xmlns="http://www.w3.org/2000/svg" width="26.1" height="23.654" viewBox="0 0 26.1 23.654"> <g id="Group_9328" data-name="Group 9328" transform="translate(-37.95 -889.95)"> <path id="Path_6433" data-name="Path 6433" d="M3477.775,13807.426l6.1,4.123c.075,0,.125.125.162.125.038.125.063.125.063.25s-.025.123-.062.25c-.037,0-.087.123-.162.123l-6.1,4.125a.259.259,0,0,0-.25.125c-.087,0-.175-.125-.262-.125s-.15-.125-.187-.125a1.658,1.658,0,0,1-.075-.25v-8.246a1.646,1.646,0,0,1,.075-.252c.038,0,.112-.123.188-.123s.175-.127.262-.127A.257.257,0,0,0,3477.775,13807.426Z" transform="translate(-3429.128 -12910.147)" fill="currentColor"/> <path id="Path_7243" data-name="Path 7243" d="M3468.993,13802h24.914l.086,21.242v1.309l-24.992-.176v-1.133Zm2.508,2.5v17.494h19.993V13804.5Z" transform="translate(-3430.493 -12911.5)" fill="currentColor" class="icon_stroke" stroke-width="1.1"/> </g> </svg> Joué récemment
  446. </a>
  447. </li>
  448. <li  class="">
  449. <a href="https://starchilds.fr/my_playlists" data-load="my_playlists">
  450. <svg xmlns="http://www.w3.org/2000/svg" width="23.707" height="19.162" viewBox="0 0 23.707 19.162"> <g id="Group_9318" data-name="Group 9318" transform="translate(-2.51 -457.207)"> <path id="Path_6453" data-name="Path 6453" d="M3469,13930.909h11.364v2.272H3469Zm0-7.955h15.909v2.273H3469Zm0-7.954h22.727v2.272H3469Z" transform="translate(-3466 -13457.303)" fill="currentColor" class="icon_stroke" stroke-width="0.98"/> <path id="Path_7235" data-name="Path 7235" d="M82.656,1.8a3.89,3.89,0,0,1-1.892-.448c-.4-.234-.634-.527-.634-.8V.524a.531.531,0,0,0-1.063,0V7.255A2.865,2.865,0,1,0,80.13,9.472c0-.005,0-.01,0-.016s0-.005,0-.008V2.193a4.8,4.8,0,0,0,2.526.652.524.524,0,1,0,0-1.048Zm-5.44,9.5a1.826,1.826,0,1,1,1.851-1.826A1.84,1.84,0,0,1,77.217,11.3Z" transform="translate(-57.46 463.533)" fill="currentColor"/> </g> </svg> Mes playlists
  451. </a>
  452. </li>
  453. <li class="">
  454. <a href="https://starchilds.fr/favourites" data-load="favourites">
  455. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.25" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M19.5 12.572l-7.5 7.428l-7.5 -7.428m0 0a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572"></path></svg> Favoris
  456. </a>
  457. </li>
  458. </ul>
  459. </div>
  460. </div>
  461. </div>
  462. <script>
  463. function OpenStoreMenu(self) {
  464. $(self).find('span').find('svg').remove();
  465. if ($(".mystore_menu").is(":visible")) {
  466. $(".mystore_menu").slideUp();
  467. $(self).find('span').append('<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-plus"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>');
  468. }
  469. else{
  470. $(".mystore_menu").slideDown();
  471. $(self).find('span').append('<svg style="float: right;width: 15px !important;height: 15px !important;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="15" height="15" preserveAspectRatio="xMidYMid meet" viewBox="0 0 1024 1024"><path d="M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" fill="currentColor"/></svg>');
  472. }
  473. }
  474.  
  475. current_width = $(window).width();
  476.  
  477. if(current_width < 1190) {
  478. $(document).on('click', '.sidebar .sidebar_innr a', function() {
  479. $('body').removeClass('side_open');
  480. });
  481. }
  482. </script>
  483.  
  484. <!-- End Sidebar  -->
  485.  
  486. <!-- Header  -->
  487. <div id="main-header">
  488. <header class="vlc_no_usr_hdr">
  489. <div class="head_menu" id="open_slide" onclick="SlideSetCookie('open_slide')">
  490. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.25" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><line x1="4" y1="6" x2="20" y2="6"></line><line x1="4" y1="12" x2="20" y2="12"></line><line x1="4" y1="18" x2="20" y2="18"></line></svg>
  491. </div>
  492. <div class="head_logo loggd_hd_logo">
  493. <a class="brans" href="https://starchilds.fr/">
  494. <img src="https://starchilds.fr/themes/volcano/img/logo.png?cache=123" alt="">
  495. </a>
  496. </div>
  497. <div class="mu_left_hdr_part">
  498. <div class="head_search">
  499. <form onSubmit="event.preventDefault(); goToAjaxLink('search/songs/' + $('#search_keyword').val());"><!--action="https://starchilds.fr/search/songs" method="POST" >-->
  500. <div class="head_search_cont">
  501. <input name="search_keyword" id="search_keyword" value="" type="text" class="form-control" placeholder="Recherchez des chansons, des artistes, des playlists et plus encore." onfocus="Ma_OpenTrending();" autocomplete="off"/>
  502. <svg xmlns="http://www.w3.org/2000/svg" width="24.6" height="24.599" viewBox="0 0 24.6 24.599"><g id="Group_9414" data-name="Group 9414" transform="translate(0.6 0.6)"><path id="Path_6571" data-name="Path 6571" d="M3706.635,6944A10.635,10.635,0,1,1,3696,6954.635,10.636,10.636,0,0,1,3706.635,6944Zm0,18.906a8.271,8.271,0,1,0-8.271-8.271A8.265,8.265,0,0,0,3706.635,6962.907Z" transform="translate(-3696 -6944)" fill="currentColor" class="icon_stroke" stroke-width="1.2"/><path id="Path_215773" data-name="Path 215773" d="M3716.667,6962.989l3.333,3.345-1.667,1.666-3.344-3.332Z" transform="translate(-3696 -6944)" fill="currentColor"/>  </g></svg>
  503. <div class="head_search_mobi_close" id="close_search">
  504. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" /></svg>
  505. </div>
  506. <div class="search_dropdown hidden">
  507. <div class="trend_head"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M16,6L18.29,8.29L13.41,13.17L9.41,9.17L2,16.59L3.41,18L9.41,12L13.41,16L19.71,9.71L22,12V6H16Z" /></svg> À la mode maintenant</div>
  508. <div class="serach_trend"><a href="https://starchilds.fr/search/songs/starch" data-load="search/songs/starch"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>&nbsp;&nbsp;starch</a></div>
  509. <div class="serach_trend"><a href="https://starchilds.fr/search/songs/kaba" data-load="search/songs/kaba"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>&nbsp;&nbsp;kaba</a></div>
  510. <div class="serach_trend"><a href="https://starchilds.fr/search/songs/Album" data-load="search/songs/Album"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>&nbsp;&nbsp;Album</a></div>
  511. <div class="serach_trend"><a href="https://starchilds.fr/search/songs/playa" data-load="search/songs/playa"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>&nbsp;&nbsp;playa</a></div>
  512. <div class="serach_trend"><a href="https://starchilds.fr/search/songs/chiv" data-load="search/songs/chiv"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>&nbsp;&nbsp;chiv</a></div>
  513. <div class="serach_trend"><a href="https://starchilds.fr/search/songs/abdel" data-load="search/songs/abdel"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>&nbsp;&nbsp;abdel</a></div>
  514. <div class="serach_trend"><a href="https://starchilds.fr/search/songs/star" data-load="search/songs/star"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>&nbsp;&nbsp;star</a></div>
  515. <div class="serach_trend"><a href="https://starchilds.fr/search/songs/kabana" data-load="search/songs/kabana"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>&nbsp;&nbsp;kabana</a></div>
  516. <div class="serach_trend"><a href="https://starchilds.fr/search/songs/boun" data-load="search/songs/boun"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>&nbsp;&nbsp;boun</a></div>
  517. <div class="serach_trend"><a href="https://starchilds.fr/search/songs/Nodark" data-load="search/songs/Nodark"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>&nbsp;&nbsp;Nodark</a></div>
  518. <div class="text-center see_all">
  519. <a href="https://starchilds.fr/search/songs" data-load="search/songs"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"></path></svg> Recherche Avancée</a>
  520. </div>
  521. </div>
  522. </div>
  523. </form>
  524. </div>
  525. </div>
  526.  
  527. <div class="mu_right_hdr_part head_user not_loggd_hdrr">
  528. <!--<a href="#" data-toggle="modal" data-target="#login_box" class="btn login hide_hd_btn">Connexion</a>
  529. <a href="#" data-toggle="modal" data-target="#signup_box" class="btn btn-primary btn-mat hide_hd_btn">Inscription</a>
  530. -->
  531. <span class="opts_account opts_head_acc dropdown">
  532. <div class="ds_hdr_top_btns" data-display="static" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  533. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12,19.2C9.5,19.2 7.29,17.92 6,16C6.03,14 10,12.9 12,12.9C14,12.9 17.97,14 18,16C16.71,17.92 14.5,19.2 12,19.2M12,5A3,3 0 0,1 15,8A3,3 0 0,1 12,11A3,3 0 0,1 9,8A3,3 0 0,1 12,5M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"></path></svg>
  534. </div>
  535. <div class="dropdown-menu dropdown-menu-right mat-dropdown acct">
  536. <ul class="list-unstyled mb-0">
  537. <li><a href="#" data-toggle="modal" data-target="#login_box"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M10 11V8l5 4-5 4v-3H1v-2h9zm-7.542 4h2.124A8.003 8.003 0 0 0 20 12 8 8 0 0 0 4.582 9H2.458C3.732 4.943 7.522 2 12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10c-4.478 0-8.268-2.943-9.542-7z"/></svg>&nbsp;&nbsp;Connexion</a></li>
  538. <li><a href="#" data-toggle="modal" data-target="#signup_box"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M14 14.252v2.09A6 6 0 0 0 6 22l-2-.001a8 8 0 0 1 10-7.748zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm6 6v-3h2v3h3v2h-3v3h-2v-3h-3v-2h3z"/></svg>&nbsp;&nbsp;Inscription</a></li>
  539. <li class="divider"></li>
  540. <li class="toggle-mode top-header">
  541. <label class="switch">
  542. <span class="txt">Mode nuit</span>
  543. <input type="checkbox" id="night_mode_toggle" data-mode='day'>
  544. <span class="slider nigh_day_ico">
  545. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"></path><path fill="currentColor" d="M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zm0-2a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85l1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"></path></svg>
  546. </span>
  547. </label>
  548. </li>
  549. </ul>
  550. </div>
  551. </span>
  552. </div>
  553. </header>
  554. </div>
  555. <div id="bar_loading"></div>
  556. <!-- End Header  -->
  557.  
  558. <!-- Content  -->
  559. <div id="container_content">
  560. <div class="ma_page_content">
  561. <div class="ma_pc_inner">
  562. <div class="user_profile">
  563. <div class="page_padding">
  564. <!-- User Profile -->
  565. <div class="content user_header">
  566. <div class="user_cover">
  567. <div class="artist_profile_cover">
  568. <img src="https://starchilds.fr/upload/photos/d-cover.jpg" alt="User Cover" id="cover">
  569. </div>
  570. </div>
  571. <div class="user_info_cont">
  572. <div class="mus_usr_prof_hd">
  573. <div class="user_avatar">
  574. <img src="https://starchilds.fr/upload/photos/d-avatar.jpg" alt="User Avatar" id="avatar">
  575. </div>
  576. <div class="personal_info">
  577. <div class="name">
  578. <h2>
  579. <a href="https://starchilds.fr/wqemariameliss" data-load="wqemariameliss">wqemariameliss</a>
  580. </h2>
  581. <p>@wqemariameliss</p>
  582. </div>
  583. <div class="links_btns mus_usr_prof_links">
  584. <div class="opts_btn">
  585. </div>
  586. </div>
  587. </div>
  588. </div>
  589. </div>
  590. <div class="ma_tabs mus_user_tabs">
  591. <ul class="list-unstyled mb-0">
  592. <li class="active">
  593. <a href="https://starchilds.fr/wqemariameliss" data-load="wqemariameliss">Activités</a>
  594. </li>
  595. <li class="">
  596. <a href="https://starchilds.fr/wqemariameliss/songs" data-load="wqemariameliss/songs">Chansons</a>
  597. </li>
  598. <li class="">
  599. <a href="https://starchilds.fr/wqemariameliss/albums" data-load="wqemariameliss/albums">Albums</a>
  600. </li>
  601. <li class="">
  602. <a href="https://starchilds.fr/wqemariameliss/playlists" data-load="wqemariameliss/playlists">Playlists</a>
  603. </li>
  604. <li class="">
  605. <a href="https://starchilds.fr/wqemariameliss/liked" data-load="wqemariameliss/liked">Aimé</a>
  606. </li>
  607. </ul>
  608. </div>
  609. </div>
  610.  
  611. <div class="row">
  612. <div class="col-lg-8">
  613. <div class="feed_post_block store_songs">
  614. <div id="user-feed-data">
  615. <div class="no-track-found bg_light"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M3,7H9V13H3V7M3,3H21V5H3V3M21,11V13H11V11H21M3,15H17V17H3V15M3,19H21V21H3V19Z" /></svg>Aucune activité trouvée</div>
  616. </div>
  617.  
  618. </div>
  619. </div>
  620. <!-- SIDEBAR -->
  621. <div class="col-lg-4">
  622. <div class="content mt-0">
  623. <div class="sidebar_widget">
  624. <ul class="list-unstyled user_side_info_list">
  625. <ul class="user_side_info_list_innr">
  626. <li>
  627. Titres
  628. <span>0</span>
  629. </li>
  630. <li>
  631. <a href="https://starchilds.fr/wqemariameliss/followers" data-load="wqemariameliss/followers">Followers<span class="followers">3</span></a>
  632. </li>
  633. <li>
  634. <a href="https://starchilds.fr/wqemariameliss/following" data-load="wqemariameliss/following">Following<span class="following">5</span></a>
  635. </li>
  636. </ul>
  637. <li>
  638. <svg xmlns="http://www.w3.org/2000/svg" width="14.277" height="21.615" viewBox="0 0 14.277 21.615"> <path id="Path_6888" data-name="Path 6888" d="M3701.467,14457.68a6.588,6.588,0,0,1-4.406-2.479,6.688,6.688,0,0,1-1.542-4.775,6.942,6.942,0,0,1,2.166-4.59,6.946,6.946,0,0,1,9.41,0,6.942,6.942,0,0,1,2.166,4.59,6.908,6.908,0,0,1-5.957,7.254v1.926h4.59v1.838h-4.59v3.672h-1.836v-3.672h-4.59v-1.838h4.59Zm.918-1.744a5.17,5.17,0,0,0,3.571-1.469,5.076,5.076,0,0,0,0-7.16,5.07,5.07,0,0,0-7.142,0,5.074,5.074,0,0,0,0,7.16A5.168,5.168,0,0,0,3702.386,14455.936Z" transform="translate(-3695.252 -14443.75)" fill="currentColor" stroke="#fff" stroke-width="0.5"/> </svg> Homme
  639. </li>
  640. <li>
  641. <svg xmlns="http://www.w3.org/2000/svg" width="21.147" height="18.048" viewBox="0 0 21.147 18.048"> <path id="Path_6595" data-name="Path 6595" d="M3371,7124h-2a8.993,8.993,0,0,0-7.97,4.81q-.03-.405-.03-.81a10,10,0,0,1,10-10v-5.5l10.5,8.5-10.5,8.5Zm-2-2h4v3.31l5.32-4.31-5.32-4.31V7120h-2a8.1,8.1,0,0,0-3.33.72,7.988,7.988,0,0,0-2.73,2.05A11.046,11.046,0,0,1,3369,7122Z" transform="translate(-3360.75 -7111.976)" fill="currentColor" stroke="#fff" stroke-width="0.5"/> </svg> Liens sociaux
  642. </li>
  643. <li class="user_social_links">
  644. </li>
  645. <li>
  646. <svg xmlns="http://www.w3.org/2000/svg" width="22.5" height="21.825" viewBox="0 0 22.5 21.825"> <path id="Path_6840" data-name="Path 6840" d="M3244,14241a8.138,8.138,0,0,1,2.34-5.7,8.115,8.115,0,0,1,11.32,0,8.138,8.138,0,0,1,2.34,5.7h-2a5.828,5.828,0,0,0-1.76-4.2,5.894,5.894,0,0,0-8.48,0,5.828,5.828,0,0,0-1.76,4.2Zm8-9a6,6,0,1,1,6-6A6,6,0,0,1,3252,14232Zm0-2a4,4,0,1,0-4-4A4.005,4.005,0,0,0,3252,14230Zm12.55-10.2a13.661,13.661,0,0,1,1.45,6.2,14.06,14.06,0,0,1-1.45,6.2l-1.65-1.2a12.031,12.031,0,0,0,1.1-5,11.663,11.663,0,0,0-1.1-5Zm-3.3,2.4a10,10,0,0,1,0,7.6l-1.68-1.2a8.074,8.074,0,0,0,0-5.2Z" transform="translate(-3243.75 -14219.425)" fill="currentColor" stroke="#fff" stroke-width="0.5"/> </svg> Bio
  647. </li>
  648. <li class="user_bio">
  649. O blog é um reflexo da minha paixão pela moda infantil. Cada post é escrito com cuidado e atenção aos detalhes, com o objetivo de ajudar outras mães a fazerem as melhores escolhas para seus filhos.
  650. </li>
  651. <li class="webs">
  652. <svg xmlns="http://www.w3.org/2000/svg" width="20.16" height="20.16" viewBox="0 0 20.16 20.16"> <path id="Path_4926" data-name="Path 4926" d="M3483.06,1761.11l1.42,1.41a6.975,6.975,0,0,1,1.51,7.63,6.943,6.943,0,0,1-1.51,2.27l-.36.36a7,7,0,0,1-9.9-9.9l1.42,1.41a5.155,5.155,0,0,0-1.1,1.63,4.969,4.969,0,0,0-.38,1.91,4.863,4.863,0,0,0,.37,1.92,5.035,5.035,0,0,0,2.72,2.72,4.863,4.863,0,0,0,1.92.37,4.969,4.969,0,0,0,1.91-.38,5.156,5.156,0,0,0,1.63-1.1l.35-.35a5.01,5.01,0,0,0,0-7.07l-1.41-1.42,1.41-1.41Zm6.72,6.01-1.42-1.41a5.155,5.155,0,0,0,1.1-1.63,4.969,4.969,0,0,0,.38-1.91,4.863,4.863,0,0,0-.37-1.92,5.035,5.035,0,0,0-2.72-2.72,4.863,4.863,0,0,0-1.92-.37,4.969,4.969,0,0,0-1.91.38,5.156,5.156,0,0,0-1.63,1.1l-.35.35a5.01,5.01,0,0,0,0,7.07l1.41,1.41-1.41,1.42-1.41-1.42a6.816,6.816,0,0,1-1.52-2.27,6.9,6.9,0,0,1,0-5.35,6.961,6.961,0,0,1,1.52-2.28l.35-.35a7,7,0,0,1,9.9,9.9Z" transform="translate(-3471.92 -1754.92)" fill="currentColor" stroke="#fff" stroke-width="0.5"/> </svg> <a class="text-white" href="https://www.pililimodainfantil.com.br/bermuda-infantil/masculina" target="_blank">https://www.pililimodainfantil.com.br/bermuda-infantil/masculina</a>
  653. </li>
  654. </ul>
  655.  
  656. </div>
  657. </div>
  658. <div class="content">
  659. <div class="sidebar_widget">
  660. <h2 class="home_widget_title home_big_title mt-2 mb-3">Artistes à suivre</h2>
  661. <div class="feed_sidebar_artist">
  662. <div class="artist_list">
  663. <a href="https://starchilds.fr//StarChilds"  class="artist_list_innr">
  664. <svg xmlns="http://www.w3.org/2000/svg" width="83.396" height="83.396" viewBox="0 0 83.396 83.396"> <path id="ic_play_circle_filled_24px" d="M43.7,2A41.7,41.7,0,1,0,85.4,43.7,41.713,41.713,0,0,0,43.7,2Zm-8.34,60.462V24.934L60.378,43.7Z" transform="translate(-2 -2)" fill="#fff"/> </svg>
  665. <div class="cover_art">
  666. <img src="https://starchilds.fr/upload/photos/2023/10/wGBOUYVdpDQj9VPapzBQ_15_a4bbe462721c3a64e0cae1bec923a797_image.jpeg">
  667. </div>
  668. <div class="track_info">
  669. <span class="artist">Star Childs</span>
  670. </div>
  671. </a>
  672. </div> </div>
  673. </div> <div class="sidebar_widget mt-4 mb-0 feed_sidebar_song">
  674. <h2 class="home_widget_title home_big_title mt-2 mb-3">Top titres hebdomadaires</h2>
  675. <div class="store_songs">
  676. <div class="song_list">
  677. <div class="avatar">
  678. <a href="https://starchilds.fr/track/AvHNEvfMqRZ3c94" data-load="track/AvHNEvfMqRZ3c94"><img src="https://starchilds.fr/upload/photos/2023/10/cydnKZskp8w2clOPar53_15_d820057ab1ebec4486dee37903abaa7c_image.jpg"></a>
  679. </div>
  680. <div class="song_right_part">
  681. <div class="song_upper">
  682. <div class="song_meta_info">
  683. <a href="https://starchilds.fr/track/AvHNEvfMqRZ3c94" data-load="track/AvHNEvfMqRZ3c94"><h3>Nodärk - Way Of Life</h3></a>
  684. <a href="https://starchilds.fr/Alain" data-load="Alain"><p>Playa Paraiso</p></a>
  685. </div>
  686. </div>
  687. </div>
  688. </div>
  689. <svg onclick="playSong('AvHNEvfMqRZ3c94');" xmlns="http://www.w3.org/2000/svg" width="30" height="29.996" viewBox="0 0 30 29.996"> <path id="Path_7225" data-name="Path 7225" d="M8827,2855a15,15,0,1,1,15,15A15.016,15.016,0,0,1,8827,2855Zm9.949-12.238a12.831,12.831,0,0,0-4.295,2.829,13.393,13.393,0,0,0,0,18.817,12.853,12.853,0,0,0,4.295,2.833,13.645,13.645,0,0,0,10.1,0,12.827,12.827,0,0,0,4.294-2.833,13.388,13.388,0,0,0,0-18.817,12.833,12.833,0,0,0-4.294-2.829,13.642,13.642,0,0,0-10.1,0Zm1.607,17.038c-.075,0-.15-.126-.187-.126a1.6,1.6,0,0,1-.076-.253v-8.327a1.6,1.6,0,0,1,.076-.253c.037,0,.112-.125.188-.125s.178-.128.266-.128a.259.259,0,0,0,.251.128l6.159,4.165c.075,0,.125.124.163.124a.624.624,0,0,1,.063.253c0,.124-.024.124-.062.253-.038,0-.088.126-.163.126l-6.159,4.163a.261.261,0,0,0-.251.125C8838.735,2859.924,8838.646,2859.8,8838.558,2859.8Z" transform="translate(-8827.001 -2840)" fill="var(--main-color)"/> </svg>
  690. </div>
  691. <div class="store_songs">
  692. <div class="song_list">
  693. <div class="avatar">
  694. <a href="https://starchilds.fr/track/W3xYWwym3ki3uwR" data-load="track/W3xYWwym3ki3uwR"><img src="https://starchilds.fr/upload/photos/2023/10/GAjlO2mf2P9R1mOtAI6R_14_8bfc2b129a94bf197fe436c4af9a183a_image.png"></a>
  695. </div>
  696. <div class="song_right_part">
  697. <div class="song_upper">
  698. <div class="song_meta_info">
  699. <a href="https://starchilds.fr/track/W3xYWwym3ki3uwR" data-load="track/W3xYWwym3ki3uwR"><h3>let u down</h3></a>
  700. <a href="https://starchilds.fr/StarChilds" data-load="StarChilds"><p>Star Childs</p></a>
  701. </div>
  702. </div>
  703. </div>
  704. </div>
  705. <svg onclick="playSong('W3xYWwym3ki3uwR');" xmlns="http://www.w3.org/2000/svg" width="30" height="29.996" viewBox="0 0 30 29.996"> <path id="Path_7225" data-name="Path 7225" d="M8827,2855a15,15,0,1,1,15,15A15.016,15.016,0,0,1,8827,2855Zm9.949-12.238a12.831,12.831,0,0,0-4.295,2.829,13.393,13.393,0,0,0,0,18.817,12.853,12.853,0,0,0,4.295,2.833,13.645,13.645,0,0,0,10.1,0,12.827,12.827,0,0,0,4.294-2.833,13.388,13.388,0,0,0,0-18.817,12.833,12.833,0,0,0-4.294-2.829,13.642,13.642,0,0,0-10.1,0Zm1.607,17.038c-.075,0-.15-.126-.187-.126a1.6,1.6,0,0,1-.076-.253v-8.327a1.6,1.6,0,0,1,.076-.253c.037,0,.112-.125.188-.125s.178-.128.266-.128a.259.259,0,0,0,.251.128l6.159,4.165c.075,0,.125.124.163.124a.624.624,0,0,1,.063.253c0,.124-.024.124-.062.253-.038,0-.088.126-.163.126l-6.159,4.163a.261.261,0,0,0-.251.125C8838.735,2859.924,8838.646,2859.8,8838.558,2859.8Z" transform="translate(-8827.001 -2840)" fill="var(--main-color)"/> </svg>
  706. </div>
  707. <div class="store_songs">
  708. <div class="song_list">
  709. <div class="avatar">
  710. <a href="https://starchilds.fr/track/sShCYy1Y1Ss1tzo" data-load="track/sShCYy1Y1Ss1tzo"><img src="https://starchilds.fr/upload/photos/2023/10/Fq659cdvg5JGi31nk6Es_14_b9f120aacefac1338aee3cc92d029143_image.png"></a>
  711. </div>
  712. <div class="song_right_part">
  713. <div class="song_upper">
  714. <div class="song_meta_info">
  715. <a href="https://starchilds.fr/track/sShCYy1Y1Ss1tzo" data-load="track/sShCYy1Y1Ss1tzo"><h3>Never coming back</h3></a>
  716. <a href="https://starchilds.fr/StarChilds" data-load="StarChilds"><p>Star Childs</p></a>
  717. </div>
  718. </div>
  719. </div>
  720. </div>
  721. <svg onclick="playSong('sShCYy1Y1Ss1tzo');" xmlns="http://www.w3.org/2000/svg" width="30" height="29.996" viewBox="0 0 30 29.996"> <path id="Path_7225" data-name="Path 7225" d="M8827,2855a15,15,0,1,1,15,15A15.016,15.016,0,0,1,8827,2855Zm9.949-12.238a12.831,12.831,0,0,0-4.295,2.829,13.393,13.393,0,0,0,0,18.817,12.853,12.853,0,0,0,4.295,2.833,13.645,13.645,0,0,0,10.1,0,12.827,12.827,0,0,0,4.294-2.833,13.388,13.388,0,0,0,0-18.817,12.833,12.833,0,0,0-4.294-2.829,13.642,13.642,0,0,0-10.1,0Zm1.607,17.038c-.075,0-.15-.126-.187-.126a1.6,1.6,0,0,1-.076-.253v-8.327a1.6,1.6,0,0,1,.076-.253c.037,0,.112-.125.188-.125s.178-.128.266-.128a.259.259,0,0,0,.251.128l6.159,4.165c.075,0,.125.124.163.124a.624.624,0,0,1,.063.253c0,.124-.024.124-.062.253-.038,0-.088.126-.163.126l-6.159,4.163a.261.261,0,0,0-.251.125C8838.735,2859.924,8838.646,2859.8,8838.558,2859.8Z" transform="translate(-8827.001 -2840)" fill="var(--main-color)"/> </svg>
  722. </div>
  723. </div> </div>
  724. </div>
  725. </div>
  726. <!-- End User Profile -->
  727. </div>
  728. </div>
  729. </div>
  730. <input type="hidden" id="user-id" name="user-id" value="30">
  731. </div>
  732.  
  733. <script>
  734. $(function () {
  735. $('[data-toggle="tooltip"]').tooltip()
  736. })
  737.  
  738. $('svg .verified_ico').tooltip({
  739. title: 'Vérifié',
  740. placement: 'top',
  741. container: 'body'
  742. });
  743.  
  744. var loading_icon = '<svg width="24px"  height="24px"  xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="lds-dual-ring" style="background: none;"><circle cx="50" cy="50" ng-attr-r="{{config.radius}}" ng-attr-stroke-width="{{config.width}}" ng-attr-stroke="{{config.stroke}}" ng-attr-stroke-dasharray="{{config.dasharray}}" fill="none" stroke-linecap="round" r="40" stroke-width="8" stroke="#28292f" stroke-dasharray="62.83185307179586 62.83185307179586" transform="rotate(308.458 50 50)"><animateTransform attributeName="transform" type="rotate" calcMode="linear" values="0 50 50;360 50 50" keyTimes="0;1" dur="0.7s" begin="0s" repeatCount="indefinite"></animateTransform></circle></svg>';
  745. var camera_icon = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z"></path></svg>';
  746. var video_icon = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 512 512"><path fill="currentColor" d="M450.6 153.6c-3.3 0-6.5.9-9.3 2.7l-86.5 54.6c-2.5 1.6-4 4.3-4 7.2v76c0 2.9 1.5 5.6 4 7.2l86.5 54.6c2.8 1.7 6 2.7 9.3 2.7h20.8c4.8 0 8.6-3.8 8.6-8.5v-188c0-4.7-3.9-8.5-8.6-8.5h-20.8zM273.5 384h-190C55.2 384 32 360.8 32 332.6V179.4c0-28.3 23.2-51.4 51.4-51.4h190c28.3 0 51.4 23.2 51.4 51.4v153.1c.1 28.3-23 51.5-51.3 51.5z"></path></svg>';
  747.  
  748. $(document).ready(function() {
  749.    $('#user-change-avatar-form').ajaxForm({
  750.     url: "https://starchilds.fr/endpoints/user/update-profile-picture?hash_id=" + getHashID(),
  751.        beforeSubmit:  function () {
  752.         $('#change-avatar-icon .icon').html(loading_icon);
  753.        },
  754.        success: function (data) {
  755.         if (data.status == 200) {
  756.         $('#avatar').attr('src', data.img);
  757.         }
  758.         $('#change-avatar-icon .icon').html(camera_icon);
  759.        }
  760.    });
  761.  
  762.    $('#user-change-cover-form').ajaxForm({
  763.     url: "https://starchilds.fr/endpoints/user/update-profile-cover?hash_id=" + getHashID(),
  764.        beforeSubmit:  function (arr, form, options) {
  765.         if (arr[0].value != '') {
  766.         $('#change-cover-icon .icon').html(loading_icon);
  767.         }
  768.         else{
  769.         $('#change-cover-icon .videoicon').html(loading_icon);
  770.         }
  771.        },
  772.        success: function (data) {
  773.         if (data.status == 200) {
  774.         if (data.img) {
  775.         $('.artist_profile_cover').html('<img src="'+data.img+'" alt="User Cover" id="cover">');
  776.         }
  777.         else{
  778.         $('.artist_profile_cover').html('<video autoplay muted loop id="myVideo"><source src="'+data.video+'" type="video/mp4">Your browser does not support HTML5 video.</video>');
  779.         }
  780.         }
  781.         else{
  782.         $('#ShowAlert').find('.ShowAlertText').html('<div class="alert alert-danger">'+data.message+'</div>');
  783.         $('#ShowAlert').modal('show');
  784.         }
  785.         $('#change-cover-icon .icon').html(camera_icon);
  786.         $('#change-cover-icon .videoicon').html(video_icon);
  787.        }
  788.    });
  789. });
  790.  
  791. $(document).on('change', '#user-avatar', function(event) {
  792. $("#user-change-avatar-form").submit();
  793. });
  794. $(document).on('change', '#user-cover', function(event) {
  795. $("#user-change-cover-form").submit();
  796. });
  797. $(document).on('change', '#user-video', function(event) {
  798. $("#user-change-cover-form").submit();
  799. });
  800. $(document).on('click', '.artist_profile_cover', function(event) {
  801. var video = document.getElementById("myVideo");
  802. if (video.paused) {
  803.    video.play();
  804.    btn.innerHTML = "Pause";
  805.  } else {
  806.    video.pause();
  807.    btn.innerHTML = "Play";
  808.  }
  809. });
  810.  
  811. </script>
  812. </div>
  813. <!-- End Content  -->
  814.  
  815. <!-- Footer -->
  816. <div class="ma_footer">
  817. <div class="ma_footer_cright">
  818. <div class="ma_footer_links">
  819. <div class="lang_select dropup">
  820. <button type="button" class="btn dropdown-toggle" data-toggle="modal" data-target="#select-language"><svg xmlns="http://www.w3.org/2000/svg" width="16.66" height="16.66" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-globe"><circle cx="12" cy="12" r="10"></circle><line x1="2" y1="12" x2="22" y2="12"></line><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path></svg> French</button>
  821. </div>
  822. </div>
  823. <div class="ma_footer_links">
  824. <a href="https://starchilds.fr/blogs" data-load="blogs">Articles</a>&nbsp;&nbsp;•&nbsp;&nbsp;
  825. <a href="https://starchilds.fr/terms/dmca" data-load="terms/dmca">DMCA</a>&nbsp;&nbsp;•&nbsp;&nbsp;
  826. <a href="https://starchilds.fr/terms/about" data-load="terms/about">À propos de nous</a>&nbsp;&nbsp;•&nbsp;&nbsp;
  827. <a href="https://starchilds.fr/terms/terms" data-load="terms/terms">termes</a>&nbsp;&nbsp;•&nbsp;&nbsp;
  828. <a href="https://starchilds.fr/contact" data-load="contact">Contact</a>&nbsp;&nbsp;•&nbsp;&nbsp;
  829. <a href="https://starchilds.fr/terms/privacy" data-load="terms/privacy">Politique de confidentialité</a>&nbsp;&nbsp;•&nbsp;&nbsp;
  830. <a href="https://starchilds.fr/terms/faqs" data-load="terms/faqs">FAQ</a>
  831.  
  832. </div>
  833. <div class="ma_footer_links">
  834. © 2024 Star Childs </div>
  835. </div> </div>
  836. <!-- End Footer -->
  837. </div>
  838. <!-- Player  -->
  839. <div class="ma_player closed">
  840. <div class="player">
  841. <div class="player-video-preview" id="my_video_player_container">
  842. <div class="y_player_cover"></div>
  843. <div class="plyr__video-embed" id="my_video_player_">
  844. <!-- <iframe
  845.    src="https://www.youtube.com/watch?v=rMHx_iUAGd0?origin=https://plyr.io&amp;iv_load_policy=3&amp;modestbranding=1&amp;playsinline=1&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1"
  846.    allowfullscreen
  847.    allowtransparency
  848.    allow="autoplay"
  849.  ></iframe> -->
  850. </div>
  851. </div>
  852. <div class="song_details">
  853. <div class="song_details_inner player-song-url" data-load="">
  854. <div class="song_art">
  855. <a href="#" class="player-song-url" data-load=""><img amplitude-song-info="cover_art_url" amplitude-main-song-info="true"/></a>
  856. </div>
  857. <div class="song_title">
  858. <a href="#" class="player-song-url" data-load="">
  859. <h3 amplitude-song-info="name" amplitude-main-song-info="true" class="song_name"></h3>
  860. </a>
  861. <div class="song_fav" title="Favorite" id="song-fav-button"></div>
  862. <div class="song_time_sec">
  863. <span class="current_time">
  864. <span class="amplitude-current-hours" amplitude-main-current-hours="true"></span>:<span class="amplitude-current-minutes" amplitude-main-current-minutes="true"></span>:<span class="amplitude-current-seconds" amplitude-main-current-seconds="true"></span>
  865. </span>
  866. <span class="duration_seperate">/</span>
  867. <span class="duration_time">
  868. <span class="amplitude-duration-hours" amplitude-main-duration-hours="true"></span>:<span class="amplitude-duration-minutes" amplitude-main-duration-minutes="true"></span>:<span class="amplitude-duration-seconds" amplitude-main-duration-seconds="true"></span>
  869. </span>
  870. </div>
  871. </div>
  872. </div>
  873. </div>
  874. <div class="song_progress">
  875. <div class="song_time">
  876. <span class="current_time">
  877. <span class="amplitude-current-hours" amplitude-main-current-hours="true"></span>:<span class="amplitude-current-minutes" amplitude-main-current-minutes="true"></span>:<span class="amplitude-current-seconds" amplitude-main-current-seconds="true"></span>
  878. </span>
  879. <div class="song_prog_mobi">
  880. <div class="progress_container">
  881. <input type="range" class="amplitude-song-slider" amplitude-main-song-slider="true"/>
  882. <progress id="song-played-progress" class="amplitude-song-played-progress" amplitude-main-song-played-progress="true"></progress>
  883. <progress id="song-buffered-progress" class="amplitude-buffered-progress" value="0"></progress>
  884. </div>
  885. </div>
  886. <span class="duration_seperate">/</span>
  887. <span class="duration_time">
  888. <span class="amplitude-duration-hours" amplitude-main-duration-hours="true"></span>:<span class="amplitude-duration-minutes" amplitude-main-duration-minutes="true"></span>:<span class="amplitude-duration-seconds" amplitude-main-duration-seconds="true"></span>
  889. </span>
  890. </div>
  891. <div class="song_controls">
  892. <div class="amplitude-shuffle amplitude-shuffle-off" id="shuffle" title="Mélanger">
  893. <svg xmlns="http://www.w3.org/2000/svg" width="23.062" height="23.601" viewBox="0 0 23.062 23.601"> <g id="music-suffle" transform="translate(-4.723 -4.567)"> <path id="Path_215762" data-name="Path 215762" d="M27.548,5.354l-1.039,7.023-2.5-2.5L6,27.885l-1-1L23.015,8.88l-2.5-2.5ZM20.135,18.863,24.07,22.8l2.439-2.439L27.54,27.39l-7.023-1.037,2.558-2.558L19.136,19.86l1-1ZM6.008,4.85l8.157,8.159-1,1L5.009,5.849Z" transform="translate(0 0)" fill="currentColor" class="icon_stroke" stroke-width="0.4" fill-rule="evenodd"/> </g> </svg>
  894. </div>
  895. <div class="amplitude-prev" id="previous">
  896. <svg xmlns="http://www.w3.org/2000/svg" width="14.182" height="23.035" viewBox="0 0 14.182 23.035"> <path id="Subtraction_40" data-name="Subtraction 40" d="M8828.667,2864.033a.622.622,0,0,1-.461-.189.648.648,0,0,1-.207-.479v-21.7a.647.647,0,0,1,.207-.477.653.653,0,0,1,.923,0,.637.637,0,0,1,.206.477v21.7a.638.638,0,0,1-.206.479A.624.624,0,0,1,8828.667,2864.033Zm13.407-3.185h0a.7.7,0,0,0-.1-.042l-11.855-7.888-.6-.4,12.459-8.289a.814.814,0,0,0,.1-.044.658.658,0,0,0,.08.036c.006.013.012.024.018.034l0,.007h0l.006.01v16.494a.237.237,0,0,1-.015.03l-.01.019a.832.832,0,0,0-.082.035Zm-1.228-14.291h0l-8.859,5.957,8.859,5.961v-11.918Z" transform="translate(-8827.999 -2840.999)" fill="currentColor"/> </svg>
  897. </div>
  898. <div class="amplitude-play-pause" amplitude-main-play-pause="true" id="play-pause"></div>
  899. <div class="amplitude-next" id="next">
  900. <svg xmlns="http://www.w3.org/2000/svg" width="14.182" height="23.035" viewBox="0 0 14.182 23.035"> <path id="Subtraction_42" data-name="Subtraction 42" d="M.668,0A.622.622,0,0,0,.207.189.648.648,0,0,0,0,.668v21.7a.647.647,0,0,0,.207.477.618.618,0,0,0,.461.191.62.62,0,0,0,.462-.191.637.637,0,0,0,.206-.477V.668A.638.638,0,0,0,1.13.189.624.624,0,0,0,.668,0ZM14.075,3.185h0a.7.7,0,0,1-.1.042L2.115,11.115l-.6.4,12.459,8.289a.814.814,0,0,1,.1.044.658.658,0,0,1,.08-.036c.006-.013.012-.024.018-.034l0-.007h0l.006-.01V3.269a.237.237,0,0,0-.015-.03l-.01-.019a.832.832,0,0,1-.082-.035ZM12.848,17.475h0L3.988,11.518l8.859-5.961V17.475Z" transform="translate(14.182 23.035) rotate(180)" fill="currentColor"/> </svg>
  901. </div>
  902. <div class="amplitude-repeat amplitude-repeat-on" id="repeat" title="Répéter">
  903. <svg xmlns="http://www.w3.org/2000/svg" width="26.435" height="26.914" viewBox="0 0 26.435 26.914"> <path id="Path_6414" data-name="Path 6414" d="M3529.644,13691.386h16.932a1.081,1.081,0,0,1,.8.339,1.1,1.1,0,0,1,.327.79v7.9h-2.258v-6.771h-15.8v3.386l-5.644-4.516,5.644-4.516Zm13.546,18.062h-16.932a1.083,1.083,0,0,1-.8-.339,1.1,1.1,0,0,1-.327-.79v-7.9h2.258v6.773h15.8v-3.387l5.644,4.516-5.644,4.515Z" transform="translate(-3523.2 -13686.959)" fill="currentColor" class="icon_stroke" stroke-width="1"/> </svg>
  904. </div>
  905. </div>
  906. </div>
  907. <div class="song_progress_right">
  908. <div class="song_volume">
  909. <div class="volume_controls">
  910. <div class="amplitude-mute amplitude-not-muted"></div>
  911. <div class="plyr_vol_mobi">
  912. <input type="range" class="amplitude-volume-slider"/>
  913. <div class="ms-range-fix"></div>
  914. </div>
  915. </div>
  916. </div>
  917. <div class="song_rs_controls">
  918. <div class="repeat_container">
  919. <div class="amplitude-playback-speed amplitude-playback-speed-10"></div>
  920. </div>
  921. </div>
  922. <div class="song_queue song_queued" onclick="Ma_ShowQueue();">
  923. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M18 5v8.333c-.455-.216-.957-.346-1.493-.346-1.934 0-3.507 1.573-3.507 3.507S14.573 20 16.507 20s3.507-1.573 3.507-3.507c0-.177-.027-.347-.053-.517H20V6h2V4h-3C18.447 4 18 4.448 18 5zM2 5H16V7H2z"/><path fill="currentColor" d="M2 9H16V11H2zM2 13H11V15H2zM2 17H11V19H2z"/></svg>
  924. </div>
  925. <div class="song_queue" onclick="clearQueues();">
  926. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"/></svg>
  927. </div>
  928. </div>
  929. <div class="ma_player_playlist" data-simplebar>
  930. <div class="queue_head">
  931. <h4>Queue</h4>
  932. <span onclick="clearQueues();" title="Clair"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="currentColor" d="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"/></svg></span>
  933. </div>
  934. <div id="queue-list">
  935. </div>
  936. </div>
  937. </div>
  938. </div>
  939. <!-- End Player  -->
  940. </div>
  941.  
  942. <!-- Login Modal  -->
  943. <!-- Modal -->
  944. <div class="modal fade auth_box_prnt" id="login_box" tabindex="-1" role="dialog" aria-labelledby="login_box" aria-hidden="true">
  945. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" /></svg></button>
  946. <div class="modal-dialog auth_box" role="document">
  947. <div class="modal-content">
  948. <div class="right_combo">
  949. <div class="navbar-brand">
  950. <img src="https://starchilds.fr/themes/volcano/img/logo.png?cache=123" alt="">
  951. </div>
  952. <h2>Connexion</h2>
  953. <p>Accédez à votre musique, à vos playlists et à votre compte</p>
  954. <div class="alert alert-danger alert-empty" id="output-errors"></div>
  955. <form method="post" action="" method="POST" id="login-form">
  956. <div class="form-group mat_input">
  957. <input type="text" class="form-control" placeholder="Nom d'utilisateur" autofocus name="username">
  958. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M4 22a8 8 0 1 1 16 0h-2a6 6 0 1 0-12 0H4zm8-9c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4z"/></svg>
  959. </div>
  960. <div class="form-group mat_input">
  961. <input type="password" class="form-control" placeholder="Mot de passe" name="password">
  962. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18 8h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2V7a6 6 0 1 1 12 0v1zM5 10v10h14V10H5zm6 4h2v2h-2v-2zm-4 0h2v2H7v-2zm8 0h2v2h-2v-2zm1-6V7a4 4 0 1 0-8 0v1h8z"/></svg>
  963. </div>
  964. <div class="forgot_password">
  965. <div class="check_box remember_me">
  966. <input type="checkbox" name="remember_device" id="remember_device" checked>
  967. <label for="remember_device">
  968. Rappelez-vous cet appareil
  969. </label>
  970. <div class="clear"></div>
  971. </div>
  972. <a href="https://starchilds.fr/forgot-password">Mot de passe oublié?</a>
  973. </div>
  974. <input type="hidden" name="last_url" class="login_last_url">
  975. <button type="submit" class="btn btn-primary btn-mat" id="btn-submit">Connexion</button>
  976. </form>
  977. <div class="signup_">
  978. <span>Vous n'avez pas de compte?</span>
  979. <a href="#" data-dismiss="modal" data-toggle="modal" data-target="#signup_box">S'inscrire</a>
  980. </div>
  981. <div class="ma_social_login">
  982. </div>
  983. </div>
  984. <div class="left_combo" style="background-image: url(https://starchilds.fr/themes/volcano/img/auth/singing.jpg);">
  985. <h2>Vivez votre journée <span>Star Childs</span> <img src="https://starchilds.fr/themes/volcano/img/icon.png" /></h2>
  986. </div>
  987. </div>
  988. </div>
  989. </div>
  990.  
  991. <script>
  992. $(document).ready(function() {
  993.    var options = {
  994.     url: "https://starchilds.fr/endpoints/auth/login?hash_id=" + getHashID(),
  995.        beforeSubmit:  function () {
  996.         $('#output-errors').empty();
  997.         $("#btn-submit").text("S'il vous plaît, attendez..");
  998.        },
  999.        success: function (data) {
  1000.         $("#btn-submit").text("Connexion");
  1001.         if (data.status == 200) {
  1002.         if (data.last_url) {
  1003.         window.location.href = data.last_url;
  1004.         return false;
  1005.         }
  1006.         if ($('#page').attr('data-page') != 'home' && $('#page').attr('data-page') != 'forgot' && $('#page').attr('data-page') != 'reset') {
  1007.         $('#main-header').html(data.header);
  1008.         $('#login_box').modal('hide');
  1009.         if (Amplitude.getActiveSongMetadata().price > 0) {
  1010.         location.href = window.location.href;
  1011.         } else {
  1012.         location.href = window.location.href;
  1013.         }
  1014. $("[data-load='feed']").parent().removeClass("hidden");
  1015.         } else {
  1016.         location.href = window.location.href;
  1017.         }
  1018.         } else if (data.status == 400) {
  1019.         var errros = data.errors.join("<br>");
  1020.         $('#output-errors').html(errros);
  1021.         } else if (data.status == 600) {
  1022.                location.href = data.location;
  1023.            }
  1024.        }
  1025.    };
  1026.  
  1027.    $('#login-form').ajaxForm(options);
  1028. });
  1029. </script>
  1030. <!-- End Login Modal  -->
  1031.  
  1032. <!-- Signup Modal  -->
  1033. <!-- Modal -->
  1034. <div class="modal fade auth_box_prnt" id="signup_box" tabindex="-1" role="dialog" aria-labelledby="signup_box" aria-hidden="true">
  1035. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" /></svg></button>
  1036. <div class="modal-dialog auth_box" role="document">
  1037. <div class="modal-content">
  1038. <div class="right_combo">
  1039. <div class="navbar-brand">
  1040. <img src="https://starchilds.fr/themes/volcano/img/logo.png?cache=123" alt="">
  1041. </div>
  1042. <h2>S'inscrire</h2>
  1043. <p>Accédez à votre musique, à vos playlists et à votre compte</p>
  1044. <div class="alert alert-danger alert-empty" id="output-singup-errors"></div>
  1045. <form method="post" action="POST" id="signup-form">
  1046. <div class="form-group mat_input">
  1047. <input type="text" name="name" class="form-control" placeholder="Nom complet" autofocus>
  1048. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M4 22a8 8 0 1 1 16 0h-2a6 6 0 1 0-12 0H4zm8-9c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4z"/></svg>
  1049. </div>
  1050. <div class="form-group mat_input">
  1051. <input type="text" name="username" class="form-control" placeholder="Nom d'utilisateur">
  1052. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M4 22a8 8 0 1 1 16 0h-2a6 6 0 1 0-12 0H4zm8-9c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4z"/></svg>
  1053. </div>
  1054. <div class="form-group mat_input">
  1055. <input type="email" name="email" class="form-control" placeholder="Adresse électronique">
  1056. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm17 4.238l-7.928 7.1L4 7.216V19h16V7.238zM4.511 5l7.55 6.662L19.502 5H4.511z"/></svg>
  1057. </div>
  1058. <div class="form-group mat_input">
  1059. <input type="password" name="password" class="form-control" placeholder="Mot de passe" id="password">
  1060. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18 8h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2V7a6 6 0 1 1 12 0v1zM5 10v10h14V10H5zm6 4h2v2h-2v-2zm-4 0h2v2H7v-2zm8 0h2v2h-2v-2zm1-6V7a4 4 0 1 0-8 0v1h8z"/></svg>
  1061. </div>
  1062. <div class="form-group mat_input">
  1063. <input type="password" name="c_password" class="form-control" placeholder="Confirmez le mot de passe">
  1064. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18 8h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2V7a6 6 0 1 1 12 0v1zM5 10v10h14V10H5zm6 4h2v2h-2v-2zm-4 0h2v2H7v-2zm8 0h2v2h-2v-2zm1-6V7a4 4 0 1 0-8 0v1h8z"/></svg>
  1065. </div>
  1066. <div class="recaptcha">
  1067. </div>
  1068. <div class="terms_check">
  1069. <span>En vous inscrivant, vous acceptez notre</span>
  1070. <a href="https://starchilds.fr/terms/terms">termes</a>
  1071. <span>et</span>
  1072. <a href="https://starchilds.fr/terms/privacy">Politique de confidentialité</a>
  1073. </div>
  1074. <button type="submit" class="btn btn-primary btn-mat" id="btn-singup-submit">S'inscrire</button>
  1075. </form>
  1076. <div class="signup_">
  1077. <span>Vous avez déjà un compte?</span>
  1078. <a href="#" data-dismiss="modal" data-toggle="modal" data-target="#login_box">Connexion</a>
  1079. </div>
  1080. </div>
  1081. <div class="left_combo register" style="background-image: url(https://starchilds.fr/themes/volcano/img/auth/register.png);">
  1082. <h3>Des titres uniques et exclusifs pour toutes les humeurs et toutes les occasions</h3>
  1083. <div class="row">
  1084. <div class="col-3">
  1085. <svg class="top" xmlns="http://www.w3.org/2000/svg" width="51.633" height="51.682" viewBox="0 0 51.633 51.682"> <g id="Group_9888" data-name="Group 9888" transform="translate(-1109 -695.318)"> <g transform="translate(10.051 -42.949)"> <g id="Rectangle_3432" data-name="Rectangle 3432" transform="translate(1098.949 749.949)" fill="none" stroke="#fff" stroke-width="1"> <rect width="40" height="40" rx="6" stroke="none"/> <rect x="0.5" y="0.5" width="39" height="39" rx="5.5" fill="none"/> </g> <g id="Group_9318" data-name="Group 9318" transform="translate(1108.972 761.968)"> <path id="Subtraction_45" data-name="Subtraction 45" d="M9.464,15.535H0V14.164H9.464v1.37Zm4.048-7.082H0V7.082H13.512v1.37Zm6.069-7.082H0V0H19.581V1.37Z" transform="translate(0 0)" fill="#fff"/> <path id="Path_7235" data-name="Path 7235" d="M81.74,1.6a3.463,3.463,0,0,1-1.685-.4C79.7.993,79.491.732,79.491.486V.467a.473.473,0,0,0-.946,0V6.459a2.551,2.551,0,1,0,.946,1.974s0-.009,0-.014,0,0,0-.007V1.953a4.27,4.27,0,0,0,2.249.58.467.467,0,1,0,0-.933ZM76.9,10.059a1.625,1.625,0,1,1,1.648-1.625A1.639,1.639,0,0,1,76.9,10.059Z" transform="translate(-62.306 4.869)" fill="#fff"/> </g> </g> <path id="Subtraction_46" data-name="Subtraction 46" d="M10856.77,1580.2h0a13.591,13.591,0,0,0-4.876-5.964l.494-1.774a15.166,15.166,0,0,1,6.233,7.628l-1.851.111Zm6.592-.363h0a19.572,19.572,0,0,0-3.637-6.947,19.283,19.283,0,0,0-6.1-4.976l.473-1.752a21.064,21.064,0,0,1,7.01,5.622,21.318,21.318,0,0,1,4.082,7.959l-1.824.1Z" transform="translate(-9704.555 -870.846)" fill="#fff"/> </g> </svg>
  1086. <p>Créez votre propre liste de lecture</p>
  1087. </div>
  1088. <div class="col-5">
  1089. <svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"> <g transform="translate(-1098.949 -749.949)"> <g id="Rectangle_3432" data-name="Rectangle 3432" transform="translate(1098.949 749.949)" fill="none" stroke="#fff" stroke-width="1"> <rect width="40" height="40" rx="6" stroke="none"/> <rect x="0.5" y="0.5" width="39" height="39" rx="5.5" fill="none"/> </g> <path id="Subtraction_47" data-name="Subtraction 47" d="M10709.106,1626.985a3.671,3.671,0,0,1-1.342-.249,3.749,3.749,0,0,1-2.247-4.4l.085-.342-4.99-2.734-.238.257a3.647,3.647,0,0,1-1.892,1.091l0,0a3.753,3.753,0,0,1-.823.093,3.619,3.619,0,0,1-1.358-.264,3.659,3.659,0,0,1-1.708-1.372,3.765,3.765,0,0,1,0-4.2,3.646,3.646,0,0,1,1.708-1.372,3.75,3.75,0,0,1,1.373-.262,3.576,3.576,0,0,1,.808.091l.007,0a3.614,3.614,0,0,1,1.89,1.091l.238.257,4.99-2.734-.085-.342a3.745,3.745,0,0,1,2.247-4.4,3.679,3.679,0,0,1,1.342-.252,3.734,3.734,0,0,1,.01,7.468,3.353,3.353,0,0,1-.35-.017,3.72,3.72,0,0,1-2.359-1.169l-.238-.254-4.987,2.734.083.342a3.774,3.774,0,0,1,0,1.832l-.083.342,4.99,2.734.238-.257a3.651,3.651,0,0,1,2.356-1.166c.113-.011.229-.016.343-.016a3.749,3.749,0,0,1,2.184.706,3.73,3.73,0,0,1-2.187,6.759Zm.013-6.282a2.557,2.557,0,0,0-2.534,2.548,2.543,2.543,0,0,0,.747,1.8,2.512,2.512,0,0,0,3.577,0,2.541,2.541,0,0,0,0-3.6A2.513,2.513,0,0,0,10709.119,1620.7Zm-11.457-6.284a2.509,2.509,0,0,0-1.787.751,2.541,2.541,0,0,0,0,3.6,2.506,2.506,0,0,0,3.577,0,2.538,2.538,0,0,0,0-3.6A2.511,2.511,0,0,0,10697.662,1614.419Zm11.457-6.284a2.507,2.507,0,0,0-1.787.751,2.538,2.538,0,0,0,0,3.6,2.506,2.506,0,0,0,3.577,0,2.549,2.549,0,0,0-1.79-4.348Z" transform="translate(-9584.443 -847.019)" fill="#fff"/> </g> </svg>
  1090. <p>Partagez de la musique avec vos amis et votre famille</p>
  1091. </div>
  1092. <div class="col-4">
  1093. <svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"> <g transform="translate(-1098.949 -749.949)"> <g id="Rectangle_3432" data-name="Rectangle 3432" transform="translate(1098.949 749.949)" fill="none" stroke="#fff" stroke-width="1"> <rect width="40" height="40" rx="6" stroke="none"/> <rect x="0.5" y="0.5" width="39" height="39" rx="5.5" fill="none"/> </g> <path id="Path_6728" data-name="Path 6728" d="M3535.636,7856.374l-7.81-7.811.029-.059a5.6,5.6,0,0,1,4.3-8.935c.069,0,.138,0,.207,0a5.607,5.607,0,0,0,6.54,0c.069,0,.138,0,.207,0a5.6,5.6,0,0,1,4.312,8.924l.031.059Zm-6.5-8.184,6.5,6.5,6.5-6.5.132-.153a4.417,4.417,0,0,0-6.24-6.217l-.388.335-.388-.335a4.412,4.412,0,0,0-2.882-1.07c-.054,0-.109,0-.163,0a4.414,4.414,0,0,0-3.2,7.284Z" transform="translate(-2417.124 -7077.917)" fill="#fff"/> </g> </svg>
  1094. <p>Enregistrez vos favoris</p>
  1095. </div>
  1096. </div>
  1097. </div>
  1098. </div>
  1099. </div>
  1100. </div>
  1101.  
  1102. <style>
  1103. </style>
  1104. <script>
  1105. $(document).ready(function() {
  1106.    var options = {
  1107.     url: "https://starchilds.fr/endpoints/auth/signup?hash_id=" + getHashID() + '',
  1108.        beforeSubmit:  function () {
  1109.                 $('#output-singup-errors').removeClass("alert-success").addClass('alert-danger');
  1110.         $('#output-singup-errors').empty();
  1111.         $("#btn-singup-submit").text("S'il vous plaît, attendez..");
  1112.                },
  1113.        success: function (data) {
  1114.         $("#btn-singup-submit").text("S'inscrire");
  1115.         if (data.status == 200) {
  1116.  
  1117.            if( typeof data.link !== "undefined" ){
  1118.                    location.href = 'https://starchilds.fr';
  1119. }
  1120.  
  1121.         if ($('#page').attr('data-page') != 'home' && $('#page').attr('data-page') != 'forgot' && $('#page').attr('data-page') != 'reset') {
  1122.         $('#main-header').html(data.header);
  1123.         $('#signup_box').modal('hide');
  1124.  
  1125.         if (Amplitude.getActiveSongMetadata().price > 0) {
  1126.         location.href = 'https://starchilds.fr/interest';//window.location.href;
  1127.         } else {
  1128.         ajaxRedirect('interest');
  1129.         }
  1130.         } else {
  1131.         location.href = 'https://starchilds.fr/interest';//window.location.href;
  1132.         }
  1133.         } else if (data.status == 400) {
  1134.         var errros = data.errors.join("<br>");
  1135.         $('#output-singup-errors').html(errros);
  1136.         } else if (data.status == 403) {
  1137.         $('#output-singup-errors').removeClass("alert-danger").addClass('alert-success');
  1138.         $('#output-singup-errors').html(data.message);
  1139.            }
  1140.        }
  1141.    };
  1142.  
  1143.    $('#signup-form').ajaxForm(options);
  1144. });
  1145. </script>
  1146. <!-- End Signup Modal  -->
  1147.  
  1148. <!-- Modals -->
  1149. <div class="modal fade" id="delete-song" tabindex="-1" role="dialog" aria-labelledby="delete-song" aria-hidden="true" data-id="0">
  1150. <div class="modal-dialog mat_box" role="document">
  1151. <div class="modal-content">
  1152. <div class="modal-header">
  1153. <h5 class="modal-title">Supprimer votre titre</h5>
  1154. </div>
  1155. <div class="modal-body">
  1156. Êtes-vous sûr de vouloir supprimer cette piste?
  1157. </div>
  1158. <div class="modal-footer">
  1159. <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  1160. <button type="button" class="btn btn-danger btn-mat" onclick="deleteSong();">Effacer</button>
  1161. </div>
  1162. </div>
  1163. </div>
  1164. </div> <div class="modal fade" id="delete-comment" tabindex="-1" role="dialog" aria-labelledby="delete-comment" aria-hidden="true" data-id="0">
  1165. <div class="modal-dialog mat_box" role="document">
  1166. <div class="modal-content">
  1167. <div class="modal-header">
  1168. <h5 class="modal-title">Supprimer le commentaire</h5>
  1169. </div>
  1170. <div class="modal-body">
  1171. êtes-vous sûr de vouloir supprimer ce commentaire?
  1172. </div>
  1173. <div class="modal-footer">
  1174. <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  1175. <button type="button" class="btn btn-danger btn-mat" onclick="deleteComment();">Effacer</button>
  1176. </div>
  1177. </div>
  1178. </div>
  1179. </div>
  1180.  
  1181.  
  1182. <div class="modal fade" id="delete-comment-replay" tabindex="-1" role="dialog" aria-labelledby="delete-comment-replay" aria-hidden="true" data-id="0">
  1183. <div class="modal-dialog mat_box" role="document">
  1184. <div class="modal-content">
  1185. <div class="modal-header">
  1186. <h5 class="modal-title">Supprimer le commentaire</h5>
  1187. </div>
  1188. <div class="modal-body">
  1189. êtes-vous sûr de vouloir supprimer ce commentaire?
  1190. </div>
  1191. <div class="modal-footer">
  1192. <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  1193. <button type="button" class="btn btn-danger btn-mat" onclick="deleteCommentReplay(this);">Effacer</button>
  1194. </div>
  1195. </div>
  1196. </div>
  1197. </div> <div class="modal fade" id="delete-post" tabindex="-1" role="dialog" aria-labelledby="delete-post" aria-hidden="true" data-id="0">
  1198. <div class="modal-dialog mat_box" role="document">
  1199. <div class="modal-content">
  1200. <div class="modal-header">
  1201. <h5 class="modal-title">Supprimer votre post</h5>
  1202. </div>
  1203. <div class="modal-body">
  1204. Es-tu sur de vouloir supprimer cette annonce?
  1205. </div>
  1206.  
  1207. <div class="modal-footer">
  1208. <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  1209. <button type="button" class="btn btn-danger btn-mat" onclick="deletePost();">Effacer</button>
  1210. </div>
  1211. </div>
  1212. </div>
  1213. </div> <div class="modal fade" id="reposted" tabindex="-1" role="dialog" aria-labelledby="reposted" aria-hidden="true" data-id="0">
  1214. <div class="modal-dialog mat_box" role="document">
  1215. <div class="modal-content">
  1216. <div class="modal-body">
  1217. <div class="no-track-found" style="padding: 30px 10px;"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"></path></svg> La chanson a été partagée avec succès sur votre timeline.</div>
  1218. </div>
  1219. </div>
  1220. </div>
  1221. </div> <div class="modal fade" id="purchase-song" role="dialog" aria-labelledby="purchase-song" aria-hidden="true" data-id="0">
  1222. <div class="modal-dialog mat_box" role="document">
  1223. <div class="modal-content">
  1224. <div class="modal-header">
  1225. <h5 class="modal-title">Achat requis</h5>
  1226. </div>
  1227. <div class="modal-body">
  1228. Pour continuer à écouter cette piste, vous devez acheter la chanson.
  1229. </div>
  1230. <div class="modal-footer">
  1231. <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  1232. <button type="button" class="btn btn-primary btn-mat" onclick="purchaseTrack($(this));">achat €<span class="price"></span></button>
  1233. </div>
  1234. </div>
  1235. </div>
  1236. </div> <div class="modal fade" id="age-restricted" role="dialog" aria-labelledby="age-restricted" aria-hidden="true" data-id="0">
  1237. <div class="modal-dialog mat_box" role="document">
  1238. <div class="modal-content">
  1239. <div class="modal-header">
  1240. <h5 class="modal-title">Piste d'âge restreint</h5>
  1241. </div>
  1242. <div class="modal-body">
  1243. Ce titre est réservé aux moins de 18 ans., Créez un compte ou connectez-vous pour confirmer votre âge. </div>
  1244. <div class="modal-footer">
  1245. <button type="button" class="btn btn-default" data-dismiss="modal">Fermer</button>
  1246. </div>
  1247. </div>
  1248. </div>
  1249. </div> <div class="modal fade" id="create_copyright_box" tabindex="-1" role="dialog" aria-labelledby="create_copyright_box" aria-hidden="true">
  1250. <div class="modal-dialog mat_box create_playlist" role="document">
  1251. <div class="modal-content">
  1252. <div class="modal-header">
  1253. <h5 class="modal-title">Créer un avis de DMCA</h5>
  1254. </div>
  1255. <form method="post" action="" id="copyright-form">
  1256. <div class="alert alert-danger alert-empty" id="output-copyright-errors"></div>
  1257. <div class="create_playlist_innr">
  1258. <div class="play_info">
  1259. <div class="form-group mat_input" style="text-align: initial;">
  1260. <textarea name="description" id="description" rows="6" style="width: 100%;"></textarea><br>
  1261. <small>Veuillez décrire votre demande avec soin et, dans la mesure du possible, notez que les fausses demandes DMCA peuvent entraîner la fermeture du compte.</small>
  1262. </div>
  1263. <hr>
  1264. <div class="custom-control custom-radio">
  1265. <input type="checkbox" id="confirm_1" name="confirm_1" class="custom-control-input">
  1266. <label class="custom-control-label" for="confirm_1">J'ai la conviction de bonne foi que l'utilisation de l'œuvre protégée par le droit d'auteur décrite ci-dessus n'est pas autorisée par le titulaire du droit d'auteur, son agent ou la loi</label>
  1267. </div>
  1268. <div class="custom-control custom-radio">
  1269. <input type="checkbox" id="confirm_2" name="confirm_2" class="custom-control-input">
  1270. <label class="custom-control-label" for="confirm_2">Je confirme que je suis le titulaire du droit d'auteur ou que je suis autorisé à agir pour le compte du titulaire d'un droit exclusif prétendument violé.</label>
  1271. </div>
  1272. </div>
  1273. </div>
  1274. <input type="hidden" id="song-copyright-id" name="id">
  1275. <div class="modal-footer">
  1276. <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  1277. <button type="submit" class="btn btn-primary btn-mat" id="btn-copyright-submit">Soumettre</button>
  1278. </div>
  1279. </form>
  1280. </div>
  1281. </div>
  1282. </div>
  1283. <script>
  1284. $(document).ready(function() {
  1285.    var options = {
  1286.     url: "https://starchilds.fr/endpoints/copyright-create?hash_id=" + getHashID(),
  1287.        beforeSubmit:  function () {
  1288.         $('#output-copyright-errors').removeClass('alert-success').addClass('alert-danger');
  1289.         $('#output-copyright-errors').empty();
  1290.         $("#btn-copyright-submit").text("S'il vous plaît, attendez..");
  1291.        },
  1292.        success: function (data) {
  1293.         $("#btn-copyright-submit").text("Soumettre");
  1294.         if (data.status == 200) {
  1295.         $('#output-copyright-errors').addClass('alert-success').removeClass('alert-danger');
  1296.         $('#output-copyright-errors').text("Thanks for your submission, we will review your request shortly.");
  1297.         setTimeout(function () {
  1298.         $('#copyright-form')[0].reset();
  1299.         $('#create_copyright_box').modal('hide');
  1300.         closeModal();
  1301.         $('#output-copyright-errors').empty();
  1302.         }, 3000);
  1303.         } else if (data.status == 400) {
  1304.         var errros = data.errors.join("<br>");
  1305.         $('#output-copyright-errors').html(errros);
  1306.         }
  1307.        }
  1308.    };
  1309.  
  1310.    $('#copyright-form').ajaxForm(options);
  1311. });
  1312. </script> <div class="modal fade" id="comment_unreported" tabindex="-1" role="dialog" aria-labelledby="comment_unreported" aria-hidden="true" data-id="0">
  1313.    <div class="modal-dialog mat_box" role="document">
  1314.        <div class="modal-content">
  1315. <div class="modal-body">
  1316. <div class="no-track-found" style="padding: 30px 10px;"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"></path></svg> Le rapport de commentaire a été supprimé avec succès.</div>
  1317.            </div>
  1318.        </div>
  1319.    </div>
  1320. </div>
  1321. <div class="modal fade" id="report_comment" tabindex="-1" role="dialog" aria-labelledby="report_comment" aria-hidden="true">
  1322.    <div class="modal-dialog mat_box create_playlist" role="document">
  1323.        <div class="modal-content">
  1324.            <div class="modal-header">
  1325.                <h5 class="modal-title">Signaler un commentaire.</h5>
  1326.            </div>
  1327.            <form method="post" action="" id="comment-report-form">
  1328.                <div class="alert alert-danger alert-empty" id="output-report-comment-errors"></div>
  1329.                <div class="create_playlist_innr">
  1330.                    <div class="play_info">
  1331.                        <div class="form-group mat_input" style="text-align: initial;">
  1332.                            <textarea name="comment_description" id="comment_description" rows="5" style="width: 100%;"></textarea><br>
  1333.                            <small>Veuillez décrire le lactosérum pour lequel vous souhaitez signaler ce commentaire.</small>
  1334.                        </div>
  1335.                    </div>
  1336.                </div>
  1337.                <input type="hidden" id="comment_id" name="id">
  1338.                <div class="modal-footer">
  1339.                    <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  1340.                    <button type="submit" class="btn btn-primary btn-mat" id="btn-report-comment-submit">Soumettre</button>
  1341.                </div>
  1342.            </form>
  1343.        </div>
  1344.    </div>
  1345. </div>
  1346. <script>
  1347.    $(document).ready(function() {
  1348.        var options = {
  1349.            url: "https://starchilds.fr/endpoints/report-comment?hash_id=" + getHashID(),
  1350.            beforeSubmit:  function () {
  1351.                $('#output-report-comment-errors').removeClass('alert-success').addClass('alert-danger');
  1352.                $('#output-report-comment-errors').empty();
  1353.                $("#btn-report-comment-submit").text("S'il vous plaît, attendez..");
  1354.            },
  1355.            success: function (data) {
  1356.                $("#bbtn-report-comment-submit").text("Soumettre");
  1357.                if (data.status == 200) {
  1358.                    $('#output-report-comment-errors').addClass('alert-success').removeClass('alert-danger');
  1359.                    $('#output-report-comment-errors').text("Thanks for your submission, we will review your request shortly.");
  1360.                    setTimeout(function () {
  1361.                        $('#comment-report-form')[0].reset();
  1362.                        $('#report_comment').modal('hide');
  1363.                        closeModal();
  1364.                        var comment_id = $('#comment_id').val();
  1365.                        $('.comment_report[data-comment-id="'+comment_id+'"]').hide();
  1366.                        $('.comment_unreport[data-comment-id="'+comment_id+'"]').css({'visibility':'inherit'});
  1367.                        $('.comment_unreport[data-comment-id="'+comment_id+'"]').show();
  1368.  
  1369.                        $('#output-report-comment-errors').empty();
  1370.                    }, 3000);
  1371.                } else if (data.status == 400) {
  1372.                    var errros = data.errors.join("<br>");
  1373.                    $('#output-report-comment-errors').html(errros);
  1374.                }
  1375.            }
  1376.        };
  1377.  
  1378.        $('#comment-report-form').ajaxForm(options);
  1379.    });
  1380. </script> <div class="modal fade" id="blog_comment_unreported" tabindex="-1" role="dialog" aria-labelledby="comment_unreported" aria-hidden="true" data-id="0">
  1381.    <div class="modal-dialog mat_box" role="document">
  1382.        <div class="modal-content">
  1383. <div class="modal-body">
  1384. <div class="no-track-found" style="padding: 30px 10px;"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"></path></svg> Le rapport de commentaire a été supprimé avec succès.</div>
  1385.            </div>
  1386.        </div>
  1387.    </div>
  1388. </div>
  1389. <div class="modal fade" id="blog_report_comment" tabindex="-1" role="dialog" aria-labelledby="blog_report_comment" aria-hidden="true">
  1390.    <div class="modal-dialog mat_box create_playlist" role="document">
  1391.        <div class="modal-content">
  1392.            <div class="modal-header">
  1393.                <h5 class="modal-title">Signaler un commentaire.</h5>
  1394.            </div>
  1395.            <form method="post" action="" id="blog-comment-report-form">
  1396.                <div class="alert alert-danger alert-empty" id="output-blog-report-comment-errors"></div>
  1397.                <div class="create_playlist_innr">
  1398.                    <div class="play_info">
  1399.                        <div class="form-group mat_input" style="text-align: initial;">
  1400.                            <textarea name="comment_description" id="blog_comment_description" rows="5" style="width: 100%;"></textarea><br>
  1401.                            <small>Veuillez décrire le lactosérum pour lequel vous souhaitez signaler ce commentaire.</small>
  1402.                        </div>
  1403.                    </div>
  1404.                </div>
  1405.                <input type="hidden" id="blog_comment_id" name="id">
  1406.                <div class="modal-footer">
  1407.                    <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  1408.                    <button type="submit" class="btn btn-primary btn-mat" id="btn-blog-report-comment-submit">Soumettre</button>
  1409.                </div>
  1410.            </form>
  1411.        </div>
  1412.    </div>
  1413. </div>
  1414. <script>
  1415.    $(document).ready(function() {
  1416.        var options = {
  1417.            url: "https://starchilds.fr/endpoints/blog-report-comment?hash_id=" + getHashID(),
  1418.            beforeSubmit:  function () {
  1419.                $('#output-blog-report-comment-errors').removeClass('alert-success').addClass('alert-danger');
  1420.                $('#output-blog-report-comment-errors').empty();
  1421.                $("#btn-blog-report-comment-submit").text("S'il vous plaît, attendez..");
  1422.            },
  1423.            success: function (data) {
  1424.                $("#btn-blog-report-comment-submit").text("Soumettre");
  1425.                if (data.status == 200) {
  1426.                    $('#output-blog-report-comment-errors').addClass('alert-success').removeClass('alert-danger');
  1427.                    $('#output-blog-report-comment-errors').text("Thanks for your submission, we will review your request shortly.");
  1428.                    setTimeout(function () {
  1429.                        $('#blog-comment-report-form')[0].reset();
  1430.                        $('#blog_report_comment').modal('hide');
  1431.                        closeModal();
  1432.                        var comment_id = $('#blog_comment_id').val();
  1433.                        $('.blog_comment_report[data-comment-id="'+comment_id+'"]').hide();
  1434.                        $('.blog_comment_unreport[data-comment-id="'+comment_id+'"]').css({'visibility':'inherit'});
  1435.                        $('.blog_comment_unreport[data-comment-id="'+comment_id+'"]').show();
  1436.  
  1437.                        $('#output-blog-report-comment-errors').empty();
  1438.                    }, 3000);
  1439.                } else if (data.status == 400) {
  1440.                    var errros = data.errors.join("<br>");
  1441.                    $('#output-blog-report-comment-errors').html(errros);
  1442.                }
  1443.            }
  1444.        };
  1445.  
  1446.        $('#blog-comment-report-form').ajaxForm(options);
  1447.    });
  1448. </script> <div class="modal fade" id="track_unreported" tabindex="-1" role="dialog" aria-labelledby="track_unreported" aria-hidden="true" data-id="0">
  1449.    <div class="modal-dialog mat_box" role="document">
  1450.        <div class="modal-content">
  1451.            <div class="modal-body">
  1452. <div class="no-track-found" style="padding: 30px 10px;"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"></path></svg> Le rapport de suivi a été supprimé avec succès.</div>
  1453.            </div>
  1454.        </div>
  1455.    </div>
  1456. </div>
  1457. <div class="modal fade" id="report_track" tabindex="-1" role="dialog" aria-labelledby="report_track" aria-hidden="true">
  1458.    <div class="modal-dialog mat_box create_playlist" role="document">
  1459.        <div class="modal-content">
  1460.            <div class="modal-header">
  1461.                <h5 class="modal-title">Signaler un titre.</h5>
  1462.            </div>
  1463.            <form method="post" action="" id="track-report-form">
  1464.                <div class="alert alert-danger alert-empty" id="output-report-track-errors"></div>
  1465.                <div class="create_playlist_innr">
  1466.                    <div class="play_info">
  1467.                        <div class="form-group mat_input" style="text-align: initial;">
  1468.                            <textarea name="track_description" id="track_description" rows="5" style="width: 100%;"></textarea>
  1469.                            <small>Veuillez décrire le lactosérum que vous souhaitez signaler sur cette piste.</small>
  1470.                        </div>
  1471.                    </div>
  1472.                </div>
  1473.                <input type="hidden" id="report_track_id" name="id">
  1474.                <div class="modal-footer">
  1475.                    <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  1476.                    <button type="submit" class="btn btn-primary btn-mat" id="btn-report-track-submit">Soumettre</button>
  1477.                </div>
  1478.            </form>
  1479.        </div>
  1480.    </div>
  1481. </div>
  1482. <script>
  1483.    $(document).ready(function() {
  1484.        var options = {
  1485.            url: "https://starchilds.fr/endpoints/report-track?hash_id=" + getHashID(),
  1486.            beforeSubmit:  function () {
  1487.                $('#output-report-track-errors').removeClass('alert-success').addClass('alert-danger');
  1488.                $('#output-report-track-errors').empty();
  1489.                $("#btn-report-track-submit").text("S'il vous plaît, attendez..");
  1490.            },
  1491.            success: function (data) {
  1492.                $("#btn-report-track-submit").text("Soumettre");
  1493.                if (data.status == 200) {
  1494.                    $('#output-report-track-errors').addClass('alert-success').removeClass('alert-danger');
  1495.                    $('#output-report-track-errors').text("Merci pour votre soumission, nous examinerons votre demande sous peu.");
  1496.                    setTimeout(function () {
  1497.                        $('#track-report-form')[0].reset();
  1498.                        $('#report_track').modal('hide');
  1499.                        closeModal();
  1500.                        var track_id = $('#report_track_id').val();
  1501.                        $('.track_report[data-track-id="'+track_id+'"]').hide();
  1502.                        $('.track_unreport[data-track-id="'+track_id+'"]').css({'visibility':'inherit'});
  1503.                        $('.track_unreport[data-track-id="'+track_id+'"]').show();
  1504.  
  1505.                        $('#output-report-track-errors').empty();
  1506.                    }, 3000);
  1507.                } else if (data.status == 400) {
  1508.                    var errros = data.errors.join("<br>");
  1509.                    $('#output-report-track-errors').html(errros);
  1510.                }
  1511.            }
  1512.        };
  1513.  
  1514.        $('#track-report-form').ajaxForm(options);
  1515.    });
  1516. </script> <link rel='stylesheet' href='//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css'>
  1517.  
  1518. <style>
  1519.    .success-box {
  1520.        margin:50px 0;
  1521.        padding:10px 10px;
  1522.        border:1px solid #eee;
  1523.        background:#f9f9f9;
  1524.    }
  1525.    .success-box img {
  1526.        margin-right:10px;
  1527.        display:inline-block;
  1528.        vertical-align:top;
  1529.    }
  1530.    .success-box > div {
  1531.        vertical-align:top;
  1532.        display:inline-block;
  1533.        color:#888;
  1534.    }
  1535.    /* Rating Star Widgets Style */
  1536.    .rating-stars ul {
  1537.        list-style-type:none;
  1538.        padding:0;
  1539.  
  1540.        -moz-user-select:none;
  1541.        -webkit-user-select:none;
  1542.    }
  1543.    .rating-stars ul > li.star {
  1544.        display:inline-block;
  1545.  
  1546.    }
  1547.    /* Idle State of the stars */
  1548.    .rating-stars ul > li.star > i.fa {
  1549.        font-size:2.5em; /* Change the size of the stars */
  1550.        color:#ccc; /* Color on idle state */
  1551.    }
  1552.    /* Hover state of the stars */
  1553.    .rating-stars ul > li.star.hover > i.fa {
  1554.        color:#FFCC36;
  1555.    }
  1556.    /* Selected state of the stars */
  1557.    .rating-stars ul > li.star.selected > i.fa {
  1558.        color:#FF912C;
  1559.    }
  1560. </style>
  1561.  
  1562. <div class="modal fade" id="track_unreported" tabindex="-1" role="dialog" aria-labelledby="track_unreported" aria-hidden="true" data-id="0">
  1563.    <div class="modal-dialog mat_box" role="document">
  1564.        <div class="modal-content">
  1565.            <div class="modal-body">
  1566. <div class="no-track-found" style="padding: 30px 10px;"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"></path></svg> Le rapport de suivi a été supprimé avec succès.</div>
  1567.            </div>
  1568.        </div>
  1569.    </div>
  1570. </div>
  1571. <div class="modal fade" id="review_track" tabindex="-1" role="dialog" aria-labelledby="report_track" aria-hidden="true">
  1572.    <div class="modal-dialog mat_box create_playlist" role="document">
  1573.        <div class="modal-content">
  1574.            <div class="modal-header">
  1575.                <h5 class="modal-title">Noter un titre</h5>
  1576.            </div>
  1577.            <form method="post" action="" id="track-review-form">
  1578.                <div class="alert alert-danger alert-empty" id="output-review-track-errors"></div>
  1579.                <div class="create_playlist_innr">
  1580.                    <div class="play_info">
  1581.                        <div class="form-group mat_input" style="text-align: initial;">
  1582.                            <textarea name="track_review_description" id="track_review_description" rows="5" style="width: 100%;" placeholder="S'il vous plaît entrer votre avis."></textarea>
  1583.                            <br><br>
  1584.  
  1585.                            <section class='rating-widget'>
  1586.                                <!-- Rating Stars Box -->
  1587.                                <div class='rating-stars text-center'>
  1588.                                    <ul id='stars'>
  1589.                                        <li class='star' title='Poor' data-value='1'>
  1590.                                            <i class='fa fa-star fa-fw'></i>
  1591.                                        </li>
  1592.                                        <li class='star' title='Fair' data-value='2'>
  1593.                                            <i class='fa fa-star fa-fw'></i>
  1594.                                        </li>
  1595.                                        <li class='star' title='Good' data-value='3'>
  1596.                                            <i class='fa fa-star fa-fw'></i>
  1597.                                        </li>
  1598.                                        <li class='star' title='Excellent' data-value='4'>
  1599.                                            <i class='fa fa-star fa-fw'></i>
  1600.                                        </li>
  1601.                                        <li class='star' title='WOW!!!' data-value='5'>
  1602.                                            <i class='fa fa-star fa-fw'></i>
  1603.                                        </li>
  1604.                                    </ul>
  1605.                                </div>
  1606.                            </section>
  1607.  
  1608.  
  1609.                        </div>
  1610.                    </div>
  1611.                </div>
  1612.                <input type="hidden" id="review_track_id" name="id">
  1613.                <input type="hidden" id="review_track_oid">
  1614.                <input type="hidden" id="track_stars" name="track_stars" value="0">
  1615.                <div class="modal-footer">
  1616.                    <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  1617.                    <button type="submit" class="btn btn-primary btn-mat" disabled="disabled" id="btn-review-track-submit">Soumettre</button>
  1618.                </div>
  1619.            </form>
  1620.        </div>
  1621.    </div>
  1622. </div>
  1623. <script>
  1624.    $(document).ready(function(){
  1625.  
  1626.        /* 1. Visualizing things on Hover - See next part for action on click */
  1627.        $('#stars li').on('mouseover', function(){
  1628.            var onStar = parseInt($(this).data('value'), 10); // The star currently mouse on
  1629.  
  1630.            // Now highlight all the stars that's not after the current hovered star
  1631.            $(this).parent().children('li.star').each(function(e){
  1632.                if (e < onStar) {
  1633.                    $(this).addClass('hover');
  1634.                }
  1635.                else {
  1636.                    $(this).removeClass('hover');
  1637.                }
  1638.            });
  1639.  
  1640.        }).on('mouseout', function(){
  1641.            $(this).parent().children('li.star').each(function(e){
  1642.                $(this).removeClass('hover');
  1643.            });
  1644.        });
  1645.  
  1646.        $('#track_review_description').bind('input propertychange', function() {
  1647.            if(this.value.length){
  1648.                var ratingValue = parseInt($('#stars li.selected').last().data('value'), 10);
  1649.                if (ratingValue > 1) {
  1650.                    $('#btn-review-track-submit').removeAttr('disabled');
  1651.                }
  1652.            }
  1653.        });
  1654.  
  1655.        /* 2. Action to perform on click */
  1656.        $('#stars li').on('click', function(){
  1657.            var onStar = parseInt($(this).data('value'), 10); // The star currently selected
  1658.            var stars = $(this).parent().children('li.star');
  1659.  
  1660.            for (i = 0; i < stars.length; i++) {
  1661.                $(stars[i]).removeClass('selected');
  1662.            }
  1663.  
  1664.            for (i = 0; i < onStar; i++) {
  1665.                $(stars[i]).addClass('selected');
  1666.            }
  1667.  
  1668.            // JUST RESPONSE (Not needed)
  1669.            var ratingValue = parseInt($('#stars li.selected').last().data('value'), 10);
  1670.            var msg = "";
  1671.            if (ratingValue > 1) {
  1672.                $('#track_stars').val(ratingValue);
  1673.                if( $('#track_review_description').val() !== '' ) {
  1674.                    $('#btn-review-track-submit').removeAttr('disabled');
  1675.                }
  1676.                msg = "Thanks! You rated this " + ratingValue + " stars.";
  1677.            }
  1678.            else {
  1679.                msg = "We will improve ourselves. You rated this " + ratingValue + " stars.";
  1680.            }
  1681.  
  1682.        });
  1683.  
  1684.  
  1685.    });
  1686.  
  1687.    $(document).ready(function() {
  1688.        var options = {
  1689.            url: "https://starchilds.fr/endpoints/review-track?hash_id=" + getHashID(),
  1690.            beforeSubmit:  function () {
  1691.                $('#output-review-track-errors').removeClass('alert-success').addClass('alert-danger');
  1692.                $('#output-review-track-errors').empty();
  1693.                $("#btn-review-track-submit").text("S'il vous plaît, attendez..");
  1694.            },
  1695.            success: function (data) {
  1696.                $("#btn-review-track-submit").text("Soumettre");
  1697.                if (data.status == 200) {
  1698.                    $('#output-review-track-errors').addClass('alert-success').removeClass('alert-danger');
  1699.                    $('#output-review-track-errors').text("Merci pour votre soumission.");
  1700.                    setTimeout(function () {
  1701.                        $('#track-review-form')[0].reset();
  1702.                        $('#review_track').modal('hide');
  1703.                        closeModal();
  1704.  
  1705.  
  1706.                        goToAjaxLink('track/'+$('#review_track_oid').val());
  1707.  
  1708.                        $('#output-review-track-errors').empty();
  1709.                    }, 3000);
  1710.                } else if (data.status == 400) {
  1711.                    var errros = data.errors.join("<br>");
  1712.                    $('#output-review-track-errors').html(errros);
  1713.                }
  1714.            }
  1715.        };
  1716.  
  1717.        $('#track-review-form').ajaxForm(options);
  1718.    });
  1719. </script> <div class="modal fade" id="bank_transfer_modal_response" tabindex="-1" role="dialog" aria-labelledby="bank_transfer_modal_response" aria-hidden="true" data-id="0">
  1720.    <div class="modal-dialog mat_box" role="document">
  1721.        <div class="modal-content">
  1722.            <div class="modal-body">
  1723.                <div class="no-track-found" style="padding: 30px 10px;">
  1724.                    <span id="bank_transfer_modal_response_txt"></span>
  1725.  
  1726.                </div>
  1727.            </div>
  1728.        </div>
  1729.    </div>
  1730. </div>
  1731.  
  1732.  
  1733. <div class="bank_transfer_modal modal fade modal-fixed-footer" tabindex="-1" role="dialog" aria-hidden="true" data-id="0">
  1734.    <div class="modal-dialog mat_box" role="document">
  1735.        <div class="modal-content dt_bank_trans_modal">
  1736.            <div class="modal-header">
  1737.                <h5 class="modal-title">Virement</h5>
  1738.            </div>
  1739.            <div class="modal-body">
  1740.                                <div class="bank_info"><div class="dt_settings_header bg_gradient">
  1741.    <div class="bank_info_innr">
  1742.        <h4 class="bank_name">Garanti Bank</h4>
  1743.        <div class="row">
  1744.            <div class="col-md-12">
  1745.                <div class="bank_account">
  1746.                    <p>4796824372433055</p>
  1747.                    <span class="help-block">Account number / IBAN</span>
  1748.                </div>
  1749.            </div>
  1750.            <div class="col-md-12">
  1751.                <div class="bank_account_holder">
  1752.                    <p>Antoian Kordiyal</p>
  1753.                    <span class="help-block">Account name</span>
  1754.                </div>
  1755.            </div>
  1756.            <div class="col-md-6">
  1757.                <div class="bank_account_code">
  1758.                    <p>TGBATRISXXX</p>
  1759.                    <span class="help-block">Routing code</span>
  1760.                </div>
  1761.            </div>
  1762.            <div class="col-md-6">
  1763.                <div class="bank_account_country">
  1764.                    <p>United States</p>
  1765.                    <span class="help-block">Country</span>
  1766.                </div>
  1767.            </div>
  1768.        </div>
  1769.    </div>
  1770. </div></div>
  1771.                                                <div class="dt_user_profile hide_alert_info_bank_trans">
  1772.                <span class="valign-wrapper">
  1773. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"></path></svg> Remarque:
  1774.                </span>
  1775.                    <ul class="browser-default dt_prof_vrfy">
  1776.                        <li id="bank_note">In order to confirm the bank transfer, you will need to upload a receipt or take a screenshot of your transfer within 1 day from your payment date. If a bank transfer is made but no receipt is uploaded within this period, your order will be cancelled. We will verify and confirm your receipt within 3 working days from the date you upload it.</li>
  1777.                    </ul>
  1778.                </div>
  1779.                                <p class="dt_bank_trans_upl_rec">
  1780.                    <a href="javascript:void(0);" onclick="$('.bank_transfer_modal').addClass('up_rec_active'); return false">
  1781.                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
  1782.                            <path fill="currentColor" d="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M13.5,16V19H10.5V16H8L12,12L16,16H13.5M13,9V3.5L18.5,9H13Z"></path>
  1783.                        </svg> Télécharger le reçu
  1784.                    </a>
  1785.                </p>
  1786.                <div class="upload_bank_receipts">
  1787.                    <div onclick="document.getElementById('receipt_img').click(); return false">
  1788.                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M13.5,16V19H10.5V16H8L12,12L16,16H13.5M13,9V3.5L18.5,9H13Z"></path></svg>
  1789.                        <p>Télécharger le reçu</p>
  1790.                        <img id="receipt_img_preview" src="">
  1791.                    </div>
  1792.                </div>
  1793.                <input type="file" id="receipt_img" class="hide" accept="image/x-png, image/gif, image/jpeg, image/webp" name="receipt_img">
  1794.            </div>
  1795.            <!--<span style="display: block;text-align: center;" id="receipt_img_path"></span>-->
  1796.            <div class="modal-footer">
  1797.                <div class="bank_transfr_progress hide" id="img_upload_progress">
  1798.                    <div class="progress">
  1799.                        <div id="img_upload_progress_bar" class="determinate progress-bar progress-bar-striped bg-success progress-bar-animated" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%"></div>
  1800.                    </div>
  1801.                </div>
  1802.                <button class="btn btn-default" data-dismiss="modal">Fermer</button>
  1803.                <button class="btn btn-primary btn-mat" disabled id="btn-upload-receipt" data-selected="" data-mode="" data-id="" data-title="" data-price="">Confirmer</button>
  1804.            </div>
  1805.        </div>
  1806.    </div>
  1807. </div>
  1808.  
  1809. <script>
  1810.    document.getElementById('receipt_img').removeEventListener("change", handleReceiptImgChange, true);
  1811.    document.getElementById('receipt_img').addEventListener('change', handleReceiptImgChange, { passive: false });
  1812.    function handleReceiptImgChange(){
  1813.        let imgPath = $(this)[0].files[0].name;
  1814.        if (typeof(FileReader) != "undefined") {
  1815.            let reader = new FileReader();
  1816.            reader.onload = function(e) {
  1817.                $('#receipt_img_preview').attr('src', e.target.result);
  1818.            };
  1819.            reader.readAsDataURL(this.files[0]);
  1820.        }
  1821.        $('#receipt_img_path').html(imgPath);
  1822.        $('.bank_transfer_modal').addClass('up_rec_img_ready');
  1823.        $('#btn-upload-receipt').removeAttr('disabled');
  1824.        $('#btn-upload-receipt').removeClass('btn-flat').addClass('btn-success');
  1825.    }
  1826.    document.getElementById('btn-upload-receipt').addEventListener('click', function(e) {
  1827.        e.preventDefault();
  1828.        let bar = $('#img_upload_progress');
  1829.        let percent = $('#img_upload_progress_bar');
  1830.  
  1831.        let id = $(this).attr("data-id");
  1832.        if (!id) {
  1833.            return false;
  1834.        }
  1835.        let title = $(this).attr("data-title");
  1836.        let price = $(this).attr("data-price");
  1837.        let mode = $(this).attr("data-mode");
  1838.  
  1839.        let formData = new FormData();
  1840.        formData.append("hash_id",'a867de00c711504a6b5e881693b5c34e9f0599c5');
  1841.        formData.append("description",title);
  1842.        formData.append("price", price);
  1843.        formData.append("mode", mode);
  1844.        formData.append("track_id", id);
  1845.        formData.append("receipt_img", $("#receipt_img")[0].files[0], $("#receipt_img")[0].files[0].value);
  1846.        bar.removeClass('hide');
  1847.        $.ajax({
  1848.            xhr: function() {
  1849.                let xhr = new window.XMLHttpRequest();
  1850.                xhr.upload.addEventListener("progress", function(evt){
  1851.                    if (evt.lengthComputable) {
  1852.                        let percentComplete = evt.loaded / evt.total;
  1853.                        percentComplete = parseInt(percentComplete * 100);
  1854.                        //status.html( percentComplete + "%");
  1855.                        percent.width(percentComplete + '%');
  1856.                        percent.html(percentComplete + '%');
  1857.                        if (percentComplete === 100) {
  1858.                            bar.addClass('hide');
  1859.                            percent.width('0%');
  1860.                            percent.html('0%');
  1861.                        }
  1862.                    }
  1863.                }, false);
  1864.                return xhr;
  1865.            },
  1866.            url: ajaxUrl() + '/upload-receipt',
  1867.            type: "POST",
  1868.            async: true,
  1869.            enctype: 'multipart/form-data',
  1870.            processData: false,
  1871.            contentType: false,
  1872.            cache: false,
  1873.            timeout: 60000,
  1874.            dataType: false,
  1875.            data: formData,
  1876.            success: function(result) {
  1877.                if( result.status == 200 ){
  1878.                    $('#payment_modal').modal('hide');
  1879.                    $('#paymentpro_modal').modal('hide');
  1880.                    $('.bank_transfer_modal').modal('hide');
  1881.  
  1882.                    $('#bank_transfer_modal_response_txt').html('Votre reçu a été téléchargé avec succès.');
  1883.                    $('#bank_transfer_modal_response').modal('show');
  1884.  
  1885.                    setTimeout(function () {
  1886.                        $('#bank_transfer_modal_response').modal('hide');
  1887.                    },2000);
  1888.                    return false;
  1889.                }
  1890.            }
  1891.        });
  1892.    });
  1893. </script> <div class="modal fade mat_box" id="logged-out-modal" role="dialog" data-backdrop="static" data-keyboard="false">
  1894.    <div class="modal-dialog">
  1895.        <div class="modal-content">
  1896.            <div class="modal-header">
  1897.                <h4 class="modal-title"><i class="fa fa-exclamation-circle"></i> La session a expiré</h4>
  1898.            </div>
  1899.            <div class="modal-body">
  1900.                <p>Votre session a expiré, veuillez vous reconnecter.</p>
  1901.            </div>
  1902.  
  1903.            <div class="modal-footer">
  1904.                <a href="https://starchilds.fr/discover" class="btn btn-default">Connexion</a>
  1905.            </div>
  1906.        </div>
  1907.    </div>
  1908. </div> <div class="modal fade mat_box" id="verify_code" role="dialog">
  1909.    <div class="modal-dialog">
  1910.        <div class="modal-content">
  1911.            <div class="modal-header">
  1912.                <h5 class="modal-title" id="two_factor_title">
  1913.                    Un email de confirmation a été envoyé.                </h5>
  1914.            </div>
  1915.            <form id="confirmation_code_form" class="confirmation_code_form" method="POST">
  1916.                <div class="modal-body">
  1917.                    <div id="confirmation_code_form_alert"></div>
  1918.                    <span class="verfy_sett_email_phone_ico"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21,13.34C20.37,13.12 19.7,13 19,13A6,6 0 0,0 13,19C13,19.34 13.03,19.67 13.08,20H3A2,2 0 0,1 1,18V6C1,4.89 1.89,4 3,4H19A2,2 0 0,1 21,6V13.34M23.5,17L18.5,22L15,18.5L16.5,17L18.5,19L22,15.5L23.5,17M3,6V8L11,13L19,8V6L11,11L3,6Z" /></svg></span>
  1919.                    <p id="two_factor_desc">
  1920.                        Nous avons envoyé un courrier électronique contenant le code de confirmation pour activer l'authentification à deux facteurs.                    </p>
  1921.                    <div class="form-group mat_input float verfy_sett_email_phone mt-4">
  1922.                        <input type="text" class="form-control" name="code" placeholder=" ">
  1923. <label>Confirmation code</label>
  1924.                    </div>
  1925.                </div>
  1926.                <div class="modal-footer">
  1927.                    <button data-dismiss="modal" class="btn btn-default">Annuler</button>
  1928.                    <button id="confirmation_code_form_btn" type="submit" class="btn btn-primary btn-main">Envoyer</button>
  1929.                </div>
  1930.                <input type="hidden" id="confirmation_code_form_user_id" name="user_id" value="">
  1931.            </form>
  1932.        </div>
  1933.    </div>
  1934. </div>
  1935.  
  1936. <div class="modal fade mat_box" id="verify_email_phone" role="dialog">
  1937.    <div class="modal-dialog">
  1938.        <div class="modal-content">
  1939.            <div class="modal-header">
  1940.                <h5 class="modal-title" id="verify_email_phone_title">
  1941.                                    </h5>
  1942.            </div>
  1943.            <form id="verify_email_phone_form" class="verify_email_phone_form" method="POST">
  1944.                <div class="modal-body">
  1945.                    <div id="verify_email_phone_form_alert"></div>
  1946.                    <span class="verfy_sett_email_phone_ico"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M17,19V5H7V19H17M17,1A2,2 0 0,1 19,3V21A2,2 0 0,1 17,23H7C5.89,23 5,22.1 5,21V3C5,1.89 5.89,1 7,1H17M9,7H15V9H9V7M9,11H13V13H9V11Z" /></svg></span>
  1947.                    <p id="verify_email_phone_desc">
  1948.                                            </p>
  1949.                    <div class="form-group verfy_sett_email_phone">
  1950.                        <input type="text" class="form-control" name="code" placeholder="Confirmation code">
  1951.                    </div>
  1952.                </div>
  1953.                <div class="modal-footer">
  1954.                    <button data-dismiss="modal" class="btn btn-default">Annuler</button>
  1955.                    <button id="verify_email_phone_form_btn" type="submit" class="btn btn-main">Envoyer</button>
  1956.                </div>
  1957.            </form>
  1958.        </div>
  1959.    </div>
  1960. </div> <div class="modal fade" id="refund_order" tabindex="-1" role="dialog" aria-labelledby="refund_order" aria-hidden="true" data-id="0">
  1961.  <div class="modal-dialog mat_box" role="document">
  1962.    <div class="modal-content">
  1963.      <div class="modal-header">
  1964.        <h5 class="modal-title">Demande à être remboursé</h5>
  1965.      </div>
  1966.      <form class="refund_order_form" method="post">
  1967.        <div class="modal-body">
  1968.          <div class="modal_refund_order_modal_alert"></div>
  1969.          <div class="form-group mat_input">
  1970.        <div class="col-md-12">
  1971.          <textarea placeholder="S'il vous plaît expliquer la raison" name="message" id="refund_order_message"></textarea>
  1972.        </div>
  1973.      </div>
  1974.        </div>
  1975.        <div class="modal-footer">
  1976.          <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  1977.          <button type="submit" class="btn btn-primary btn-mat">Demandes</button>
  1978.        </div>
  1979.      </form>
  1980.    </div>
  1981.  </div>
  1982. </div>
  1983. <div class="modal fade" id="add_address_modal" tabindex="-1" role="dialog" aria-labelledby="add_address_modal" aria-hidden="true" data-id="0">
  1984. <div class="modal-dialog mat_box" role="document">
  1985. <div class="modal-content">
  1986. <div class="modal-header">
  1987. <h5 class="modal-title">Ajouter une nouvelle adresse</h5>
  1988. </div>
  1989. <form class="address_form" method="post">
  1990. <div class="modal-body">
  1991. <div class="modal_add_address_modal_alert"></div>
  1992. <div class="form-group mat_input float">
  1993. <input type="text" name="name" id="name" class="form-control" autofocus placeholder=" ">
  1994. <label>prénom</label>
  1995. </div>
  1996. <div class="form-group mat_input float">
  1997. <input type="text" name="phone" id="phone" class="form-control" autofocus placeholder=" ">
  1998. <label>Téléphone</label>
  1999. </div>
  2000. <div class="form-group mat_input float">
  2001. <input type="text" name="country" id="country" class="form-control" autofocus placeholder=" ">
  2002. <label>Pays</label>
  2003. </div>
  2004. <div class="form-group mat_input float">
  2005. <input type="text" name="city" id="city" class="form-control" autofocus placeholder=" ">
  2006. <label>Ville</label>
  2007. </div>
  2008. <div class="form-group mat_input float">
  2009. <input type="text" name="zip" id="zip" class="form-control" autofocus placeholder=" ">
  2010. <label>Code postal / zip</label>
  2011. </div>
  2012. <div class="form-group mat_input float mb-0">
  2013. <textarea placeholder=" " class="form-control" name="address"></textarea>
  2014. <label>Adresse</label>
  2015. </div>
  2016. </div>
  2017. <div class="modal-footer">
  2018. <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  2019. <button type="submit" class="btn btn-primary btn-mat">Ajouter</button>
  2020. </div>
  2021. </form>
  2022. </div>
  2023. </div>
  2024. </div> <div class="modal fade" id="delete-address" tabindex="-1" role="dialog" aria-labelledby="delete-address" aria-hidden="true" data-id="0">
  2025.  <div class="modal-dialog mat_box" role="document">
  2026.    <div class="modal-content">
  2027.      <div class="modal-header">
  2028.        <h5 class="modal-title">Supprimer votre adresse</h5>
  2029.      </div>
  2030.      <div class="modal-body">
  2031.        Êtes-vous sûr de vouloir supprimer cette adresse?
  2032.      </div>
  2033.      <div class="modal-footer">
  2034.        <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  2035.        <button type="button" class="btn btn-danger btn-mat" data-dismiss="modal">Effacer</button>
  2036.      </div>
  2037.    </div>
  2038.  </div>
  2039. </div>
  2040.  
  2041. <div class="modal fade" id="buy_product_modal" tabindex="-1" role="dialog" aria-labelledby="buy_product" aria-hidden="true" data-id="0">
  2042.  <div class="modal-dialog mat_box" role="document">
  2043.    <div class="modal-content">
  2044.      <div class="modal-header">
  2045.        <h5 class="modal-title">Alerte de paiement</h5>
  2046.      </div>
  2047.      <div class="modal-body">
  2048.        <div class="modal_product_pay_alert"></div>
  2049.        Vous êtes sur le point d'acheter les articles, voulez-vous continuer?
  2050.      </div>
  2051.      <div class="modal-footer">
  2052.        <input type="hidden" id="product_id">
  2053.        <input type="hidden" id="product_price">
  2054.        <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  2055.        <button type="button" class="btn btn-primary btn-mat">Payer</button>
  2056.      </div>
  2057.    </div>
  2058.  </div>
  2059. </div>
  2060. <div class="modal fade" id="delete-product" tabindex="-1" role="dialog" aria-labelledby="delete-product" aria-hidden="true" data-id="0">
  2061.  <div class="modal-dialog mat_box" role="document">
  2062.    <div class="modal-content">
  2063.      <div class="modal-header">
  2064.        <h5 class="modal-title">Supprimer votre produit</h5>
  2065.      </div>
  2066.      <div class="modal-body">
  2067.        Êtes-vous sûr de vouloir supprimer ce produit?
  2068.      </div>
  2069.      <div class="modal-footer">
  2070.        <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  2071.        <button type="button" class="btn btn-danger btn-mat" data-dismiss="modal">Effacer</button>
  2072.      </div>
  2073.    </div>
  2074.  </div>
  2075. </div>
  2076. <div class="modal fade" id="story_pay" tabindex="-1" role="dialog" aria-labelledby="story_pay" aria-hidden="true" data-id="0">
  2077.  <div class="modal-dialog mat_box" role="document">
  2078.    <div class="modal-content">
  2079.      <div class="modal-header">
  2080.        <h5 class="modal-title">Payer pour l'histoire</h5>
  2081.      </div>
  2082.      <div class="modal-body">
  2083.        <div class="modal_story_pay_alert"></div>
  2084.        Êtes-vous sûr de vouloir payer pour créer une histoire?
  2085.      </div>
  2086.      <div class="modal-footer">
  2087.        <input type="hidden" id="story_pay_id">
  2088.        <input type="hidden" id="story_pay_file">
  2089.        <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  2090.        <button type="button" class="btn btn-primary btn-mat" onclick="PayForStory()">Payer €0</button>
  2091.      </div>
  2092.    </div>
  2093.  </div>
  2094. </div>
  2095.  
  2096. <div class="modal fade" id="wallet_to_pay" tabindex="-1" role="dialog" aria-labelledby="wallet_to_pay" aria-hidden="true" data-id="0">
  2097.  <div class="modal-dialog mat_box" role="document">
  2098.    <div class="modal-content">
  2099.      <div class="modal-header">
  2100.        <h5 class="modal-title">Payer du portefeuille</h5>
  2101.      </div>
  2102.      <div class="modal-body">
  2103.        <div class="modal_wallet_pay_alert"></div>
  2104.        <div id="wallet_to_pay_text"></div>
  2105.      </div>
  2106.      <div class="modal-footer">
  2107.        <input type="hidden" id="wallet_to_pay_price">
  2108.        <input type="hidden" id="wallet_to_pay_type">
  2109.        <input type="hidden" id="wallet_to_pay_id">
  2110.        <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  2111.        <button type="button" class="btn btn-primary btn-mat" onclick="PayFromWallet()">Payer €0</button>
  2112.      </div>
  2113.    </div>
  2114.  </div>
  2115. </div>
  2116. <div class="modal fade buy_event_ticket" id="buy_ticket_modal" tabindex="-1" role="dialog" aria-labelledby="buy_ticket_modal" aria-hidden="true" data-id="0">
  2117.  <div class="modal-dialog mat_box" role="document">
  2118.    <div class="modal-content">
  2119.      <div class="buy_event_ticket_top">
  2120.        <h5 class="modal-title">Acheter un ticket</h5>
  2121.        <p class="subtitle">Acheter ce billet avec votre portefeuille.</p>
  2122.        <div class="ticket-img"></div>
  2123.        <div class="d-flex justify-content-between buy_event_ticket_top_mid">
  2124.          <div class="avail_ticket">
  2125.            <b>Billets disponibles</b>
  2126.            <p></p>
  2127.          </div>
  2128.          <div class="avail_ticket_price text-right">
  2129.            <b>Prix</b>
  2130.            <p></p>
  2131.          </div>
  2132.        </div>
  2133.      </div>
  2134.      <div class="buy_event_ticket_mid"></div>
  2135.      <div class="buy_event_ticket_bottom">
  2136.        <div class="modal-body-alert"></div>
  2137.        <div class="row mx-0">
  2138.          <div class="col-6 px-1">
  2139.            <button type="button" class="btn btn-default btn-mat btn-block" data-dismiss="modal">Annuler</button>
  2140.          </div>
  2141.          <div class="col-6 px-1">
  2142.            <button type="button" class="btn btn-primary btn-mat btn-block">Acheter</button>
  2143.          </div>
  2144.        </div>
  2145.      </div>
  2146.    </div>
  2147.  </div>
  2148. </div>
  2149. <div class="modal fade" id="unjoin-event" tabindex="-1" role="dialog" aria-labelledby="unjoin-event" aria-hidden="true" data-id="0">
  2150.  <div class="modal-dialog mat_box" role="document">
  2151.    <div class="modal-content">
  2152.      <div class="modal-header">
  2153.        <h5 class="modal-title">Quitter l'événement</h5>
  2154.      </div>
  2155.      <div class="modal-body">
  2156.        Êtes-vous sûr de vouloir quitter cet événement?
  2157.      </div>
  2158.      <div class="modal-footer">
  2159.        <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  2160.        <button type="button" class="btn btn-primary btn-mat" data-dismiss="modal">Laisser</button>
  2161.      </div>
  2162.    </div>
  2163.  </div>
  2164. </div>
  2165.  
  2166. <div class="modal fade" id="delete-event" tabindex="-1" role="dialog" aria-labelledby="delete-event" aria-hidden="true" data-id="0">
  2167.  <div class="modal-dialog mat_box" role="document">
  2168.    <div class="modal-content">
  2169.      <div class="modal-header">
  2170.        <h5 class="modal-title">Supprimer votre événement</h5>
  2171.      </div>
  2172.      <div class="modal-body">
  2173.        Êtes-vous sûr de vouloir supprimer cet événement?
  2174.      </div>
  2175.      <div class="modal-footer">
  2176.        <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  2177.        <button type="button" class="btn btn-danger btn-mat" data-dismiss="modal">Effacer</button>
  2178.      </div>
  2179.    </div>
  2180.  </div>
  2181. </div>
  2182. <div class="modal fade" id="albums_success" role="dialog" aria-labelledby="albums" aria-hidden="true" data-id="{{t_id}}">
  2183.  <div class="modal-dialog mat_box" role="document">
  2184.    <div class="modal-content add_to_plist">
  2185.      <div class="modal-body" style="background: #1b711e;">
  2186.        <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
  2187.        <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
  2188. viewBox="0 0 512 512" xml:space="preserve" width="50" height="50">
  2189. <g>
  2190. <g>
  2191. <path fill="currentColor" d="M449.716,239.842c-0.543-7.535-7.082-13.191-14.628-12.661c-7.536,0.543-13.204,7.092-12.662,14.628
  2192.  c0.337,4.655,0.506,9.431,0.506,14.191c0,109.061-88.726,197.787-197.786,197.787C116.086,453.787,27.36,365.06,27.36,256
  2193.  S116.086,58.214,225.147,58.214c43.191,0,84.21,13.668,118.62,39.525c6.041,4.538,14.615,3.321,19.154-2.718
  2194.  c4.54-6.04,3.323-14.616-2.717-19.154c-39.189-29.447-85.891-45.012-135.058-45.012C101.001,30.854,0,131.855,0,256
  2195.  s101.001,225.145,225.147,225.145S450.292,380.146,450.292,256C450.292,250.586,450.097,245.15,449.716,239.842z"/>
  2196. </g>
  2197. </g>
  2198. <g>
  2199. <g>
  2200. <path fill="currentColor" d="M496.395,61.77c-20.808-20.807-54.666-20.807-75.474,0l-197.11,197.108l-69.874-69.875
  2201.  c-20.808-20.807-54.666-20.807-75.474,0c-20.808,20.808-20.808,54.666,0,75.474l120.341,120.341
  2202.  c6.895,6.895,15.951,10.342,25.007,10.342c9.057,0,18.113-3.447,25.008-10.342l247.576-247.576
  2203.  C517.201,116.435,517.201,82.579,496.395,61.77z M477.049,117.897L229.472,365.475c-3.12,3.12-8.2,3.12-11.32,0L97.811,245.133
  2204.  c-10.141-10.141-10.141-26.64,0-36.781c5.07-5.072,11.729-7.606,18.39-7.606s13.321,2.535,18.39,7.606l71.882,71.882
  2205.  c4.632,4.631,10.791,7.181,17.339,7.181c6.551,0,12.71-2.551,17.341-7.182L440.268,81.116c10.138-10.141,26.64-10.141,36.781,0
  2206.  C487.189,91.257,487.189,107.756,477.049,117.897z"/>
  2207. </g>
  2208. </g>
  2209. <g>
  2210. </g>
  2211. <g>
  2212. </g>
  2213. <g>
  2214. </g>
  2215. <g>
  2216. </g>
  2217. <g>
  2218. </g>
  2219. <g>
  2220. </g>
  2221. <g>
  2222. </g>
  2223. <g>
  2224. </g>
  2225. <g>
  2226. </g>
  2227. <g>
  2228. </g>
  2229. <g>
  2230. </g>
  2231. <g>
  2232. </g>
  2233. <g>
  2234. </g>
  2235. <g>
  2236. </g>
  2237. <g>
  2238. </g>
  2239. </svg>
  2240.        <br><br>
  2241.        <b>La piste a été déplacée dans l'album suivant.</b>
  2242.      </div>
  2243.    </div>
  2244.  </div>
  2245. </div>
  2246. <div class="modal fade" id="ShowAlert" tabindex="-1" role="dialog" aria-labelledby="ShowAlert" aria-hidden="true" data-id="0">
  2247.  <div class="modal-dialog mat_box" role="document">
  2248.    <div class="modal-content">
  2249.      <div class="modal-header">
  2250.        <h5 class="modal-title"></h5>
  2251.      </div>
  2252.      <div class="modal-body ShowAlertText">
  2253.  
  2254.      </div>
  2255.      <div class="modal-footer">
  2256.        <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
  2257.      </div>
  2258.    </div>
  2259.  </div>
  2260. </div>
  2261. <div class="modal fade" id="select-language" tabindex="-1" role="dialog" aria-hidden="true">
  2262. <div class="modal-dialog modal-lg mat_box lang_select_modal" role="document">
  2263. <div class="modal-content">
  2264. <div class="modal-body">
  2265. <div class="row">
  2266. <div class="col-md-12">
  2267. <div class="language_info">
  2268. <h3>Language</h3>
  2269. <ul class="lang_modal">
  2270. <li class="language_select"><a href="?lang=english">English</a></li>
  2271. <li class="language_select"><a href="?lang=french">French</a></li>
  2272. </ul>
  2273. <svg enable-background="new 0 0 512 512" height="512" viewBox="0 0 512 512" width="512" xmlns="http://www.w3.org/2000/svg"><g><path d="m164.061 1.765c89.491 0 164.061 30.492 164.061 123.688 0 39.307-13.272 67.453-35.329 86.867-4.005 3.525-5.715 8.976-4.326 14.127 3.903 14.48 9.536 29.7 17.262 43.91 5.927 10.9-2.075 24.048-14.477 23.702-30.009-.836-62.771-14.812-87.325-41.505-2.922-3.177-7.103-4.882-11.405-4.53-9.262.757-18.773 1.118-28.462 1.118-89.49 0-164.06-30.493-164.06-123.689s74.57-123.688 164.061-123.688z" fill="#b0da87"/><g><g fill="#fff"><ellipse cx="55.409" cy="104.463" rx="29.792" ry="23.725"/><ellipse cx="216.893" cy="104.463" rx="29.792" ry="23.725"/></g><g fill="#4e5660"><path d="m86.952 86.146c-4.143 0-7.5-3.357-7.5-7.5 0-3.684-2.996-6.681-6.68-6.681s-6.681 2.997-6.681 6.681c0 4.143-3.357 7.5-7.5 7.5s-7.5-3.357-7.5-7.5c0-11.955 9.726-21.681 21.681-21.681 11.954 0 21.68 9.726 21.68 21.681 0 4.143-3.357 7.5-7.5 7.5z"/><path d="m213.711 86.146c-4.143 0-7.5-3.357-7.5-7.5 0-3.684-2.997-6.681-6.681-6.681s-6.68 2.997-6.68 6.681c0 4.143-3.357 7.5-7.5 7.5s-7.5-3.357-7.5-7.5c0-11.955 9.726-21.681 21.68-21.681 11.955 0 21.681 9.726 21.681 21.681 0 4.143-3.357 7.5-7.5 7.5z"/><path d="m136.151 109.573c-7.933 0-15.476-3.436-20.696-9.425-2.722-3.123-2.396-7.86.727-10.582 3.122-2.721 7.859-2.396 10.582.727 2.37 2.72 5.792 4.28 9.388 4.28s7.018-1.561 9.388-4.28c2.722-3.123 7.459-3.447 10.582-.727 3.123 2.722 3.448 7.459.727 10.582-5.222 5.99-12.765 9.425-20.698 9.425z"/></g></g><path d="m347.939 96.356c89.491 0 164.061 30.492 164.061 123.688 0 39.308-13.272 67.453-35.329 86.867-4.005 3.525-5.715 8.976-4.326 14.127 3.903 14.48 9.536 29.7 17.262 43.91 5.927 10.9-2.075 24.048-14.477 23.702-30.009-.836-62.771-14.812-87.325-41.505-2.922-3.177-7.103-4.882-11.405-4.53-9.262.757-18.773 1.118-28.462 1.118-89.491 0-164.061-30.492-164.061-123.688.002-93.197 74.572-123.689 164.062-123.689z" fill="#8daee1"/><path d="m296.422 218.871c-27.969-18.07-64.598-28.515-109.1-31.162-2.253 9.825-3.443 20.58-3.443 32.335 0 93.196 74.57 123.688 164.061 123.688 3.718 0 7.401-.071 11.062-.179.006-.645.024-1.283.024-1.931 0-53.841-21.648-96.288-62.604-122.751z" fill="#6a95d6"/><path d="m401.315 262.7-43.695-115.784c-.025-.068-.053-.137-.08-.204-1.573-3.826-5.262-6.297-9.398-6.297h-.009c-4.141.004-7.829 2.482-9.396 6.314-.023.057-.046.113-.067.171l-44.098 115.78c-1.475 3.87.469 8.203 4.34 9.678 3.866 1.474 8.203-.468 9.678-4.34l9.142-24.004h60.498l9.051 23.983c1.133 3.003 3.987 4.853 7.017 4.853.88 0 1.775-.156 2.647-.485 3.876-1.462 5.832-5.789 4.37-9.665zm-77.87-33.686 24.675-64.786 24.449 64.786z" fill="#fff"/><path d="m164.061 217.934c-89.491 0-164.061 30.493-164.061 123.689 0 39.307 13.272 67.453 35.329 86.867 4.005 3.525 5.715 8.976 4.326 14.127-3.903 14.48-9.536 29.7-17.262 43.909-5.927 10.9 2.075 24.048 14.477 23.702 30.009-.836 62.771-14.812 87.325-41.505 2.922-3.177 7.103-4.882 11.405-4.53 9.262.757 18.773 1.118 28.462 1.118 89.491 0 164.061-30.492 164.061-123.688-.002-93.196-74.572-123.689-164.062-123.689z" fill="#fbf1cf"/><path d="m98.158 224.732c-57.403 13.375-98.158 47.997-98.158 116.891 0 39.307 13.272 67.453 35.329 86.867 4.005 3.525 5.715 8.976 4.326 14.127-3.903 14.48-9.536 29.7-17.262 43.909-5.927 10.9 2.075 24.048 14.477 23.702 30.009-.836 62.771-14.812 87.325-41.505 2.922-3.177 7.103-4.882 11.405-4.53 9.262.757 18.773 1.118 28.461 1.118 9.979 0 19.771-.382 29.296-1.185-109.038-33.437-126.653-188.039-95.199-239.394z" fill="#fae0bd"/><path d="m215.939 289.092h-44.267v-19.954c0-4.143-3.357-7.5-7.5-7.5s-7.5 3.357-7.5 7.5v19.954h-44.267c-4.143 0-7.5 3.357-7.5 7.5s3.357 7.5 7.5 7.5h73.205c-1.638 18.399-10.545 38.587-23.975 56.243-7.491-6.699-13.58-14.368-17.432-21.597-1.947-3.654-6.487-5.039-10.146-3.092-3.655 1.948-5.039 6.49-3.092 10.146 4.554 8.546 11.825 17.845 20.986 25.993-8.01 8.521-17.087 16.084-26.839 22.069-3.53 2.167-4.636 6.785-2.47 10.315 1.416 2.307 3.878 3.578 6.399 3.578 1.338 0 2.692-.357 3.916-1.108 11.003-6.753 21.527-15.56 30.892-25.717 8.934 5.854 18.992 10.334 29.679 12.277.453.083.905.122 1.351.122 3.555 0 6.712-2.537 7.37-6.159.741-4.075-1.962-7.979-6.037-8.721-7.906-1.438-15.595-4.733-22.631-9.119 2.391-3.137 4.675-6.357 6.821-9.658 12.049-18.525 18.971-37.605 20.252-55.574h15.285c4.143 0 7.5-3.357 7.5-7.5s-3.358-7.498-7.5-7.498z" fill="#4e5660"/></g></svg>
  2274. </div>
  2275. </div>
  2276. </div>
  2277. </div>
  2278. </div>
  2279. </div>
  2280. </div>
  2281.  
  2282. <div class="queue_overlay" onclick="javascript:$('body').removeClass('data-queue-open');"></div>
  2283. <div class="sidenav_overlay" onclick="javascript:$('body').removeClass('side_open');"></div>
  2284.  
  2285.  
  2286. <script>
  2287. $(document).on('click', '#follow-user', function(event) {
  2288. $(this).toggleClass('btn-primary btn-success');
  2289. $(this).text("Following");
  2290. $(this).attr("id", "unfollow-user");
  2291. $.post('https://starchilds.fr/endpoints/follow-user/add', {id: $(this).attr('data-user-id')});
  2292. });
  2293.  
  2294. $(function () {
  2295. setTimeout(function () {
  2296.    Fingerprint2.get(function (components) {
  2297.      $.post(ajaxUrl() + '/set-finger-print', {components: components});
  2298.    })
  2299. }, 500);
  2300. });
  2301.  
  2302. $(document).on('click', '.comment_input', function(event){
  2303.    $('#login_box').modal('show');
  2304. });
  2305.  
  2306. // unfollow user
  2307. $(document).on('click', '#unfollow-user', function(event) {
  2308. $(this).toggleClass('btn-success btn-primary');
  2309. $(this).text("Suivre");
  2310. $(this).attr("id", "follow-user");
  2311. $.post('https://starchilds.fr/endpoints/follow-user/remove', {id: $(this).attr('data-user-id')});
  2312. });
  2313. function addToAlbum(id) {
  2314.    getID = $('#albums').attr('data-id');
  2315.    if (!getID) {
  2316.        return false;
  2317.    }
  2318.    var playlists = "";
  2319.    $(".select-albums-list").each(function (index, item) {
  2320.        if ($(this).hasClass('active')) {
  2321.            var albums = $(this).attr('data-id');
  2322.  
  2323.            $('#playlists').find('.btn-mat').text("S'il vous plaît, attendez..");
  2324.            $.get(ajaxUrl() + "/album/add-to-album", {album: albums, id: getID}, function (data) {
  2325.                if (data.status == 200) {
  2326.                    $('#albums_success').modal('show');
  2327.                    $('#albums').modal('hide');
  2328.                    setTimeout(function () {
  2329.                        $('#albums').remove();
  2330.                    }, 200);
  2331.                    setTimeout(function () {
  2332.                        $('#albums_success').modal('hide');
  2333.                    }, 3000);
  2334.                } else if (data.status == 300) {
  2335.                    alert("Veuillez sélectionner l'album auquel vous souhaitez ajouter cette chanson.")
  2336.                } else {
  2337.                    $('#albums').modal('hide');
  2338.                    setTimeout(function () {
  2339.                        $('#albums').remove();
  2340.                    }, 200);
  2341.                }
  2342.            });
  2343.  
  2344.        }
  2345.    });
  2346.  
  2347. }
  2348.  
  2349. function loadEventsByDate(thisData) {
  2350. var getThisID = $(thisData).attr('id');
  2351. if (!getThisID) {
  2352. return false;
  2353. }
  2354. $("#events_search_result").html('<svg class="event_spinner" viewBox="0 0 50 50"><circle class="path" cx="25" cy="25" r="20" fill="none" stroke-width="5"></circle></svg>');
  2355.    // show the loadinfg icon code here,
  2356. $.post('https://starchilds.fr/endpoints/event/filterByDate', {date: getThisID}, function (data) {
  2357.        if (data.status == 200) {
  2358.            $("#events_search_result").html(data.html);
  2359.        }
  2360.  
  2361.        // remove the icon here and show defaulr value.
  2362.    });
  2363. }
  2364.  
  2365. function checkForSongStatus(songID, form_id = false, local_id = false) {
  2366. $.post('https://starchilds.fr/endpoints/check-track', {id: songID}, function(dataSecond, textStatus, xhr) {
  2367. if (dataSecond.status == 300) {
  2368. setTimeout(function() {
  2369. checkForSongStatus(songID, form_id, local_id);
  2370. }, 2000);
  2371. } else if (dataSecond.status == 200) {
  2372. if (local_id !== false && form_id)  {
  2373. $('#song-form-' + form_id + '-'+local_id).html('<div class="hidden submitted-song" data-id="' + songID + '"></div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M17,18H7V16H17V18M10.3,14L7,10.7L8.4,9.3L10.3,11.2L15.6,5.9L17,7.3L10.3,14Z"></path></svg> ' + $('#title-' + form_id + '-'+local_id).val() + ' Téléchargé avec succès');
  2374. $('#song-form-' + form_id + '-'+local_id).addClass('no-padding-form submitted');
  2375. publish();
  2376. $('#song-form-' + form_id + '-'+local_id+' .btn-save-songs').addClass('submitted');
  2377. } else if (form_id && local_id === false) {
  2378. $('#song-form-' + form_id).html('<div class="hidden submitted-song" data-id="' + songID + '"></div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M17,18H7V16H17V18M10.3,14L7,10.7L8.4,9.3L10.3,11.2L15.6,5.9L17,7.3L10.3,14Z"></path></svg> ' + $('#title-' + form_id + '').val() + ' Téléchargé avec succès');
  2379. $('#song-form-' + form_id).addClass('no-padding-form submitted');
  2380. publish();
  2381. $('#song-form-' + form_id + ' .btn-save-songs').addClass('submitted');
  2382. } else {
  2383. goToAjaxLink('track/' + songID);
  2384. }
  2385. }
  2386. });
  2387. }
  2388.  
  2389. function likeSong(id, type, element) {
  2390. if (!id || !type) {
  2391. return false;
  2392. }
  2393. if (type == 'track-page') {
  2394. if (element.attr('liked')) {
  2395. element.removeClass('track-liked').removeAttr('liked', 'true');
  2396. element.find('svg path').attr('fill', '#333');
  2397. element.find('span').html("J&#039;aime");
  2398.  
  2399.            $('#track_likes_count').attr('data-count',parseInt($('#track_likes_count').attr('data-count')) - 1);
  2400.            $('#track_likes_count').html(parseInt($('#track_likes_count').attr('data-count')));
  2401.  
  2402.            if( $('#dislike-track').hasClass('track-disliked') ){
  2403.                $('#dislike-track-text').html("N'a pas aimé");
  2404.                $('#dislike-track').addClass('track-disliked');
  2405.            }
  2406.            // $('#like-track').removeAttr('liked');
  2407.            // $('#dislike-track').attr('disliked', 'true');
  2408.  
  2409. } else {
  2410. element.addClass('track-liked').attr('liked', 'true');
  2411.            $('#dislike-track').removeAttr('disliked');
  2412. element.find('svg path').attr('fill', '#fff');
  2413. element.find('span').html("Aimé");
  2414.  
  2415.            $('#track_likes_count').attr('data-count',parseInt($('#track_likes_count').attr('data-count')) + 1);
  2416.            $('#track_likes_count').html(parseInt($('#track_likes_count').attr('data-count')));
  2417.  
  2418.            if( $('#dislike-track').hasClass('track-disliked') ){
  2419.                $('#dislike-track').removeClass('track-disliked');
  2420.                $('#dislike-track-text').html("");
  2421.  
  2422.                $('#track_dislikes_count').attr('data-count',parseInt($('#track_dislikes_count').attr('data-count')) - 1);
  2423.                $('#track_dislikes_count').html(parseInt($('#track_dislikes_count').attr('data-count')));
  2424.            }
  2425.  
  2426. }
  2427. }
  2428. $.get('https://starchilds.fr/endpoints/like-track', {id: id, type: type});
  2429. }
  2430.  
  2431. function dislikeSong(id, type, element) {
  2432.    if (!id || !type) {
  2433.        return false;
  2434.    }
  2435.    if (type == 'track-page') {
  2436.        if (element.attr('disliked')) {
  2437.            element.removeClass('track-disliked').removeAttr('disliked', 'true');
  2438.            element.find('span').html("");
  2439.  
  2440.            $('#track_dislikes_count').attr('data-count',parseInt($('#track_dislikes_count').attr('data-count')) - 1);
  2441.            $('#track_dislikes_count').html(parseInt($('#track_dislikes_count').attr('data-count')));
  2442.  
  2443.            if( $('#like-track').hasClass('track-liked') ){
  2444.                $('#like-track-text').html("Aimé");
  2445.                $('#like-track').addClass('track-liked');
  2446.            }
  2447.            // $('#like-track').attr('liked', 'true');
  2448.            // $('#dislike-track').removeAttr('disliked');
  2449.  
  2450.        } else {
  2451.            element.addClass('track-disliked').attr('disliked', 'true');
  2452.            $('#like-track').removeAttr('liked');
  2453.  
  2454.            element.find('span').html("N'a pas aimé");
  2455.  
  2456.            $('#track_dislikes_count').attr('data-count',parseInt($('#track_dislikes_count').attr('data-count')) + 1);
  2457.            $('#track_dislikes_count').html(parseInt($('#track_dislikes_count').attr('data-count')));
  2458.  
  2459.            if( $('#like-track').hasClass('track-liked') ){
  2460.                $('#like-track').removeClass('track-liked');
  2461.                $('#like-track-text').html("J&#039;aime");
  2462.                $('#like-track svg path').attr('fill','currentColor');
  2463.  
  2464.                $('#track_likes_count').attr('data-count',parseInt($('#track_likes_count').attr('data-count')) - 1);
  2465.                $('#track_likes_count').html(parseInt($('#track_likes_count').attr('data-count')));
  2466.            }
  2467.  
  2468.        }
  2469.    }
  2470.    $.get('https://starchilds.fr/endpoints/dislike-track', {id: id, type: type});
  2471. }
  2472.  
  2473. function loadMore(type, get_data) {
  2474. element = $("#load-more-button");
  2475. $default_text = element.html();
  2476. $track_id = 0;
  2477.    views = 0;
  2478.    product_id = 0;
  2479.    let v_ids = [];
  2480. if (type == 'songs') {
  2481.        $last_id = $('.feed_post:last-child').attr('data-id');
  2482. $append_div = '#user-feed-data';
  2483. } else if (type == 'recently_played') {
  2484. $last_id = $('.track_list:last').attr('data-time');
  2485. $append_div = '#recently_played';
  2486. } else if (type == 'comments') {
  2487. $last_id = $('.comment_item:last').attr('comment-id');
  2488. $append_div = '.comment_list';
  2489. $track_id = $('.comment_item:last').attr('comment-song-id')
  2490.    } else if (type == 'blog_comments') {
  2491. $last_id = $('.comment_item:last').attr('comment-id');
  2492. $append_div = '.comment_list';
  2493. $track_id = $('.comment_item:last').attr('comment-song-id')
  2494.    } else if (type == 'latest_music' || type == 'top_music') {
  2495. $last_id = $('#new-music .track_list:last').attr('data-id');
  2496. $append_div = '#new-music';
  2497. } else if (type == 'categories') {
  2498. $last_id = $('.list-recommended:last').attr('data-id');
  2499. $append_div = 'ul.s_list_songs';
  2500. } else if (type == 'followers') {
  2501.        $last_id = $('.follower_list:last-child').attr('data-id');
  2502.        $append_div = '#followers';
  2503.    } else if (type == 'followings') {
  2504.        $last_id = $('.following_list:last-child').attr('data-id');
  2505.        $append_div = '#followings';
  2506.    } else if (type == 'songs_search') {
  2507.        $last_id = $('.song_search_list:last-child').attr('data-id');
  2508.        $append_div = '#songs_search_result';
  2509.    } else if (type == 'artists_search') {
  2510.        $last_id = $('.artist_list:last-child').attr('data-id');
  2511.        $append_div = '#artists_search_result';
  2512.    } else if (type == 'albums_search') {
  2513.        $last_id = $('.track_list:last-child').attr('data-id');
  2514.        $append_div = '#albums_search_result';
  2515.    } else if (type == 'playlists_search') {
  2516.        $last_id = $('.playlist-p-list:last-child').attr('data-id');
  2517.        $append_div = '#playlists_search_result';
  2518.    } else if (type == 'store_albums') {
  2519.        $last_id = $('#store_result .track_list:last-child').attr('data-id');
  2520.        $append_div = '#store_result';
  2521.    } else if (type == 'store_songs') {
  2522.        $last_id = $('.song_list:last-child').attr('data-id');
  2523.        $append_div = '.store_songs';
  2524.    } else if (type == 'blogs') {
  2525.        $last_id = $('.blog_list').last().attr('data-id');
  2526.        $append_div = '.blog_articles';
  2527.    } else if (type == 'stations') {
  2528.        $last_id = $('#new-music .track_list:last').attr('data-id');
  2529.        $append_div = '#new-music';
  2530.    }
  2531.    else if(type == 'fame_page'){
  2532.        $last_id = $('#fame_page_result .artist_lists:last').attr('data-id');
  2533.        views   = $('#fame_page_result .artist_lists:last').attr('data_views');
  2534.        $append_div = '#fame_page_result';
  2535.        $('.artist_lists').each(function(i, obj) {
  2536.            v_ids.push($(obj).attr('data_v_id'));
  2537.        });
  2538.    }
  2539.    else if(type == 'products_search'){
  2540.        $last_id = $('.events-list-wrapper:last').attr('data-product');
  2541.        $append_div = '#products_search_result';
  2542.  
  2543.    }
  2544.    else if(type == 'events_search'){
  2545.        $last_id = $('.events-list-wrapper:last').attr('data-event');
  2546.        $append_div = '#events_search_result';
  2547.  
  2548.    }
  2549.    else if(type == 'events'){
  2550.        $last_id = $('.events-list-wrapper:last').attr('data-event');
  2551.        $append_div = '#events_search_result';
  2552.  
  2553.    }
  2554.    else if(type == 'manage_events'){
  2555.        $last_id = $('.events-list-wrapper:last').attr('data-event');
  2556.        $append_div = '#manage_events_result';
  2557.  
  2558.    }
  2559.    else if(type == 'joined_events'){
  2560.        $last_id = $('.events-list-wrapper:last').attr('data-event');
  2561.        $append_div = '#events_search_result';
  2562.  
  2563.    }
  2564.    else if(type == 'purchased_events'){
  2565.        $last_id = $('.events-list-wrapper:last').attr('data-event');
  2566.        $append_div = '#events_search_result';
  2567.  
  2568.    }
  2569.    else if(type == 'products'){
  2570.        $last_id = $('.events-list-wrapper:last').attr('data-product');
  2571.        $append_div = '#store_result';
  2572.  
  2573.    }
  2574.    else if(type == 'manage_products'){
  2575.        $last_id = $('.events-list-wrapper:last').attr('data-product');
  2576.        $append_div = '#products_result';
  2577.  
  2578.    }
  2579.    else if(type == 'reviews'){
  2580.        $last_id = $('.review_list:last').attr('id');
  2581.        $append_div = '.reviews_section';
  2582.        product_id = $('#product_page_id').val();
  2583.  
  2584.    }
  2585.    else if(type == 'orders'){
  2586.        $last_id = $('.song_list:last').attr('data-order');
  2587.        $append_div = '.store_songs';
  2588.    }
  2589.  
  2590.  
  2591. if (get_data == 'all' || get_data == 'liked' || get_data == 'spotlight' || get_data == 'events') {
  2592. $last_id = $('.feed_post:last-child').attr('data-a-id');
  2593. type = 'activities';
  2594. }
  2595. if (get_data == 'playlists') {
  2596. $last_id = $('.playlist-p-list:last-child').attr('data-id');
  2597. type = 'playlists';
  2598. }
  2599. if (get_data == 'albums') {
  2600. $last_id = $('.album-p-list:last-child').attr('data-id');
  2601. type = 'albums';
  2602. }
  2603.  
  2604.    if (get_data == 'stations') {
  2605.        $last_id = $('.track_list:last-child').attr('data-id');
  2606.        type = 'stations';
  2607.    }
  2608.    if (get_data == 'store') {
  2609.        $last_id = $('.feed_post:last-child').attr('a_id');
  2610.    }
  2611.  
  2612.    if (get_data == 'albums' && type == 'albums') {
  2613.        $last_id = $('.track_list:last').attr('data-id');
  2614.        type = 'albums';
  2615.    }
  2616.  
  2617. element.text("S'il vous plaît, attendez..");
  2618.  
  2619.    let geners = [];
  2620.    let price = [];
  2621.    let filter_type = null;
  2622.    let current_tag = null;
  2623.    if($('#current_tag').length > 0){
  2624.        current_tag = $('#current_tag').val();
  2625.    }
  2626.    if($('#filter_search_tag').length > 0){
  2627.        current_tag = $('#filter_search_tag').val();
  2628.    }
  2629.    if($('#filter_type').length > 0){
  2630.        filter_type = $('#filter_type').val();
  2631.    }
  2632.    if($('.song_category').length > 0){
  2633.        $('.song_category').each(function(i, obj) {
  2634.            if(this.checked){
  2635.                geners.push($(obj).attr('data-category'));
  2636.            }
  2637.        });
  2638.    }
  2639.    if($( "#slider-range" ).length > 0){
  2640.        price = $("#slider-range").slider("option").values;
  2641.    }
  2642.    let params = {'geners': geners, 'filter_type': filter_type,'current_tag': current_tag, 'price': price};
  2643.  
  2644. $.get(ajaxUrl() + '/load-more/' + type, {id: $last_id, userID: $('#user-id').val(), track_id: $track_id, get_data: get_data,params: params,views:views,v_ids:v_ids,product_id:product_id}, function(data) {
  2645. if (data.status == 200 && data.html.length > 0) {
  2646. $($append_div).append(data.html);
  2647. } else {
  2648. $default_text = "Pas de titre trouvé";
  2649. if (type == 'comments' || type == 'blog_comments') {
  2650. $default_text = "Aucun autre commentaire trouvé";
  2651. }
  2652. if (type == 'all') {
  2653. $default_text = "Aucune autre activité trouvée";
  2654. }
  2655. if (type == 'playlists' || type == 'playlists_search') {
  2656. $default_text = "Plus de playlists trouvées";
  2657. }
  2658.            if (type == 'followers') {
  2659.                $default_text = "Aucun autre abonné trouvé";
  2660.            }
  2661.            if (type == 'followings') {
  2662.                $default_text = "Aucun autre suivi trouvé";
  2663.            }
  2664.            if (type == 'artists_search' || type == 'fame_page') {
  2665.                $default_text = "Pas plus d'artistes trouvés";
  2666.            }
  2667.            if (type == 'albums_search' || type == 'store_albums') {
  2668.                $default_text = "Aucun autre album trouvé";
  2669.            }
  2670.            if (type == 'blogs_search' || type == 'blogs') {
  2671.                $default_text = "Pas plus d'articles trouvés";
  2672.            }
  2673.            if (type == 'stations' ) {
  2674.                $default_text = "Pas plus de stations trouvées";
  2675.            }
  2676.            if (type == 'events_search' || type == 'events' || type == 'joined_events' || type == 'manage_events') {
  2677.                $default_text = "Plus d'événements trouvés";
  2678.            }
  2679.            if (type == 'purchased_events') {
  2680.                $default_text = "Plus de billets trouvés";
  2681.            }
  2682.            if (type == 'products' || type == 'manage_products' || type == 'products_search') {
  2683.                $default_text = "Plus de produits trouvés";
  2684.            }
  2685.            if (type == 'reviews') {
  2686.                $default_text = "Pas de nouvelles critiques trouvées";
  2687.            }
  2688.            if (type == 'orders') {
  2689.                $default_text = "Plus de commandes trouvées";
  2690.            }
  2691.        }
  2692. element.html($default_text);
  2693. });
  2694. }
  2695.  
  2696. $(document).on('click', '.amplitude-next', function(event) {
  2697. console.log($('#current-track').val());
  2698.  
  2699. });
  2700. var is_sent = 0;
  2701. var is_video_checked = 0;
  2702. var is_paused = 0;
  2703. $(function () {
  2704. var songsObject = [{
  2705.        "name": "",
  2706.        "artist": "",
  2707.        "album": "",
  2708.        "url": "",
  2709.        "cover_art_url": "",
  2710.        "youtube_url": "",
  2711. }];
  2712. Amplitude.init({
  2713. "songs": songsObject,
  2714.    "callbacks": {
  2715.        'after_next': function(){
  2716.            setTimeout(function () {
  2717.                if (Amplitude.getActiveSongMetadata().youtube_url != '' && typeof Amplitude.getActiveSongMetadata().youtube_url !== 'undefined' && !Amplitude.audio().paused && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && parseInt($('#audio_ad_id').val()) == 0))) {
  2718.                        $('#my_video_player_container').html('<div class="y_player_cover"></div><span class="player_exit" onclick="HidePlayer()"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span><div class="plyr__video-embed" id="my_video_player_"><iframe src="'+Amplitude.getActiveSongMetadata().youtube_url+'?origin=https://plyr.io&amp;iv_load_policy=3&amp;modestbranding=1&amp;playsinline=1&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1" allowfullscreen allowtransparency ></iframe> </div>')
  2719.                        $('#my_video_player_container').slideDown();
  2720.                        video_player = new Plyr('#my_video_player_',{muted: true,controls: []});
  2721.                        video_player.on('ready', event => {
  2722.                            video_player.play();
  2723.                        });
  2724.                }
  2725.            },500);
  2726.         },
  2727.         'after_prev': function(){
  2728.            setTimeout(function () {
  2729.                if (Amplitude.getActiveSongMetadata().youtube_url != '' && typeof Amplitude.getActiveSongMetadata().youtube_url !== 'undefined' && !Amplitude.audio().paused && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && parseInt($('#audio_ad_id').val()) == 0))) {
  2730.                        $('#my_video_player_container').html('<div class="y_player_cover"></div><span class="player_exit" onclick="HidePlayer()"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span><div class="plyr__video-embed" id="my_video_player_"><iframe src="'+Amplitude.getActiveSongMetadata().youtube_url+'?origin=https://plyr.io&amp;iv_load_policy=3&amp;modestbranding=1&amp;playsinline=1&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1" allowfullscreen allowtransparency ></iframe> </div>')
  2731.                        $('#my_video_player_container').slideDown();
  2732.                        video_player = new Plyr('#my_video_player_',{muted: true,controls: []});
  2733.                        video_player.on('ready', event => {
  2734.                            video_player.play();
  2735.                        });
  2736.                }
  2737.            },500);
  2738.         },
  2739.         'time_update': function(songPlayedInSeconds){
  2740.            if (Amplitude.getActiveSongMetadata().youtube_url != '' && typeof Amplitude.getActiveSongMetadata().youtube_url !== 'undefined' && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && parseInt($('#audio_ad_id').val()) == 0))))) {
  2741.                if ((Amplitude.audio().duration - Amplitude.audio().currentTime) > 1) {
  2742.                    video_player.currentTime = Amplitude.audio().currentTime;
  2743.                    // if (video_player.paused && !Amplitude.audio().paused) {
  2744.                        video_player.play();
  2745.                    // }
  2746.                }
  2747.                if (Amplitude.audio().paused) {
  2748.                    is_paused = 1;
  2749.                    video_player.pause();
  2750.                }
  2751.            }
  2752.         },
  2753. 'after_play': function(){
  2754.            var song_seconds = Amplitude.getSongDuration();
  2755.            if (song_seconds) {
  2756.                $('body').attr('song-duration', song_seconds);
  2757.            }
  2758.            if (Amplitude.getActiveSongMetadata().youtube_url != '' && typeof Amplitude.getActiveSongMetadata().youtube_url !== 'undefined' && !$('#my_video_player_container').is(":visible") && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && parseInt($('#audio_ad_id').val()) == 0))) {
  2759.                $('#my_video_player_container').html('<div class="y_player_cover"></div><span class="player_exit" onclick="HidePlayer()"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span><div class="plyr__video-embed" id="my_video_player_"><iframe src="'+Amplitude.getActiveSongMetadata().youtube_url+'?origin=https://plyr.io&amp;iv_load_policy=3&amp;modestbranding=1&amp;playsinline=1&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1" allowfullscreen allowtransparency ></iframe> </div>')
  2760.                $('#my_video_player_container').slideDown();
  2761.                video_player = new Plyr('#my_video_player_',{muted: true,controls: []});
  2762.                video_player.on('ready', event => {
  2763.                    video_player.play();
  2764.                });
  2765.            }
  2766.            if (Amplitude.getActiveSongMetadata().youtube_url != '' && typeof Amplitude.getActiveSongMetadata().youtube_url !== 'undefined' && $('#my_video_player_container').is(":visible") && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && parseInt($('#audio_ad_id').val()) == 0))) {
  2767.                video_player.play();
  2768.            }
  2769. setTimeout(function () {
  2770. $('body').addClass('audio_playing');
  2771. $('body').addClass('player_running');
  2772. $('#play-pause').addClass('amplitude-playing');
  2773. }, 100);
  2774. },
  2775. 'after_pause': function(){
  2776.            if (Amplitude.getActiveSongMetadata().youtube_url != '' && typeof Amplitude.getActiveSongMetadata().youtube_url !== 'undefined' && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && parseInt($('#audio_ad_id').val()) == 0))) {
  2777.                is_paused = 1;
  2778.                video_player.pause();
  2779.            }
  2780. $('body').removeClass('audio_playing');
  2781. $('#play-pause').removeClass('amplitude-playing');
  2782. $('body').removeClass('player_running');
  2783. },
  2784. 'after_stop': function(){
  2785.            if (Amplitude.getActiveSongMetadata().youtube_url != '' && typeof Amplitude.getActiveSongMetadata().youtube_url !== 'undefined' && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && parseInt($('#audio_ad_id').val()) == 0))) {
  2786.                $('#my_video_player_container').slideUp();
  2787.                $('#my_video_player_container').html('');
  2788.            }
  2789. if (parseInt($('.ss_track_play_pause').attr('data_is_ad')) > 0 && is_sent == 0) {
  2790. is_sent = 1;
  2791. song_id = $('#current-track').attr('value');
  2792. onTimesUp(song_id);
  2793. return false;
  2794. }
  2795. $('body').removeClass('audio_playing');
  2796. $('#play-pause').removeClass('amplitude-playing');
  2797. $('body').removeClass('player_running');
  2798. $('#light-wave').width('0px');
  2799. }
  2800. }
  2801. });
  2802.  
  2803. });
  2804.  
  2805. const FULL_DASH_ARRAY = 283;
  2806. const WARNING_THRESHOLD = 10;
  2807. const ALERT_THRESHOLD = 5;
  2808.  
  2809. const TIME_LIMIT = 10;
  2810. let timePassed = 0;
  2811. let timeLeft = TIME_LIMIT;
  2812. let timerInterval = null;
  2813.  
  2814. function onTimesUp(song_id) {
  2815. if (typeof wavesurfer != "undefined") {
  2816. wavesurfer.pause();
  2817. }
  2818. if (typeof Amplitude != "undefined") {
  2819. Amplitude.pause();
  2820. Amplitude.removeSong(0);
  2821. }
  2822. $('#queue-' + song_id).remove();
  2823. $(".song_controls").css("pointer-events","auto");
  2824.    $(".song_progress").css("pointer-events","auto");
  2825.    $(".song_progress_right").css("pointer-events","auto");
  2826.    $(".ma_player_playlist").css("pointer-events","auto");
  2827.    $("#waveform").css("pointer-events","auto");
  2828. playSong(song_id,0,'yes');
  2829. $('body').removeClass('player_running');
  2830.    clearInterval(timerInterval);
  2831.    goToAjaxLink('track/' + song_id);
  2832. }
  2833.  
  2834. function startTimer(song_id) {
  2835.  $(".song_controls").css("pointer-events","none");
  2836.  $(".song_progress").css("pointer-events","none");
  2837.  $(".song_progress_right").css("pointer-events","none");
  2838.  $(".ma_player_playlist").css("pointer-events","none");
  2839.  $("#waveform").css("pointer-events","none");
  2840.  timerInterval = setInterval(() => {
  2841.    timePassed = timePassed += 1;
  2842.    timeLeft = TIME_LIMIT - timePassed;
  2843.    if (timeLeft >= 0) {
  2844.     document.getElementById("base-timer-label").innerHTML = formatTime(
  2845.      timeLeft
  2846.    );
  2847.    setCircleDasharray();
  2848.    }
  2849.  
  2850.    if (timeLeft === 0) {
  2851.     song_id = "'"+song_id+"'";
  2852.     $(".pause_btn").replaceWith('<div class="pause_btn" onclick="onTimesUp('+song_id+')"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="var(--main-color)" d="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M8,8L13,12L8,16M14,8H16V16H14"/></svg></div>');
  2853.    }
  2854.  }, 1000);
  2855. }
  2856.  
  2857. function formatTime(time) {
  2858.  const minutes = Math.floor(time / 60);
  2859.  let seconds = time % 60;
  2860.  
  2861.  if (seconds < 10) {
  2862.    seconds = `0${seconds}`;
  2863.  }
  2864.  
  2865.  return `${minutes}:${seconds}`;
  2866. }
  2867.  
  2868. function calculateTimeFraction() {
  2869.  const rawTimeFraction = timeLeft / TIME_LIMIT;
  2870.  return rawTimeFraction - (1 / TIME_LIMIT) * (1 - rawTimeFraction);
  2871. }
  2872.  
  2873. function setCircleDasharray() {
  2874.  const circleDasharray = `${(
  2875.    calculateTimeFraction() * FULL_DASH_ARRAY
  2876.  ).toFixed(0)} 283`;
  2877.  document
  2878.    .getElementById("base-timer-path-remaining")
  2879.    .setAttribute("stroke-dasharray", circleDasharray);
  2880. }
  2881.  
  2882. var songIndex = [];
  2883. function playSong(id,audio_ad_id = 0,skip = '') {
  2884. if (typeof setPlayerInterval != 'undefined') {
  2885. clearInterval(setPlayerInterval);
  2886. }
  2887. if (!$('body').attr('first-play')) {
  2888. //Amplitude.removeSong(0);
  2889. $('body').attr('first-play', "true");
  2890. }
  2891.  
  2892. if (Amplitude.getActiveSongMetadata().id && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && parseInt($('#audio_ad_id').val()) == 0))) {
  2893. if (Amplitude.getActiveSongMetadata().id == id) {
  2894. Amplitude.play();
  2895. if ($('#page').attr('data-page') != 'track') {
  2896. goToAjaxLink('track/' + Amplitude.getActiveSongMetadata().id);
  2897. }
  2898. // $('#container_content').append('<a href="#" id="redirect-user" data-load="track/' + Amplitude.getActiveSongMetadata().id + '"></a>');
  2899. // $('#redirect-user').trigger('click');
  2900.            if (Amplitude.getActiveSongMetadata().youtube_url != '' && typeof Amplitude.getActiveSongMetadata().youtube_url !== 'undefined' && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && parseInt($('#audio_ad_id').val()) == 0))) {
  2901.                console.log(Amplitude)
  2902.                video_player.play();
  2903.                if (!$('#my_video_player_container').is(":visible")) {
  2904.                    $('#my_video_player_container').slideDown();
  2905.  
  2906.                }
  2907.            }
  2908. if ($('body').attr('first-play')) {
  2909. if (skip != 'yes') {
  2910. return false;
  2911. }
  2912. }
  2913. }
  2914. }
  2915.  
  2916. $('#bar_loading').show().animate({width:20 + 80 * Math.random() + "%"}, 200);
  2917. $.get('https://starchilds.fr/endpoints/get-song-info', {id: id,audio_ad_id: audio_ad_id}, function(data) {
  2918. if (data.age == true) {
  2919. $('#age-restricted').modal('show');
  2920. $('#bar_loading').animate({width:"100%"}, 200).fadeOut(300, function() {
  2921.           $(this).width("0");
  2922.        });
  2923. return false;
  2924. }
  2925. $("#light-wave").stop(true);
  2926. $('.waveform-small').html("");
  2927. $('.ssong_comments.small-waves').addClass('hidden');
  2928. $('.mus_feeds_bodycoms').addClass('hidden');
  2929. $('.post-actions').addClass('hidden');
  2930. if (data.status == 200) {
  2931. $('body').attr('song-duration', data.duration);
  2932. if ($('.feed_post[data-id="' + data.songID + '"]:first').length > 0) {
  2933. if (data.songWaves.length > 0) {
  2934. $('.feed_post[data-id="' + data.songID + '"]:first').find('.waveform-small').html(data.songWaves);
  2935. $('#light-wave img').width($('#dark-wave').width() + 'px');
  2936. }
  2937. $('.feed_post[data-id="' + data.songID + '"]:first').find('.art-info').removeClass('hidden');
  2938. $('.feed_post[data-id="' + data.songID + '"]:first').find('.post-actions').removeClass('hidden');
  2939. $('.feed_post[data-id="' + data.songID + '"]:first').find('.ssong_comments').removeClass('hidden');
  2940. $('.feed_post[data-id="' + data.songID + '"]:first').find('.mus_feeds_bodycoms').removeClass('hidden');
  2941.    $('.feed_post[data-id="' + data.songID + '"]:first').find('.comment_list').html(data.comments);
  2942.    $('.feed_post[data-id="' + data.songID + '"]:first').find('.comment-waves').html(data.waves);
  2943. $('html,body').animate({
  2944.        scrollTop: $('.feed_post[data-id="' + data.songID + '"]:first').offset().top
  2945.    }, 'slow');
  2946. }
  2947.  
  2948. $('body').addClass('player_running');
  2949.            if ($('.amplitude-song-container').length == 0) {
  2950.                Amplitude.removeSong(0)
  2951.            }
  2952.    if ($('#queue-' + id).length == 0 || data.is_ad == 'yes') {
  2953. var songObject = {
  2954.        "name": data.songTitle,
  2955.        "artist": data.artistName,
  2956.        "album": data.albumName,
  2957.        "url": data.songURL,
  2958.        "cover_art_url": data.coverURL,
  2959.                    "youtube_url": data.youtube_url,
  2960.        "id": id,
  2961.        "u_id": data.songID,
  2962.        "data_load": 'track/' + id,
  2963.        "href": data.songPageURL,
  2964.        "duration": data.songDuration,
  2965.        "purchase": data.purchase,
  2966.        'price': data.price,
  2967.        "is_favoriated": data.is_favoriated,
  2968.        "showDemo": data.showDemo
  2969. };
  2970.     var songIndex = Amplitude.addSong(songObject);
  2971. data.qID = songIndex;
  2972. songObject.qID = songIndex;
  2973. Amplitude.playSongAtIndex(songIndex);
  2974.                if (data.is_ad != 'yes') {
  2975.                    addToQueue(data, songObject, false);
  2976.                    addView(data.songID);
  2977.  
  2978.                }
  2979. $('.amplitude-song-container').removeClass('amplitude-playing');
  2980. //$('.amplitude-song-container[amplitude-song-index="' + songIndex + '"]').addClass('amplitude-playing');
  2981.                $('#queue-list').find('.amplitude-song-container').last().addClass('amplitude-playing');
  2982.    } else {
  2983.     songIndex = $('#queue-' + id).attr('amplitude-song-index');
  2984.     Amplitude.playSongAtIndex(songIndex);
  2985.    }
  2986.            setTimeout(function () {
  2987.                if (Amplitude.getActiveSongMetadata().youtube_url != '' && typeof Amplitude.getActiveSongMetadata().youtube_url !== 'undefined' && data.is_ad != 'yes') {
  2988.                        $('#my_video_player_container').html('<div class="y_player_cover"></div><span class="player_exit" onclick="HidePlayer()"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span><div class="plyr__video-embed" id="my_video_player_"><iframe src="'+Amplitude.getActiveSongMetadata().youtube_url+'?origin=https://plyr.io&amp;iv_load_policy=3&amp;modestbranding=1&amp;playsinline=1&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1" allowfullscreen allowtransparency ></iframe> </div>')
  2989.                        $('#my_video_player_container').slideDown();
  2990.                        video_player = new Plyr('#my_video_player_',{muted: true,controls: []});
  2991.                        video_player.on('ready', event => {
  2992.                            video_player.play();
  2993.                        });
  2994.                }
  2995.            },500);
  2996.    $('.player-song-url').attr('href', data.songPageURL);
  2997.  
  2998.    if (data.data_load != '') {
  2999.     Amplitude.getActiveSongMetadata().data_load = '';
  3000.     $('.player-song-url').attr('data-load', '');
  3001.    }
  3002.    else{
  3003.     $('.player-song-url').attr('data-load', 'track/' + id);
  3004.    }
  3005.  
  3006. $('#song-fav-button').html(data.favorite_button);
  3007. $('.ma_player').removeClass('closed');
  3008. if (data.is_ad == 'yes') {
  3009. document.querySelector(".pause_btn").innerHTML = `
  3010. <div class="base-timer">
  3011.  <svg class="base-timer__svg" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g class="base-timer__circle"><circle class="base-timer__path-elapsed" cx="50" cy="50" r="45"></circle><path id="base-timer-path-remaining" stroke-dasharray="283" class="base-timer__path-remaining" d="M 50, 50 m -45, 0 a 45,45 0 1,0 90,0 a 45,45 0 1,0 -90,0"></path></g></svg>
  3012.  <span id="base-timer-label" class="base-timer__label">${formatTime(
  3013.    timeLeft
  3014.  )}</span><p>ignorer l&#39;annonce</p>
  3015. </div>
  3016. `;
  3017. startTimer(id);
  3018. $('.ss_track_play_pause').attr('data_is_ad', 1);
  3019. }
  3020. } else {
  3021. alert("Can't load the song, please try again later.")
  3022. }
  3023. $('#bar_loading').animate({width:"100%"}, 200).fadeOut(300, function() {
  3024.           $(this).width("0");
  3025.        });
  3026. });
  3027. }
  3028.  
  3029. function addToQueue(data, object, fetch) {
  3030.    if (fetch == false) {
  3031.        html = '<div class="song amplitude-song-container amplitude-play-pause" id="queue-' + object.id + '" onclick="playSong(\'' + object.id + '\')" amplitude-song-index="' + object.qID + '"><div class="song_icon_container"><img class="now-playing" src="'+ object.cover_art_url+'"/></div><span class="song_duration">' + object.duration + '</span><div class="song_meta_data"><span class="song_title">' + object.name + '</span><span class="song_artist">' + object.artist + '</span></div></div>';
  3032.        $('#queue-list').append(html);
  3033.    }
  3034.    setTimeout(function () {
  3035.        $.post('https://starchilds.fr/endpoints/add-queue', {qdata: object});
  3036.    }, 2000);
  3037. }
  3038.  
  3039. function registerCommentreplay(value, id, commentid, event, element) {
  3040.    if (!value || !id || !commentid) {
  3041.        return false;
  3042.    }
  3043.    if(event.which == 13) {
  3044.        element.attr('disabled', "true");
  3045.        $.post('https://starchilds.fr/endpoints/register-comment-replay', {id: id, value: value, cid:commentid}, function(data) {
  3046.            if (data.status == 300) {
  3047.                $('#login_box').modal('show');
  3048.            }
  3049.            if (data.status == 200) {
  3050.                $('.no-comments-found').remove();
  3051.                $('.no-track-found').remove();
  3052.                element.val("");
  3053.                $('.comment-replay-list-' + commentid).append(data.html);
  3054.                //window.init_emojioneArea();
  3055.            }
  3056.            element.removeAttr('disabled');
  3057.        });
  3058.    }
  3059.  
  3060. }
  3061.  
  3062. function deleteCommentReplay(element) {
  3063.    mainElement = $('#delete-comment-replay');
  3064.    comment_id = mainElement.attr('data-id');
  3065.    mode = mainElement.attr('data-mode');
  3066.    if (!comment_id) {
  3067.        return false;
  3068.    }
  3069.    $('#delete-comment-replay').modal('hide');
  3070.    $('.comment-replay-' + comment_id).slideUp('200', function () {
  3071.        $(this).remove();
  3072.    });
  3073.    $.get('https://starchilds.fr/endpoints/delete-comment-replay', {id: comment_id});
  3074. }
  3075.  
  3076. function registerComment(value, id, event, element) {
  3077. if (!value || !id) {
  3078. return false;
  3079. }
  3080.    //fix
  3081. if(event.which == 13) {
  3082. element.attr('disabled', "true");
  3083. time = "";
  3084. timeSeconds = "";
  3085. if (Amplitude.getActiveSongMetadata().id == id) {
  3086. time = Amplitude.audio().currentTime;
  3087.    timeSeconds = $('.amplitude-song-played-progress').val();
  3088. }
  3089. wave = 0;
  3090. if ($('#light-wave').val()) {
  3091. wave = $('#light-wave').val();
  3092. }
  3093.        $.post('https://starchilds.fr/endpoints/register-comment', {id: id, value: value, timePercentage: timeSeconds, time: time, wave: wave}, function(data) {
  3094.         if (data.status == 300) {
  3095.                $('#login_box').modal('show');
  3096.            }
  3097.         if (data.status == 200) {
  3098.         $('.no-comments-found').remove();
  3099.         $('.no-track-found').remove();
  3100.         element.val("");
  3101.         $('.comment-waves').append(data.comment_wave);
  3102.         $('.comment-list-' + id).prepend(data.html);
  3103.                //window.init_emojioneArea();
  3104.         }
  3105.         element.removeAttr('disabled');
  3106.        });
  3107.    }
  3108.  
  3109. }
  3110.  
  3111. $(document).on('mouseover', '.comment-on-wave', function(event) {
  3112. $(this).find('.comment-on-wave-data').css({
  3113. display: 'block',
  3114. });
  3115. });
  3116. $(document).on('mouseleave', '.comment-on-wave', function(event) {
  3117. $(this).find('.comment-on-wave-data').css({
  3118. display: 'none',
  3119. });
  3120. });
  3121.  
  3122. $('.comment-on-wave-data').on('hover', function(event) {
  3123.  
  3124. });
  3125.  
  3126. function goToWave(secnods) {
  3127. setTimeout(function () {
  3128. Amplitude.skipTo(secnods, Amplitude.getActiveSongMetadata().qID);
  3129. }, 200);
  3130. }
  3131.  
  3132. function goTo(element) {
  3133. mainElement = element.parents('li');
  3134.  
  3135. if (Amplitude.getActiveSongMetadata().id != mainElement.attr('comment-song-id')) {
  3136. playSong(mainElement.attr('song-id'));
  3137. }
  3138.  
  3139. setTimeout(function () {
  3140. Amplitude.skipTo(mainElement.attr('comment-seconds'), Amplitude.getActiveSongMetadata().qID);
  3141. }, 200);
  3142. }
  3143. function BloglikeComment(comment_id) {
  3144.    if (!comment_id) {
  3145.        return false;
  3146.    }
  3147.    var clickval = $('.comment_like[data-comment-id="'+comment_id+'"]').attr("onclick");
  3148.    $('.comment_like[data-comment-id="'+comment_id+'"]').attr('onclick',clickval.replace('likeComment', 'UnlikeComment') );
  3149.    $('.comment_like[data-comment-id="'+comment_id+'"] path').attr('fill','#e62117');
  3150.    $.get('https://starchilds.fr/endpoints/like-blog-comment', {id: comment_id});
  3151.    let c = parseInt($('#comment_like_'+comment_id).html());
  3152.    $('#comment_like_'+comment_id).html( c + 1);
  3153. }
  3154. function BlogUnlikeComment(comment_id) {
  3155.    if (!comment_id) {
  3156.        return false;
  3157.    }
  3158.    var clickval = $('.comment_like[data-comment-id="'+comment_id+'"]').attr("onclick");
  3159.    $('.comment_like[data-comment-id="'+comment_id+'"]').attr('onclick',clickval.replace('UnlikeComment', 'likeComment') );
  3160.    $('.comment_like[data-comment-id="'+comment_id+'"] path').attr('fill','currentColor');
  3161.    $.get('https://starchilds.fr/endpoints/unlike-blog-comment', {id: comment_id});
  3162.    let c = parseInt($('#comment_like_'+comment_id).html());
  3163.    $('#comment_like_'+comment_id).html( c - 1);
  3164. }
  3165. function BlogUnReportComment(comment_id,user_id) {
  3166.    if (!comment_id) {
  3167.        return false;
  3168.    }
  3169.    $('.blog_comment_report[data-comment-id="'+comment_id+'"]').show();
  3170.    $('.blog_comment_report[data-comment-id="'+comment_id+'"]').css({'visibility':'inherit'});
  3171.    $('.blog_comment_unreport[data-comment-id="'+comment_id+'"]').hide();
  3172.    $.get(ajaxUrl() + '/blog-unreport-comment', {id: comment_id,uid: user_id}, function (data) {
  3173.        if (data.status == 200) {
  3174.            $('#blog_comment_unreported').modal('show');
  3175.            setTimeout(function () {
  3176.                $('#blog_comment_unreported').modal('hide');
  3177.            }, 3000);
  3178.        }
  3179.    });
  3180. }
  3181. function deleteComment(element) {
  3182. mainElement = $('#delete-comment');
  3183.    comment_id = mainElement.attr('data-id');
  3184.    mode = mainElement.attr('data-mode');
  3185. if (!comment_id) {
  3186. return false;
  3187. }
  3188. $('#delete-comment').modal('hide');
  3189. $('.comment-' + comment_id).slideUp('200', function () {
  3190. $(this).remove();
  3191. });
  3192. if(mode == 'blog'){
  3193.        $.get('https://starchilds.fr/endpoints/delete-blog-comment', {id: comment_id});
  3194.    }else{
  3195.        $.get('https://starchilds.fr/endpoints/delete-comment', {id: comment_id});
  3196.    }
  3197. }
  3198.  
  3199. function likeComment(comment_id) {
  3200.    if (!comment_id) {
  3201.        return false;
  3202.    }
  3203.    var clickval = $('.comment_like[data-comment-id="'+comment_id+'"]').attr("onclick");
  3204.    $('.comment_like[data-comment-id="'+comment_id+'"]').attr('onclick',clickval.replace('likeComment', 'UnlikeComment') );
  3205.    $('.comment_like[data-comment-id="'+comment_id+'"] path').attr('fill','#e62117');
  3206.    $.get('https://starchilds.fr/endpoints/like-comment', {id: comment_id});
  3207.    let c = parseInt($('#comment_like_'+comment_id).html());
  3208.    $('#comment_like_'+comment_id).html( c + 1);
  3209. }
  3210.  
  3211. function UnlikeComment(comment_id) {
  3212.    if (!comment_id) {
  3213.        return false;
  3214.    }
  3215.    var clickval = $('.comment_like[data-comment-id="'+comment_id+'"]').attr("onclick");
  3216.    $('.comment_like[data-comment-id="'+comment_id+'"]').attr('onclick',clickval.replace('UnlikeComment', 'likeComment') );
  3217.    $('.comment_like[data-comment-id="'+comment_id+'"] path').attr('fill','currentColor');
  3218.    $.get('https://starchilds.fr/endpoints/unlike-comment', {id: comment_id});
  3219.  
  3220.    let c = parseInt($('#comment_like_'+comment_id).html());
  3221.    $('#comment_like_'+comment_id).html( c - 1);
  3222.  
  3223. }
  3224.  
  3225. function UnReportComment(comment_id,user_id) {
  3226.    if (!comment_id) {
  3227.        return false;
  3228.    }
  3229.    $('.comment_report[data-comment-id="'+comment_id+'"]').show();
  3230.    $('.comment_report[data-comment-id="'+comment_id+'"]').css({'visibility':'inherit'});
  3231.    $('.comment_unreport[data-comment-id="'+comment_id+'"]').hide();
  3232.  
  3233.    $.get(ajaxUrl() + '/unreport-comment', {id: comment_id,uid: user_id}, function (data) {
  3234.        if (data.status == 200) {
  3235.            $('#comment_unreported').modal('show');
  3236.            setTimeout(function () {
  3237.                $('#comment_unreported').modal('hide');
  3238.            }, 3000);
  3239.        }
  3240.    });
  3241.  
  3242. }
  3243.  
  3244. function UnReportTrack(track_id,user_id) {
  3245.    if (!track_id) {
  3246.        return false;
  3247.    }
  3248.    $('.track_report[data-track-id="'+track_id+'"]').show();
  3249.    $('.track_report[data-track-id="'+track_id+'"]').css({'visibility':'inherit'});
  3250.    $('.track_unreport[data-track-id="'+track_id+'"]').hide();
  3251.  
  3252.    $.get(ajaxUrl() + '/unreport-track', {'id': track_id,'uid': user_id}, function (data) {
  3253.        if (data.status == 200) {
  3254.            $('#track_unreported').modal('show');
  3255.            setTimeout(function () {
  3256.                $('#track_unreported').modal('hide');
  3257.            }, 3000);
  3258.        }
  3259.    });
  3260.  
  3261. }
  3262.  
  3263.  
  3264. function SlideSetCookie(cname, cvalue, exdays) {
  3265.    $('#open_slide').attr('onclick', "SlideEraseCookie('open_slide')");
  3266.    var d = new Date();
  3267.    d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
  3268.    var expires = "expires="+d.toUTCString();
  3269.    document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
  3270. }
  3271. function SlideEraseCookie(name) {
  3272.    $('#open_slide').attr('onclick', "SlideSetCookie('open_slide','yes',1)");
  3273.    document.cookie = name + '=;path=/;Max-Age=0'
  3274. }
  3275.  
  3276.  
  3277. function PayFromWallet() {
  3278.    $('#wallet_to_pay').find('.btn-mat').attr('disabled', 'true');
  3279.    $(".modal_story_pay_alert").html('');
  3280.    price = $('#wallet_to_pay_price').val();
  3281.    type = $('#wallet_to_pay_type').val();
  3282.    id = $('#wallet_to_pay_id').val();
  3283.    $.post('https://starchilds.fr/endpoints/wallet/pay', {price: price,type: type,id: id}, function(data, textStatus, xhr) {
  3284.        $('#wallet_to_pay').find('.btn-mat').removeAttr('disabled');
  3285.        if (data.status == 200) {
  3286.            clearQueues(false);
  3287.            $(".modal_wallet_pay_alert").html('<div class="alert alert-success"><i class="fa fa-check"></i> Paiement effectué avec succès</div>');
  3288.            setTimeout(function () {
  3289.                location.href = data.url;
  3290.            },2000);
  3291.        }
  3292.        else{
  3293.            $(".modal_wallet_pay_alert").html('<div class="alert alert-danger"><i class="fa fa-info-circle"></i> '+data.error+'</div>');
  3294.        }
  3295.    });
  3296. }
  3297.  
  3298. function purchaseTrack(id, element,type,price) {
  3299.            $('#login_box').modal('show');
  3300.    }
  3301.  
  3302.  
  3303.  
  3304. function registerBlogComment(value, id, event, element) {
  3305. if (!value || !id) {
  3306. return false;
  3307. }
  3308. if(event.which == 13) {
  3309. element.attr('disabled', "true");
  3310.        $.post('https://starchilds.fr/endpoints/register-blog-comment', {id: id, value: value}, function(data) {
  3311.         if (data.status == 300) {
  3312.                $('#login_box').modal('show');
  3313.            }
  3314.         if (data.status == 200) {
  3315.         $('.no-comments-found').remove();
  3316.         $('.no-track-found').remove();
  3317.         element.val("");
  3318.         $('.comment-list-' + id).prepend(data.html);
  3319.         }
  3320.         element.removeAttr('disabled');
  3321.        });
  3322.    }
  3323.  
  3324. }
  3325. function TrackReadMore() {
  3326.    var dots = document.getElementById("dots");
  3327.    var moreText = document.getElementById("more");
  3328.    var btnText = document.getElementById("btn-track-load-more");
  3329.  
  3330.    if (dots.style.display === "none") {
  3331.        dots.style.display = "inline";
  3332.        btnText.innerHTML = "Lire la suite";
  3333.        moreText.style.display = "none";
  3334.    } else {
  3335.        dots.style.display = "none";
  3336.        btnText.innerHTML = "Lire moins";
  3337.        moreText.style.display = "inline";
  3338.    }
  3339. }
  3340.  
  3341.  
  3342.  
  3343.  
  3344.  
  3345.  
  3346.  
  3347.  
  3348.  
  3349.  
  3350.  
  3351.  
  3352.  
  3353.  
  3354.  
  3355.  
  3356. function getUrl() {
  3357. var url = window.location.href;
  3358. return url.replace("https://starchilds.fr", "");
  3359. }
  3360.  
  3361. function ajaxRedirect(url) {
  3362. if (!url) {
  3363. url = getUrl();
  3364. }
  3365. goToAjaxLink(url);
  3366. }
  3367.  
  3368. function favorite(id, element) {
  3369. if (element.hasClass('is_favoriated')) {
  3370. element.html('<path fill="currentColor" d="M12,15.39L8.24,17.66L9.23,13.38L5.91,10.5L10.29,10.13L12,6.09L13.71,10.13L18.09,10.5L14.77,13.38L15.76,17.66M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z" />');
  3371. element.removeClass("is_favoriated");
  3372. if (Amplitude.getActiveSongMetadata()) {
  3373. Amplitude.getActiveSongMetadata().is_favoriated = false;
  3374. }
  3375. } else {
  3376. element.addClass("is_favoriated");
  3377. element.html('<path fill="#ff9900" d="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z" />');
  3378. if (Amplitude.getActiveSongMetadata()) {
  3379. Amplitude.getActiveSongMetadata().is_favoriated = true;
  3380. }
  3381. }
  3382.  
  3383. $.get('https://starchilds.fr/endpoints/favorite-track', {id: id});
  3384. }
  3385.  
  3386. function addToLists(id) {
  3387. getID = $('#playlists').attr('data-id');
  3388. if (!getID) {
  3389. return false;
  3390. }
  3391. var playlists = "";
  3392. $(".select-playlist-list").each(function (index, item) {
  3393. if ($(this).hasClass('active')) {
  3394. playlists += $(this).attr('data-id') + ",";
  3395. }
  3396. });
  3397. if (playlists) {
  3398. $('#playlists').find('.btn-mat').text("S'il vous plaît, attendez..");
  3399. $.get(ajaxUrl() + "/playlist/add-to-playlist", {playlists: playlists, id: getID}, function (data) {
  3400. if (data.status == 200) {
  3401. $('#playlists').modal('hide');
  3402. setTimeout(function () {
  3403. $('#playlists').remove();
  3404. }, 200);
  3405. } else if (data.status == 300) {
  3406. alert("Veuillez sélectionner la playlist à laquelle vous souhaitez ajouter cette chanson.")
  3407. } else {
  3408. $('#playlists').modal('hide');
  3409. setTimeout(function () {
  3410. $('#playlists').remove();
  3411. }, 200);
  3412. }
  3413. });
  3414. }
  3415. }
  3416.  
  3417. function blockUser(id, username, type) {
  3418. if (!id || !username) {
  3419. return false;
  3420. }
  3421. if (!confirm("Êtes vous sûr de vouloir bloquer cet utilisateur")) {
  3422. return false;
  3423. }
  3424. $.get('https://starchilds.fr/endpoints/block-user/' + type, {id: id}, function (data) {
  3425. goToAjaxLink(username);
  3426. });
  3427. }
  3428.  
  3429. $(document).on('click', '#night_mode_toggle', function(event) {
  3430.    mode = $(this).attr('data-mode');
  3431.    $.post('https://starchilds.fr/endpoints/?mode=' + mode, {}, function(data, textStatus, xhr) { /* pass */ });
  3432.    if (mode !== 'night') {
  3433.        $('body').append('<link rel="stylesheet" href="https://starchilds.fr/themes/volcano/css/day.style.css" id="night-mode-css">');
  3434.        $('#night_mode_toggle').attr('data-mode', 'night');
  3435.        $('.switch .txt').text('Mode nuit');
  3436.        $('.head_logo img').attr('src', 'https://starchilds.fr/themes/volcano/img/logo-white.png?cache=123');
  3437. $('.auth_box .right_combo > .navbar-brand img').attr('src', 'https://starchilds.fr/themes/volcano/img/logo-white.png?cache=123');
  3438. $('.ma_home_nav nav .navbar-brand img').attr('src', 'https://starchilds.fr/themes/volcano/img/logo-white.png?cache=123');
  3439. $('.nigh_day_ico').html('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"></path><path fill="currentColor" d="M10 6a8 8 0 0 0 11.955 6.956C21.474 18.03 17.2 22 12 22 6.477 22 2 17.523 2 12c0-5.2 3.97-9.474 9.044-9.955A7.963 7.963 0 0 0 10 6zm-6 6a8 8 0 0 0 8 8 8.006 8.006 0 0 0 6.957-4.045c-.316.03-.636.045-.957.045-5.523 0-10-4.477-10-10 0-.321.015-.64.045-.957A8.006 8.006 0 0 0 4 12zm14.164-9.709L19 2.5v1l-.836.209a2 2 0 0 0-1.455 1.455L16.5 6h-1l-.209-.836a2 2 0 0 0-1.455-1.455L13 3.5v-1l.836-.209A2 2 0 0 0 15.29.836L15.5 0h1l.209.836a2 2 0 0 0 1.455 1.455zm5 5L24 7.5v1l-.836.209a2 2 0 0 0-1.455 1.455L21.5 11h-1l-.209-.836a2 2 0 0 0-1.455-1.455L18 8.5v-1l.836-.209a2 2 0 0 0 1.455-1.455L20.5 5h1l.209.836a2 2 0 0 0 1.455 1.455z"></path></svg>');
  3440.                    $('#dark-wave').css({'opacity':'0.5'});
  3441.                $('#light-wave').css({'border-right':'1px solid rgb(191, 191, 191)'});
  3442.    } else {
  3443.        $('#night-mode-css').remove();
  3444.        $('#night_mode_toggle').attr('data-mode', 'day');
  3445.        $('.switch .txt').text('Mode jour');
  3446.        $('.head_logo img').attr('src', 'https://starchilds.fr/themes/volcano/img/logo.png?cache=123');
  3447. $('.auth_box .right_combo > .navbar-brand img').attr('src', 'https://starchilds.fr/themes/volcano/img/logo.png?cache=123');
  3448. $('.ma_home_nav nav .navbar-brand img').attr('src', 'https://starchilds.fr/themes/volcano/img/logo.png?cache=123');
  3449. $('.nigh_day_ico').html('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"></path><path fill="currentColor" d="M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zm0-2a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85l1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"></path></svg>');
  3450.                    $('#dark-wave').css({'opacity':'inherit'});
  3451.                $('#light-wave').css({'border-right':'1px solid rgb(71, 71, 71)'});
  3452.    }
  3453.  
  3454.  
  3455. });
  3456.  
  3457. $(document).ready(function() {
  3458.    FastClick.attach(document.body);
  3459. });
  3460.  
  3461. function hide_announcement(id){
  3462.    if (!id) { return false; }
  3463.    $("#announcement-"+id).slideUp('fast',function(){
  3464.        $(this).remove();
  3465.        $.post('https://starchilds.fr/endpoints/user/hide-announcement', {id: id}, function(data, textStatus, xhr) { /* pass */ });
  3466.    })
  3467. }
  3468. function AddEventInterested(id,self,type = 'interest') {
  3469.    if (type == 'interest') {
  3470.        $(self).html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M0.41,13.41L6,19L7.41,17.58L1.83,12M22.24,5.58L11.66,16.17L7.5,12L6.07,13.41L11.66,19L23.66,7M18,7L16.59,5.58L10.24,11.93L11.66,13.34L18,7Z"></path></svg> <span class="button-text"> Intéressé</span>')
  3471.        $(self).attr('onclick', "AddEventInterested('"+id+"',this,'uninterest')");
  3472.    }
  3473.    else{
  3474.        $(self).html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M16.5,5C15,5 13.58,5.91 13,7.2V17.74C17.25,13.87 20,11.2 20,8.5C20,6.5 18.5,5 16.5,5M16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3Z"></path></svg> <span class="button-text"> Intéressé</span>')
  3475.        $(self).attr('onclick', "AddEventInterested('"+id+"',this,'interest')");
  3476.    }
  3477.    $.post('https://starchilds.fr/endpoints/event/interest', {id: id,type: type}, function(data, textStatus, xhr) {});
  3478. }
  3479. function JoinEvent(id,self,type = 'join') {
  3480.    if (type == 'join') {
  3481.        $('#going-'+id).find('button').html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M0.41,13.41L6,19L7.41,17.58L1.83,12M22.24,5.58L11.66,16.17L7.5,12L6.07,13.41L11.66,19L23.66,7M18,7L16.59,5.58L10.24,11.93L11.66,13.34L18,7Z"></path></svg> <span class="button-text"> Rejoint</span>')
  3482.        $('#going-'+id).find('button').attr('onclick', "JoinEvent('"+id+"',this,'unjoin')");
  3483.    }
  3484.    else{
  3485.        $('#going-'+id).find('button').html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10.74,11.72C11.21,12.95 11.16,14.23 9.75,14.74C6.85,15.81 6.2,13 6.16,12.86L10.74,11.72M5.71,10.91L10.03,9.84C9.84,8.79 10.13,7.74 10.13,6.5C10.13,4.82 8.8,1.53 6.68,2.06C4.26,2.66 3.91,5.35 4,6.65C4.12,7.95 5.64,10.73 5.71,10.91M17.85,19.85C17.82,20 17.16,22.8 14.26,21.74C12.86,21.22 12.8,19.94 13.27,18.71L17.85,19.85M20,13.65C20.1,12.35 19.76,9.65 17.33,9.05C15.22,8.5 13.89,11.81 13.89,13.5C13.89,14.73 14.17,15.78 14,16.83L18.3,17.9C18.38,17.72 19.89,14.94 20,13.65Z"></path></svg> <span class="button-text"> Rejoindre</span>')
  3486.        $('#going-'+id).find('button').attr('onclick', "JoinEvent('"+id+"',this,'join')");
  3487.    }
  3488.    $.post('https://starchilds.fr/endpoints/event/join', {id: id,type: type}, function(data, textStatus, xhr) {});
  3489. }
  3490. function BuyTicket(id,self,type = 'join',price = 0,show_type = 'show',available_tickets = 0, image = '') {
  3491. $('#buy_ticket_modal').find('.modal-body-alert').html('');
  3492. $('#buy_ticket_modal').find('.btn-primary').removeAttr('disabled');
  3493.    $('#buy_ticket_modal').find('.btn-primary').text("Acheter");
  3494. if (parseInt(price) > parseInt("{{ME org_wallet}}")) {
  3495. $('#buy_ticket_modal').find('.modal-body-alert').html(`<div class="alert alert-info"><a href="https://starchilds.fr/settings/{{ME username/wallet}}" data-load="settings/{{ME username}}/wallet">Ajouter des crédits à votre portefeuille.</a></div>`);
  3496. $('#buy_ticket_modal').find('.btn-primary').attr('disabled', 'true');
  3497. $('#buy_ticket_modal').modal('show');
  3498.        return false;
  3499. }
  3500. if(parseInt(price) > 0 && show_type == 'hide'){
  3501. $('#buy_ticket_modal').find('.btn-primary').attr('onclick', "BuyTicket('"+id+"',this,'"+type+"','"+price+"','show','"+available_tickets+"')");
  3502. $('#buy_ticket_modal').find('.avail_ticket p').html(""+available_tickets+"");
  3503. $('#buy_ticket_modal').find('.avail_ticket_price p').html("€"+price);
  3504. $('#buy_ticket_modal').find('.ticket-img').html("<img src='" + image + "' alt='Picture'>");
  3505.        $('#buy_ticket_modal').modal('show');
  3506.        return false;
  3507. }
  3508. $('#buy_ticket_modal').find('.btn-primary').attr('disabled', 'true');
  3509.    $('#buy_ticket_modal').find('.btn-primary').text("S'il vous plaît, attendez..");
  3510.    $.post('https://starchilds.fr/endpoints/event/buy', {id: id,price: price}, function(data, textStatus, xhr) {
  3511.     $('#buy_ticket_modal').find('.btn-primary').removeAttr('disabled');
  3512.        $('#buy_ticket_modal').find('.btn-primary').text("Acheter");
  3513.     if (data.status == 200) {
  3514.     $('#buy_ticket_modal').find('.modal-body-alert').html(`<div class="alert alert-success"><i class="fa fa-check"></i> ${data.message}</div>`);
  3515.            setTimeout(function () {
  3516.             $('#buy_ticket_modal').find('.modal-body-alert').html('');
  3517.             $('#buy_ticket_modal').modal('hide');
  3518.             location.href = 'https://starchilds.fr/purchased';
  3519.            },2000);
  3520.     }
  3521.     else{
  3522.     $('#buy_ticket_modal').find('.modal-body-alert').html(`<div class="alert alert-danger"><i class="fa fa-check"></i> ${data.message}</div>`);
  3523.     }
  3524.    });
  3525. }
  3526. function DeleteEvent(id,type = 'show') {
  3527.    if (type == 'hide') {
  3528.      $('#delete-event').find('.btn-mat').attr('onclick', "DeleteEvent('"+id+"')");
  3529.      $('#delete-event').modal('show');
  3530.      return false;
  3531.    }
  3532.    $('[data-event="'+id+'"').slideUp();
  3533.    $('[data-event="'+id+'"').remove();
  3534.    $.post('https://starchilds.fr/endpoints/event/delete', {id: id}, function(data, textStatus, xhr) {});
  3535. }
  3536. function StartStories(user_id,story_id) {
  3537.    $('#container_content').append('<div class="lightbox-container"><div class="lightbox-backgrond" onclick="Wo_CloseLightbox();"></div><div class="lb-preloader" style="display:block"><svg width="50px" height="50px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><rect x="0" y="0" width="100" height="100" fill="none" class="bk"></rect><circle cx="50" cy="50" r="40" stroke="#676d76" fill="none" stroke-width="6" stroke-linecap="round"><animate attributeName="stroke-dashoffset" dur="1.5s" repeatCount="indefinite" from="0" to="502"></animate><animate attributeName="stroke-dasharray" dur="1.5s" repeatCount="indefinite" values="150.6 100.4;1 250;150.6 100.4"></animate></circle></svg></div></div>');
  3538.    $.post('https://starchilds.fr/endpoints/story/start', {user_id: user_id,story_id:story_id}, function(data, textStatus, xhr) {
  3539.        if (data.status == 200) {
  3540.            if (!Amplitude.audio().paused) {
  3541.                Amplitude.pause();
  3542.                window.playAudio = 'yes';
  3543.            }
  3544.            else{
  3545.                window.playAudio = 'no';
  3546.            }
  3547.            $('.lightbox-container').html(data.html);
  3548.        }
  3549.        else{
  3550.            if (window.playAudio && window.playAudio == 'yes') {
  3551.                Amplitude.play();
  3552.                window.playAudio = 'no';
  3553.            }
  3554.            CloseLightbox();
  3555.        }
  3556.    });
  3557. }
  3558. function NextStory(user_id,story_id,next_user_id,next_story_id) {
  3559.    CloseLightbox();
  3560.    $('#container_content').append('<div class="lightbox-container"><div class="lightbox-backgrond" onclick="Wo_CloseLightbox();"></div><div class="lb-preloader" style="display:block"><svg width="50px" height="50px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><rect x="0" y="0" width="100" height="100" fill="none" class="bk"></rect><circle cx="50" cy="50" r="40" stroke="#676d76" fill="none" stroke-width="6" stroke-linecap="round"><animate attributeName="stroke-dashoffset" dur="1.5s" repeatCount="indefinite" from="0" to="502"></animate><animate attributeName="stroke-dasharray" dur="1.5s" repeatCount="indefinite" values="150.6 100.4;1 250;150.6 100.4"></animate></circle></svg></div></div>');
  3561.    $.post('https://starchilds.fr/endpoints/story/next', {user_id: user_id,story_id:story_id,next_user_id:next_user_id,next_story_id:next_story_id}, function(data, textStatus, xhr) {
  3562.        if (data.status == 200) {
  3563.            if (!Amplitude.audio().paused) {
  3564.                Amplitude.pause();
  3565.                window.playAudio = 'yes';
  3566.            }
  3567.            $('.lightbox-container').html(data.html);
  3568.        }
  3569.        else{
  3570.            if (window.playAudio && window.playAudio == 'yes') {
  3571.                Amplitude.play();
  3572.                window.playAudio = 'no';
  3573.            }
  3574.            CloseLightbox();
  3575.        }
  3576.    });
  3577. }
  3578. function PreviousStory(user_id,story_id,pre_user_id,pre_story_id) {
  3579.    CloseLightbox();
  3580.    $('#container_content').append('<div class="lightbox-container"><div class="lightbox-backgrond" onclick="Wo_CloseLightbox();"></div><div class="lb-preloader" style="display:block"><svg width="50px" height="50px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><rect x="0" y="0" width="100" height="100" fill="none" class="bk"></rect><circle cx="50" cy="50" r="40" stroke="#676d76" fill="none" stroke-width="6" stroke-linecap="round"><animate attributeName="stroke-dashoffset" dur="1.5s" repeatCount="indefinite" from="0" to="502"></animate><animate attributeName="stroke-dasharray" dur="1.5s" repeatCount="indefinite" values="150.6 100.4;1 250;150.6 100.4"></animate></circle></svg></div></div>');
  3581.    $.post('https://starchilds.fr/endpoints/story/previous', {user_id: user_id,story_id:story_id,pre_user_id:pre_user_id,pre_story_id:pre_story_id}, function(data, textStatus, xhr) {
  3582.        if (data.status == 200) {
  3583.            if (!Amplitude.audio().paused) {
  3584.                Amplitude.pause();
  3585.                window.playAudio = 'yes';
  3586.            }
  3587.            $('.lightbox-container').html(data.html);
  3588.        }
  3589.        else{
  3590.            if (window.playAudio && window.playAudio == 'yes') {
  3591.                Amplitude.play();
  3592.                window.playAudio = 'no';
  3593.            }
  3594.            CloseLightbox();
  3595.        }
  3596.    });
  3597. }
  3598. function CloseLightbox() {
  3599.  $('.lightbox-container').remove();
  3600.  document.body.style.overflow = 'auto';
  3601. }
  3602. function GetMoreStoryViews(story_id,self) {
  3603.  $('.lightpost-'+story_id).addClass('dont_close')
  3604.  last_view = $('.story_views_').last().attr('id');
  3605.  $(self).addClass('dont_close_story_'+story_id);
  3606.  $(self).find('span').html("S'il vous plaît, attendez");
  3607.  $.post('https://starchilds.fr/endpoints/story/story_views', {last_view:last_view,story_id:story_id}, function(data, textStatus, xhr) {
  3608.    if (data.status == 200) {
  3609.      $(self).find('button').html('<svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather"><polyline points="6 9 12 15 18 9"></polyline></svg> Charger plus');
  3610.  
  3611.      $('.views_container_').append(data.html);
  3612.    }
  3613.    else{
  3614.      $(self).find('button').html("Pas plus de vues");
  3615.  
  3616.    }
  3617.  });
  3618. }
  3619. function DeleteStory(id) {
  3620.    if (!id || !confirm("Êtes-vous sûr de vouloir supprimer votre histoire?")) {
  3621.    return false;
  3622.  }
  3623.  
  3624.  $.ajax({
  3625.    url: 'https://starchilds.fr/endpoints/story/delete',
  3626.    type: 'POST',
  3627.    dataType: 'json',
  3628.    data: {id:id},
  3629.  })
  3630.  .done(function(data) {
  3631.    if (data.status == 200) {
  3632.      location.reload();
  3633.    }
  3634.  })
  3635.  .fail(function() {
  3636.    console.log("error");
  3637.  })
  3638. }
  3639. function DeleteProduct(id,type = 'show') {
  3640.    if (type == 'hide') {
  3641.      $('#delete-product').find('.btn-mat').attr('onclick', "DeleteProduct('"+id+"')");
  3642.      $('#delete-product').modal('show');
  3643.      return false;
  3644.    }
  3645.    $('[data-product="'+id+'"').slideUp();
  3646.    $('[data-product="'+id+'"').remove();
  3647.    $.post('https://starchilds.fr/endpoints/product/delete', {id: id}, function(data, textStatus, xhr) {});
  3648. }
  3649. function AddProductToCart(self,id,type) {
  3650.    if (type == 'add') {
  3651.        $(self).html('<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" width="52" height="52" x="0" y="0" viewBox="0 0 24 24" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""><circle r="12" cx="12" cy="12" fill="var(--main-color)" shape="circle" transform="matrix(1,0,0,1,0,0)"></circle><g transform="matrix(0.5,0,0,0.5,6.0000000894069645,5.999999999999999)"><path d="m17.5 13c-3.584 0-6.5-2.916-6.5-6.5s2.916-6.5 6.5-6.5 6.5 2.916 6.5 6.5-2.916 6.5-6.5 6.5zm0-12c-3.032 0-5.5 2.467-5.5 5.5s2.468 5.5 5.5 5.5 5.5-2.467 5.5-5.5-2.468-5.5-5.5-5.5z" fill="#ffffff" data-original="#000000" class=""></path><path d="m15.379 9.121c-.128 0-.256-.049-.354-.146-.195-.195-.195-.512 0-.707l4.242-4.242c.195-.195.512-.195.707 0s.195.512 0 .707l-4.242 4.242c-.097.097-.225.146-.353.146z" fill="#ffffff" data-original="#000000" class=""></path><path d="m19.621 9.121c-.128 0-.256-.049-.354-.146l-4.242-4.242c-.195-.195-.195-.512 0-.707s.512-.195.707 0l4.242 4.242c.195.195.195.512 0 .707-.097.097-.225.146-.353.146z" fill="#ffffff" data-original="#000000" class=""></path><path d="m19.5 17h-13c-.238 0-.443-.168-.49-.402l-2-10c-.03-.147.009-.299.103-.415s.238-.183.387-.183h4c.276 0 .5.224.5.5s-.224.5-.5.5h-3.39l1.8 9h12.18l.277-1.385c.055-.272.33-.445.588-.392.271.054.447.317.393.588l-.357 1.787c-.048.234-.253.402-.491.402z" fill="#ffffff" data-original="#000000" class=""></path><path d="m6.499 17c-.233 0-.441-.164-.489-.402l-2.479-12.394c-.139-.699-.759-1.206-1.471-1.206h-.001l-1.558.002c-.001 0-.001 0-.001 0-.276 0-.5-.224-.5-.5s.224-.5.499-.5l1.558-.002h.003c1.188 0 2.219.845 2.452 2.01l2.478 12.394c.055.271-.121.534-.393.588-.032.007-.065.01-.098.01z" fill="#ffffff" data-original="#000000" class=""></path><path d="m21.5 19h-17c-.827 0-1.5-.673-1.5-1.5s.673-1.5 1.5-1.5h2c.276 0 .5.224.5.5s-.224.5-.5.5h-2c-.275 0-.5.224-.5.5s.225.5.5.5h17c.276 0 .5.224.5.5s-.224.5-.5.5z" fill="#ffffff" data-original="#000000" class=""></path><path d="m8 24c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0-3c-.552 0-1 .449-1 1s.448 1 1 1 1-.449 1-1-.448-1-1-1z" fill="#ffffff" data-original="#000000" class=""></path><path d="m17 24c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0-3c-.552 0-1 .449-1 1s.448 1 1 1 1-.449 1-1-.448-1-1-1z" fill="#ffffff" data-original="#000000" class=""></path></g></svg>');
  3652.        $(self).attr('onclick', "AddProductToCart(this,'"+id+"','remove')");
  3653.    }
  3654.    else{
  3655.        $(self).html('<svg xmlns="http://www.w3.org/2000/svg" width="52" height="52" viewBox="0 0 58 58"> <g id="Group_9580" data-name="Group 9580" transform="translate(-833 -689)"> <rect id="Rectangle_3421" data-name="Rectangle 3421" width="58" height="58" rx="29" transform="translate(833 689)" fill="var(--main-color)"/> <path id="Union_12" data-name="Union 12" d="M.588,22.148a.61.61,0,0,1-.417-.17A.616.616,0,0,1,0,21.562v-.074L.992,8.7a.561.561,0,0,1,.183-.374l.013-.008a.561.561,0,0,1,.391-.157H3.415v-.58a7.6,7.6,0,0,1,15.192,0v.58h1.832a.566.566,0,0,1,.393.157l.013.008a.56.56,0,0,1,.183.371l.994,12.817a.619.619,0,0,1-.147.434.61.61,0,0,1-.379.2Zm.634-1.17H20.8l-.9-11.65H2.116ZM6.565,2.95A6.336,6.336,0,0,0,4.6,7.293l-.038.863H17.43v-.58a6.4,6.4,0,0,0-6.137-6.4l-.258-.011-.025,0A6.41,6.41,0,0,0,6.565,2.95ZM8.674,14.568V12.236h4.674v2.332Z" transform="translate(851 707)" fill="#fff"/> </g> </svg>');
  3656.        $(self).attr('onclick', "AddProductToCart(this,'"+id+"','add')");
  3657.    }
  3658.    qty = 1;
  3659.    if ($('#cart_product_qty').length > 0) {
  3660.        qty = $('#cart_product_qty').val();
  3661.    }
  3662.    $.post('https://starchilds.fr/endpoints/product/add_cart', {product_id: id,qty:qty}, function(data, textStatus, xhr) {
  3663.        if (data.status == 200) {
  3664.            $('.unread_cart_count').html(data.count);
  3665.        }
  3666.    });
  3667. }
  3668. function GetCart() {
  3669.    $.post('https://starchilds.fr/endpoints/product/get_cart', {param1: 'value1'}, function(data, textStatus, xhr) {
  3670.        if (data.status == 200 && data.html != '') {
  3671.            $('#cart-list').html(data.html);
  3672.        }
  3673.        else{
  3674.            $('#cart-list').html('<li class="empty_state"><svg class="feather" xmlns="http://www.w3.org/2000/svg" width="21" height="21" viewBox="0 0 24.605 24.799"> <path id="Path_7212" data-name="Path 7212" d="M8852.219,2866h-23.362a.649.649,0,0,1-.656-.656v-.08l1.109-14.326a.62.62,0,0,1,.2-.419l.016-.009a.628.628,0,0,1,.439-.176h2.047v-.649a8.532,8.532,0,0,1,2.485-6,8.493,8.493,0,0,1,12,0,8.535,8.535,0,0,1,2.487,6v.649h2.046a.63.63,0,0,1,.439.176l.015.009a.626.626,0,0,1,.2.416l1.109,14.353a.671.671,0,0,1-.161.483.68.68,0,0,1-.424.229Zm-21.654-14.355-1,13.044h21.874l-1-13.044Zm9.938-9.136a7.168,7.168,0,0,0-7.166,6.859l-.041.967h14.382v-.649a7.164,7.164,0,0,0-6.86-7.162l-.284-.012-.03,0Z" transform="translate(-8828.2 -2841.201)" fill="currentColor"></path> <path id="Path_7211" data-name="Path 7211" d="M3649.849,6635.26v2.61h-5.222v-2.61Z" transform="translate(-3634.937 -6621.557)" fill="currentColor"></path> </svg>Votre panier est vide.</li>');
  3675.        }
  3676.    });
  3677. }
  3678. function RemoveProductFromCart(id) {
  3679.    $('#cart_product_'+id).remove();
  3680.    $('#checkout_product_'+id).remove();
  3681.    $.post('https://starchilds.fr/endpoints/product/remove_cart', {product_id: id}, function(data, textStatus, xhr) {
  3682.        if (data.status == 200) {
  3683.            $('.unread_cart_count').html(data.count);
  3684.        }
  3685.    });
  3686. }
  3687. function LoadCheckout() {
  3688.    $('#load_checkout').click();
  3689. }
  3690. $(document).ready(function() {
  3691.    var options = {
  3692.        url: "https://starchilds.fr/endpoints/address/add?hash_id=" + getHashID(),
  3693.        beforeSubmit:  function () {
  3694.            $('.modal_add_address_modal_alert').empty();
  3695.            $("#add_address_modal").find('.btn-mat').attr('disabled', 'true');
  3696.            $("#add_address_modal").find('.btn-mat').text("S'il vous plaît, attendez..");
  3697.        },
  3698.        success: function (data) {
  3699.            $("#add_address_modal").find('.btn-mat').text("Ajouter");
  3700.            $("#add_address_modal").find('.btn-mat').removeAttr('disabled')
  3701.            if (data.status == 200) {
  3702.                $('.modal_add_address_modal_alert').html('<div class="alert alert-success"><i class="fa fa-check"></i> '+
  3703.                data.message
  3704.                +'</div>');
  3705.                if (data.url && data.url != '') {
  3706.                    if ($('#load_checkout').length < 1) {
  3707.                        setTimeout(function () {
  3708.                            /*location.href = data.url;*/
  3709.                            $('.modal_add_address_modal_alert').empty();
  3710.                            $("#add_address_modal").find('.btn-mat').removeAttr('disabled')
  3711.                            $("#add_address_modal").find('.btn-mat').text("Ajouter");
  3712.                            $('#add_address_modal').modal('hide');
  3713.                            $('.address_form')[0].reset();
  3714.                            load_page = 'feed';
  3715.                            if ($('#json-data').length > 0) {
  3716.                                json_data = JSON.parse($('#json-data').val());
  3717.                                load_page = json_data.ajax_url;
  3718.                            }
  3719.                            else{
  3720.                                load_page = "feed";
  3721.                            }
  3722.                            goToAjaxLink(load_page);
  3723.                        },2000);
  3724.                    }
  3725.                    else{
  3726.                        setTimeout(function () {
  3727.                            $('.modal_add_address_modal_alert').empty();
  3728.                            $("#add_address_modal").find('.btn-mat').removeAttr('disabled')
  3729.                            $("#add_address_modal").find('.btn-mat').text("Ajouter");
  3730.                            $('#add_address_modal').modal('hide');
  3731.                            $('#load_checkout').click();
  3732.                        },2000);
  3733.                    }
  3734.                }
  3735.            } else {
  3736.                $('.modal_add_address_modal_alert').html('<div class="alert alert-danger"><i class="fa fa-check"></i> '+
  3737.            data.message
  3738.            +'</div>');
  3739.            }
  3740.        }
  3741.    };
  3742.    $('.address_form').ajaxForm(options);
  3743. });
  3744. function NewAddress() {
  3745.    $('.modal_add_address_modal_alert').empty();
  3746.    $("#add_address_modal").find('.btn-mat').removeAttr('disabled')
  3747.    $("#add_address_modal").find('.btn-mat').text("Ajouter");
  3748.    $('#add_address_modal').modal('show');
  3749. }
  3750. function BuyProducts(type = 'show',price) {
  3751.    if ($('.payment_address').length < 1) {
  3752.        $('.checkout_alert').html("<div class='alert alert-danger'><i class='fa fa-info-circle'></i> S'il vous plaît ajouter une nouvelle adresse</div>");
  3753.        return false;
  3754.    }
  3755.    if ($('input[name=choose-address]:checked').length < 1) {
  3756.        $('.checkout_alert').html("<div class='alert alert-danger'><i class='fa fa-info-circle'></i> Veuillez sélectionner l'adresse</div>");
  3757.        return false;
  3758.    }
  3759.    address_id = $('input[name=choose-address]:checked').val();
  3760.    if (type == 'hide') {
  3761.        $('#buy_product_modal').find('.btn-mat').html("Payer €"+price);
  3762.        $('#buy_product_modal').find('.btn-mat').attr('onclick', "BuyProducts('show','"+price+"')");
  3763.        $('#buy_product_modal').modal('show');
  3764.        return false;
  3765.    }
  3766.    $('#buy_product_modal').find('.btn-mat').html("S'il vous plaît, attendez..");
  3767.    $('#buy_product_modal').find('.btn-mat').attr('disabled', "true");
  3768.    $.post('https://starchilds.fr/endpoints/product/buy',{address_id: address_id}, function(data, textStatus, xhr) {
  3769.        $('#buy_product_modal').find('.btn-mat').removeAttr('disabled');
  3770.        $('#buy_product_modal').find('.btn-mat').text("Payer €"+price);
  3771.        if (data.status == 200) {
  3772.            $('#buy_product_modal').find('.modal_product_pay_alert').html("<div class='alert alert-success'><i class='fa fa-check'></i> "+data.message+"</div>");
  3773.            setTimeout(function () {
  3774.                $('#buy_product_modal').find('.modal_product_pay_alert').html("");
  3775.                location.href = "https://starchilds.fr/purchased";
  3776.            },2000);
  3777.        }
  3778.        else{
  3779.            $('#buy_product_modal').find('.modal_product_pay_alert').html("<div class='alert alert-danger'><i class='fa fa-info-circle'></i> "+data.message+"</div>");
  3780.        }
  3781.    });
  3782. }
  3783. function ChangeQty(self,product_id) {
  3784.    qty = $(self).val();
  3785.    $.post('https://starchilds.fr/endpoints/product/change_qty', {product_id: product_id,qty: qty}, function(data, textStatus, xhr) {
  3786.        LoadCheckout();
  3787.    });
  3788. }
  3789. function ChangeStatus(self,hash_id) {
  3790.    status = $(self).val();
  3791.    $.post('https://starchilds.fr/endpoints/product/change_status', {hash_order: hash_id,status: status}, function(data, textStatus, xhr) {
  3792.        $('#load_order').click();
  3793.    });
  3794. }
  3795. function RefundOrder(hash_id,type = 'show') {
  3796.    if (type == 'hide') {
  3797.        $('#refund_order').find('.btn-mat').attr('onclick', "RefundOrder('"+hash_id+"')");
  3798.        $('#refund_order').modal('show');
  3799.        return false;
  3800.    }
  3801.    $('#refund_order').find('.btn-mat').html("S'il vous plaît, attendez..");
  3802.    $('#refund_order').find('.btn-mat').attr('disabled', "true");
  3803.    message = $('#refund_order_message').val();
  3804.    $.post('https://starchilds.fr/endpoints/product/refund', {hash_order: hash_id,message: message}, function(data, textStatus, xhr) {
  3805.        $('#refund_order').find('.btn-mat').removeAttr('disabled');
  3806.        $('#refund_order').find('.btn-mat').text("Demandes");
  3807.        if (data.status == 200) {
  3808.            $('#refund_order').find('.modal_refund_order_modal_alert').html("<div class='alert alert-success'><i class='fa fa-check'></i> "+data.message+"</div>");
  3809.            setTimeout(function () {
  3810.                $('#refund_order').modal('hide');
  3811.                $('#refund_order').find('.modal_refund_order_modal_alert').html("");
  3812.                $('#load_order').click();
  3813.            },2000);
  3814.        }
  3815.        else{
  3816.            $('#refund_order').find('.modal_refund_order_modal_alert').html("<div class='alert alert-danger'><i class='fa fa-info-circle'></i> "+data.message+"</div>");
  3817.        }
  3818.    });
  3819. }
  3820. function DownloadPurchased(id,type = 'event') {
  3821.    url = 'event/download';
  3822.    if (type == 'order') {
  3823.        url = 'product/download';
  3824.    }
  3825.    $.post('https://starchilds.fr/endpoints/'+url,{id,id}, function(data, textStatus, xhr) {
  3826.        $('.ma_page_content').append(data.html);
  3827.        setTimeout(function () {
  3828.            $('.ticket_card_'+id).remove();
  3829.        },10000);
  3830.    });
  3831. }
  3832. function HidePlayer() {
  3833.    $('#my_video_player_container').slideUp();
  3834. }
  3835. function OpenWriteReview(product_id) {
  3836.    $('#write_product_review_product_id').val(product_id)
  3837.    $('#write_product_review').modal('show');
  3838. }
  3839. function showResponseAlert(item,alert_class,message,time = 0) {
  3840.    $(item).html('<div class="alert alert-'+alert_class+'">'+message+'</div>');
  3841.    if (time > 0) {
  3842.        setTimeout(() => {
  3843.            $(item).html('');
  3844.        },time);
  3845.    }
  3846. }
  3847.  
  3848. function scrollToTop() {
  3849. verticalOffset = typeof (verticalOffset) != 'undefined' ? verticalOffset : 0;
  3850. element = $('html');
  3851. offset = element.offset();
  3852. offsetTop = offset.top;
  3853. $('html, body').animate({
  3854. scrollTop: offsetTop
  3855. }, 300, 'linear');
  3856. }
  3857. </script>
  3858. <script src="https://starchilds.fr/themes/volcano/js/fingerprint2.min.js?v=1.5.2"></script>
  3859. <script src="https://starchilds.fr/themes/volcano/js/jquery.form.min.js?v=1.5.2"></script>
  3860. <script src="https://starchilds.fr/themes/volcano/js/popper.min.js?v=1.5.2"></script>
  3861. <script src="https://starchilds.fr/themes/volcano/js/bootstrap.min.js?v=1.5.2"></script>
  3862. <script src="https://starchilds.fr/themes/volcano/js/owl.carousel.min.js?v=1.5.2"></script>
  3863. <script src="https://starchilds.fr/themes/volcano/js/simplebar.min.js?v=1.5.2"></script>
  3864. <script src="https://starchilds.fr/themes/volcano/js/amplitude.min.js?v=1.5.2"></script>
  3865. <script src="https://starchilds.fr/themes/volcano/js/script.js?v=1.5.2"></script>
  3866. <script src="https://starchilds.fr/themes/volcano/js/Chart.min.js?v=1.5.2"></script>
  3867. <script src="https://starchilds.fr/themes/volcano/js/highcharts/highcharts.js?v=1.5.2"></script>
  3868. <script src="https://starchilds.fr/themes/volcano/js/footer.js?v=1.5.2"></script>
  3869. <script src="https://starchilds.fr/themes/volcano/js/bootstrap-select.min.js?v=1.5.2"></script>
  3870. <script type="text/javascript" src="https://starchilds.fr/themes/volcano/js/jquery.dataTables.min.js?v=1.5.2"></script>
  3871. <script type="text/javascript" src="https://starchilds.fr/themes/volcano/js/dataTables.bootstrap4.min.js?v=1.5.2"></script>
  3872. <script src="https://starchilds.fr/themes/volcano/js/lib/sweetalert2/dist/sweetalert2.js?v=1.5.2"></script>
  3873. <script src="https://starchilds.fr/themes/volcano/js/bootstrap-toggle.min.js?v=1.5.2"></script>
  3874. <script src="https://cdn.jsdelivr.net/npm/apexcharts"></script>
  3875. <input type="hidden" class="main_session" value="8c1de5ff865bfa264811c5c0b601379bd9b6f823">
  3876.    <script type="text/javascript">
  3877.    (function (factory) {
  3878.        if (typeof define === 'function' && define.amd) {
  3879.            // AMD. Register as an anonymous module.
  3880.            define(['jquery'], factory);
  3881.        } else {
  3882.            // Browser globals
  3883.            factory(jQuery);
  3884.        }
  3885.    }(function ($) {
  3886.        $.timeago = function(timestamp) {
  3887.            if (timestamp instanceof Date) {
  3888.                return inWords(timestamp);
  3889.            } else if (typeof timestamp === "string") {
  3890.                return inWords($.timeago.parse(timestamp));
  3891.            } else if (typeof timestamp === "number") {
  3892.                return inWords(new Date(timestamp));
  3893.            } else {
  3894.                return inWords($.timeago.datetime(timestamp));
  3895.            }
  3896.        };
  3897.        var $t = $.timeago;
  3898.  
  3899.        $.extend($.timeago, {
  3900.            settings: {
  3901.                refreshMillis: 60000,
  3902.                allowPast: true,
  3903.                allowFuture: false,
  3904.                localeTitle: false,
  3905.                cutoff: 0,
  3906.                strings: {
  3907.                    prefixAgo: null,
  3908.                    prefixFromNow: null,
  3909.                    suffixAgo: "depuis",
  3910.                    suffixFromNow: "à partir de maintenant",
  3911.                    inPast: "n'importe quel moment maintenant",
  3912.                    seconds: "Juste maintenant",
  3913.                    minute: "Il y a environ une minute",
  3914.                    minutes: "il y %d minutes",
  3915.                    hour: "il y a à peu près une heure",
  3916.                    hours: "il y a %d heures",
  3917.                    day: "il y a un jour",
  3918.                    days: "il y a %d jours",
  3919.                    month: "il y a environ un mois",
  3920.                    months: "il y a %d mois",
  3921.                    year: "il y a un an à peu près",
  3922.                    years: "il y a %d années",
  3923.                    wordSeparator: " ",
  3924.                    numbers: []
  3925.                }
  3926.            },
  3927.  
  3928.            inWords: function(distanceMillis) {
  3929.                if(!this.settings.allowPast && ! this.settings.allowFuture) {
  3930.                    throw 'timeago allowPast and allowFuture settings can not both be set to false.';
  3931.                }
  3932.  
  3933.                var $l = this.settings.strings;
  3934.                var prefix = $l.prefixAgo;
  3935.                var suffix = $l.suffixAgo;
  3936.                if (this.settings.allowFuture) {
  3937.                    if (distanceMillis < 0) {
  3938.                        prefix = $l.prefixFromNow;
  3939.                        suffix = $l.suffixFromNow;
  3940.                    }
  3941.                }
  3942.  
  3943.                if(!this.settings.allowPast && distanceMillis >= 0) {
  3944.                    return this.settings.strings.inPast;
  3945.                }
  3946.  
  3947.                var seconds = Math.abs(distanceMillis) / 1000;
  3948.                var minutes = seconds / 60;
  3949.                var hours = minutes / 60;
  3950.                var days = hours / 24;
  3951.                var years = days / 365;
  3952.  
  3953.                function substitute(stringOrFunction, number) {
  3954.                    var string = $.isFunction(stringOrFunction) ? stringOrFunction(number, distanceMillis) : stringOrFunction;
  3955.                    var value = ($l.numbers && $l.numbers[number]) || number;
  3956.                    return string.replace(/%d/i, value);
  3957.                }
  3958.  
  3959.                var words = seconds < 45 && substitute($l.seconds, Math.round(seconds)) ||
  3960.                    seconds < 90 && substitute($l.minute, 1) ||
  3961.                    minutes < 45 && substitute($l.minutes, Math.round(minutes)) ||
  3962.                    minutes < 90 && substitute($l.hour, 1) ||
  3963.                    hours < 24 && substitute($l.hours, Math.round(hours)) ||
  3964.                    hours < 42 && substitute($l.day, 1) ||
  3965.                    days < 30 && substitute($l.days, Math.round(days)) ||
  3966.                    days < 45 && substitute($l.month, 1) ||
  3967.                    days < 365 && substitute($l.months, Math.round(days / 30)) ||
  3968.                    years < 1.5 && substitute($l.year, 1) ||
  3969.                    substitute($l.years, Math.round(years));
  3970.  
  3971.                var separator = $l.wordSeparator || "";
  3972.                if ($l.wordSeparator === undefined) { separator = " "; }
  3973.  
  3974.                    return $.trim([prefix, words].join(separator));
  3975.  
  3976.  
  3977.            },
  3978.  
  3979.            parse: function(iso8601) {
  3980.                var s = $.trim(iso8601);
  3981.                s = s.replace(/\.\d+/,""); // remove milliseconds
  3982.                s = s.replace(/-/,"/").replace(/-/,"/");
  3983.                s = s.replace(/T/," ").replace(/Z/," UTC");
  3984.                s = s.replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"); // -04:00 -> -0400
  3985.                s = s.replace(/([\+\-]\d\d)$/," $100"); // +09 -> +0900
  3986.                return new Date(s);
  3987.            },
  3988.            datetime: function(elem) {
  3989.                var iso8601 = $t.isTime(elem) ? $(elem).attr("datetime") : $(elem).attr("title");
  3990.                return $t.parse(iso8601);
  3991.            },
  3992.            isTime: function(elem) {
  3993.                // jQuery's `is()` doesn't play well with HTML5 in IE
  3994.                return $(elem).get(0).tagName.toLowerCase() === "time"; // $(elem).is("time");
  3995.            }
  3996.        });
  3997.  
  3998.        // functions that can be called via $(el).timeago('action')
  3999.        // init is default when no action is given
  4000.        // functions are called with context of a single element
  4001.        var functions = {
  4002.            init: function(){
  4003.                var refresh_el = $.proxy(refresh, this);
  4004.                refresh_el();
  4005.                var $s = $t.settings;
  4006.                if ($s.refreshMillis > 0) {
  4007.                    this._timeagoInterval = setInterval(refresh_el, $s.refreshMillis);
  4008.                }
  4009.            },
  4010.            update: function(time){
  4011.                var parsedTime = $t.parse(time);
  4012.                $(this).data('timeago', { datetime: parsedTime });
  4013.                if($t.settings.localeTitle) $(this).attr("title", parsedTime.toLocaleString());
  4014.                refresh.apply(this);
  4015.            },
  4016.            updateFromDOM: function(){
  4017.                $(this).data('timeago', { datetime: $t.parse( $t.isTime(this) ? $(this).attr("datetime") : $(this).attr("title") ) });
  4018.                refresh.apply(this);
  4019.            },
  4020.            dispose: function () {
  4021.                if (this._timeagoInterval) {
  4022.                    window.clearInterval(this._timeagoInterval);
  4023.                    this._timeagoInterval = null;
  4024.                }
  4025.            }
  4026.        };
  4027.  
  4028.        $.fn.timeago = function(action, options) {
  4029.            var fn = action ? functions[action] : functions.init;
  4030.            if(!fn){
  4031.                throw new Error("Unknown function name '"+ action +"' for timeago");
  4032.            }
  4033.            // each over objects here and call the requested function
  4034.            this.each(function(){
  4035.                fn.call(this, options);
  4036.            });
  4037.            return this;
  4038.        };
  4039.  
  4040.        function refresh() {
  4041.            var data = prepareData(this);
  4042.            var $s = $t.settings;
  4043.  
  4044.            if (!isNaN(data.datetime)) {
  4045.                if ( $s.cutoff == 0 || Math.abs(distance(data.datetime)) < $s.cutoff) {
  4046.                    $(this).text(inWords(data.datetime));
  4047.                }
  4048.            }
  4049.            return this;
  4050.        }
  4051.  
  4052.        function prepareData(element) {
  4053.            element = $(element);
  4054.            if (!element.data("timeago")) {
  4055.                element.data("timeago", { datetime: $t.datetime(element) });
  4056.                var text = $.trim(element.text());
  4057.                if ($t.settings.localeTitle) {
  4058.                    element.attr("title", element.data('timeago').datetime.toLocaleString());
  4059.                } else if (text.length > 0 && !($t.isTime(element) && element.attr("title"))) {
  4060.                    element.attr("title", text);
  4061.                }
  4062.            }
  4063.            return element.data("timeago");
  4064.        }
  4065.  
  4066.        function inWords(date) {
  4067.            return $t.inWords(distance(date));
  4068.        }
  4069.  
  4070.        function distance(date) {
  4071.            return (new Date().getTime() - date.getTime());
  4072.        }
  4073.  
  4074.        // fix for IE6 suckage
  4075.        document.createElement("abbr");
  4076.        document.createElement("time");
  4077.    }));
  4078.  
  4079.  
  4080.    $(function () {
  4081.        setInterval(function () {
  4082.  
  4083.                if ( $('.ajax-time').length > 0) {
  4084.                    $('.ajax-time').timeago()
  4085.                        .removeClass('.ajax-time');
  4086.                }
  4087.            },
  4088.            500);
  4089.    });
  4090. </script>
  4091. <script>
  4092.            $('#rmjs-1').readmore({
  4093.                speed: 75,
  4094.                collapsedHeight: 190,
  4095.                moreLink: '<a href="#" class="hash"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z" /></svg> Lire la suite</a>',
  4096. lessLink: '<a href="#" class="hash"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z" /></svg> Lire moins</a>',
  4097.                afterToggle: function(trigger, element, expanded) {
  4098.                    //if(! expanded) {
  4099.                        // The "Close" link was clicked
  4100.                        $('html, body').animate({scrollTop: element.offset().top}, {duration: 100});
  4101.                    //}
  4102.                }
  4103.            });
  4104.            var running = false;
  4105.            $( document ).on( 'change', '#chat_message_upload_media_file', function(e){
  4106.                if( running === true ){
  4107.                    running = false;
  4108.                    return false;
  4109.                }
  4110.                running = true;
  4111.                var countFiles = $(this)[0].files.length;
  4112.                var imgPath = $(this)[0].value;
  4113.                var extn = imgPath.substring(imgPath.lastIndexOf('.') + 1).toLowerCase();
  4114.  
  4115.                if(countFiles > 1) {
  4116.                    M.toast({html: 'Please select Four Images only.'});
  4117.                } else if (extn == "gif" || extn == "png" || extn == "jpg" || extn == "jpeg") {
  4118.  
  4119.                    let from = $( '#user-id' ).val();
  4120.                    let formData = new FormData();
  4121.                    formData.append( "media", $(this)[0].files[0],$(this)[0].files[0].value );
  4122.                    formData.append( 'to' , $('#user-id').val() );
  4123.                    formData.append( 'message_id' , window.message_id );
  4124.  
  4125.                    var img = $('<img style="width: 300px;border-radius: 20px;">');
  4126.                    //if (typeof(FileReader) != "undefined") {
  4127.                    let reader = new FileReader();
  4128.                    reader.onload = function(e) {
  4129.                        img.attr('src', e.target.result);
  4130.                    };
  4131.                    reader.readAsDataURL($(this)[0].files[0]);
  4132.                    //}
  4133.  
  4134.                    $('.lds-facebook').removeClass('hide');
  4135.                    $('#btn_chat_f_send').addClass('hide');
  4136.  
  4137.                    $( '.chat_message_upload_media_imgprogress' ).removeClass( 'hide' );
  4138.                    $( '.chat_message_upload_media_imgstatus' ).removeClass( 'hide' );
  4139.                    $.ajax({
  4140.                        xhr: function() {
  4141.                            let xhr = new window.XMLHttpRequest();
  4142.                            xhr.upload.addEventListener("progress", function(evt){
  4143.                                if (evt.lengthComputable) {
  4144.                                    let percentComplete = evt.loaded / evt.total;
  4145.                                    percentComplete = parseInt(percentComplete * 100);
  4146.                                    //console.log( 'prog: ' + percentComplete + '%');
  4147.                                    $( '#chat_message_upload_media_imgstatus' ).html( percentComplete + '%');
  4148.                                    $( '.chat_message_upload_media_imgdeterminate' ).css({'width': percentComplete + '%'});
  4149.                                    if (percentComplete === 100) {
  4150.                                        $( '.chat_message_upload_media_imgprogress' ).addClass( 'hide' );
  4151.                                        $( '.chat_message_upload_media_imgstatus' ).addClass( 'hide' );
  4152.                                        $( '#chat_message_upload_media_imgstatus' ).html( '' );
  4153.                                    }
  4154.                                }
  4155.                            }, false);
  4156.                            return xhr;
  4157.                        },
  4158.                        beforeSend: function() {
  4159.                            $('.messages').append('<div class="data_message" data-id="' + window.message_id + '"><div class="message to-user pull-right" data-id=""><div class="user-message"></div><div class="clear"></div></div><div class="clear"></div></div>');
  4160.                            img.appendTo($('.data_message[data-id="' + window.message_id + '"]').find('.user-message'));
  4161.                            $('.user-messages').scrollTop($('.user-messages')[0].scrollHeight);
  4162.                            window.message_id = makeid();
  4163.                        },
  4164.                        url: 'https://starchilds.fr/endpoints/messages/upload_media?hash_id=' + $('.main_session').val(),
  4165.                        type: "POST",
  4166.                        async: true,
  4167.                        data: formData,
  4168.                        cache: false,
  4169.                        contentType: false,
  4170.                        processData: false,
  4171.                        timeout: 60000,
  4172.                        dataType: false,
  4173.                        success: function(data) {
  4174.                            $('.data_message[data-id="' + data.message_id + '"]').replaceWith(data.message);
  4175.                            running = false;
  4176.                        }
  4177.                    });
  4178.  
  4179.                }else{
  4180.                    M.toast({html: 'Please select only Images.'});
  4181.                }
  4182.            });
  4183.  
  4184.            // update user last seen
  4185.            function getRandomBetween(min, max) {
  4186.                return min + Math.random() * (max - min);
  4187.            }
  4188.            function UpdateLastSeen() {
  4189.                $.get('https://starchilds.fr/endpoints/user/update_lastseen', { }, function () {
  4190.                    setTimeout(UpdateLastSeen, getRandomBetween(60000, 120000));
  4191.                });
  4192.            }
  4193.            setTimeout(UpdateLastSeen, getRandomBetween(60000, 120000));
  4194.            function GetArtist(key,form = '') {
  4195.             $.post('https://starchilds.fr/endpoints/tag_artist/tag', {key: key}, function(data, textStatus, xhr) {
  4196.             if (data.html) {
  4197.             if (form != '') {
  4198.             $('#group_chat_mbr_list_'+form).html(data.html);
  4199.             }
  4200.             else{
  4201.             $('.group_chat_mbr_list').html(data.html);
  4202.             }
  4203.             }
  4204.             });
  4205.            }
  4206.            function ApproveRequest(id) {
  4207.             $.post('https://starchilds.fr/endpoints/tag_artist/approve', {id: id}, function(data, textStatus, xhr) {});
  4208.            }
  4209.            function DeclineRequest(id) {
  4210.             $.post('https://starchilds.fr/endpoints/tag_artist/decline', {id: id}, function(data, textStatus, xhr) {});
  4211.            }
  4212.            function count_char(self,id) {
  4213.    $(self).limit("640", id);
  4214. }
  4215. $('svg .verified_ico').tooltip({
  4216. title: 'Vérifié',
  4217. placement: 'top',
  4218. container: 'body'
  4219. });
  4220. </script>
  4221. <script src="https://starchilds.fr/themes/volcano/js/footer.js?1933"></script>
  4222. </body>
  4223. </html>
  4224.  
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda