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

<?php
echo $this->inlineScript()
    ->prependFile($this->basePath() . '/assets/js/main.js')
    ->prependFile($this->basePath() . '/assets/js/ng-file-upload.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-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/jquery.min.js')
    ->prependFile($this->basePath() . '/assets/js/underscore.min.js');
?>
</body>
</html>