57 lines
1.6 KiB
HTML
57 lines
1.6 KiB
HTML
![]() |
|
||
|
|
||
|
|
||
|
{if $vdo}
|
||
|
<!--videos likes section-->
|
||
|
<div id="" class="pull-right ">
|
||
|
<div class="newRating clearfix" style="margin-bottom:2px;">
|
||
|
<div {if !$disable} onclick="rate('{$id}','5','{$type}')"{/if} class="newLike"> <i class="glyphicon glyphicon-thumbs-up big"></i></div>
|
||
|
<div {if !$disable} onclick="rate('{$id}','1','{$type}')"{/if} class="newDislike" style="margin-left:95px;margin-top:-27px;">
|
||
|
<i class="glyphicon glyphicon-thumbs-down"></i></div>
|
||
|
</div>
|
||
|
<div id="rating_result_container" class="label label-primary" style="margin-top:8px;" align="center">{if $rating_msg}{$rating_msg}{else}{$likes} Likes, {$dislikes} Dislikes{/if}</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
{else}
|
||
|
<!--photos likes section-->
|
||
|
<div id="" class="pull-right ">
|
||
|
<div class="newRating clearfix" style="margin-bottom:2px;">
|
||
|
<div {if !$disable} onclick="rate('{$id}','5','{$type}')"{/if} class="newLike"> <i class="glyphicon glyphicon-thumbs-up big"></i></div>
|
||
|
<div {if !$disable} onclick="rate('{$id}','1','{$type}')"{/if} class="newDislike" style="margin-left:95px;margin-top:-27px;">
|
||
|
<i class="glyphicon glyphicon-thumbs-down"></i></div>
|
||
|
</div>
|
||
|
<div id="rating_result_container" class="label label-primary" style="margin-top:8px;" align="center">{if $rating_msg}{$rating_msg}{else}{$likes} Likes, {$dislikes} Dislikes{/if}</div>
|
||
|
</div>
|
||
|
|
||
|
{/if}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
{literal}
|
||
|
<style>
|
||
|
.glyphicon-thumbs-down{
|
||
|
|
||
|
color: grey;
|
||
|
|
||
|
}
|
||
|
|
||
|
.glyphicon-thumbs-up{
|
||
|
|
||
|
color: grey;
|
||
|
}
|
||
|
|
||
|
.glyphicon-thumbs-down:hover{
|
||
|
color:#0088D6;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
.glyphicon-thumbs-up:hover{
|
||
|
color:#0088D6;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
</style>
|
||
|
{/literal}
|