示例#1
0
">
<?php 
        echo render('_parts/member_profile', array('member' => !empty($related_member_table_name) ? $obj->{$related_member_table_name} : $obj, 'next_id' => $next_id, 'access_from' => Auth::check() ? 'member' : 'guest', 'is_list' => true, 'page_type' => 'list', 'display_type' => 'summary', 'is_simple_list' => $is_simple_list));
        ?>
	</div>
<?php 
    }
    ?>
</div>
<?php 
}
?>

<?php 
if ($next_id) {
    $gete_data_list = array();
    $gete_data_list['max_id'] = $next_id;
    if (!empty($since_id)) {
        $gete_data_list['since_id'] = $since_id;
    }
    $load_after_link_attr = array('data-get_data' => json_encode($gete_data_list));
    $href = IS_API ? '#' : Uri::create_url(Uri::string(), array('max_id' => $next_id));
    echo Html::anchor($href, icon_label('site.see_more', 'both', false, null, 'fa fa-'), array_merge($load_after_link_attr, $load_link_attr_default));
}
?>

<?php 
if (IS_API) {
    ?>
</body></html><?php 
}
示例#2
0
文件: list.php 项目: uzura8/flockbird
        echo render('news::_parts/news_subinfo', array('news' => $news, 'tags' => $tags, 'is_simple_view' => true));
        ?>
	</div>

<?php 
    }
    ?>
</div>
<?php 
}
?>

<?php 
if (!empty($see_more_link)) {
    $anchor_text_default = icon_label('site.see_more', 'both', false, null, 'fa fa-');
    $href = Uri::create_url($see_more_link['uri']);
    $anchor_text = !empty($see_more_link['text']) ? $see_more_link['text'] : $anchor_text_default;
    $load_after_link_attr = array('class' => 'listMoreBox');
    echo Html::anchor($href, $anchor_text, $load_after_link_attr);
} elseif (!empty($next_page)) {
    ?>
<nav id="page-nav">
<?php 
    $uri = sprintf('news/api4site/list.html?page=%d', $next_page);
    if (!empty($category_name)) {
        $uri .= '&category=' . $category_name;
    }
    if (!empty($tag_string)) {
        $uri .= '&tag=' . $tag_string;
    }
    ?>
示例#3
0
if (Uri::check_current_is_base_path()) {
    ?>
website<?php 
} else {
    ?>
article<?php 
}
?>
">
<meta property="og:description" content="<?php 
echo !empty($common['description']) ? strim($common['description'], conf('view_params_default.ogp.trimWidth.body'), null, false, true) : FBD_HEADER_DESCRIPTION_DEFAULT;
?>
">
<meta property="og:url" content="<?php 
echo Uri::current();
?>
">
<meta property="og:image" content="<?php 
echo Uri::create_url(!empty($common['image']) ? $common['image'] : 'assets/img/ico/apple-touch-icon-144-precomposed.png', null, 'url');
?>
">
<meta property="og:site_name" content="<?php 
echo FBD_SITE_NAME;
?>
">
<meta property="og:email" content="<?php 
echo FBD_ADMIN_MAIL;
?>
">