本文整理汇总了PHP中clsTinyButStrong::tbs_Show方法的典型用法代码示例。如果您正苦于以下问题:PHP clsTinyButStrong::tbs_Show方法的具体用法?PHP clsTinyButStrong::tbs_Show怎么用?PHP clsTinyButStrong::tbs_Show使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类clsTinyButStrong
的用法示例。
在下文中一共展示了clsTinyButStrong::tbs_Show方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: clsTinyButStrong
//set condition for hidding certain blocks (more videos)
if (empty($all_videos)) {
$show_v = 1;
} else {
$show_v = 2;
}
//check if I am group admin to load admin features
$delete_group_video = "";
//show option to delete on each listed video
if ($user_id != "") {
$sql = "SELECT * FROM group_membership WHERE group_id = {$group_id} AND member_id = {$user_id} AND group_admin = 'yes'";
$query = @mysql_query($sql);
$am_i_admin = @mysql_num_rows($query);
if ($am_i_admin == 0) {
$delete_group_video = "";
//show option to delete on each listed video
} else {
$delete_group_video = $config["delete_general"];
//show option to delete on each listed video
}
}
$template = "themes/{$user_theme}/templates/inner_group_videos_ajax.htm";
$TBS = new clsTinyButStrong();
$TBS->NoErr = true;
// no more error message displayed.
$TBS->LoadTemplate("{$template}");
$TBS->MergeBlock('mp', $all_videos);
$TBS->Render = TBS_OUTPUT;
$TBS->tbs_Show();
@mysql_close();
die;