<?php
   session_start();
   // if(!isset($_SESSION["GSB-User"]) || $_SESSION["GSB-User"] == 0) header("Location: login.php");
?>
<!DOCTYPE HTML>

<html lang="hr">

   <head>

      <!--
       ________  _____            __________  _____    ________ 
      /   __   \/  _  \           \____    / /  _  \  /  _____/ 
      \____    /  /_\  \   ______   /     / /  /_\  \/   \  ___ 
         /    /    |    \ /_____/  /     /_/    |    \    \_\  \
        /____/\____|__  /         /_______ \____|__  /\______  /
                      \/                  \/       \/        \/ 
      -->

      <title>9A - GUITAR SONG BOOK</title>

      <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
      <meta name="viewport" content="width=device-width, initial-scale=1.0"/>

      <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto">
      <link rel="stylesheet" type="text/css" href="/global-resources/fonts/FontAwesome/fontawesome-pro-5.4.1-web/css/all.min.css">
      <link rel="stylesheet" type="text/css" href="resources/tune-song.css?v=<?php echo time(); ?>" />
      <link rel="stylesheet" type="text/css" href="resources/modal-window.css?v=<?php echo time(); ?>" />

      <script>
          if(!window.frameElement) window.top.location.href="https://www.9a-zag.com/webs/guitar_song_book/gsb-index.php";
          var SongID = "<?php echo $_REQUEST['ID']; ?>";
      </script>

      <script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>

      <script type="text/javascript" src="resources/tune-song-events.js?v=<?php echo time(); ?>"></script>
      <script type="text/javascript" src="resources/tune-song.js?v=<?php echo time(); ?>"></script>
      <script type="text/javascript" src="resources/modal-window.js?v=<?php echo time(); ?>"></script>

   </head>

   <body class="noselect">

      <div id="TuneWrapper">

         <div id="TuneToolbar">
             <div><span class="label"></span> <span class="value"></span></div>
             <button id="SongEdit"><i class="far fa-music"></i></button>
             <!-- <iframe id="YTVideo" width="560" height="28" src="" frameborder="0" allowfullscreen></iframe>
             <iframe id="YTVideo" class="yt_player_iframe" style="position: fixed; bottom: 30px; right: 0;" src="" allowfullscreen="true" allowscriptaccess="always" frameborder="0"></iframe>
             <iframe id="existing-iframe-example" width="640" height="360" style="position: absolute; bottom: 0px; right: 0;" src="https://www.youtube.com/embed/M7lc1UVf-VE?enablejsapi=1" frameborder="0" style="border: solid 4px #37474F"></iframe> -->
         </div>
         <div id="TuneEditor"></div>
         <div id="TuneViewer"></div>
      </div>

   </body>

</html>