?> </div> <!-- //Item Img --> <div class="xt-share-main clearfix"> <!-- Item header --> <div class="xt-share-header clearfix"> </div> <!-- //Item header --> <!-- Item content --> <div class="xt-share-content"> <h2 class="xt-share-albums-title">TA的更多专辑 <a target="_blank" href="<?php xt_the_user_url(); ?> #album" class="xt-share-albums-more">查看全部</a></h2> <?php $isBig = xt_albumdisplay() == 'big' ? true : false; while (xt_have_albums()) { xt_the_album(); $_picurls = $isBig ? get_the_album_picurls_big() : get_the_album_picurls_small(); ?> <div class="xt-share-albums-list"> <h3 class="xt-share-album-title"> <span class="xt-r"><?php echo get_the_album_sharecount(); ?> 个分享</span><a href="<?php echo get_the_album_url(); ?> "><?php echo wp_trim_words(get_the_album_title(), 10); ?>
</label> <br> </fieldset> </td> </tr> <tr valign="top"> <th scope="row">专辑</th> <td> <fieldset> <label> 显示方案 <input name="albumDisplay" type="radio" value="big" <?php echo xt_albumdisplay() == 'big' ? 'checked' : ''; ?> >1大图+4小图 <input name="albumDisplay" type="radio" value="small" <?php echo xt_albumdisplay() == 'small' ? 'checked' : ''; ?> >9小图 </label> </fieldset> </td> </tr> <tr valign="top"> <th scope="row">会员</th> <td> <fieldset> <label for="followLimit"> 最多关注<input name="followLimit" type="number" step="1" min="500" max="5000" id="followLimit" value="<?php echo xt_followlimit(); ?>
function get_the_album_container($_params = array(), $isCatalog = false, $isAjax = false, $isScroll = true) { if ($isAjax) { echo '<div id="X_Wall-Result" class="clearfix">'; } echo '<div id="X_Wall-Container" class="xt-wall-container row" data-scroll="' . ($isScroll ? 'true' : 'false') . '">'; $_user_id = 0; $_delClass = ''; $msg = 'album_not_found'; if (isset($_params['isFavorite']) && $_params['isFavorite']) { $_user_id = $_params['user_id']; $_delClass = 'xt-delete-favorite'; $msg = 'album_favorite_not_found'; } elseif (isset($_params['isShare']) && $_params['isShare']) { $msg = 'album_share_not_found'; } $_count = 0; $isBig = xt_albumdisplay() == 'big' ? true : false; while (xt_have_albums()) { xt_the_album(); if ($isBig) { get_the_album_template_big($_user_id, $_delClass); } else { get_the_album_template_small($_user_id, $_delClass); } $_count++; } if ($_count == 0) { echo xt_not_found($msg, 'xt-album-not-found'); } echo '</div>'; if ($isScroll) { echo "<div id=\"X_Page-Nav\" style=\"display: none; \"><a id=\"X_Page-Next-Link\" rel=\"nofollow\" href=\"" . admin_url('admin-ajax.php') . "?action=xt_ajax_search_albums&s_index=" . $_params['page'] . "&" . http_build_query($_params) . "\"></a></div>"; } echo '<div id="X_Pagination-Bottom" class="clearfix">'; echo '<div class="pagination xt-pagination-links">'; xt_albums_pagination_links(); echo '</div>'; echo '</div>'; if ($isAjax) { echo '</div>'; } }