= \Html::button(
array(
'class' => 'btn-sm btn-default',
'title' => 'Poprzednia strona',
'url' => '/ranker/main_view/id=' . $this -> prev_site_id,
'icon' => 'fa-backward'
)
);?>
= \Html::button(
array(
'class' => 'btn-sm btn-default',
'title' => 'Następna strona',
'url' => '/ranker/main_view/id=' . $this -> next_site_id,
'icon' => 'fa-forward'
)
);?>
= \Html::button(
array(
'class' => 'btn-sm btn-default',
'title' => 'Dodaj stronę',
'url' => '/ranker/site_edit/',
'icon' => 'fa-plus'
)
);?>
= \Html::button(
array(
'class' => 'btn-sm btn-default',
'title' => 'Edytuj stronę',
'url' => '/ranker/site_edit/id=' . $this -> site['id'],
'icon' => 'fa-cog'
)
);?>
= \Html::button(
array(
'class' => 'btn-sm btn-default site-delete',
'title' => 'Usuń stronę',
'icon' => 'fa-trash'
)
);?>
if ( $this -> site['date_confirm'] < date( 'Y-m-d' ) and $this -> site['need_confirm'] ):?>
= \Html::button(
array(
'class' => 'btn-sm btn-success site-confirm',
'title' => 'Potwierdź wyniki',
'icon' => 'fa-check',
'attr' => [ 'site-id' => $this -> site['id'] ]
)
);?>
endif;?>
if ( $this -> site['subscription'] > 0 ) echo 'Ab: ' . \S::number( $this -> site['subscription'] ) . ' zł';?>