2014-02-07 13:26:05 +00:00
|
|
|
|
|
|
|
{literal}
|
|
|
|
<script>
|
|
|
|
// function deleteFeed(uid,file)
|
|
|
|
// {
|
|
|
|
// $('#feedload-'+file).html(loading_img);
|
|
|
|
// $.post(page,
|
|
|
|
// {mode:"delete_feed",uid:uid,file:file},
|
|
|
|
// function(data)
|
|
|
|
// {
|
|
|
|
// $('#feedload-'+file).html('');
|
|
|
|
// if(data.msg)
|
|
|
|
// $('#feed-'+file).html('<div class="cb_error">'+data.msg+"</div>");
|
|
|
|
// else
|
|
|
|
// $('#feed-'+file).prepend('<div class="cb_error" style="color:#ed0000">'+data.err+"</div>");
|
|
|
|
// },
|
|
|
|
// 'json');
|
|
|
|
// }
|
|
|
|
</script>
|
|
|
|
{/literal}
|
|
|
|
|
|
|
|
|
2014-04-24 07:07:38 +00:00
|
|
|
|
|
|
|
|
2014-03-25 14:03:10 +00:00
|
|
|
<div class="" id="feed-{$feed.file}">
|
2014-04-24 07:07:38 +00:00
|
|
|
<div class="row">
|
2014-04-24 08:53:50 +00:00
|
|
|
<a href="{$userquery->profile_link($feed.user)}">
|
2014-04-24 07:07:38 +00:00
|
|
|
<div class="col-md-3" style=" margin-right: 10px;">
|
2014-04-24 08:53:50 +00:00
|
|
|
<img class="img-circle" src="{avatar details=$feed.user size='small'}" height="50" width="50" style="border: solid; border-color: #D7DFEE;">
|
2014-04-24 07:07:38 +00:00
|
|
|
</div>
|
2014-04-24 08:53:50 +00:00
|
|
|
</a>
|
2014-04-24 07:07:38 +00:00
|
|
|
<div class="col-md-9" style="margin-left: -65px;">
|
|
|
|
{if !$feed.action_title}
|
|
|
|
<a href="{$userquery->profile_link($feed.user)}">{$feed.user.username}</a>
|
|
|
|
{else}
|
|
|
|
<small class="small">{$feed.action_title}</small>
|
|
|
|
{/if}
|
|
|
|
<br>
|
|
|
|
<span class="padding36" style="margin-left: -40px;"><i class="glyphicon glyphicon-time"></i> {$feed.datetime}</span>
|
2014-05-09 10:22:32 +00:00
|
|
|
<hr style="margin: 10px -69px 10px -64px;">
|
2014-04-24 07:07:38 +00:00
|
|
|
</div>
|
2014-03-25 14:03:10 +00:00
|
|
|
|
2014-04-24 07:07:38 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!--<div class="row">-->
|
|
|
|
<!--<div class="col-md-14">-->
|
|
|
|
<!--<div class="col-md-12 pull-left font">-->
|
|
|
|
<!--<a href="{$userquery->profile_link($feed.user)}" title="{$feed.user.username}">-->
|
|
|
|
<!--<img class="img-circle" src="{avatar details=$feed.user size='small'}" height="50" width="50" style="border: solid; border-color: #D7DFEE;">-->
|
|
|
|
<!--<!–<img src="{avatar details=$feed.user size='small'}" alt="{$feed.user.username}" class="img-circle" />–>-->
|
|
|
|
<!--</a>-->
|
|
|
|
<!--{if !$feed.action_title}-->
|
|
|
|
<!--<a href="{$userquery->profile_link($feed.user)}">{$feed.user.username}</a>-->
|
|
|
|
<!--{else}-->
|
|
|
|
<!--<small class="small">{$feed.action_title}</small>-->
|
|
|
|
<!--{/if}-->
|
|
|
|
<!--<span class="padding36 new1"><i class="glyphicon glyphicon-time"></i> {$feed.datetime}</span>-->
|
2014-03-25 14:03:10 +00:00
|
|
|
<!--<hr>-->
|
|
|
|
<!--</div>-->
|
2014-04-24 07:07:38 +00:00
|
|
|
<!--<!–<div class="feedTitle col-md-12 pull-right">–>-->
|
2014-03-25 14:03:10 +00:00
|
|
|
|
2014-04-24 07:07:38 +00:00
|
|
|
<!--<!–<span id="feedload-{$feed.file}"></span>–>-->
|
|
|
|
<!--<!–<!–{if $u.userid==userid() || has_access('admin_access',true)}–>–>-->
|
|
|
|
<!--<!–<!–<a href="javascript:void(0)" onclick="deleteFeed('{$feed.user.userid}','{$feed.file}')" class="btn btn-primary btn-xs">–>–>-->
|
|
|
|
<!--<!–<!–delete–>–>-->
|
|
|
|
<!--<!–<!–</a>–>–>-->
|
|
|
|
<!--<!–<!–{/if}–>–>-->
|
|
|
|
<!--<!–<!–<div class="feedState pull-right">–>–>-->
|
|
|
|
<!--<!–<!–{if $feed.links}–>–>-->
|
|
|
|
<!--<!–<!–{foreach from=$feed.links item=link}–>–>-->
|
|
|
|
<!--<!–<!–<span class="show">–>–>-->
|
|
|
|
<!--<!–<!–{if $link.link}<a class="font" href="{$link.link}">{/if}{$link.text}{if $link.link}</a>{/if}–>–>-->
|
|
|
|
<!--<!–<!–</span>–>–>-->
|
|
|
|
<!--<!–<!–{/foreach}–>–>-->
|
|
|
|
<!--<!–<!–{/if}–>–>-->
|
|
|
|
<!--<!–<!–</div>–>–>-->
|
|
|
|
<!--<!–<hr>–>-->
|
|
|
|
<!--<!–</div>–>-->
|
2014-03-25 14:03:10 +00:00
|
|
|
|
2014-04-24 07:07:38 +00:00
|
|
|
<!--</div>-->
|
|
|
|
|
|
|
|
<!--<div class="col-md-9">-->
|
|
|
|
<!--<div class="feed">-->
|
|
|
|
<!--<div class="feedContent">-->
|
|
|
|
<!--{if $feed.thumb}-->
|
2014-03-25 14:03:10 +00:00
|
|
|
<!--{if $feed.link}-->
|
2014-04-24 07:07:38 +00:00
|
|
|
<!--<a href="{$feed.link}">-->
|
2014-03-25 14:03:10 +00:00
|
|
|
<!--{/if}-->
|
2014-04-24 07:07:38 +00:00
|
|
|
<!--<!–<img src="{$feed.thumb}" class="img-thumbnail"> –>-->
|
|
|
|
<!--{if $feed.link}-->
|
|
|
|
<!--</a>-->
|
2014-03-25 14:03:10 +00:00
|
|
|
<!--{/if}-->
|
2014-04-24 07:07:38 +00:00
|
|
|
<!--{/if}-->
|
|
|
|
<!--<!–<div class="feedText">–>-->
|
|
|
|
<!--<!–{if $feed.link}–>-->
|
|
|
|
<!--<!–<a href="{$feed.link}">{$feed.title}</a>–>-->
|
|
|
|
<!--<!–{elseif $feed.title}–>-->
|
|
|
|
<!--<!–{$feed.title}–>-->
|
|
|
|
<!--<!–{/if}–>-->
|
|
|
|
<!--<!–{if $feed.object_content}–>-->
|
|
|
|
<!--<!–<div class="objectContent">–>-->
|
|
|
|
<!--<!–{$feed.object_content}–>-->
|
|
|
|
<!--<!–</div>–>-->
|
|
|
|
<!--<!–{/if}–>-->
|
|
|
|
<!--<!–</div>–>-->
|
|
|
|
<!--</div>-->
|
2014-03-25 14:03:10 +00:00
|
|
|
|
2014-04-24 07:07:38 +00:00
|
|
|
<!--</div>-->
|
|
|
|
<!--</div>-->
|
|
|
|
<!--</div>-->
|
2014-02-07 13:26:05 +00:00
|
|
|
</div>
|
|
|
|
|