@section('page_title')
OSAAtoday
@stop
@section('page_sub_title')
@if (!Helpers::strIsEmpty($info['specific']))
{{ $info['specific'] }}
 }})
@endif
@stop
@section('scripts')
@parent
@stop
@section('jquery_init')
$('.page_functions').remove();
$('#championships').remove();
$('.specific img').tooltip();
$('.thumbnail a img').each(function(index, item)
{
var height = item.clientHeight;
var full_height = $(item).parents('.thumbnail').height();
if (height < full_height && height > 10)
{
var top_margin = (full_height - height) / 2;
$(item).css({'margin-top' : top_margin + 'px'});
}
});
var space = '
';
var more = '{{ AdsController::getAd('160x600') }}';
var more_2 = '{{ AdsController::getAd('160x600') }}';
{{-- var more_3 = '{{ AdsController::getAd('160x600') }}';
var more_4 = '{{ AdsController::getAd('160x600') }}';
var more_5 = '{{ AdsController::getAd('160x600') }}';
var more_6 = '{{ AdsController::getAd('160x600') }}'; --}}
$('#wide_scraper_ad')
.css({'height' : 'auto'})
.append(space, more, space, more_2);
function searchTitle()
{
var field = $('input[type="text"][name="title"]');
var value = field.val();
var form = field.parent('form');
console.log('searching for ' + value);
form.submit();
}
$('.today-navigation img').tooltip();
$('[name="title"]')
.on('change', searchTitle)
.tooltip();
$('img[data-search="title"]').on('click', searchTitle);
$('[name="search-author"]')
.on('change', function(event)
{
var option = $('option:selected', $(this));
var value = option.val();
var link = option.attr('data-link');
if (value == "")
{
window.location = "{{ url('/today') }}";
}
else
{
window.location = link;
}
})
.tooltip();
$('[name="search-tag"]')
.on('change', function(event)
{
var option = $('option:selected', $(this));
var value = option.val();
var link = option.attr('data-link');
if (value == "")
{
window.location = "{{ url('/today') }}";
}
else
{
window.location = link;
}
})
.tooltip();
$('a img[data-hover-src]').hover(function()
{
$(this).attr('src', $(this).attr('data-hover-src'));
},
function()
{
$(this).attr('src', $(this).attr('data-original-src'));
});
@stop
@section('page_functions')
@stop
@section('main_content')
{{-- Errors --}}
@if (Session::has('errors'))
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
{{-- Author, if specified --}}
@if (!is_null($info['author']))
@if (is_null($info['author']->photo_path))
@else
@endif
{{ $info['author']->getName() }}
{{ $info['author']->title }}
{{ $info['author']->outlet }}
@endif
{{-- List of Articles --}}
Fatal error: Class 'Helpers' not found in /home/osaa/web_app/dev/app/views/news/index.blade.php on line 358