<?php // decide width of rating (5 stars -> 20% per star) $width = $rate * 20; if ($width < 0) { $width = 0; } //set the current rating background echo '<li class="current-rating" style="width:' . $width . '%" >'; echo T_('Current rating: '); if ($rate <= 0) { echo T_('not rated yet') . "</li>\n"; } else { printf(T_('%s of 5'), $rate); } echo "</li>\n"; for ($i = 1; $i < 6; $i++) { ?> <li> <?php echo Ajax::text($base_url . '&rating=' . $i, '', 'rating' . $i . '_' . $rating->id . '_' . $rating->type, '', 'star' . $i); ?> </li> <?php } ?> </ul> <?php echo Ajax::text($base_url . '&rating=-1', '', 'rating0_' . $rating->id . '_' . $rating->type, '', 'star0'); ?> </div>
/** * Display an item art. * @param string $object_type * @param int $object_id * @param string $name * @param int $thumb * @param string $link * @param boolean $show_default * @param string $kind * @return boolean */ public static function display($object_type, $object_id, $name, $thumb, $link = null, $show_default = true, $kind = 'default') { if (!Core::is_library_item($object_type)) { return false; } if (!$show_default) { // Don't show any image if not available if (!self::has_db($object_id, $object_type, $kind)) { return false; } } $size = self::get_thumb_size($thumb); $prettyPhoto = $link == null; if ($link == null) { $link = AmpConfig::get('web_path') . "/image.php?object_id=" . $object_id . "&object_type=" . $object_type; if (AmpConfig::get('use_auth') && AmpConfig::get('require_session')) { $link .= "&auth=" . session_id(); } if ($kind != 'default') { $link .= '&kind=' . $kind; } } echo "<div class=\"item_art\">"; echo "<a href=\"" . $link . "\" title=\"" . $name . "\""; if ($prettyPhoto) { echo " rel=\"prettyPhoto\""; } echo ">"; $imgurl = AmpConfig::get('web_path') . "/image.php?object_id=" . $object_id . "&object_type=" . $object_type . "&thumb=" . $thumb; if ($kind != 'default') { $imgurl .= '&kind=' . $kind; } echo "<img src=\"" . $imgurl . "\" alt=\"" . $name . "\" height=\"" . $size['height'] . "\" width=\"" . $size['width'] . "\" />"; if ($prettyPhoto) { if ($size['width'] >= 150) { echo "<div class=\"item_art_play\">"; echo Ajax::text('?page=stream&action=directplay&object_type=' . $object_type . '&object_id=' . $object_id . '\' + getPagePlaySettings() + \'', '<span class="item_art_play_icon" title="' . T_('Play') . '" />', 'directplay_art_' . $object_type . '_' . $object_id); echo "</div>"; } $libitem = new $object_type($object_id); echo "<div class=\"item_art_actions\">"; if ($GLOBALS['user']->has_access(50) || $GLOBALS['user']->has_access(25) && $GLOBALS['user']->id == $libitem->get_user_owner()) { echo "<a href=\"javascript:NavigateTo('" . AmpConfig::get('web_path') . "/arts.php?action=find_art&object_type=" . $object_type . "&object_id=" . $object_id . "&burl=' + getCurrentPage());\">"; echo UI::get_icon('edit', T_('Edit/Find Art')); echo "</a>"; echo "<a href=\"javascript:NavigateTo('" . AmpConfig::get('web_path') . "/arts.php?action=clear_art&object_type=" . $object_type . "&object_id=" . $object_id . "&burl=' + getCurrentPage());\" onclick=\"return confirm('" . T_('Do you really want to reset art?') . "');\">"; echo UI::get_icon('delete', T_('Reset Art')); echo "</a>"; } echo "</div>"; } echo "</a>\n"; echo "</div>"; return true; }
</th> <th class="cel_add"></th> <th class="cel_artist"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=artist', T_('Artist'), 'sort_song_artist' . $browse->id); ?> </th> <th class="cel_album"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=album', T_('Album'), 'sort_song_album' . $browse->id); ?> </th> <th class="cel_tags"><?php echo T_('Tags'); ?> </th> <th class="cel_time"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=time', T_('Time'), 'sort_song_time' . $browse->id); ?> </th> <?php if (AmpConfig::get('ratings')) { ?> <th class="cel_rating"><?php echo T_('Rating'); ?> </th> <?php } ?> <?php if (AmpConfig::get('userflags')) { ?>
<?php echo Ajax::text('?page=stream&action=directplay&object_type=tvshow_season&object_id=' . $season->id, T_('Play all'), 'directplay_full_text_' . $season->id); ?> </li> <?php } ?> <?php if (Stream_Playlist::check_autoplay_append()) { ?> <li> <?php echo Ajax::button('?page=stream&action=directplay&object_type=season&object_id=' . $season->id . '&append=true', 'play_add', T_('Play all last'), 'addplay_season_' . $season->id); ?> <?php echo Ajax::text('?page=stream&action=directplay&object_type=season&object_id=' . $season->id . '&append=true', T_('Play all last'), 'addplay_season_text_' . $season->id); ?> </li> <?php } ?> <?php if (Access::check('interface', '50')) { ?> <li> <a id="<?php echo 'edit_tvshow_season_' . $season->id; ?> " onclick="showEditDialog('tvshow_season_row', '<?php echo $season->id; ?>
<?php echo Ajax::button('?action=basket&type=artist&id=' . $artist->id, 'add', T_('Add all to temporary playlist'), 'add_' . $artist->id); ?> <?php echo Ajax::text('?action=basket&type=artist&id=' . $artist->id, T_('Add all to temporary playlist'), 'add_text_' . $artist->id); ?> </li> <li> <?php /* HINT: Artist Fullname */ ?> <?php echo Ajax::button('?action=basket&type=artist_random&id=' . $artist->id, 'random', T_('Random all to temporary playlist'), 'random_' . $artist->id); ?> <?php echo Ajax::text('?action=basket&type=artist_random&id=' . $artist->id, T_('Random all to temporary playlist'), 'random_text_' . $artist->id); ?> </li> <!--<?php if (Access::check('interface', '50')) { ?> <li> <a href="<?php echo $web_path; ?> /artists.php?action=update_from_tags&artist=<?php echo $artist->id; ?> " onclick="return confirm('<?php echo T_('Do you really want to update from tags?'); ?>
/** * get_display_follow * Get html code to display the follow/unfollow link * @param int|null $display_user_id * @return string */ public function get_display_follow($user_id = null) { if (!$user_id) { $user_id = $GLOBALS['user']->id; } if ($user_id === $this->id) { return ""; } $followed = $this->is_followed_by($user_id); $html = "<span id='button_follow_" . $this->id . "' class='followbtn'>"; $html .= Ajax::text('?page=user&action=flip_follow&user_id=' . $this->id, ($followed ? T_('Unfollow') : T_('Follow')) . ' (' . count($this->get_followers()) . ')', 'flip_follow_' . $this->id); $html .= "</span>"; return $html; }
</tbody> <tfoot> <tr class="th-bottom"> <th class="cel_play essential"></th> <?php if (Art::is_enabled()) { ?> <th class="cel_cover"><?php echo T_('Art'); ?> </th> <?php } ?> <th class="cel_tvshow essential persist"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=tvshow&sort=name', T_('TV Show'), 'tvshow_sort_name'); ?> </th> <th class="cel_episodes optional"><?php echo T_('Episodes'); ?> </th> <th class="cel_seasons optional"><?php echo T_('Seasons'); ?> </th> <th class="cel_tags optional"><?php echo T_('Tags'); ?> </th> <?php
?> <th class="cel_album"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=name', T_('Album'), 'album_sort_name_bottom'); ?> </th> <th class="cel_add"></th> <th class="cel_artist"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=artist', T_('Artist'), 'album_sort_artist'); ?> </th> <th class="cel_songs"><?php echo T_('Songs'); ?> </th> <th class="cel_year"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=year', T_('Year'), 'album_sort_year_bottom'); ?> </th> <th class="cel_tags"><?php echo T_('Tags'); ?> </th> <?php if (AmpConfig::get('ratings')) { ?> <th class="cel_rating"><?php echo T_('Rating'); ?> </th> <?php }
?> </a> </li> <?php if ($democratic->is_enabled()) { ?> <li> <?php echo Ajax::button('?page=democratic&action=send_playlist&democratic_id=' . $democratic->id, 'all', T_('Play'), 'play_democratic'); ?> <?php echo Ajax::text('?page=democratic&action=send_playlist&democratic_id=' . $democratic->id, T_('Play Democratic Playlist'), 'play_democratic_full_text'); ?> </li> <li> <?php echo Ajax::button('?page=democratic&action=clear_playlist&democratic_id=' . $democratic->id, 'delete', T_('Clear Playlist'), 'clear_democratic'); ?> <?php echo Ajax::text('?page=democratic&action=clear_playlist&democratic_id=' . $democratic->id, T_('Clear Playlist'), 'clear_democratic_full_text'); ?> </li> <?php } } ?> </ul> </div> <?php UI::show_box_bottom();
} ?> <th class="cel_release_date"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=video&sort=release_date', T_('Release Date'), 'sort_video_release_date'); ?> </th> <th class="cel_codec"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=video&sort=codec', T_('Codec'), 'sort_video_codec'); ?> </th> <th class="cel_resolution"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=video&sort=resolution', T_('Resolution'), 'sort_video_rez'); ?> </th> <th class="cel_length"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=video&sort=length', T_('Time'), 'sort_video_length'); ?> </th> <?php if (AmpConfig::get('show_played_times')) { ?> <th class="cel_counter optional"><?php echo T_('# Played'); ?> </th> <?php } ?> <th class="cel_tags"><?php echo T_('Tags'); ?>
* LICENSE: GNU Affero General Public License, version 3 (AGPLv3) * Copyright 2001 - 2015 Ampache.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ ?> <th class="cel_episode optional"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=tvshow_episode&sort=episode', T_('Episode'), 'sort_video_episode'); ?> </th> <th class="cel_season optional"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=tvshow_episode&sort=season', T_('Season'), 'sort_video_season'); ?> </th> <th class="cel_tvshow optional"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=tvshow_episode&sort=tvshow', T_('TV Show'), 'sort_video_tvshow'); ?> </th>
?> </th> <th class="cel_max_counter optional"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=share&sort=max_counter', T_('Max Counter'), 'sort_share_max_counter'); ?> </th> <th class="cel_allow_stream optional"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=share&sort=allow_stream', T_('Allow Stream'), 'sort_share_allow_stream'); ?> </th> <th class="cel_allow_download optional"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=share&sort=allow_download', T_('Allow Download'), 'sort_share_allow_download'); ?> </th> <th class="cel_expire optional"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=share&sort=expire', T_('Expiry Days'), 'sort_share_expire'); ?> </th> <th class="cel_public_url essential"><?php echo T_('Public Url'); ?> </th> <th class="cel_action essential"><?php echo T_('Actions'); ?> </th> </tr> </thead> <tbody> <?php foreach ($object_ids as $share_id) {
<?php /* vim:set softtabstop=4 shiftwidth=4 expandtab: */ /** * * LICENSE: GNU Affero General Public License, version 3 (AGPLv3) * Copyright 2001 - 2015 Ampache.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ ?> <th class="cel_artist optional"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=clip&sort=artist', T_('Artist'), 'sort_video_artist'); ?> </th>
<tr class="th-top"> <th class="cel_play essential"></th> <th class="cel_name essential persist"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=broadcast&sort=name', T_('Name'), 'broadcast_sort_name'); ?> </th> <th class="cel_genre optional"><?php echo T_('Genre'); ?> </th> <th class="cel_started optional"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=broadcast&sort=started', T_('Started'), 'broadcast_sort_started'); ?> </th> <th class="cel_listeners optional"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=broadcast&sort=listeners', T_('Listeners'), 'broadcast_sort_listeners'); ?> </th> <th class="cel_action essential"><?php echo T_('Actions'); ?> </th> </tr> </thead> <tbody> <?php foreach ($object_ids as $broadcast_id) { $libitem = new Broadcast($broadcast_id); $libitem->format(); ?> <tr class="<?php
<?php echo Ajax::text('?page=stream&action=directplay&object_type=tvshow&object_id=' . $tvshow->id, T_('Play all'), 'directplay_full_text_' . $tvshow->id); ?> </li> <?php } ?> <?php if (Stream_Playlist::check_autoplay_append()) { ?> <li> <?php echo Ajax::button('?page=stream&action=directplay&object_type=tvshow&object_id=' . $tvshow->id . '&append=true', 'play_add', T_('Play all last'), 'addplay_tvshow_' . $tvshow->id); ?> <?php echo Ajax::text('?page=stream&action=directplay&object_type=tvshow&object_id=' . $tvshow->id . '&append=true', T_('Play all last'), 'addplay_tvshow_text_' . $tvshow->id); ?> </li> <?php } ?> <?php if (Access::check('interface', '50')) { ?> <li> <a id="<?php echo 'edit_tvshow_' . $tvshow->id; ?> " onclick="showEditDialog('tvshow_row', '<?php echo $tvshow->id; ?>
echo $thcount; ?> "><span class="nodata"><?php echo T_('No artist found'); ?> </span></td> </tr> <?php } ?> </tbody> <tfoot> <tr class="th-bottom"> <th class="cel_play essential"></th> <th class="cel_artist essential persist"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=artist&sort=name', T_('Artist'), 'artist_sort_name'); ?> </th> <th class="cel_add essential"></th> <th class="cel_songs optional"><?php echo T_('Songs'); ?> </th> <th class="cel_albums optional"><?php echo T_('Albums'); ?> </th> <th class="cel_time essential"><?php echo T_('Time'); ?> </th>
<?php if (Art::is_enabled()) { ?> <th class="cel_cover"><?php echo T_('Art'); ?> </th> <?php } ?> <th class="cel_label essential persist"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=label&sort=name', T_('Label'), 'label_sort_name'); ?> </th> <th class="cel_category essential"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=label&sort=category', T_('Category'), 'label_sort_category'); ?> </th> <th class="cel_artists optional"><?php echo T_('Artists'); ?> </th> <th class="cel_action essential"> <?php echo T_('Action'); ?> </th> </tr> </tfoot> </table> <?php
} ?> <li> <?php echo Ajax::button('?action=basket&type=playlist&id=' . $playlist->id, 'add', T_('Add all to temporary playlist'), 'play_playlist'); ?> <?php echo Ajax::text('?action=basket&type=playlist&id=' . $playlist->id, T_('Add all to temporary playlist'), 'play_playlist_text'); ?> </li> <li> <?php echo Ajax::button('?action=basket&type=playlist_random&id=' . $playlist->id, 'random', T_('Random all to temporary playlist'), 'play_playlist_random'); ?> <?php echo Ajax::text('?action=basket&type=playlist_random&id=' . $playlist->id, T_('Random all to temporary playlist'), 'play_playlist_random_text'); ?> </li> <?php if ($GLOBALS['user']->has_access('50') && AmpConfig::get('channel')) { ?> <li> <a href="<?php echo AmpConfig::get('web_path'); ?> /channel.php?action=show_create&type=playlist&id=<?php echo $playlist->id; ?> "> <?php echo UI::get_icon('flow');
/** * format_name * This function takes the track name and checks to see if 'skip' * is supported in the current player, if so it returns a 'skip to' * link, otherwise it returns just the text */ public function format_name($name, $id) { $name = scrub_out($name); $name = Ajax::text('?page=localplay&action=command&command=skip&id=' . $id, $name, 'localplay_skip_' . $id); return $name; }
<?php /* vim:set softtabstop=4 shiftwidth=4 expandtab: */ /** * * LICENSE: GNU Affero General Public License, version 3 (AGPLv3) * Copyright 2001 - 2015 Ampache.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ ?> <th class="cel_year optional"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=movie&sort=year', T_('Year'), 'sort_video_year'); ?> </th>
<thead> <tr class="th-top"> <th class="cel_album essential"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=wanted&sort=name', T_('Album'), 'sort_wanted_album'); ?> </th> <th class="cel_artist essential"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=wanted&sort=artist', T_('Artist'), 'sort_wanted_artist'); ?> </th> <th class="cel_year optional"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=wanted&sort=year', T_('Year'), 'sort_wanted_year'); ?> </th> <th class="cel_user optional"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=wanted&sort=user', T_('User'), 'sort_wanted_user'); ?> </th> <th class="cel_action essential"><?php echo T_('Actions'); ?> </th> </tr> </thead> <tbody> <?php foreach ($object_ids as $wanted_id) { $libitem = new Wanted($wanted_id); $libitem->format(); ?> <tr id="walbum_<?php
<th class="cel_play essential"></th> <th class="cel_playlist essential persist"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=playlist&sort=name', T_('Playlist Name'), 'playlist_sort_name'); ?> </th> <th class="cel_add essential"></th> <th class="cel_type optional"><?php echo T_('Type'); ?> </th> <th class="cel_songs optional"><?php echo T_('# Songs'); ?> </th> <th class="cel_owner optional"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=playlist&sort=user', T_('Owner'), 'playlist_sort_owner_bottom'); ?> </th> <?php if (User::is_registered()) { ?> <?php if (AmpConfig::get('ratings')) { ?> <th class="cel_rating"><?php echo T_('Rating'); ?> </th> <?php } ?>
<tr class="th-bottom"> <th class="cel_select essential persist"></th> <th class="cel_subject essential persist"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=pvmsg&sort=subject', T_('Subject'), 'pvmsg_sort_subject'); ?> </th> <th class="cel_from_user essential"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=pvmsg&sort=from_user', T_('Sender'), 'pvmsg_sort_from_user'); ?> </th> <th class="cel_to_user essential"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=pvmsg&sort=to_user', T_('Recipient'), 'pvmsg_sort_to_user'); ?> </th> <th class="cel_creation_date essential"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=pvmsg&sort=creation_date', T_('Date'), 'pvmsg_sort_creation_date'); ?> </th> <th class="cel_action essential"><?php echo T_('Action'); ?> </th> </tr> </tfoot> </table> <?php show_table_render(); if ($browse->get_show_header()) { require AmpConfig::get('prefix') . UI::find_template('list_header.inc.php'); }
$instances = $localplay->get_instances(); foreach ($instances as $uid => $name) { $name = scrub_out($name); $class = ''; if ($uid == $current_instance) { $class = ' class="active_instance"'; } ?> <li id="sb_localplay_instances_<?php echo $uid; ?> "<?php echo $class; ?> ><?php echo Ajax::text('?page=localplay&action=set_instance&instance=' . $uid, $name, 'localplay_instance_' . $uid); ?> </li> <?php } ?> </ul> </li> <?php } else { ?> <li><h4 class="header"><span class="sidebar-header-title" title="<?php echo T_('Localplay Disabled'); ?> "><?php echo T_('Localplay Disabled');
if ($show_playlist_add) { ?> <li> <?php echo Ajax::button('?action=basket&type=album&' . $album->get_http_album_query_ids('id'), 'add', T_('Add to temporary playlist'), 'play_full_'); ?> <?php echo Ajax::text('?action=basket&type=album&' . $album->get_http_album_query_ids('id'), T_('Add to temporary playlist'), 'play_full_text_'); ?> </li> <li> <?php echo Ajax::button('?action=basket&type=album_random&' . $album->get_http_album_query_ids('id'), 'random', T_('Random to temporary playlist'), 'play_random_'); ?> <?php echo Ajax::text('?action=basket&type=album_random&' . $album->get_http_album_query_ids('id'), T_('Random to temporary playlist'), 'play_random_text_'); ?> </li> <?php } ?> <?php if (Access::check_function('batch_download') && check_can_zip('album')) { ?> <li> <a rel="nohtml" href="<?php echo $web_path; ?> /batch.php?action=album&<?php echo $album->get_http_album_query_ids('id'); ?>
" /></h4> <ul class="sb3" id="sb_home_random"> <li id="sb_home_random_album"><?php echo Ajax::text('?page=random&action=song', T_('Song'), 'home_random_song'); ?> </li> <li id="sb_home_random_album"><?php echo Ajax::text('?page=random&action=album', T_('Album'), 'home_random_album'); ?> </li> <li id="sb_home_random_artist"><?php echo Ajax::text('?page=random&action=artist', T_('Artist'), 'home_random_artist'); ?> </li> <li id="sb_home_random_playlist"><?php echo Ajax::text('?page=random&action=playlist', T_('Playlist'), 'home_random_playlist'); ?> </li> <li id="sb_home_random_advanced"><a href="<?php echo $web_path; ?> /random.php?action=advanced&type=song"><?php echo T_('Advanced'); ?> </a></li> </ul> </li> <li> <h4 class="header"><span class="sidebar-header-title" title="<?php echo T_('Information'); ?>
?> </th>--> <th class="cel_streamtype optional"><?php echo T_('Stream Type'); ?> </th> <th class="cel_bitrate optional"><?php echo T_('Bitrate'); ?> </th> <th class="cel_startdate optional"><?php echo T_('Start Date'); ?> </th> <th class="cel_listeners optional"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=channel&sort=listeners', T_('Listeners'), 'channel_sort_listeners'); ?> </th> <th class="cel_streamurl essential"><?php echo T_('Stream Url'); ?> </th> <th class="cel_state optional"><?php echo T_('State'); ?> </th> <th class="cel_action essential"><?php echo T_('Actions'); ?> </th> </tr>
</tbody> <tfoot> <tr class="th-bottom"> <th class="cel_username"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=user&sort=fullname', T_('Fullname'), 'users_sort_fullname1'); ?> ( <?php echo Ajax::text('?page=browse&action=set_sort&type=user&sort=username', T_('Username'), 'users_sort_username1'); ?> )</th> <th class="cel_lastseen"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=user&sort=last_seen', T_('Last Seen'), 'users_sort_lastseen1'); ?> </th> <th class="cel_registrationdate"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=user&sort=create_date', T_('Registration Date'), 'users_sort_createdate1'); ?> </th> <?php if (Access::check('interface', 50)) { ?> <th class="cel_activity"><?php echo T_('Activity'); ?> </th> <?php if (AmpConfig::get('track_user_ip')) { ?> <th class="cel_lastip"><?php echo T_('Last Ip'); ?>
</tbody> <tfoot> <tr class="th-bottom"> <th class="cel_play"></th> <?php if (Art::is_enabled()) { ?> <th class="cel_cover"><?php echo T_('Art'); ?> </th> <?php } ?> <th class="cel_title"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=title', T_('Title'), 'podcast_sort_title_bottom'); ?> </th> <th class="cel_episodes"><?php echo T_('Episodes'); ?> </th> <?php if (User::is_registered()) { ?> <?php if (AmpConfig::get('ratings')) { ?> <th class="cel_rating"><?php echo T_('Rating'); ?>
<?php /* vim:set softtabstop=4 shiftwidth=4 expandtab: */ /** * * LICENSE: GNU General Public License, version 2 (GPLv2) * Copyright 2001 - 2015 Ampache.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License v2 * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * */ ?> <th class="cel_location optional"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=personal_video&sort=location', T_('Location'), 'sort_video_location'); ?> </th>