
</div>
<?php $currentPlayer = $this->currentPlayer(); ?>
<script type="text/javascript">
    SportsFanPlayer = {
        basePath: '<?php echo $this->basePath(); ?>',
        currentUser: {
            id: <?php echo (!is_null($currentPlayer) && isset($currentPlayer->id) && $currentPlayer->id > 0) ? $this->currentPlayer()->id : 'null' . "\n"; ?>
        }
    };
</script>

<?php
echo $this->inlineScript()
    ->prependFile($this->basePath() . '/assets/js/main.js')
    ->prependFile($this->basePath() . '/assets/js/checklist-model.min.js')
    ->prependFile($this->basePath() . '/assets/js/angular-dnd.min.js')
    ->prependFile($this->basePath() . '/assets/js/angular-ui-select.min.js')
    ->prependFile($this->basePath() . '/assets/js/angular-growl.min.js')
    ->prependFile($this->basePath() . '/assets/js/angular-strap-tpl.min.js')
    ->prependFile($this->basePath() . '/assets/js/angular-strap.min.js')
    ->prependFile($this->basePath() . '/assets/js/angular-ui-bootstrap.min.js')
    ->prependFile($this->basePath() . '/assets/js/angular-ui-router.min.js')
    ->prependFile($this->basePath() . '/assets/js/angular-touch.min.js')
    ->prependFile($this->basePath() . '/assets/js/angular-sanitize.min.js')
    ->prependFile($this->basePath() . '/assets/js/angular-animate.min.js')
    ->prependFile($this->basePath() . '/assets/js/angular.min.js')
    ->prependFile($this->basePath() . '/assets/js/ios-html5-drag-drop.js')
    ->prependFile($this->basePath() . '/assets/js/jquery.min.js')
    ->prependFile($this->basePath() . '/assets/js/underscore.min.js');
?>
</body>
</html>