2015-01-04 07:37:51 +00:00
|
|
|
|
<?php
|
|
|
|
|
header("Content-type: text/html; charset=utf-8");
|
2015-02-07 11:53:32 +00:00
|
|
|
|
|
2015-01-04 07:37:51 +00:00
|
|
|
|
$skin = \PVL\Customization::get('theme');
|
2015-02-07 11:53:32 +00:00
|
|
|
|
$tz_info = \PVL\Timezone::getInfo();
|
2015-01-04 07:37:51 +00:00
|
|
|
|
?>
|
2015-01-08 10:10:06 +00:00
|
|
|
|
<!DOCTYPE html>
|
2015-04-29 00:43:11 +00:00
|
|
|
|
<html lang="en" class="full_layout theme_<?=$skin ?>">
|
2015-01-04 07:37:51 +00:00
|
|
|
|
<head>
|
2015-01-25 11:02:31 +00:00
|
|
|
|
<meta charset="utf-8">
|
2015-01-04 07:37:51 +00:00
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,requiresActiveX=true">
|
|
|
|
|
|
2015-03-09 08:13:33 +00:00
|
|
|
|
<meta name="viewport" content="width=device-width">
|
2015-04-20 11:48:58 +00:00
|
|
|
|
<meta name="theme-color" content="#2C7FD2">
|
2015-03-09 08:13:33 +00:00
|
|
|
|
|
2015-10-21 01:57:19 +00:00
|
|
|
|
<meta name="keywords" content="Pony, Brony, Radio, Video, Podcast, Multimedia, Convention, Ponyville, Live, MLP, MLP:FiM" />
|
2015-11-07 11:29:39 +00:00
|
|
|
|
<meta name="description" content="Equestria's largest Brony multimedia network, featuring 24/7 pony radio, videos, podcasts, convention coverage, and more." />
|
2015-10-21 01:57:19 +00:00
|
|
|
|
<link rel="canonical" href="http://ponyvillelive.com" />
|
2015-01-04 07:37:51 +00:00
|
|
|
|
|
|
|
|
|
<!-- Facebook and Other Social Sites -->
|
2015-10-21 01:57:19 +00:00
|
|
|
|
<meta property="og:site_name" content="Ponyville Live!" />
|
|
|
|
|
<meta property="og:url" content="http://ponyvillelive.com/" />
|
|
|
|
|
<meta property="og:image" content="<?=$this->url->getStatic('pvl_square.png') ?>" />
|
2015-01-04 07:37:51 +00:00
|
|
|
|
|
2015-10-21 01:57:19 +00:00
|
|
|
|
<link rel="image_src" href="<?=$this->url->getStatic('pvl_square.png') ?>" />
|
2015-01-04 07:37:51 +00:00
|
|
|
|
<link href="https://plus.google.com/+PonyvilleLiveGlobal" rel="publisher" />
|
|
|
|
|
|
|
|
|
|
<?php
|
2015-01-27 10:10:29 +00:00
|
|
|
|
if ($title)
|
|
|
|
|
$page_title = $title.' - '.$this->config->application->name;
|
2015-01-05 06:55:05 +00:00
|
|
|
|
else
|
2015-10-21 01:57:19 +00:00
|
|
|
|
$page_title = $this->config->application->name.' - Live Pony Radio, Video, Podcasts, Convention Coverage & More';
|
2015-01-04 07:37:51 +00:00
|
|
|
|
|
2015-01-05 06:55:05 +00:00
|
|
|
|
$this->tag->setTitle($page_title);
|
2015-01-04 07:37:51 +00:00
|
|
|
|
if (DF_APPLICATION_ENV != "production")
|
|
|
|
|
$this->tag->prependTitle('('.ucfirst(DF_APPLICATION_ENV).') ');
|
|
|
|
|
|
|
|
|
|
echo $this->tag->getTitle();
|
|
|
|
|
|
2015-01-06 10:22:15 +00:00
|
|
|
|
// Set up CSS includes.
|
|
|
|
|
$this->assets->collection('header_css')
|
2015-01-04 07:37:51 +00:00
|
|
|
|
->addCss('//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css', false)
|
|
|
|
|
->addCss('//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css', false)
|
|
|
|
|
->addCss('//fonts.googleapis.com/css?family=Source+Sans+Pro:400,700', false)
|
2015-01-24 04:16:32 +00:00
|
|
|
|
->addCss('//cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.min.css', false)
|
2015-01-04 07:37:51 +00:00
|
|
|
|
->addCss('compiled/style.css');
|
|
|
|
|
|
2015-01-06 10:22:15 +00:00
|
|
|
|
// Establish custom CSS/JS collections in case they don't exist.
|
|
|
|
|
$this->assets->collection('custom_css');
|
|
|
|
|
$this->assets->collection('custom_js');
|
2015-01-04 07:37:51 +00:00
|
|
|
|
|
2015-01-06 10:22:15 +00:00
|
|
|
|
// Output header CSS.
|
|
|
|
|
$this->assets->outputCss('header_css');
|
|
|
|
|
$this->assets->outputCss('custom_css');
|
2015-01-04 07:37:51 +00:00
|
|
|
|
|
2015-01-06 10:22:15 +00:00
|
|
|
|
// Set up JS includes.
|
|
|
|
|
$this->assets->collection('header_js')
|
2015-01-24 04:16:32 +00:00
|
|
|
|
->addJs('//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js', false)
|
2015-01-06 10:22:15 +00:00
|
|
|
|
->addJs('//cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.compat.min.js', false);
|
|
|
|
|
|
|
|
|
|
$this->assets->collection('footer_js')
|
2015-01-24 04:16:32 +00:00
|
|
|
|
->addJs('//cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.min.js', false)
|
|
|
|
|
->addJs('//cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/helpers/jquery.fancybox-media.js', false)
|
|
|
|
|
->addJs('//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.2/js/bootstrap.min.js', false)
|
|
|
|
|
->addJs('//cdnjs.cloudflare.com/ajax/libs/swfobject/2.2/swfobject.min.js', false)
|
|
|
|
|
->addJs('//cdnjs.cloudflare.com/ajax/libs/hammer.js/2.0.4/hammer.min.js', false)
|
2015-02-03 15:28:18 +00:00
|
|
|
|
->addJs('//cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment.min.js', false)
|
2015-03-19 08:01:17 +00:00
|
|
|
|
->addJs('//cdnjs.cloudflare.com/ajax/libs/store.js/1.3.14/store.min.js', false)
|
2015-01-24 04:16:32 +00:00
|
|
|
|
->addJs('js/layout.js')
|
2015-01-04 07:37:51 +00:00
|
|
|
|
->addJs('js/notify.js')
|
2015-01-24 04:16:32 +00:00
|
|
|
|
->addJs('js/global.js');
|
2015-01-04 07:37:51 +00:00
|
|
|
|
|
2015-01-06 10:22:15 +00:00
|
|
|
|
$this->assets->outputJs('header_js');
|
2015-01-04 07:37:51 +00:00
|
|
|
|
?>
|
|
|
|
|
<script>
|
2015-05-22 07:26:49 +00:00
|
|
|
|
var DF_AppEnv = '<?=(defined('DF_APPLICATION_ENV') ? DF_APPLICATION_ENV : '') ?>';
|
2015-01-09 10:29:54 +00:00
|
|
|
|
var DF_BaseUrl = '<?php echo rtrim($this->url->get(''), '/'); ?>';
|
2015-05-22 07:26:49 +00:00
|
|
|
|
var DF_ApiUrl = '<?=(defined('DF_API_URL') ? DF_API_URL : '') ?>';
|
|
|
|
|
var DF_UploadUrl = '<?=(defined('DF_UPLOAD_URL') ? DF_UPLOAD_URL : '') ?>';
|
2015-01-04 07:37:51 +00:00
|
|
|
|
var DF_ContentPath = '<?php echo $this->url->getStatic(''); ?>';
|
2015-02-07 11:53:32 +00:00
|
|
|
|
|
|
|
|
|
var PVL_TimeZone = '<?=$e->escapeJs($tz_info['code']) ?>';
|
|
|
|
|
var PVL_UtcOffset = <?=$tz_info['gmt_offset_hours'] ?>;
|
2015-01-04 07:37:51 +00:00
|
|
|
|
</script>
|
2015-11-07 11:29:39 +00:00
|
|
|
|
|
|
|
|
|
<!-- Google Universal Analytics -->
|
|
|
|
|
<script>
|
|
|
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
|
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
|
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
|
|
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
|
|
|
|
|
|
|
|
ga('create', '<?=$this->config->application->analytics_code ?>', 'ponyvillelive.com');
|
|
|
|
|
ga('require', 'linkid', 'linkid.js');
|
|
|
|
|
ga('send', 'pageview');
|
|
|
|
|
</script>
|
|
|
|
|
<!-- End Google Universal Analytics -->
|
2015-01-04 07:37:51 +00:00
|
|
|
|
</head>
|
|
|
|
|
<body>
|
2015-04-29 00:36:13 +00:00
|
|
|
|
<a class="hidden" href="#body">Skip Navigation</a>
|
|
|
|
|
|
2015-01-04 07:37:51 +00:00
|
|
|
|
<div class="top">
|
|
|
|
|
<div class="container">
|
2015-05-18 05:42:02 +00:00
|
|
|
|
<?
|
|
|
|
|
$skin = \PVL\Customization::get('theme');
|
|
|
|
|
|
|
|
|
|
$tz_info = \PVL\Timezone::getInfo();
|
|
|
|
|
$tz_text = $tz_info['now']->format('g:ia');
|
|
|
|
|
?>
|
|
|
|
|
<ul class="loginbar pull-right">
|
|
|
|
|
<li><a href="<?=$this->url->get('profile/timezone') ?>" class="fancybox fancybox.ajax"><i class="icon-time"></i> <span class="current_time"><?=$tz_text ?></span> <?=$tz_info['abbr'] ?></a></li>
|
|
|
|
|
<li class="divider"> </li>
|
|
|
|
|
<li><a href="<?=$this->url->get('profile/theme/skin/toggle') ?>"><i class="icon-adjust"></i> <? if ($skin == 'light'): ?>Dark Theme<? else: ?>Light Theme<? endif; ?></a></li>
|
|
|
|
|
<li class="divider"> </li>
|
|
|
|
|
|
|
|
|
|
<? if ($this->auth->isLoggedIn()): ?>
|
|
|
|
|
<?
|
|
|
|
|
$user = $this->auth->getLoggedInUser();
|
|
|
|
|
?>
|
2015-08-10 04:43:09 +00:00
|
|
|
|
<? if ($this->acl->canSeeAdminDashboard()): ?>
|
2015-05-18 05:42:02 +00:00
|
|
|
|
<li><a href="<?=$this->url->get('admin') ?>"><i class="icon-cog"></i> Admin</a></li>
|
|
|
|
|
<li class="divider"> </li>
|
|
|
|
|
<? endif; ?>
|
|
|
|
|
<li><a href="<?=$this->url->get('profile') ?>"><i class="icon-user"></i> Profile</a></li>
|
|
|
|
|
<li class="divider"> </li>
|
|
|
|
|
<li><b><?=$user->name ?></b></li>
|
|
|
|
|
<li><a href="<?=$this->url->get('account/logout') ?>"><i class="icon-signout"></i> Sign Out</a></li>
|
|
|
|
|
<? else: ?>
|
|
|
|
|
<li><a href="<?=$this->url->get('account/login') ?>"><i class="icon-signin"></i> Sign In</a></li>
|
|
|
|
|
<? endif; ?>
|
|
|
|
|
</ul>
|
2015-01-04 07:37:51 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2015-04-29 00:59:46 +00:00
|
|
|
|
<div class="header" role="banner">
|
2015-01-04 07:37:51 +00:00
|
|
|
|
<div class="container">
|
|
|
|
|
<div class="logo">
|
2015-10-21 01:57:19 +00:00
|
|
|
|
<a href="<?=$this->url->get('') ?>"><img id="logo-header" src="<?=$this->url->getStatic('mid2013/logo_'.$skin.'.png') ?>" alt="Ponyville Live! Logo"></a>
|
2015-01-04 07:37:51 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="navbar">
|
|
|
|
|
<div class="navbar-inner">
|
2015-04-29 00:59:46 +00:00
|
|
|
|
<a class="btn btn-navbar" role="button" data-toggle="collapse" data-target=".nav-collapse">
|
2015-01-04 07:37:51 +00:00
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
|
</a>
|
2015-04-29 00:59:46 +00:00
|
|
|
|
<div class="nav-collapse collapse" role="navigation">
|
2015-05-18 05:42:02 +00:00
|
|
|
|
<?
|
|
|
|
|
$categories = \Entity\Station::getStationsInCategories();
|
|
|
|
|
$podcasts = \Entity\Podcast::fetchArray();
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
<ul class="nav primary_menu">
|
2015-10-21 01:57:19 +00:00
|
|
|
|
|
|
|
|
|
<!-- About PVL -->
|
2015-05-18 05:42:02 +00:00
|
|
|
|
<li class="dropdown">
|
|
|
|
|
<a href="<?=$this->url->get('about') ?>"><i class="icon-info-sign"></i> About</a>
|
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
|
<li><a href="<?=$this->url->get('about') ?>"><i class="icon-info-sign"></i> About Us</a></li>
|
|
|
|
|
<li><a href="<?=$this->url->get('contact') ?>"><i class="icon-envelope"></i> Contact Us</a></li>
|
2015-09-03 05:13:54 +00:00
|
|
|
|
<li><a href="http://patreon.com/ponyvillelive" target="_blank"><i class="icon-money"></i> Support Us on Patreon</a></li>
|
2015-05-18 05:42:02 +00:00
|
|
|
|
<li class="divider"></li>
|
|
|
|
|
<li><a href="http://m.pvlive.me/"><i class="icon-mobile-phone"></i> PVL! Mobile</a></li>
|
|
|
|
|
<li><a href="<?=$this->url->get('apps') ?>"><i class="icon-cloud-download"></i> Apps & Players</a></li>
|
2015-10-21 01:57:19 +00:00
|
|
|
|
<li><a href="http://docs.ponyvillelive.apiary.io/" target="_blank"><i class="icon-cog"></i> PVL! Data API</a></li>
|
|
|
|
|
<li><a href="https://github.com/BravelyBlue/PVLive" target="_blank"><i class="icon-code-fork"></i> Fork Us on Github</a></li>
|
2015-05-18 05:42:02 +00:00
|
|
|
|
</ul>
|
|
|
|
|
</li>
|
2015-10-21 01:57:19 +00:00
|
|
|
|
|
|
|
|
|
<!-- Stations -->
|
2015-05-18 05:42:02 +00:00
|
|
|
|
<li class="dropdown">
|
|
|
|
|
<a href="#" data-toggle="dropdown"><i class="icon-music"></i> Radio</a>
|
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
|
<li><a href="<?=$this->url->get('schedule') ?>"><i class="icon-calendar"></i> Station Schedules</a></li>
|
2015-09-05 08:59:59 +00:00
|
|
|
|
<li><a href="<?=$this->url->get('submit/station') ?>"><i class="icon-cloud-upload"></i> Submit Your Station</a></li>
|
|
|
|
|
<li><a href="<?=$this->url->get('submit/song') ?>"><i class="icon-music"></i> Submit Your Song</a></li>
|
2015-05-18 05:42:02 +00:00
|
|
|
|
<li class="divider"></li>
|
|
|
|
|
|
|
|
|
|
<? foreach($categories['audio']['stations'] as $station): ?>
|
|
|
|
|
<li><a href="<?=$station['web_url'] ?>" title="<?=$station['genre'] ?>" target="_blank"><?=$station['name'] ?></a></li>
|
|
|
|
|
<? endforeach; ?>
|
|
|
|
|
</ul>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="dropdown">
|
|
|
|
|
<a href="#" data-toggle="dropdown"><i class="icon-facetime-video"></i> Video</a>
|
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
|
<li><a href="<?=$this->url->get('schedule') ?>"><i class="icon-calendar"></i> Station Schedules</a></li>
|
|
|
|
|
<li><a href="<?=$this->url->get('submit/station') ?>"><i class="icon-cloud-upload"></i> Submit a Station</a></li>
|
|
|
|
|
<li class="divider"></li>
|
|
|
|
|
|
|
|
|
|
<? foreach($categories['video']['stations'] as $station): ?>
|
|
|
|
|
<li><a href="<?=$station['web_url'] ?>" title="<?=$station['genre'] ?>" target="_blank"><?=$station['name'] ?></a></li>
|
|
|
|
|
<? endforeach; ?>
|
|
|
|
|
</ul>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="dropdown">
|
2015-10-21 01:57:19 +00:00
|
|
|
|
<a href="#" data-toggle="dropdown"><i class="icon-rss"></i> Shows</a>
|
2015-05-18 05:42:02 +00:00
|
|
|
|
<ul class="dropdown-menu">
|
2015-10-21 01:57:19 +00:00
|
|
|
|
<li><a href="<?=$this->url->get('shows') ?>"><i class="icon-list"></i> Show Directory</a></li>
|
|
|
|
|
<li><a href="<?=$this->url->get('submit/show') ?>"><i class="icon-cloud-upload"></i> Submit a Show</a></li>
|
2015-05-18 05:42:02 +00:00
|
|
|
|
<li class="divider"></li>
|
|
|
|
|
<? foreach($podcasts as $podcast): ?>
|
|
|
|
|
<li><a href="<?=$this->url->get('show/view/id/'.$podcast['id']) ?>" title="<?=$podcast['description'] ?>" target="_blank"><?=$podcast['name'] ?></a></li>
|
|
|
|
|
<? endforeach; ?>
|
|
|
|
|
</ul>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="dropdown">
|
|
|
|
|
<a href="#" data-toggle="dropdown"><i class="icon-user"></i> Community</a>
|
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
|
<li><a href="<?=$this->url->get('conventions') ?>"><i class="icon-building"></i> Pony Conventions</a></li>
|
|
|
|
|
<li><a href="<?=$this->url->get('artists') ?>"><i class="icon-group"></i> Artists Directory</a></li>
|
|
|
|
|
<li class="divider"></li>
|
2015-10-21 01:57:19 +00:00
|
|
|
|
<li><a href="http://pvlive.me/forums" target="_blank">PVL Forums</a></li>
|
2015-05-18 05:42:02 +00:00
|
|
|
|
<li><a href="<?=$this->url->get('index/chat') ?>">Chat + Player</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
2015-01-04 07:37:51 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
2015-01-27 10:10:29 +00:00
|
|
|
|
<? if ($content_top): ?>
|
|
|
|
|
<?=$content_top ?>
|
2015-01-04 07:37:51 +00:00
|
|
|
|
<? else: ?>
|
|
|
|
|
<div id="secondary_header_stripe" class="rich_header"> </div>
|
|
|
|
|
<? endif; ?>
|
|
|
|
|
|
|
|
|
|
<div id="body-wrapper">
|
2015-04-29 00:59:46 +00:00
|
|
|
|
<div id="body" class="container" role="main">
|
2015-01-04 07:37:51 +00:00
|
|
|
|
<div id="page_wrapper">
|
|
|
|
|
<div id="page">
|
|
|
|
|
<?
|
|
|
|
|
if (\DF\Flash::hasMessages()):
|
|
|
|
|
$messages = \DF\Flash::getMessages();
|
|
|
|
|
foreach($messages as $message):
|
|
|
|
|
?>
|
|
|
|
|
<div class="content-top-alert alert alert-<?=$message['color'] ?>" data-alert="alert">
|
|
|
|
|
<a class="close" data-dismiss="alert" href="#">×</a>
|
|
|
|
|
<?=$message['message'] ?>
|
|
|
|
|
</div>
|
|
|
|
|
<?
|
|
|
|
|
endforeach;
|
|
|
|
|
endif;
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
<div id="content_wrapper">
|
|
|
|
|
<div id="content">
|
2015-08-10 04:43:09 +00:00
|
|
|
|
<? if ($breadcrumbs): ?>
|
|
|
|
|
<div id="breadcrumbs">
|
|
|
|
|
<?=$breadcrumbs ?>
|
|
|
|
|
</div>
|
|
|
|
|
<? endif; ?>
|
|
|
|
|
|
2015-01-27 10:10:29 +00:00
|
|
|
|
<? if (!$hide_title): ?>
|
|
|
|
|
<h1 class="title"><?=$title ?></h1>
|
2015-01-04 07:37:51 +00:00
|
|
|
|
<? endif; ?>
|
|
|
|
|
|
2015-01-27 10:10:29 +00:00
|
|
|
|
<? if ($tabs): ?>
|
2015-01-04 07:37:51 +00:00
|
|
|
|
<div id="content_tabs">
|
2015-01-27 10:10:29 +00:00
|
|
|
|
<?=$tabs ?>
|
2015-01-04 07:37:51 +00:00
|
|
|
|
</div>
|
|
|
|
|
<? endif; ?>
|
|
|
|
|
|
2015-01-27 10:10:29 +00:00
|
|
|
|
<? if ($subtitle): ?>
|
|
|
|
|
<h2 class="title"><?=$subtitle ?></h2>
|
2015-01-04 07:37:51 +00:00
|
|
|
|
<? endif; ?>
|
|
|
|
|
|
2015-01-27 10:10:29 +00:00
|
|
|
|
<? if ($manual): ?>
|
2015-01-04 07:37:51 +00:00
|
|
|
|
<?php echo $this->getContent(); ?>
|
|
|
|
|
<? else: ?>
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span12">
|
|
|
|
|
<div class="content_inner">
|
|
|
|
|
<?php echo $this->getContent(); ?>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<? endif; ?>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2015-04-29 00:59:46 +00:00
|
|
|
|
<div class="footer" role="contentinfo">
|
2015-01-04 07:37:51 +00:00
|
|
|
|
<div class="container">
|
2015-05-18 05:42:02 +00:00
|
|
|
|
<?
|
|
|
|
|
$affiliates = \Entity\Affiliate::fetch(true);
|
|
|
|
|
?>
|
|
|
|
|
<div class="footer-inner">
|
|
|
|
|
<div class="row-fluid row-multiple clearfix">
|
|
|
|
|
<div class="media-list">
|
|
|
|
|
<? foreach($affiliates as $affiliate): ?>
|
|
|
|
|
<div class="media span4">
|
|
|
|
|
<div class="media-object pull-left">
|
|
|
|
|
<a href="<?=$affiliate['web_url'] ?>" target="_blank">
|
2015-05-20 08:19:14 +00:00
|
|
|
|
<img src="<?=\PVL\Url::upload($affiliate['image_url']) ?>" alt="<?=$affiliate['name'] ?> Logo" style="width: 40px;">
|
2015-05-18 05:42:02 +00:00
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="media-body">
|
|
|
|
|
<h4>
|
|
|
|
|
<? if (isset($affiliate['custom'])): ?>
|
|
|
|
|
<?=$affiliate['custom'] ?><br>
|
|
|
|
|
<? else: ?>
|
|
|
|
|
<a href="<?=$affiliate['web_url'] ?>" target="_blank"><?=$affiliate['name'] ?></a><br>
|
|
|
|
|
<? endif; ?>
|
|
|
|
|
<small><?=$affiliate['description'] ?></small>
|
|
|
|
|
</h4>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<? endforeach; ?>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2015-01-04 07:37:51 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2015-04-21 12:34:55 +00:00
|
|
|
|
<?
|
|
|
|
|
$footer_msg = \Entity\Settings::getSetting('footer_message');
|
|
|
|
|
?>
|
2015-04-29 00:59:46 +00:00
|
|
|
|
<div class="copyright" role="contentinfo">
|
2015-01-04 07:37:51 +00:00
|
|
|
|
<div class="container">
|
2015-10-21 01:57:19 +00:00
|
|
|
|
<? if (!empty($footer_msg)): ?>
|
|
|
|
|
<p class="footer-message">
|
|
|
|
|
<?=$footer_msg ?>
|
|
|
|
|
</p>
|
|
|
|
|
<br>
|
|
|
|
|
<? endif; ?>
|
|
|
|
|
|
|
|
|
|
<p>MLP is copyright © Hasbro. All creations are © to their respective artists. All songs are property of their respective artists.<br>
|
|
|
|
|
Copyright © 2012-<?=date('Y') ?> <a href="http://www.bravelyblue.com/" target="_blank">Bravely Blue Media LLC</a> and Ponyville Live! All rights reserved.</p>
|
2015-01-04 07:37:51 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<?
|
2015-01-06 10:22:15 +00:00
|
|
|
|
echo $this->assets->outputJs('footer_js');
|
|
|
|
|
echo $this->assets->outputJs('custom_js');
|
2015-01-04 07:37:51 +00:00
|
|
|
|
?>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|