index.phtml 939 B

123456789101112131415161718192021222324252627
  1. <div id="library_content" class="lib-content ui-widget ui-widget-content block-shadow alpha-block padded" style="z-index:254">
  2. <?php echo $this->render('library/library.phtml') ?>
  3. </div>
  4. <?php
  5. if ($this->showPlaylist) {
  6. $display = "";
  7. } else {
  8. $display = "display:none";
  9. }
  10. ?>
  11. <div id="side_playlist" class="pl-content ui-widget ui-widget-content block-shadow omega-block padded" style="height:697px; width:720px;<?php echo $display?>">
  12. <?php if ($this->type == 'block') {
  13. echo $this->render('playlist/smart-block.phtml');
  14. } else if ($this->type == 'playlist') {
  15. echo $this->render('playlist/playlist.phtml');
  16. } else if ($this->type == 'stream') {
  17. echo $this->render('webstream/webstream.phtml');
  18. } else {
  19. echo $this->render('webstream/webstream.phtml');
  20. //throw new Exception("Unrecognized type: '{$this->type}'");
  21. }
  22. ?>
  23. </div>