This commit is contained in:
parent
a9ba282223
commit
521b5baa2e
2 changed files with 23 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
|
||||
{if $block_type == '' || $block_type=='normal'}
|
||||
<div class="row margin-bottom-10" id="user-{$user.userid}">
|
||||
<div id="messageFav" class="alert alert-info marginTop" style="display:none;width:460px;margin-bottom:10px;margin-left:15px;height:90px;"></div>
|
||||
|
||||
<div class="col-md-2 paddingright0">
|
||||
<a href="{$userquery->profile_link($user)}">
|
||||
<img class="cb_img_thum" src="{$userquery->getUserThumb($user)}" style="border: 1px solid rgb(0, 0, 0); height: 60px; width: 60px;">
|
||||
|
@ -26,7 +26,7 @@
|
|||
{lang code="subscribers"}: {$user.subscribers|number_format}
|
||||
</div>
|
||||
</div>
|
||||
{$user.userid}
|
||||
|
||||
<a class="btn btn-primary btn-xs" id="subuser-{$user.userid}" >Subscribe</a>
|
||||
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
{lang code='channel' assign='object_type'}
|
||||
{*include file="$style_dir/blocks/view_channel/channel_global.html" *}
|
||||
|
||||
<div id="container" class="container">
|
||||
{include file="$style_dir/blocks/manage/account_menu.html"}
|
||||
<div class="row cb-box">
|
||||
|
@ -17,7 +18,7 @@
|
|||
|
||||
<button style="display: inline; background-color: #000000" class="btn btn-primary btn-sm new1"><i class="glyphicon glyphicon-plus-sign white"></i> {lang code="Add as Friend"}</button>
|
||||
<a href="private_message.php?mode=new_msg&to=admin" style="display: inline; background-color: #000000" class="btn btn-primary btn-sm new1"><i class="glyphicon glyphicon-envelope white"></i> {lang code="Send Message"}</a>
|
||||
<button style="display: inline; background-color: #000000" class="btn btn-primary btn-sm new1"><i class="icon-rss icon-spin white"></i> {lang code="Subscribe"}</button>
|
||||
<button style="display: inline; background-color: #000000" id="subscribe_channel"class="btn btn-primary btn-sm new1"><i class="icon-rss icon-spin white"></i> {lang code="Subscribe"}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -67,7 +68,10 @@
|
|||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="clearfix"></div>
|
||||
<div id="messageFav" class="alert alert-info marginTop" style="display:none;"></div>
|
||||
<br><br>
|
||||
<div class="row">
|
||||
<div class="col-md-7 view_chnl">
|
||||
|
@ -96,6 +100,7 @@
|
|||
</div>
|
||||
|
||||
<div class="col-md-5">
|
||||
|
||||
<h5><small><i class="icon-rss"></i></small> <b> {lang code="Recent Activities"}</b></h5>
|
||||
<hr class="margin-top-bottom-5 hr-channal margin-bottom-10" style="margin-left: -2px; width: 98%;">
|
||||
<div id="content_1" class="content">
|
||||
|
@ -214,6 +219,21 @@
|
|||
})
|
||||
});
|
||||
})(window);
|
||||
|
||||
$(document).ready(function (){
|
||||
var id ='{$user.userid}';
|
||||
$('#subscribe_channel').on({
|
||||
click: function(e){
|
||||
e.preventDefault();
|
||||
_cb.subscribeToChannel(id,'subscribe_user','video_detail_result_cont');
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue