Ejemplo n.º 1
0
    echo $headhtml;
}
?>
<link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700' rel='stylesheet' type='text/css'>
<?php 
$css = array('resources/tooltipster', 'resources/fonts', 'resources/style', 'app/sequencer');
if (MOBILE_BROWSER) {
    $css[] = 'resources/style.mobile';
}
show_css($css);
?>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
<?php 
show_js(array('resources/jquery.tooltipster.min', 'resources/ZeroClipboard.min', 'resources/main', '/forum/jscripts/ajaxchat_index', 'app/wavesurfer.min', 'app/audioSystem', 'app/lib', 'app/synth', 'app/sequencer'));
?>
<script type="text/javascript">
settings['uid'] = <?php 
echo json_encode($settings['uid']);
?>
;
settings['username'] = <?php 
echo json_encode($settings['username']);
?>
;
settings['logoutkey'] = <?php 
echo json_encode($settings['logoutkey']);
?>
;
</script>
Ejemplo n.º 2
0
    require '../inc/init.php';
    ?>
<html>
    <head>
    <style id="css_vars">
    .note {

    }
    .key, .key_sharp, .key div, .key_sharp div, .sequencer_key {

    }
    .sequencer_key {
        background-image:url(/app/sequencer1.gif);
    }

    </style>
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
    <?php 
    show_js(array('resources/jquery.tooltipster.min', 'resources/ZeroClipboard.min', 'resources/main', 'app/wavesurfer.min', 'app/audioSystem', 'app/lib', 'app/synth', 'app/sequencer'));
    show_css(array('app/sequencer'));
    echo '
        <link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css">
        </head><body style="margin:0">';
    $id = isset($_GET['id']) ? intval($_GET['id']) : 0;
    show_sequencer($id, false, isset($_GET['import']) ? $_GET['import'] : '');
    ?>
    </body>
    </html>
<?php 
}