1725 lines
74 KiB
Smarty
1725 lines
74 KiB
Smarty
{include file='header.tpl'}
|
|
|
|
<script>
|
|
{literal}
|
|
|
|
function updatecount_intro()
|
|
{
|
|
if(jQuery("#comment_body1").val().trim()!=""){
|
|
jQuery("#comment_submit1").prop( "disabled", true );
|
|
jQuery("#comment_submit1").val("Sending...");
|
|
|
|
datasend={
|
|
"comment": jQuery("#comment_body1").val(),
|
|
"comment_submit": jQuery("#comment_submit1").val(),
|
|
"task": jQuery("#task1").val(),
|
|
"type": jQuery("#type1").val(),
|
|
"iden": jQuery("#iden1").val(),
|
|
"value": jQuery("#value1").val(),
|
|
"user": jQuery("#user1").val(),
|
|
"tab": jQuery("input#tab1").val(),
|
|
"col": jQuery("#col1").val(),
|
|
"tab_parent": jQuery("#tab_parent1").val(),
|
|
"col_parent": jQuery("#col_parent1").val(),
|
|
"child": jQuery("#child1").val(),
|
|
"object_owner_id": jQuery("#object_owner_id1").val(),
|
|
"object_owner": jQuery("#object_owner1").val(),
|
|
"object_id": jQuery("#object_id1").val(),
|
|
"object": jQuery("#object1").val()
|
|
}
|
|
|
|
jQuery.ajax({
|
|
type: "POST",
|
|
url: "comments.php",
|
|
data: datasend,
|
|
success: function (returnedData) {
|
|
|
|
jQuery("#comment_submit1").prop( "disabled", false );
|
|
jQuery("#comment_body1").val("");
|
|
jQuery(".emojionearea-editor1").html("");
|
|
jQuery("#comment_submit1").val("Post Comment");
|
|
loadXMLDoc(1);
|
|
|
|
},
|
|
dataType: "text"
|
|
});
|
|
|
|
if(document.getElementById('comment_body1').value!=""){
|
|
total=document.getElementById('totalcomments1').innerHTML;
|
|
total=total*1;
|
|
document.getElementById('totalcomments1').innerHTML=total+1;
|
|
}
|
|
|
|
return false;
|
|
}
|
|
}
|
|
|
|
function leo(val, owner, user){
|
|
|
|
|
|
{/literal}
|
|
{$leo}
|
|
{literal}
|
|
|
|
|
|
}
|
|
|
|
{/literal}
|
|
</script>
|
|
{* $Id: profile.tpl 255 2009-11-18 02:21:01Z steve $ *}
|
|
|
|
<div class='page_header' style="height:31px;"><span style="font-size:20pt; font-weight:bold;"> {$owner->user_displayname}</span>
|
|
|
|
{if $owner->user_info.verified==1}<img src="{$imagecdn}images/bwverification.png" style="width: 25px; margin-top: -15px;">{/if}</div>
|
|
|
|
<div class="col-sm-3 norightpadding">
|
|
{* BEGIN LEFT COLUMN *}
|
|
|
|
{* SHOW USER PHOTO *}
|
|
<table cellpadding='0' cellspacing='0' width='100%' style='margin-bottom: 10px;'>
|
|
<tr>
|
|
<td class='profile_photo'>
|
|
{assign var="profilepicture" value=$owner->user_photo("./images/nophoto.png")}
|
|
{if $album_id!=""}
|
|
<a href="/album.php?user={$owner->user_info.user_username}&album_id={$album_id}">{$owner->userprofiledot($profilepicture)}</a>
|
|
{else}
|
|
{$owner->userprofiledot($profilepicture)}
|
|
{/if}
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{if $user->user_info.user_id!=$owner->user_info.user_id}
|
|
<table class='profile_menu' cellpadding='0' cellspacing='0' width='100%'>
|
|
|
|
{* SHOW PHOTOS OF THIS PERSON *}
|
|
{* if $total_photo_tags != 0}
|
|
<tr><td class='profile_menu1' nowrap='nowrap'><a href='profile_photos.php?user={$owner->user_info.user_username}'>{lang_sprintf id=1204 1=$owner->user_displayname_short 2=$total_photo_tags}</a></td></tr>
|
|
{assign var='showmenu' value='1'}
|
|
{/if *}
|
|
|
|
|
|
{* SHOW BUTTONS IF LOGGED IN AND VIEWING SOMEONE ELSE *}
|
|
{if $owner->user_info.user_id != $user->user_info.user_id}
|
|
|
|
{* SHOW ADD OR REMOVE FRIEND MENU ITEM *}
|
|
{if $friendship_allowed != 0 && $user->user_exists != 0}
|
|
<tr><td class='profile_menu1' nowrap='nowrap'>
|
|
{* JAVASCRIPT FOR CHANGING FRIEND MENU OPTION *}
|
|
{literal}
|
|
<script type="text/javascript">
|
|
<!--
|
|
function friend_update(status, id) {
|
|
if(status == 'pending') {
|
|
if($('addfriend_'+id))
|
|
$('addfriend_'+id).style.display = 'none';
|
|
if($('confirmfriend_'+id))
|
|
$('confirmfriend_'+id).style.display = 'none';
|
|
if($('pendingfriend_'+id))
|
|
$('pendingfriend_'+id).style.display = 'block';
|
|
if($('removefriend_'+id))
|
|
$('removefriend_'+id).style.display = 'none';
|
|
} else if(status == 'remove') {
|
|
if($('addfriend_'+id))
|
|
$('addfriend_'+id).style.display = 'none';
|
|
if($('confirmfriend_'+id))
|
|
$('confirmfriend_'+id).style.display = 'none';
|
|
if($('pendingfriend_'+id))
|
|
$('pendingfriend_'+id).style.display = 'none';
|
|
if($('removefriend_'+id))
|
|
$('removefriend_'+id).style.display = 'block';
|
|
} else if(status == 'add') {
|
|
if($('addfriend_'+id))
|
|
$('addfriend_'+id).style.display = 'block';
|
|
if($('confirmfriend_'+id))
|
|
$('confirmfriend_'+id).style.display = 'none';
|
|
if($('pendingfriend_'+id))
|
|
$('pendingfriend_'+id).style.display = 'none';
|
|
if($('removefriend_'+id))
|
|
$('removefriend_'+id).style.display = 'none';
|
|
}
|
|
}
|
|
//-->
|
|
</script>
|
|
{/literal}
|
|
<div id='addfriend_{$owner->user_info.user_id}'{if $is_friend == TRUE || $is_friend_pending != 0} style='display: none;'{/if}>
|
|
<a data-toggle="modal" data-target="#myModal" href="user_friends_manage.php?user={$owner->user_info.user_username}">
|
|
{lang_print id=838}</a></div>
|
|
<div id='confirmfriend_{$owner->user_info.user_id}'{if $is_friend_pending != 1} style='display: none;'{/if}>
|
|
|
|
<a data-toggle="modal" data-target="#myModal" href="user_friends_manage.php?user={$owner->user_info.user_username}&confirm=1">{lang_print id=885}</a></div>
|
|
<div id='pendingfriend_{$owner->user_info.user_id}'{if $is_friend_pending != 2} style='display: none;'{/if} class='nolink'>{lang_print id=875}</div>
|
|
<div id='removefriend_{$owner->user_info.user_id}'{if $is_friend == FALSE || $is_friend_pending != 0} style='display: none;'{/if}>
|
|
|
|
<a data-toggle="modal" data-target="#myModal" href="user_friends_manage.php?task=remove&user={$owner->user_info.user_username}">{lang_print id=837}</a></div>
|
|
</td></tr>
|
|
{assign var='showmenu' value='1'}
|
|
{/if}
|
|
|
|
{if $owner->user_info.user_id!=390124}
|
|
{* SHOW SEND MESSAGE MENU ITEM *}
|
|
{if ($user->level_info.level_message_allow == 2 || ($user->level_info.level_message_allow == 1 && $is_friend)) && $owner->level_info.level_message_allow != 0}
|
|
<tr><td class='profile_menu1' nowrap='nowrap'><a data-toggle="modal" data-target="#myModal" href="user_messages_new.php?to_user={$owner->user_displayname|escape:url}&to_id={$owner->user_info.user_username}">{lang_print id=839}</a></td></tr>
|
|
{assign var='showmenu' value='1'}
|
|
{/if}
|
|
{if $owner->user_info.user_id!=$user->user_info.user_id} {if $noims!="1"} <tr><td class='profile_menu1' nowrap='nowrap'> <a href="javascript:void(0);" onClick="leo('{$user->user_info.user_id}', '{$owner->user_info.user_id}', '{$owner->user_info.user_username}');">Send IM</a></td></tr>{/if}
|
|
{/if}
|
|
|
|
{* SHOW REPORT THIS PERSON MENU ITEM *}
|
|
{if $user->user_exists != 0}
|
|
|
|
<tr><td class='profile_menu1' nowrap='nowrap'><a data-toggle="modal" data-target="#myModal" href="user_report.php?return_url={$url->url_current()|escape:url}&form=profile&user={$owner->user_info.user_username}&item=profile">{lang_print id=840}</a></td></tr>
|
|
{assign var='showmenu' value='1'}
|
|
|
|
{/if}
|
|
|
|
{/if}
|
|
{if $owner->user_info.staff!=1}
|
|
{* SHOW BLOCK OR UNBLOCK THIS PERSON MENU ITEM *}
|
|
{if $user->level_info.level_profile_block != 0}
|
|
<tr><td class='profile_menu1' nowrap='nowrap'>
|
|
<div id='unblock'{if $user->user_blocked($owner->user_info.user_id) == FALSE} style='display: none;'{/if}><a data-toggle="modal" data-target="#myModal" href="user_friends_block.php?task=unblock&user={$owner->user_info.user_username}">{lang_print id=841}</a></div>
|
|
<div id='block'{if $user->user_blocked($owner->user_info.user_id) == TRUE} style='display: none;'{/if}><a data-toggle="modal" data-target="#myModal" href="user_friends_block.php?task=block&user={$owner->user_info.user_username}">{lang_print id=842}</a></div>
|
|
</td></tr>
|
|
{assign var='showmenu' value='1'}
|
|
{/if}
|
|
{/if}
|
|
{/if}
|
|
|
|
|
|
{* PLUGIN RELATED PROFILE MENU ITEMS *}
|
|
{hook_foreach name=profile_menu var=profile_menu_args}
|
|
|
|
{assign var='showmenu' value='1'}
|
|
<tr>
|
|
<td class='profile_menu1' nowrap='nowrap'>
|
|
<a href='{$profile_menu_args.file}'>
|
|
|
|
{lang_sprintf id=$profile_menu_args.title 1=$profile_menu_args.title_1 2=$profile_menu_args.title_2}
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
{/hook_foreach}
|
|
|
|
</table>
|
|
{/if}
|
|
|
|
{if $owner->user_info.user_id!=$user->user_info.user_id && $owner->user_info.user_level_id!=2} <a href="https://secure2.segpay.com/billing/poset.cgi?ppviewtype=2&x-eticketid=205322:34678&utm_source=segpay&utm_medium=cart&utm_campaign=membership&username={$user->user_info.user_username}&seUser={$user->user_info.user_id}&toUser={$owner->user_info.user_id}&x-auth-link=http%3a%2f%2fwww.bateworld.com/login.php&x-auth-text=Back+to+Bateworld" style="background-color:#eda800; max-width:100%; display: block; color:black; padding:5px 10px; margin-top:10px; border:1px solid #534741;"><i class="fa-solid fa-gift"></i> Gift Premium</a></td></tr>{/if}
|
|
{if $showmenu == 1}
|
|
<div style='height: 10px; font-size: 1pt;'> </div>
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
{* DISPLAY IF PROFILE IS PRIVATE TO VIEWING USER *}
|
|
{if $is_profile_private != 0}
|
|
|
|
{* END LEFT COLUMN *}
|
|
</div>
|
|
<div class="col-sm-8 profile-right">
|
|
{* BEGIN RIGHT COLUMN *}
|
|
|
|
<img src='./images/icons/error48.gif' border='0' class='icon_big'>
|
|
<div class='page_header'>{lang_print id=843}</div>
|
|
{lang_print id=844}
|
|
|
|
{* DISPLAY ONLY IF PROFILE IS NOT PRIVATE TO VIEWING USER *}
|
|
{else}
|
|
|
|
|
|
{if $owner->profile_info.profilevalue_41!=""||$owner->profile_info.profilevalue_33!=""||$owner->profile_info.profilevalue_34!=""||$owner->profile_info.profilevalue_40!=""||$owner->profile_info.profilevalue_35!=""||$owner->profile_info.profilevalue_36!=""||$owner->profile_info.profilevalue_37!=""||$owner->profile_info.profilevalue_38!=""||$owner->profile_info.profilevalue_39!=""}
|
|
<table cellpadding='0' cellspacing='0' width='100%' style='margin-bottom: 10px;'>
|
|
<tr>
|
|
<td class='header'>Social Media</td></tr>
|
|
<tr><td class='profile'>
|
|
{if $owner->profile_info.profilevalue_41!=""}<a href="https://bateworld.chaturbate.com/{$owner->profile_info.profilevalue_41}" target="_blank"><img src="/images/chaturbate.jpg" style="width:20px;"> {$owner->profile_info.profilevalue_41}</a><br>{/if}
|
|
{if $owner->profile_info.profilevalue_33!=""}
|
|
<a href="https://onlyfans.com/{$owner->profile_info.profilevalue_33}?ref=1334749" target="_blank"><img src="/images/onlyfans.jpg" style="width:20px;"> {$owner->profile_info.profilevalue_33}</a><br>{/if}{if $owner->profile_info.profilevalue_34!=""}
|
|
<a href="https://justfor.fans/{$owner->profile_info.profilevalue_34}?AffiliateID=137299" target="_blank"><img src="/images/jff.jpg" style="width:20px;"> {$owner->profile_info.profilevalue_34}</a><br>{/if}{if $owner->profile_info.profilevalue_40!=""}
|
|
<a href="https://xtube.com/profile/{$owner->profile_info.profilevalue_40}" target="_blank"><img src="/images/xtube.jpg" style="width:20px;"> {$owner->profile_info.profilevalue_40}</a><br>{/if}{if $owner->profile_info.profilevalue_35!=""}
|
|
<a href="https://twitter.com/{$owner->profile_info.profilevalue_35}" target="_blank"><span class="fa-stack fa-sm" style="margin-left: -3px; margin-right: -5px;"><i class="fas fa-square fa-stack-2x" style="color:#55acee;"></i><i class="fab fa-twitter fa-stack-1x fa-inverse"></i></span> {$owner->profile_info.profilevalue_35}</a><br>{/if}{if $owner->profile_info.profilevalue_36!=""}
|
|
<a href="https://instagram.com/{$owner->profile_info.profilevalue_36}" target="_blank"><span class="fa-stack fa-sm" style="margin-left: -3px; margin-right: -5px;"><i class="fas fa-square fa-stack-2x" style="color:#c32aa3;"></i><i class="fab fa-instagram fa-stack-1x fa-inverse"></i></span> {$owner->profile_info.profilevalue_36}</a><br>{/if}{if $owner->profile_info.profilevalue_37!=""}
|
|
<a href="https://facebook.com/{$owner->profile_info.profilevalue_37}" target="_blank"><span class="fa-stack fa-sm" style="margin-left: -3px; margin-right: -5px;"><i class="fas fa-square fa-stack-2x" style="color:#1877f2;"></i><i class="fab fa-facebook fa-stack-1x fa-inverse"></i></span> {$owner->profile_info.profilevalue_37}</a><br>{/if}{if $owner->profile_info.profilevalue_38!=""}
|
|
<a href="https://youtube.com/channel/{$owner->profile_info.profilevalue_38}" target="_blank"><span class="fa-stack fa-sm" style="margin-left: -3px; margin-right: -5px;"><i class="fas fa-square fa-stack-2x" style="color:#ff0000;"></i><i class="fab fa-youtube fa-stack-1x fa-inverse"></i></span> {$owner->profile_info.profilevalue_38}</a><br>{/if}{if $owner->profile_info.profilevalue_39!=""}
|
|
<a href="https://pinterest.com/{$owner->profile_info.profilevalue_39}" target="_blank"><span class="fa-stack fa-sm" style="margin-left: -3px; margin-right: -5px;"><i class="fas fa-square fa-stack-2x" style="color:#bd081c;"></i><i class="fab fa-pinterest fa-stack-1x fa-inverse"></i></span> {$owner->profile_info.profilevalue_39}</a><br>{/if}
|
|
|
|
</td></tr></table>
|
|
|
|
|
|
{/if}
|
|
<table cellpadding='0' cellspacing='0' width='100%' style='margin-bottom: 10px;'>
|
|
<tr>
|
|
<td class='header'>Intro Video {$fred}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class='profile'>
|
|
|
|
{if $owner->user_info.introvid=="" && $user->user_info.user_id==$owner->user_info.user_id}
|
|
|
|
<a href="/intro_upload.php">CLICK HERE TO UPLOAD VIDEO</a>
|
|
|
|
{elseif $user->user_info.user_id==$owner->user_info.user_id && $owner->user_info.introapproved==0 && $owner->user_info.introvid!=""}
|
|
Intro video is pending approval
|
|
{if SE_DEBUG1}111{/if}
|
|
|
|
{elseif $owner->user_info.introvid==""}
|
|
No intro video uploaded
|
|
{elseif $owner->user_info.video_is_converted==0 && $owner->user_info.introvid!=""}
|
|
Intro video is pending approval
|
|
{else}
|
|
|
|
|
|
|
|
|
|
|
|
{literal}
|
|
|
|
|
|
{/literal}
|
|
<a href='javascript:void(0)' onClick="opendivmodal('editvideo');initvideo(); " data-toggle="modal" data-target="#myModal"><img src="{$imagecdn}{$userdir}a12541a_thumb.jpg" class="img-responsive"></a>{literal}
|
|
|
|
|
|
|
|
|
|
{/literal}
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{* BEGIN STATUS *}
|
|
{if ($owner->level_info.level_profile_status != 0 && ($owner->user_info.user_status != "" || $owner->user_info.user_id == $user->user_info.user_id)) || $is_online == 1}
|
|
<table cellpadding='0' cellspacing='0' width='100%' style='margin-bottom: 10px;'>
|
|
<tr>
|
|
<td class='header'>{lang_print id=768}</td>
|
|
<tr>
|
|
<td class='profile'>
|
|
{if $is_online == 1}
|
|
<table cellpadding='0' cellspacing='0'>
|
|
<tr>
|
|
<td valign='top'></td>
|
|
<td>{lang_sprintf id=845 1=$owner->user_displayname_short}</td>
|
|
</tr>
|
|
</table>
|
|
{/if}
|
|
|
|
{if $owner->level_info.level_profile_status != 0 && ($owner->user_info.user_status != "" || $owner->user_info.user_id == $user->user_info.user_id)}
|
|
<table cellpadding='0' cellspacing='0'{if $is_online == 1} style='margin-top: 5px;'{/if}>
|
|
<tr>
|
|
<td valign='top'></td>
|
|
<td>
|
|
{if $owner->user_info.user_id == $user->user_info.user_id}
|
|
{* JAVASCRIPT FOR CHANGING STATUS - THIS IS ONLY SHOWN WHEN OWNER IS VIEWING OWN PROFILE, SO WE CAN USE VIEWER OBJECT *}
|
|
|
|
<script src="/include/js/jquery.form.js"></script>
|
|
{lang_javascript ids=773,1113 range=743-747}
|
|
{literal}
|
|
<script type="text/javascript">
|
|
<!--
|
|
//SocialEngine.Viewer.user_status = '{/literal}{$user->user_info.user_status}{literal}';
|
|
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
|
|
jQuery('body').on('hidden.bs.modal', '#internalPageModal', function () {
|
|
jQuery("#internalPageModal .modal-content").empty();
|
|
jQuery(this).removeData('');
|
|
jQuery("body").append(content);
|
|
});
|
|
jQuery(document).on('click', '.removestatusimage', function(){
|
|
jQuery(this).parent().remove();
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
function addimagechange(val, ext)
|
|
{
|
|
duplicate=0;
|
|
jQuery('.statusimages').each(function(){
|
|
var el = jQuery(this); // element we're testing
|
|
|
|
// attempt to cast the form's value to a number
|
|
var n = el.val();
|
|
|
|
// check if the conversion passed
|
|
if (n==val){
|
|
duplicate=1;
|
|
return false;
|
|
}
|
|
});
|
|
|
|
if(duplicate==0){
|
|
jQuery("#showimages").append("<div style='position: relative; margin:auto 5px; vertical-align:top; display: inline-block; width:100px; height:100px'><img src='{/literal}{$url->url_userdir($user->user_info.user_id)}{literal}"+val+"."+ext+"' style='max-width:100px; max-height:100px;'><button type='button' class='close main-bg-color alt-text-color orangebg removestatusimage' style='top:0; right:0;'><i class='fa fa-times'></i></button><input type='hidden' name='statusimages[]' class='statusimages' value='"+val+"'></div>");
|
|
}
|
|
|
|
}
|
|
//-->
|
|
</script>
|
|
{/literal}
|
|
|
|
|
|
<div id='ajax_status'>
|
|
{if $owner->user_info.user_status != ""}111
|
|
{assign var='status_date' value=$datetime->time_since($user->user_info.user_status_date)}
|
|
{$user->user_displayname_short} <span id='ajax_currentstatus_value'>{$user->user_info.user_status}</span>{/if}
|
|
{if $nostatus!=1}
|
|
<table cellpadding='0' cellspacing='0'> <tr> <td> <div id='ajax_status'>
|
|
|
|
{if $user->user_info.user_status !=""}{assign var='status_date' value=$datetime->time_since($user->user_info.user_status_date)}{$user->user_displayname_short} <span id='ajax_currentstatus_value'>{$user->user_info.user_status}</span> <div style='padding-top: 5px;'> <div class='home_updated'>{lang_print id=1113} <span id='ajax_currentstatus_date'>{lang_sprintf id=$status_date[0] 1=$status_date[1]}</span> </div><div style='clear: both; height: 0px;'></div>
|
|
|
|
</div>{else}<span id='ajax_currentstatus_value'>{$user->user_info.user_status}</span> {/if}</div></td></tr>
|
|
<tr><td>
|
|
<a href="#internalPageModal" onclick="changeModalID('status_new', 'Update Your Status');" data-target="#internalPageModal" data-toggle="modal">Update Status</a></td></tr>
|
|
</table>
|
|
|
|
|
|
<div class='portal_spacer'></div>
|
|
|
|
<div id="status_new" style="background:black; display:none;">
|
|
<form autocomplete="off" id="updatestatus" action="misc_js.php" method="post"><input type="hidden" name="task" value="status_change">
|
|
<div id="ajax_status">{$user->user_info.user_username}<br>
|
|
<textarea name="status" id="status" class="form-control"></textarea><br>
|
|
<a href="javascript:void(0);" onclick="jQuery('#photoorvideoframe').prop('src', 'photogallery.php');jQuery('#photogallery').removeClass('hidden');">Add Photo</a><!-- |
|
|
<a href="javascript:void(0);" onclick="jQuery('#videogallery').show();">Add Video</a>-->
|
|
<div id="showimages" style="text-align:left;"></div>
|
|
<div id="photogallery" class="hidden"><iframe id="photoorvideoframe" src="" style="width:100%; height:500px;"></iframe></div>
|
|
<a href="javascript:void(0);" onclick="jQuery('#updatestatus').submit();modal.close(); return false;">save</a> | <a href="javascript:void(0);" data-dismiss="modal">cancel</a></div>
|
|
</form>
|
|
</div>
|
|
|
|
</div>
|
|
{/if}
|
|
{else}
|
|
{assign var='status_date' value=$datetime->time_since($owner->user_info.user_status_date)}
|
|
{$owner->user_displayname_short} {$owner->user_info.user_status}
|
|
<br>{lang_print id=1113} <span id='ajax_currentstatus_date'>{lang_sprintf id=$status_date[0] 1=$status_date[1]}</span>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{/if}
|
|
{* END STATUS *}
|
|
|
|
{* BEGIN STATS *}
|
|
<table cellpadding='0' cellspacing='0' width='100%' style='margin-bottom: 10px;'>
|
|
<tr><td class='header'>{lang_print id=24}</td></tr>
|
|
<tr>
|
|
<td class='profile'>
|
|
<table cellpadding='0' cellspacing='0'>
|
|
<!--<tr><td width='80' valign='top'>{lang_print id=1120}</td><td><a href='search_advanced.php?cat_selected={$owner->profilecat_info.profilecat_id}'>{lang_print id=$owner->profilecat_info.profilecat_title}</a></td></tr>-->
|
|
<!--<tr><td valign='top'>{lang_print id=1119}</td><td>{lang_print id=$owner->subnet_info.subnet_name}</td></tr>-->
|
|
<tr><td>{lang_print id=846}</td><td>{lang_sprintf id=740 1=$profile_views}</td></tr>
|
|
{if $setting.setting_connection_allow != 0}<tr><td>{lang_print id=847}</td><td>{lang_sprintf id=848 1=$total_friends}</td></tr>{/if}
|
|
{if $owner->user_info.user_dateupdated != ""}<tr><td>{lang_print id=1113}</td><td>{assign var='last_updated' value=$datetime->time_since($owner->user_info.user_dateupdated)}{lang_sprintf id=$last_updated[0] 1=$last_updated[1]}</td></tr>{/if}
|
|
{if $owner->user_info.user_signupdate != ""}<tr><td>{lang_print id=850}</td><td>{$datetime->cdate("`$setting.setting_dateformat`", $datetime->timezone("`$owner->user_info.user_signupdate`", $global_timezone))}</td></tr>{/if}
|
|
{if $owner->user_info.user_lastlogindate != ""}<tr><td>Last Logged On: </td><td>{$datetime->cdate("`$setting.setting_dateformat`", $datetime->timezone("`$owner->user_info.user_lastlogindate`", $global_timezone))}</td></tr>{/if}
|
|
{if $owner->user_info.user_id==$user->user_info.user_id}
|
|
{* <tr><td valign="top">Membership:</td><td>{if $owner->user_info.user_level_id==2}Premium{else}Basic{/if *}
|
|
{if ($planname.plan_id==0 || $time > $owner->user_info.user_plan_expiration) && $planname.plan_id!=12}
|
|
Basic Membership{elseif $planname.plan_id!=12}{$planname.plan_name}<br />
|
|
{/if}
|
|
{if $planname.plan_id==12}
|
|
Never ending premium membership
|
|
{elseif $planname.plan_id==1 || $planname.plan_id==9}
|
|
{if $time < $owner->user_info.user_plan_expiration}
|
|
Automatically Rebills {$datetime->cdate("`$setting.setting_dateformat`", $owner->user_info.user_plan_expiration)}
|
|
{/if}
|
|
|
|
|
|
{elseif $planname.plan_id==2 || $planname.plan_id==3 || $planname.plan_id==4 || $planname.plan_id==6 || $planname.plan_id==5}
|
|
|
|
{if $time < $owner->user_info.user_plan_expiration}Expires {$datetime->cdate("`$setting.setting_dateformat`", $owner->user_info.user_plan_expiration)}
|
|
{if $user->user_info.user_id==$owner->user_info.user_id}<br />
|
|
{if $planname.plan_id!=5}
|
|
To renew your membership, <a href="/premium.php" target="_blank">CLICK HERE</a>.
|
|
{/if}
|
|
{/if}
|
|
{/if}
|
|
{elseif $planname.plan_id==0 || $time > $owner->user_info.user_plan_expiration}
|
|
{if $user->user_info.user_id==$owner->user_info.user_id}<br />To upgrade your membership, <a href="/premium.php" target="_blank">CLICK HERE</a>.{/if}
|
|
{/if}
|
|
|
|
</td></tr>
|
|
<tr><td colspan="2">
|
|
|
|
|
|
|
|
{if ($planname.plan_id==0 || $time > $owner->user_info.user_plan_expiration) && $planname.plan_id!=12}<a href="/premium.php">Sign up for a premium account</a>{/if}</td></tr>
|
|
{/if}
|
|
</table>
|
|
{*
|
|
<!--
|
|
<table cellpadding='0' cellspacing='0'>
|
|
<tr><td width='80' valign='top'>{lang_print id=1120}</td><td><a href='search_advanced.php?cat_selected={$owner->profilecat_info.profilecat_id}'>{lang_print id=$owner->profilecat_info.profilecat_title}</a></td></tr>
|
|
<tr><td valign='top'>{lang_print id=1119}</td><td>{lang_print id=$owner->subnet_info.subnet_name}</td></tr>
|
|
<tr><td>{lang_print id=846}</td><td>{lang_sprintf id=740 1=$profile_views}</td></tr>
|
|
{if $setting.setting_connection_allow != 0}<tr><td>{lang_print id=847}</td><td>{lang_sprintf id=848 1=$total_friends}</td></tr>{/if}
|
|
{if $owner->user_info.user_dateupdated != ""}<tr><td>{lang_print id=1113}</td><td>{assign var='last_updated' value=$datetime->time_since($owner->user_info.user_dateupdated)}{lang_sprintf id=$last_updated[0] 1=$last_updated[1]}</td></tr>{/if}
|
|
{if $owner->user_info.user_signupdate != ""}<tr><td>{lang_print id=850}</td><td>{$datetime->cdate("`$setting.setting_dateformat`", $datetime->timezone("`$owner->user_info.user_signupdate`", $global_timezone))}</td></tr>{/if}
|
|
<tr><td>Membership:</td><td>{if $plan.active == "1"}Premium{else}Basic{/if}</td></tr>
|
|
{if $plan.active == "1"}
|
|
<tr><td>Expires:</td><td>{$plan.expire}</td></tr>
|
|
{else}
|
|
<tr><td colspan="2"><a href="/content.php?page=premium-membership">Sign up for a premium account</a></td></tr>
|
|
{/if}
|
|
</table>-->*}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{* END STATS *}
|
|
<div id="motm" style="display:none;">{if $user->user_info.user_id==$owner->user_info.user_id}<div class="divright"><a href="/motmquestions.php">Edit Answers</a></div>{/if}<div class="clear"></div><div>{php}motm();{/php}</div></div>
|
|
<table cellpadding='0' cellspacing='0' width='100%' style='margin-bottom: 10px;'>
|
|
<tr><td class='header'>
|
|
BATOR Q&A
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
<tr><td class="profile">{if $countmotm>0}
|
|
<a href="javascript:void(0);" onclick="javascript: opendivmodal('motm');">Click here to see the answers</a>{else}Bator Q & A not answered yet
|
|
{/if}
|
|
</table>
|
|
|
|
{php}batelists();{/php}
|
|
{* $Id: profile_music.tpl 11 2009-01-11 06:03:58Z john $ *}
|
|
|
|
{* SHOW MUSIC PLAYER *}
|
|
{if $user->user_info.user_level_id == 2}
|
|
{if $music_empty}
|
|
|
|
<table cellpadding='0' cellspacing='0' width='100%' style='margin-bottom: 10px;'>
|
|
<tr>
|
|
<td class='header'>{$owner->user_displayname}'s Audio</td>
|
|
</tr>
|
|
<tr>
|
|
<td class='profile'>
|
|
{literal}
|
|
<script type="text/javascript" src="/include/videoplayer/start/java/FWDUVPlayer.js"></script>
|
|
|
|
<!-- Setup video player-->
|
|
<script type="text/javascript">
|
|
FWDUVPUtils.onReady(function(){
|
|
|
|
new FWDUVPlayer({
|
|
//main settings
|
|
instanceName:"player1",
|
|
parentId:"myDiv",
|
|
playlistsId:"playlists",
|
|
mainFolderPath:"/include/videoplayer/start/content",
|
|
skinPath:"classic_skin_dark",
|
|
displayType:"responsive",
|
|
initializeOnlyWhenVisible:"no",
|
|
useVectorIcons:"no",
|
|
fillEntireVideoScreen:"no",
|
|
fillEntireposterScreen:"yes",
|
|
goFullScreenOnButtonPlay:"no",
|
|
playsinline:"yes",
|
|
privateVideoPassword:"428c841430ea18a70f7b06525d4b748a",
|
|
youtubeAPIKey:"",
|
|
useHEXColorsForSkin:"no",
|
|
normalHEXButtonsColor:"#666666",
|
|
googleAnalyticsTrackingCode:"",
|
|
useResumeOnPlay:"no",
|
|
useDeepLinking:"no",
|
|
showPreloader:"yes",
|
|
preloaderBackgroundColor:"#000000",
|
|
preloaderFillColor:"#FFFFFF",
|
|
addKeyboardSupport:"no",
|
|
autoScale:"yes",
|
|
showButtonsToolTip:"yes",
|
|
stopVideoWhenPlayComplete:"no",
|
|
playAfterVideoStop:"no",
|
|
autoPlay:"no",
|
|
loop:"no",
|
|
shuffle:"no",
|
|
showErrorInfo:"yes",
|
|
maxWidth:1160,
|
|
maxHeight:552,
|
|
volume:.8,
|
|
buttonsToolTipHideDelay:1.5,
|
|
backgroundColor:"#000000",
|
|
videoBackgroundColor:"#000000",
|
|
posterBackgroundColor:"#000000",
|
|
buttonsToolTipFontColor:"#5a5a5a",
|
|
//logo settings
|
|
showLogo:"yes",
|
|
hideLogoWithController:"no",
|
|
logoPosition:"topRight",
|
|
logoLink:"",
|
|
logoPath:"/images/watermark1.png",
|
|
logoMargins:10,
|
|
//playlists/categories settings
|
|
showPlaylistsSearchInput:"no",
|
|
usePlaylistsSelectBox:"yes",
|
|
showPlaylistsButtonAndPlaylists:"no",
|
|
showPlaylistsByDefault:"no",
|
|
thumbnailSelectedType:"opacity",
|
|
startAtPlaylist:0,
|
|
buttonsMargins:15,
|
|
thumbnailMaxWidth:350,
|
|
thumbnailMaxHeight:350,
|
|
horizontalSpaceBetweenThumbnails:40,
|
|
verticalSpaceBetweenThumbnails:40,
|
|
inputBackgroundColor:"#333333",
|
|
inputColor:"#999999",
|
|
//playlist settings
|
|
showPlaylistButtonAndPlaylist:"yes",
|
|
playlistPosition:"right",
|
|
showPlaylistByDefault:"yes",
|
|
showPlaylistName:"yes",
|
|
showSearchInput:"no",
|
|
showLoopButton:"yes",
|
|
showShuffleButton:"yes",
|
|
showPlaylistOnFullScreen:"no",
|
|
showNextAndPrevButtons:"yes",
|
|
showThumbnail:"yes",
|
|
forceDisableDownloadButtonForFolder:"yes",
|
|
addMouseWheelSupport:"yes",
|
|
startAtRandomVideo:"no",
|
|
stopAfterLastVideoHasPlayed:"no",
|
|
addScrollOnMouseMove:"no",
|
|
randomizePlaylist:'no',
|
|
folderVideoLabel:"VIDEO ",
|
|
playlistRightWidth:310,
|
|
playlistBottomHeight:380,
|
|
startAtVideo:0,
|
|
maxPlaylistItems:50,
|
|
thumbnailWidth:71,
|
|
thumbnailHeight:71,
|
|
spaceBetweenControllerAndPlaylist:1,
|
|
spaceBetweenThumbnails:1,
|
|
scrollbarOffestWidth:10,
|
|
scollbarSpeedSensitivity:.5,
|
|
playlistBackgroundColor:"#000000",
|
|
playlistNameColor:"#FFFFFF",
|
|
thumbnailNormalBackgroundColor:"#1b1b1b",
|
|
thumbnailHoverBackgroundColor:"#313131",
|
|
thumbnailDisabledBackgroundColor:"#272727",
|
|
searchInputBackgroundColor:"#000000",
|
|
searchInputColor:"#bdbdbd",
|
|
youtubeAndFolderVideoTitleColor:"#FFFFFF",
|
|
folderAudioSecondTitleColor:"#999999",
|
|
youtubeOwnerColor:"#bdbdbd",
|
|
youtubeDescriptionColor:"#bdbdbd",
|
|
mainSelectorBackgroundSelectedColor:"#FFFFFF",
|
|
mainSelectorTextNormalColor:"#FFFFFF",
|
|
mainSelectorTextSelectedColor:"#000000",
|
|
mainButtonBackgroundNormalColor:"#212021",
|
|
mainButtonBackgroundSelectedColor:"#FFFFFF",
|
|
mainButtonTextNormalColor:"#FFFFFF",
|
|
mainButtonTextSelectedColor:"#000000",
|
|
//controller settings
|
|
showController:"yes",
|
|
showControllerWhenVideoIsStopped:"yes",
|
|
showNextAndPrevButtonsInController:"no",
|
|
showRewindButton:"yes",
|
|
showPlaybackRateButton:"yes",
|
|
showVolumeButton:"yes",
|
|
|
|
showTime:"yes",
|
|
showQualityButton:"yes",
|
|
showInfoButton:"no",
|
|
showDownloadButton:"no",
|
|
showShareButton:"no",
|
|
showEmbedButton:"no",
|
|
showChromecastButton:"yes",
|
|
showFullScreenButton:"yes",
|
|
disableVideoScrubber:"no",
|
|
showScrubberWhenControllerIsHidden:"yes",
|
|
showMainScrubberToolTipLabel:"yes",
|
|
showDefaultControllerForVimeo:"no",
|
|
repeatBackground:"no",
|
|
controllerHeight:42,
|
|
controllerHideDelay:3,
|
|
startSpaceBetweenButtons:10,
|
|
spaceBetweenButtons:10,
|
|
scrubbersOffsetWidth:2,
|
|
mainScrubberOffestTop:16,
|
|
timeOffsetLeftWidth:2,
|
|
timeOffsetRightWidth:3,
|
|
timeOffsetTop:0,
|
|
volumeScrubberHeight:80,
|
|
volumeScrubberOfsetHeight:12,
|
|
timeColor:"#bdbdbd",
|
|
youtubeQualityButtonNormalColor:"#bdbdbd",
|
|
youtubeQualityButtonSelectedColor:"#FFFFFF",
|
|
scrubbersToolTipLabelBackgroundColor:"#FFFFFF",
|
|
scrubbersToolTipLabelFontColor:"#5a5a5a",
|
|
//advertisement on pause window
|
|
aopwTitle:"Advertisement",
|
|
aopwWidth:400,
|
|
aopwHeight:240,
|
|
aopwBorderSize:6,
|
|
aopwTitleColor:"#FFFFFF",
|
|
//subtitle
|
|
subtitlesOffLabel:"Subtitle off",
|
|
//popup add windows
|
|
showPopupAdsCloseButton:"yes",
|
|
//embed window and info window
|
|
embedAndInfoWindowCloseButtonMargins:15,
|
|
borderColor:"#333333",
|
|
mainLabelsColor:"#FFFFFF",
|
|
secondaryLabelsColor:"#bdbdbd",
|
|
shareAndEmbedTextColor:"#5a5a5a",
|
|
inputBackgroundColor:"#000000",
|
|
inputColor:"#FFFFFF",
|
|
//login
|
|
playIfLoggedIn:"no",
|
|
playIfLoggedInMessage:"Please <a href='https://google.com' target='_blank'>login</a> to play this video.",
|
|
//audio visualizer
|
|
audioVisualizerLinesColor:"#0099FF",
|
|
audioVisualizerCircleColor:"#FFFFFF",
|
|
//lightbox settings
|
|
closeLightBoxWhenPlayComplete:"no",
|
|
lightBoxBackgroundOpacity:.6,
|
|
lightBoxBackgroundColor:"#000000",
|
|
//sticky on scroll
|
|
stickyOnScroll:"no",
|
|
stickyOnScrollShowOpener:"yes",
|
|
stickyOnScrollWidth:"700",
|
|
stickyOnScrollHeight:"394",
|
|
//sticky display settings
|
|
showOpener:"yes",
|
|
showOpenerPlayPauseButton:"yes",
|
|
verticalPosition:"bottom",
|
|
horizontalPosition:"center",
|
|
showPlayerByDefault:"yes",
|
|
animatePlayer:"yes",
|
|
openerAlignment:"right",
|
|
mainBackgroundImagePath:"/include/videoplayer/start/content/minimal_skin_dark/main-background.png",
|
|
openerEqulizerOffsetTop:-1,
|
|
openerEqulizerOffsetLeft:3,
|
|
offsetX:0,
|
|
offsetY:0,
|
|
//playback rate / speed
|
|
defaultPlaybackRate:1, //0.25, 0.5, 1, 1.25, 1.2, 2
|
|
//cuepoints
|
|
executeCuepointsOnlyOnce:"no",
|
|
//annotations
|
|
showAnnotationsPositionTool:"no",
|
|
//ads
|
|
openNewPageAtTheEndOfTheAds:"no",
|
|
adsButtonsPosition:"left",
|
|
skipToVideoText:"You can skip to video in: ",
|
|
skipToVideoButtonText:"Skip Ad",
|
|
adsTextNormalColor:"#bdbdbd",
|
|
adsTextSelectedColor:"#FFFFFF",
|
|
adsBorderNormalColor:"#444444",
|
|
adsBorderSelectedColor:"#FFFFFF",
|
|
//a to b loop
|
|
useAToB:"yes",
|
|
atbTimeBackgroundColor:"transparent",
|
|
atbTimeTextColorNormal:"#888888",
|
|
atbTimeTextColorSelected:"#FFFFFF",
|
|
atbButtonTextNormalColor:"#888888",
|
|
atbButtonTextSelectedColor:"#FFFFFF",
|
|
atbButtonBackgroundNormalColor:"#FFFFFF",
|
|
atbButtonBackgroundSelectedColor:"#000000",
|
|
//thumbnails preview
|
|
thumbnailsPreviewWidth:196,
|
|
thumbnailsPreviewHeight:110,
|
|
thumbnailsPreviewBackgroundColor:"#000000",
|
|
thumbnailsPreviewBorderColor:"#666",
|
|
thumbnailsPreviewLabelBackgroundColor:"#666",
|
|
thumbnailsPreviewLabelFontColor:"#FFF",
|
|
// context menu
|
|
showContextmenu:'yes',
|
|
showScriptDeveloper:"no",
|
|
contextMenuBackgroundColor:"#1f1f1f",
|
|
contextMenuBorderColor:"#1f1f1f",
|
|
contextMenuSpacerColor:"#333",
|
|
contextMenuItemNormalColor:"#666666",
|
|
contextMenuItemSelectedColor:"#FFFFFF",
|
|
contextMenuItemDisabledColor:"#333"
|
|
});
|
|
registerAPI();
|
|
});
|
|
|
|
var registerAPIInterval;
|
|
function registerAPI(){
|
|
clearInterval(registerAPIInterval);
|
|
if(window.player1){
|
|
player1.addListener(FWDUVPlayer.READY, readyHandler);
|
|
player1.addListener(FWDUVPlayer.PLAY, playHandler);
|
|
|
|
{/literal}
|
|
|
|
|
|
{literal}
|
|
}else{
|
|
registerAPIInterval = setInterval(registerAPI, 100);
|
|
}
|
|
};
|
|
|
|
//API event listeners examples
|
|
function readyHandler(e){
|
|
play();
|
|
//console.log("API -- ready to use");
|
|
}
|
|
|
|
function playHandler(e){
|
|
//console.log("API -- play");
|
|
}
|
|
|
|
//API methods examples
|
|
function play(){
|
|
player1.play();
|
|
}
|
|
</script>
|
|
<div id="myDiv" style="position:relative; left:0px; top:0px;"></div>
|
|
|
|
|
|
{/literal}
|
|
<!-- HTML playlist -->
|
|
|
|
|
|
<!-- HTML mixed playlist -->
|
|
{include_php file="music_playlist.php"}
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
{/if}
|
|
{else}
|
|
<table cellpadding='0' cellspacing='0' width='100%' style='margin-bottom: 10px;'>
|
|
<tr>
|
|
<td class='header'>{lang_sprintf id=4000041 1=$owner->user_displayname}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class='profile'>
|
|
You must be a premium member to listen to members' music.
|
|
</td></tr></table>
|
|
{/if}
|
|
{* PLUGIN RELATED PROFILE SIDEBAR *}
|
|
{hook_foreach name=profile_side var=profile_side_args}
|
|
{include file=$profile_side_args.file}
|
|
{/hook_foreach}
|
|
|
|
|
|
{* END LEFT COLUMN *}
|
|
</div>
|
|
<div class="col-sm-8 profile-right">
|
|
{* BEGIN RIGHT COLUMN *}
|
|
|
|
{* JAVASCRIPT FOR SWITCHING TABS *}
|
|
{literal}
|
|
<script type='text/javascript'>
|
|
<!--
|
|
var visible_tab = '{/literal}{$v}{literal}';
|
|
function loadProfileTab(tabId)
|
|
{
|
|
if(tabId == visible_tab)
|
|
{
|
|
return false;
|
|
}
|
|
if($('profile_'+tabId))
|
|
{
|
|
$('profile_tabs_'+tabId).className='profile_tab2';
|
|
$('profile_'+tabId).style.display = "block";
|
|
if($('profile_tabs_'+visible_tab))
|
|
{
|
|
$('profile_tabs_'+visible_tab).className='profile_tab';
|
|
$('profile_'+visible_tab).style.display = "none";
|
|
}
|
|
visible_tab = tabId;
|
|
}
|
|
}
|
|
//-->
|
|
</script>
|
|
|
|
{/literal}
|
|
<ul class="nav nav-tabs hidden-xs hidden-sm visible-md visible-lg form-tabs">
|
|
<li class="active" role="presentation"><a href="https://bateworld.com/profile.php?user={$owner->user_info.user_username}#01" class="jquerycss" aria-controls="01" role="tab" data-toggle="tab" aria-expanded="false">Profile</a></li>
|
|
<li role="presentation"><a href="https://bateworld.com/profile.php?user={$owner->user_info.user_username}#02" class="jquerycss" aria-controls="02" role="tab" data-toggle="tab" aria-expanded="false">Friends</a></li>
|
|
<li role="presentation" ><a href="https://bateworld.com/profile.php?user={$owner->user_info.user_username}#03" class="jquerycss" aria-controls="03" role="tab" data-toggle="tab" aria-expanded="false">Comments</a></li>
|
|
{counter start=3 print=false}
|
|
{hook_foreach name=profile_tab var=profile_tab_args max=8 complete=profile_tab_complete}
|
|
|
|
<li role="presentation" ><a href="https://bateworld.com/profile.php?user={$owner->user_info.user_username}#0{counter}" class="jquerycss" aria-controls="profile_{$profile_tab_args.name}" role="tab" data-toggle="tab" aria-expanded="false">{lang_print id=$profile_tab_args.title}</a></li>
|
|
{*
|
|
<td valign='bottom'>
|
|
<table cellpadding='0' cellspacing='0' style='float: left;'>
|
|
<tr>
|
|
<td class='profile_tab{if $v == $profile_tab_args.name}2{/if}' id='profile_tabs_{$profile_tab_args.name}' onMouseUp="this.blur();">
|
|
<a href='javascript:void(0);' onMouseDown="loadProfileTab('{$profile_tab_args.name}')" onMouseUp="this.blur();">
|
|
{lang_print id=$profile_tab_args.title}
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
*}
|
|
{/hook_foreach}
|
|
|
|
|
|
</ul>
|
|
<div class="visible-xs visible-sm hidden-md hidden-lg">
|
|
<select class="mb10 form-control form-custom visible-xs visible-sm hidden-md hidden-lg tabdropdown" id="tab_selector" onchange="jQuery('.form-tabs li a').eq(jQuery(this).val()).tab('show');"><option value="">Select Option ↓</option>
|
|
<option value="0">Profile</option>
|
|
<option value="01">Friends</option>
|
|
<option value="02">Comments</option>
|
|
{counter start=2 print=false}
|
|
{hook_foreach name=profile_tab var=profile_tab_args max=8 complete=profile_tab_complete}
|
|
<option value="0{counter}">{lang_print id=$profile_tab_args.title}</option>
|
|
|
|
|
|
{/hook_foreach}
|
|
</select>
|
|
</div>
|
|
{* SHOW PROFILE TAB BUTTONS *}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class='profile_content tab-content'>
|
|
|
|
{* PROFILE TAB *}
|
|
<div id='01' class="tab-pane fade {if $v=='profile'} active in {/if} tabpadding" role="tabpanel">
|
|
|
|
{* SHOW PROFILE CATS AND FIELDS *}
|
|
{section name=cat_loop loop=$cats}
|
|
{section name=subcat_loop loop=$cats[cat_loop].subcats}
|
|
<div class='profile_headline{if !$smarty.section.subcat_loop.first}2{/if}'><b>{lang_print id=$cats[cat_loop].subcats[subcat_loop].subcat_title}</b></div>
|
|
|
|
<table cellpadding='0' cellspacing='0'>
|
|
{* LOOP THROUGH FIELDS IN TAB, ONLY SHOW FIELDS THAT HAVE BEEN FILLED IN *}
|
|
{section name=field_loop loop=$cats[cat_loop].subcats[subcat_loop].fields}
|
|
{if $cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_id==4}
|
|
{if $owner->profile_info.profilevalue_42!=1}
|
|
<tr>
|
|
<td valign='top' style='padding-right: 10px;' nowrap='nowrap'>
|
|
{lang_print id=$cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_title}:
|
|
</td>
|
|
<td>
|
|
|
|
<div class='profile_field_value' style="word-break: break-word;">{$cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_value_formatted}</div>
|
|
{if $cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_special == 1 && $cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_value|substr:0:4 != "0000"}{if $owner->profile_info.profilevalue_26!=1} ({lang_sprintf id=852 1=$datetime->age($cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_value)}){/if}{/if}
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
{/if}
|
|
{else}
|
|
<tr>
|
|
<td valign='top' style='padding-right: 10px;' nowrap='nowrap'>
|
|
{lang_print id=$cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_title}:
|
|
</td>
|
|
<td>
|
|
|
|
<div class='profile_field_value' style="word-break: break-word;">{$cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_value_formatted}</div>
|
|
{if $cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_special == 1 && $cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_value|substr:0:4 != "0000"}{if $owner->profile_info.profilevalue_26!=1} ({lang_sprintf id=852 1=$datetime->age($cats[cat_loop].subcats[subcat_loop].fields[field_loop].field_value)}){/if}{/if}
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
{/if}
|
|
{/section}
|
|
</table>
|
|
|
|
{/section}
|
|
{/section}
|
|
{* END PROFILE TABS AND FIELDS *}
|
|
<div id="activities">Loading...</div>
|
|
|
|
|
|
</div>
|
|
{* END PROFILE TAB *}
|
|
|
|
|
|
|
|
|
|
|
|
{* FRIENDS TAB *}
|
|
{if $total_friends_all != 0}
|
|
<div id='02' class="tab-pane fade {if $v=='friends'} active in {/if} tabpadding" role="tabpanel">
|
|
|
|
<div>
|
|
<div style='float: left; width: 50%;'>
|
|
<div class='profile_headline'>
|
|
{if $m == 1}
|
|
{lang_sprintf id=1024 1=$owner->user_displayname_short}
|
|
{else}
|
|
{lang_sprintf id=930 1=$owner->user_displayname_short}
|
|
{/if} ({$total_friends})
|
|
</div>
|
|
</div>
|
|
<div style='float: right; width: 50%; text-align: right;'>
|
|
{if $search == ""}
|
|
<div id='profile_friends_searchbox_link'>
|
|
<a href='javascript:void(0);' onClick="$('profile_friends_searchbox_link').style.display='none';$('profile_friends_searchbox').style.display='block';$('profile_friends_searchbox_input').focus();">{lang_print id=1197}</a>
|
|
</div>
|
|
{/if}
|
|
<div id='profile_friends_searchbox' style='text-align: right;{if $search == ""} display: none;{/if}'>
|
|
<form action='profile.php' method='post'>
|
|
<input type='text' maxlength='100' size='30' class='text' name='search' value='{$search}' id='profile_friends_searchbox_input'>
|
|
<input type='submit' class='button' value='{lang_print id=646}'>
|
|
<input type='hidden' name='p' value='{$p}'>
|
|
<input type='hidden' name='v' value='friends'>
|
|
<input type='hidden' name='user' value='{$owner->user_info.user_username}'>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div style='clear: both;'></div>
|
|
</div>
|
|
|
|
{* IF MUTUAL FRIENDS EXIST, SHOW OPTION TO VIEW THEM *}
|
|
{if $owner->user_info.user_id != $user->user_info.user_id && $total_friends_mut != 0}
|
|
<div style='margin-bottom: 10px;'>
|
|
{if $m != 1}
|
|
{lang_print id=1022}
|
|
{else}
|
|
<a href='profile.php?user={$owner->user_info.user_username}&v=friends'>{lang_print id=1022}</a>
|
|
{/if}
|
|
|
|
|
{if $m == 1}
|
|
{lang_print id=1020}
|
|
{else}
|
|
<a href='profile.php?user={$owner->user_info.user_username}&v=friends&m=1'>{lang_print id=1020}</a>
|
|
{/if}
|
|
</div>
|
|
{/if}
|
|
|
|
{* DISPLAY NO RESULTS MESSAGE *}
|
|
{if $search != "" && $total_friends == 0}
|
|
<br>
|
|
<table cellpadding='0' cellspacing='0'>
|
|
<tr><td class='result'>
|
|
{lang_sprintf id=934 1=$owner->user_displayname_short}
|
|
</td></tr>
|
|
</table>
|
|
{elseif $m == 1 && $total_friends == 0}
|
|
<br>
|
|
<table cellpadding='0' cellspacing='0'>
|
|
<tr><td class='result'>
|
|
{lang_sprintf id=1023 1=$owner->user_displayname_short}
|
|
</td></tr>
|
|
</table>
|
|
{/if}
|
|
|
|
|
|
{* DISPLAY PAGINATION MENU IF APPLICABLE *}
|
|
|
|
|
|
{if $maxpage_friends > 1}
|
|
<div class='browse_pages'>
|
|
{if $p_members != 1}<a href="profile.php?user={$owner->user_info.user_username}&v=friends&search={$search}&m={$m}&p=1"><span class="white arrow">«</span></a> <a href='profile.php?user={$owner->user_info.user_username}&v=friends&search={$search}&m={$m}&p={math equation='p-1' p=$p_friends}'><span class="white arrow">‹</span></a>{else}<font class='disabled'><span class="white arrow">« ‹</span></font>{/if}
|
|
| {foreach from=$for item=foo}
|
|
<a href='profile.php?user={$owner->user_info.user_username}&v=friends&search={$search}&m={$m}&p={$foo}'>{$foo}</a>
|
|
{/foreach} |
|
|
{if $p_members != $maxpage_friends}<a href='profile.php?user={$owner->user_info.user_username}&v=friends&search={$search}&m={$m}&p={math equation='p+1' p=$p_friends}'><span class="white arrow">›</span></a> <a href="profile.php?user={$owner->user_info.user_username}&v=friends&search={$search}&m={$m}&p={$maxpage_friends}"><span class="white arrow">»</span></a>{else}<font class='disabled'><span class="white arrow">› »</span></font>{/if}
|
|
<br /><span style="font-weight:normal;">{if $p_start_friends == $p_end_friends}
|
|
{lang_sprintf id=184 1=$p_start_friends 2=$total_friends}
|
|
{else}
|
|
{lang_sprintf id=185 1=$p_start_friends 2=$p_end_friends 3=$total_friends}
|
|
{/if}</span><br />
|
|
<form>Go to Page: <input type="text" name="p" class="gotext" /><input type="hidden" name="user" value="{$owner->user_info.user_username}" /><input type="hidden" name="v" value="friends" /><input type="submit" value="Go" /></form>
|
|
</div>
|
|
{/if}
|
|
|
|
{* LOOP THROUGH FRIENDS *}
|
|
{section name=friend_loop loop=$friends}
|
|
<div class='browse_friends_result' style='overflow: hidden;'>
|
|
<div class='profile_friend_photo'>
|
|
<a href='{$url->url_create("profile",$friends[friend_loop]->user_info.user_username)}'>
|
|
{assign var="profilepicture" value=$friends[friend_loop]->user_photo("./images/nophoto.png")}
|
|
{$friends[friend_loop]->userprofiledot($profilepicture, "90px", "90px")}
|
|
|
|
|
|
</a>
|
|
</div>
|
|
<div class='profile_friend_info'>
|
|
<div class='profile_friend_name'><a href='{$url->url_create('profile',$friends[friend_loop]->user_info.user_username)}'>{$friends[friend_loop]->user_displayname}</a></div>
|
|
<div class='profile_friend_details'>
|
|
{if $friends[friend_loop]->user_info.user_dateupdated != 0}<div>{lang_print id=849} {assign var='last_updated' value=$datetime->time_since($friends[friend_loop]->user_info.user_dateupdated)}{lang_sprintf id=$last_updated[0] 1=$last_updated[1]}</div>{/if}
|
|
{if $show_details != 0}
|
|
{if $friends[friend_loop]->friend_type != ""}<div>{lang_print id=882} {$friends[friend_loop]->friend_type}</div>{/if}
|
|
{if $friends[friend_loop]->friend_explain != ""}<div>{lang_print id=907} {$friends[friend_loop]->friend_explain}</div>{/if}
|
|
|
|
|
|
{/if}{if $friends[friend_loop]->online_now() == 1}<div style='color:white;'><!--<img src='./images/icons/online16.gif' border='0' class='icon2'>-->{lang_print id=1086}</div>{/if}
|
|
</div>
|
|
</div>
|
|
<div class='profile_friend_options'>
|
|
{if !$friends[friend_loop]->is_viewers_friend && !$friends[friend_loop]->is_viewers_blocklisted && $friends[friend_loop]->user_info.user_id != $user->user_info.user_id && $user->user_exists != 0}<div id='addfriend_{$friends[friend_loop]->user_info.user_id}'><a href="user_friends_manage.php?user={$friends[friend_loop]->user_info.user_username}" data-toggle="modal" data-target="#myModal">{lang_print id=922}</a></div>{/if}
|
|
{if !$members[member_loop].member->is_viewer_blocklisted && ($user->level_info.level_message_allow == 2 || ($user->level_info.level_message_allow == 1 && $friends[friend_loop]->is_viewers_friend == 2)) && $friends[friend_loop]->user_info.user_id != $user->user_info.user_id}<a data-toggle="modal" data-target="#myModal" href="user_messages_new.php?to_user={$owner->user_displayname|escape:url}&to_id={$owner->user_info.user_username}">{lang_print id=839}</a>{/if}
|
|
|
|
</div>
|
|
<div style='clear: both;'></div>
|
|
</div>
|
|
{/section}
|
|
|
|
|
|
{if $maxpage_friends > 1}
|
|
<div class='browse_pages'>
|
|
{if $p_members != 1}<a href="profile.php?user={$owner->user_info.user_username}&v=friends&search={$search}&m={$m}&p=1"><span class="white arrow">«</span></a> <a href='profile.php?user={$owner->user_info.user_username}&v=friends&search={$search}&m={$m}&p={math equation='p-1' p=$p_friends}'><span class="white arrow">‹</span></a>{else}<font class='disabled'><span class="white arrow">« ‹</span></font>{/if}
|
|
| {foreach from=$for item=foo}
|
|
<a href='profile.php?user={$owner->user_info.user_username}&v=friends&search={$search}&m={$m}&p={$foo}'>{$foo}</a>
|
|
{/foreach} |
|
|
{if $p_members != $maxpage_friends}<a href='profile.php?user={$owner->user_info.user_username}&v=friends&search={$search}&m={$m}&p={math equation='p+1' p=$p_friends}'><span class="white arrow">›</span></a> <a href="profile.php?user={$owner->user_info.user_username}&v=friends&search={$search}&m={$m}&p={$maxpage_friends}"><span class="white arrow">»</span></a>{else}<font class='disabled'><span class="white arrow">› »</span></font>{/if}
|
|
<br /><span style="font-weight:normal;">{if $p_start_friends == $p_end_friends}
|
|
{lang_sprintf id=184 1=$p_start_friends 2=$total_friends}
|
|
{else}
|
|
{lang_sprintf id=185 1=$p_start_friends 2=$p_end_friends 3=$total_friends}
|
|
{/if}</span><br />
|
|
<form>Go to Page: <input type="text" name="p" class="gotext" /><input type="hidden" name="user" value="{$owner->user_info.user_username}" /><input type="hidden" name="v" value="friends" /><input type="submit" value="Go" /></form>
|
|
</div>
|
|
{/if}
|
|
|
|
|
|
</div>
|
|
{/if}
|
|
{* END FRIENDS TAB *}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* BEGIN COMMENTS TAB *}
|
|
{if $allowed_to_comment != 0 || $total_comments != 0}
|
|
|
|
{* SHOW COMMENT TAB *}
|
|
<div id='03' class="tab-pane fade {if $v=='comments'} active in {/if} tabpadding" role="tabpanel">
|
|
|
|
{* COMMENTS *}
|
|
|
|
<div id="profile_{$owner->user_info.user_id}_postcomment"><div class="comment_headline">Comments (<span class="tc" id="totalcomments">{$total_comments|default:0}</span>)</div>
|
|
|
|
<form action="#" method="post" target="ajaxframe" onsubmit="return updatecount();"><div class="profile_postcomment"><textarea name="comment_body" id="comment_body" cols="25" class="comment_area" style="overflow: hidden; height: 70px;" placeholder="Write Something..."></textarea><div style="margin-top: 5px;">Allowed HTML Tags: b, img, a, br</div><div style="text-align: right; margin-top: 5px;">
|
|
|
|
<input type="submit" id="comment_submit" name="comment_submit" class="button" value="Post Comment" />
|
|
|
|
<input type="hidden" name="task" id="task" value="comment_post"><input type="hidden" name="type" id="type" value="profile"><input type="hidden" name="iden" id="iden" value="user_id"><input type="hidden" name="value" id="value" value="{$owner->user_info.user_id}"><input type="hidden" name="user" id="user" value="{$owner->user_info.user_username}"><input type="hidden" name="tab" id="tab" value="users"><input type="hidden" name="col" id="col" value="user"></div><div id="comment_error" style="color: #FF0000; display: none;"></div></div></form>
|
|
|
|
|
|
</div>
|
|
<div id="{$owner->user_info.user_username}_profile_comments" style='margin-left: auto; margin-right: auto;'></div>
|
|
|
|
{lang_javascript ids=39,155,175,182,183,184,185,187,784,787,829,830,831,832,833,834,835,854,856,891,1025,1026,1032,1034,1071}
|
|
|
|
{literal}
|
|
<style type='text/css'>
|
|
div.comment_headline {
|
|
font-size: 13px;
|
|
margin-bottom: 7px;
|
|
font-weight: bold;
|
|
padding: 0px;
|
|
border: none;
|
|
background: none;
|
|
color: #555555;
|
|
}
|
|
</style>
|
|
{/literal}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
{/if}
|
|
{* END COMMENTS *}
|
|
|
|
|
|
{counter start=3 print=false}
|
|
{* PLUGIN RELATED PROFILE TABS *}
|
|
{hook_foreach name=profile_tab var=profile_tab_args}
|
|
<div id='0{counter}' class="tab-pane fade {if $v==$profile_tab_args.name} active in {/if} tabpadding" role="tabpanel">
|
|
{include file=$profile_tab_args.file}
|
|
</div>
|
|
{/hook_foreach}
|
|
|
|
|
|
{/if}
|
|
{* END PRIVACY IF STATEMENT *}
|
|
|
|
</div>
|
|
|
|
{* END RIGHT COLUMN *}
|
|
</div>{literal}
|
|
<script>
|
|
|
|
function loadXMLDoc(page)
|
|
{
|
|
var xmlhttp;
|
|
jQuery("#{/literal}{$owner->user_info.user_username}_profile_comments{literal}").load("{/literal}grabprofilecomments.php?user={$owner->user_info.user_username}&url={$smarty.server.PHP_SELF}{if $smarty.server.QUERY_STRING!=""}?{$smarty.server.QUERY_STRING}{/if}&p="+page+""{literal}, function(responseTxt, statusTxt, xhr){
|
|
if(xhr.state() == "resolved"){
|
|
// alert(statusTxt);
|
|
}
|
|
else
|
|
{
|
|
e.preventdefault();
|
|
return;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//alert(xhr.state());
|
|
});
|
|
|
|
jQuery("#{/literal}{$owner->user_info.user_username}_intro_comments{literal}").load("{/literal}grabprofilecomments.php?user={$owner->user_info.user_username}&url={$smarty.server.PHP_SELF}{if $smarty.server.QUERY_STRING!=""}?{$smarty.server.QUERY_STRING}{/if}&p="+page+"&type=intro_video&customcomments=1&tab=users&child=1&col=intro_video&focus=id&object_owner=intro_video&object_owner_id={$owner->user_info.user_id}&id={$owner->user_info.user_id}"{literal}, function(responseTxt1, statusTxt1, xhr1){
|
|
if(xhr1.state() == "resolved"){
|
|
// alert(statusTxt);
|
|
}
|
|
else
|
|
{
|
|
e.preventdefault();
|
|
return;
|
|
}
|
|
|
|
});
|
|
|
|
/*
|
|
if (window.XMLHttpRequest)
|
|
{// code for IE7+, Firefox, Chrome, Opera, Safari
|
|
xmlhttp=new XMLHttpRequest();
|
|
}
|
|
else
|
|
{// code for IE6, IE5
|
|
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
|
|
}
|
|
xmlhttp.onreadystatechange=function()
|
|
{
|
|
|
|
|
|
if (xmlhttp.readyState==4 && xmlhttp.status==200)
|
|
{
|
|
|
|
|
|
document.getElementById("{/literal}{$owner->user_info.user_username}_profile_comments{literal}").innerHTML=xmlhttp.responseText;
|
|
|
|
}
|
|
}
|
|
|
|
xmlhttp.open("GET","{/literal}grabprofilecomments1.php?user={$owner->user_info.user_username}&url={$smarty.server.PHP_SELF}{if $smarty.server.QUERY_STRING!=""}?{$smarty.server.QUERY_STRING}{/if}&p="+page+"{literal}",true);
|
|
|
|
|
|
xmlhttp.send();*/
|
|
|
|
}
|
|
|
|
|
|
jQuery(function() {
|
|
|
|
|
|
|
|
|
|
|
|
loadXMLDoc(1);
|
|
jQuery('#comment_body').autogrow();
|
|
|
|
jQuery(".tabdropdown").hover(
|
|
function(){ jQuery(this).addClass('open') },
|
|
function(){ jQuery(this).removeClass('open') }
|
|
);
|
|
/*jQuery('#tab_selector').on('change', function (e) {
|
|
jQuery('.form-tabs li a').eq(jQuery(this).val()).tab('show');
|
|
});*/
|
|
|
|
jQuery.ajax({
|
|
url: "homestorage/activityfeed.php?show=0&user={/literal}{$owner->user_info.user_username}{literal}",
|
|
cache: true
|
|
})
|
|
.done(function( html ) {
|
|
jQuery( "#activities" ).html( html );
|
|
});
|
|
}
|
|
);
|
|
function loadmoreactions(loadfrom)
|
|
{
|
|
jQuery.ajax({
|
|
url: "homestorage/activityfeed.php?show=0&loadfrom="+loadfrom+"&user={/literal}{$owner->user_info.user_username}{literal}",
|
|
cache: true
|
|
})
|
|
.done(function( html ) {
|
|
jQuery( "#activities" ).append( html );
|
|
});
|
|
}
|
|
|
|
|
|
|
|
//loadXMLDoc(1);
|
|
</script>
|
|
<script type="text/javascript" src="/js/jquery.autogrow-textarea.js"></script>
|
|
<script type="text/javascript">
|
|
var video_id =222;
|
|
var introcnt=0;
|
|
|
|
|
|
|
|
|
|
|
|
function editComment1(commentID)
|
|
{
|
|
|
|
|
|
|
|
|
|
//var commentContainerElement = $(this.options.type + '_' + this.options.typeID + '_comments');
|
|
//var commentElement = commentContainerElement.getElement('profile_comment_body_' + commentID);
|
|
var commentElement = $('profile_comment_body_' + commentID);
|
|
|
|
var height = commentElement.offsetHeight + 10;
|
|
var commentText = commentElement.innerHTML.replace(/<br>/gi, '\r\n').replace(/>/gi, '>');
|
|
|
|
var innerHTML = '';
|
|
innerHTML += "<form action='misc_js.php' method='post' target='ajaxframe' name='editCommentForm' id='editCommentForm'>";
|
|
innerHTML += "<textarea name='comment_edit' id='comment_edit_" + commentID + "' style='height: " + height +" px; width: 100%;' onblur='doCommentEdit("+commentID+")'>" + commentText + "</textarea>";
|
|
innerHTML += "<input type='hidden' name='task' value='comment_edit'>";
|
|
innerHTML += "<input type='hidden' name='comment_id' value='" + commentID + "'>";
|
|
|
|
innerHTML += "<input type='hidden' name='type' value='profile'>";
|
|
innerHTML += "<input type='hidden' name='iden' value='user_id'>";
|
|
innerHTML += "<input type='hidden' name='value' value='{/literal}{$owner->user_info.user_id}{literal}'>";
|
|
|
|
innerHTML +=
|
|
'<input type="hidden" name="tab" value="users">';
|
|
|
|
innerHTML +=
|
|
'<input type="hidden" name="col" value="user">';
|
|
|
|
/* if( this.options.typeTabParent ) innerHTML +=
|
|
'<input type="hidden" name="tab_parent" value="' + this.options.typeTabParent + '">';
|
|
|
|
if( this.options.typeColParent ) innerHTML +=
|
|
'<input type="hidden" name="col_parent" value="' + this.options.typeColParent + '">';
|
|
|
|
if( this.options.typeChild ) innerHTML +=
|
|
'<input type="hidden" name="child" value="1">';
|
|
*/
|
|
|
|
innerHTML += "</form>";
|
|
|
|
|
|
// Inject
|
|
commentElement.innerHTML = innerHTML;
|
|
textarea_autogrow('comment_edit_' + commentID);
|
|
$('comment_edit_' + commentID).focus();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
// loadXMLDoc(1);
|
|
|
|
|
|
|
|
</script>
|
|
{/literal}
|
|
|
|
<div id='editvideo' style="display:none;">
|
|
{if $owner->user_info.introvid=="" && $user->user_info.user_id==$owner->user_info.user_id}
|
|
|
|
<a href="/intro_upload.php">CLICK HERE TO UPLOAD VIDEO</a>
|
|
|
|
{elseif $user->user_info.user_id==$owner->user_info.user_id && $owner->user_info.introapproved==0 && $owner->user_info.introvid!=""}
|
|
Intro video is pending approval
|
|
{if SE_DEBUG1}111{/if}
|
|
|
|
{elseif $owner->user_info.introvid==""}
|
|
No intro video uploaded
|
|
{elseif $owner->user_info.video_is_converted==0 && $owner->user_info.introvid!=""}
|
|
Intro video is pending approval
|
|
{else}
|
|
|
|
|
|
|
|
|
|
|
|
{literal}
|
|
|
|
|
|
|
|
<div id="introvid" style="position:relative; left:0px; top:0px;"></div>
|
|
|
|
<script type="text/javascript" src="/include/videoplayer/start/java/FWDUVPlayer.js"></script>
|
|
|
|
<!-- Setup video player-->
|
|
<script type="text/javascript">
|
|
|
|
function initvideo(){
|
|
|
|
|
|
|
|
|
|
//if(introcnt==0)
|
|
{
|
|
introcnt++;
|
|
|
|
//jQuery("#introvid").html("aaa")
|
|
new FWDUVPlayer({
|
|
//main settings
|
|
instanceName:"introvids"+introcnt,
|
|
parentId:"introvid",
|
|
playlistsId:"playlist",
|
|
mainFolderPath:"/include/videoplayer/start/content",
|
|
skinPath:"classic_skin_dark",
|
|
displayType:"responsive",
|
|
initializeOnlyWhenVisible:"no",
|
|
useVectorIcons:"no",
|
|
fillEntireVideoScreen:"no",
|
|
fillEntireposterScreen:"yes",
|
|
goFullScreenOnButtonPlay:"no",
|
|
playsinline:"yes",
|
|
privateVideoPassword:"428c841430ea18a70f7b06525d4b748a",
|
|
youtubeAPIKey:"",
|
|
useHEXColorsForSkin:"no",
|
|
normalHEXButtonsColor:"#666666",
|
|
googleAnalyticsTrackingCode:"",
|
|
useResumeOnPlay:"no",
|
|
useDeepLinking:"no",
|
|
showPreloader:"yes",
|
|
preloaderBackgroundColor:"#000000",
|
|
preloaderFillColor:"#FFFFFF",
|
|
addKeyboardSupport:"no",
|
|
autoScale:"yes",
|
|
showButtonsToolTip:"yes",
|
|
stopVideoWhenPlayComplete:"no",
|
|
playAfterVideoStop:"no",
|
|
autoPlay:"no",
|
|
loop:"no",
|
|
shuffle:"no",
|
|
showErrorInfo:"yes",
|
|
maxWidth:1160,
|
|
maxHeight:552,
|
|
volume:.8,
|
|
buttonsToolTipHideDelay:1.5,
|
|
backgroundColor:"#000000",
|
|
videoBackgroundColor:"#000000",
|
|
posterBackgroundColor:"#000000",
|
|
buttonsToolTipFontColor:"#5a5a5a",
|
|
//logo settings
|
|
showLogo:"yes",
|
|
hideLogoWithController:"no",
|
|
logoPosition:"topRight",
|
|
logoLink:"",
|
|
logoPath:"/images/watermark1.png",
|
|
logoMargins:10,
|
|
//playlists/categories settings
|
|
showPlaylistsSearchInput:"no",
|
|
usePlaylistsSelectBox:"no",
|
|
showPlaylistsButtonAndPlaylists:"no",
|
|
showPlaylistsByDefault:"no",
|
|
thumbnailSelectedType:"opacity",
|
|
startAtPlaylist:0,
|
|
buttonsMargins:15,
|
|
thumbnailMaxWidth:350,
|
|
thumbnailMaxHeight:350,
|
|
horizontalSpaceBetweenThumbnails:40,
|
|
verticalSpaceBetweenThumbnails:40,
|
|
inputBackgroundColor:"#333333",
|
|
inputColor:"#999999",
|
|
//playlist settings
|
|
showPlaylistButtonAndPlaylist:"no",
|
|
playlistPosition:"right",
|
|
showPlaylistByDefault:"yes",
|
|
showPlaylistName:"yes",
|
|
showSearchInput:"no",
|
|
showLoopButton:"yes",
|
|
showShuffleButton:"yes",
|
|
showPlaylistOnFullScreen:"no",
|
|
showNextAndPrevButtons:"yes",
|
|
showThumbnail:"yes",
|
|
forceDisableDownloadButtonForFolder:"yes",
|
|
addMouseWheelSupport:"yes",
|
|
startAtRandomVideo:"no",
|
|
stopAfterLastVideoHasPlayed:"no",
|
|
addScrollOnMouseMove:"no",
|
|
randomizePlaylist:'no',
|
|
folderVideoLabel:"VIDEO ",
|
|
playlistRightWidth:310,
|
|
playlistBottomHeight:380,
|
|
startAtVideo:0,
|
|
maxPlaylistItems:50,
|
|
thumbnailWidth:71,
|
|
thumbnailHeight:71,
|
|
spaceBetweenControllerAndPlaylist:1,
|
|
spaceBetweenThumbnails:1,
|
|
scrollbarOffestWidth:10,
|
|
scollbarSpeedSensitivity:.5,
|
|
playlistBackgroundColor:"#000000",
|
|
playlistNameColor:"#FFFFFF",
|
|
thumbnailNormalBackgroundColor:"#1b1b1b",
|
|
thumbnailHoverBackgroundColor:"#313131",
|
|
thumbnailDisabledBackgroundColor:"#272727",
|
|
searchInputBackgroundColor:"#000000",
|
|
searchInputColor:"#bdbdbd",
|
|
youtubeAndFolderVideoTitleColor:"#FFFFFF",
|
|
folderAudioSecondTitleColor:"#999999",
|
|
youtubeOwnerColor:"#bdbdbd",
|
|
youtubeDescriptionColor:"#bdbdbd",
|
|
mainSelectorBackgroundSelectedColor:"#FFFFFF",
|
|
mainSelectorTextNormalColor:"#FFFFFF",
|
|
mainSelectorTextSelectedColor:"#000000",
|
|
mainButtonBackgroundNormalColor:"#212021",
|
|
mainButtonBackgroundSelectedColor:"#FFFFFF",
|
|
mainButtonTextNormalColor:"#FFFFFF",
|
|
mainButtonTextSelectedColor:"#000000",
|
|
//controller settings
|
|
showController:"yes",
|
|
showControllerWhenVideoIsStopped:"yes",
|
|
showNextAndPrevButtonsInController:"no",
|
|
showRewindButton:"yes",
|
|
showPlaybackRateButton:"yes",
|
|
showVolumeButton:"yes",
|
|
|
|
showTime:"yes",
|
|
showQualityButton:"yes",
|
|
showInfoButton:"no",
|
|
showDownloadButton:"no",
|
|
showShareButton:"no",
|
|
showEmbedButton:"no",
|
|
showChromecastButton:"yes",
|
|
showFullScreenButton:"yes",
|
|
disableVideoScrubber:"no",
|
|
showScrubberWhenControllerIsHidden:"yes",
|
|
showMainScrubberToolTipLabel:"yes",
|
|
showDefaultControllerForVimeo:"no",
|
|
repeatBackground:"no",
|
|
controllerHeight:42,
|
|
controllerHideDelay:3,
|
|
startSpaceBetweenButtons:10,
|
|
spaceBetweenButtons:10,
|
|
scrubbersOffsetWidth:2,
|
|
mainScrubberOffestTop:16,
|
|
timeOffsetLeftWidth:2,
|
|
timeOffsetRightWidth:3,
|
|
timeOffsetTop:0,
|
|
volumeScrubberHeight:80,
|
|
volumeScrubberOfsetHeight:12,
|
|
timeColor:"#bdbdbd",
|
|
youtubeQualityButtonNormalColor:"#bdbdbd",
|
|
youtubeQualityButtonSelectedColor:"#FFFFFF",
|
|
scrubbersToolTipLabelBackgroundColor:"#FFFFFF",
|
|
scrubbersToolTipLabelFontColor:"#5a5a5a",
|
|
//advertisement on pause window
|
|
aopwTitle:"Advertisement",
|
|
aopwWidth:400,
|
|
aopwHeight:240,
|
|
aopwBorderSize:6,
|
|
aopwTitleColor:"#FFFFFF",
|
|
//subtitle
|
|
subtitlesOffLabel:"Subtitle off",
|
|
//popup add windows
|
|
showPopupAdsCloseButton:"yes",
|
|
//embed window and info window
|
|
embedAndInfoWindowCloseButtonMargins:15,
|
|
borderColor:"#333333",
|
|
mainLabelsColor:"#FFFFFF",
|
|
secondaryLabelsColor:"#bdbdbd",
|
|
shareAndEmbedTextColor:"#5a5a5a",
|
|
inputBackgroundColor:"#000000",
|
|
inputColor:"#FFFFFF",
|
|
//login
|
|
playIfLoggedIn:"no",
|
|
playIfLoggedInMessage:"Please <a href='https://google.com' target='_blank'>login</a> to play this video.",
|
|
//audio visualizer
|
|
audioVisualizerLinesColor:"#0099FF",
|
|
audioVisualizerCircleColor:"#FFFFFF",
|
|
//lightbox settings
|
|
closeLightBoxWhenPlayComplete:"no",
|
|
lightBoxBackgroundOpacity:.6,
|
|
lightBoxBackgroundColor:"#000000",
|
|
//sticky on scroll
|
|
stickyOnScroll:"no",
|
|
stickyOnScrollShowOpener:"yes",
|
|
stickyOnScrollWidth:"700",
|
|
stickyOnScrollHeight:"394",
|
|
//sticky display settings
|
|
showOpener:"yes",
|
|
showOpenerPlayPauseButton:"yes",
|
|
verticalPosition:"bottom",
|
|
horizontalPosition:"center",
|
|
showPlayerByDefault:"yes",
|
|
animatePlayer:"yes",
|
|
openerAlignment:"right",
|
|
mainBackgroundImagePath:"/include/videoplayer/start/content/minimal_skin_dark/main-background.png",
|
|
openerEqulizerOffsetTop:-1,
|
|
openerEqulizerOffsetLeft:3,
|
|
offsetX:0,
|
|
offsetY:0,
|
|
//playback rate / speed
|
|
defaultPlaybackRate:1, //0.25, 0.5, 1, 1.25, 1.2, 2
|
|
//cuepoints
|
|
executeCuepointsOnlyOnce:"no",
|
|
//annotations
|
|
showAnnotationsPositionTool:"no",
|
|
//ads
|
|
openNewPageAtTheEndOfTheAds:"no",
|
|
adsButtonsPosition:"left",
|
|
skipToVideoText:"You can skip to video in: ",
|
|
skipToVideoButtonText:"Skip Ad",
|
|
adsTextNormalColor:"#bdbdbd",
|
|
adsTextSelectedColor:"#FFFFFF",
|
|
adsBorderNormalColor:"#444444",
|
|
adsBorderSelectedColor:"#FFFFFF",
|
|
//a to b loop
|
|
useAToB:"yes",
|
|
atbTimeBackgroundColor:"transparent",
|
|
atbTimeTextColorNormal:"#888888",
|
|
atbTimeTextColorSelected:"#FFFFFF",
|
|
atbButtonTextNormalColor:"#888888",
|
|
atbButtonTextSelectedColor:"#FFFFFF",
|
|
atbButtonBackgroundNormalColor:"#FFFFFF",
|
|
atbButtonBackgroundSelectedColor:"#000000",
|
|
//thumbnails preview
|
|
thumbnailsPreviewWidth:196,
|
|
thumbnailsPreviewHeight:110,
|
|
thumbnailsPreviewBackgroundColor:"#000000",
|
|
thumbnailsPreviewBorderColor:"#666",
|
|
thumbnailsPreviewLabelBackgroundColor:"#666",
|
|
thumbnailsPreviewLabelFontColor:"#FFF",
|
|
// context menu
|
|
showContextmenu:'yes',
|
|
showScriptDeveloper:"no",
|
|
contextMenuBackgroundColor:"#1f1f1f",
|
|
contextMenuBorderColor:"#1f1f1f",
|
|
contextMenuSpacerColor:"#333",
|
|
contextMenuItemNormalColor:"#666666",
|
|
contextMenuItemSelectedColor:"#FFFFFF",
|
|
contextMenuItemDisabledColor:"#333"
|
|
});
|
|
|
|
}
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
<ul id="playlist" style="display:none;">
|
|
|
|
|
|
<li data-source="introvidplaylist" data-playlist-name="Favorites" data-thumbnail-path="">
|
|
<p class="fwduvp-categories-title"><span class="fwduvp-header">Title: </span><span class="fwduvp-title">Favorites</span></p>
|
|
<p class="fwduvp-categories-type"><span class="fwduvp-header">Type: </span>HTML</p>
|
|
<p class="fwduvp-categories-description"><span class="fwduvp-header">Description: </span>Favorited Videos</p>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
|
|
<ul id="introvidplaylist" style="display:none;">
|
|
{/literal}{assign var="intro1080" value="intro-1080"}
|
|
{assign var="intro720" value="intro-720"}
|
|
{assign var="intro480" value="intro-480"}
|
|
{assign var="intro240" value="intro-240"}
|
|
{assign var="introotherres" value="intro-otherres"}
|
|
{literal}
|
|
|
|
<li data-thumb-source="{/literal}{$intropicurl}{literal}" data-video-source="[{/literal}{if $owner->user_info.$intro1080==1}{literal}{source:'{/literal}{$imagecdn}{$userdir}a12541a-1080.mp4{literal}', label:'1080p'},{/literal}{/if}{if $owner->user_info.$intro720==1}{literal}{source:'{/literal}{$imagecdn}{$userdir}a12541a-720.mp4{literal}', label:'720'},{/literal}{/if}{if $owner->user_info.$intro480==1}{literal}{source:'{/literal}{$imagecdn}{$userdir}a12541a-480.mp4{literal}', label:'480'},{/literal}{/if}{if $owner->user_info.$intro240==1}{literal}{source:'{/literal}{$imagecdn}{$userdir}a12541a-240.mp4{literal}', label:'240p'},{/literal}{/if}{if $owner->user_info.$introotherres==1}{literal}{source:'{/literal}{$imagecdn}{$userdir}a12541a.mp4{literal}', label:'Video'}{/literal}{/if}{if $owner->user_info.$introotherres==0 && $owner->user_info.$intro1080==0 && $owner->user_info.$intro720==0 && $owner->user_info.$intro480==0 && $owner->user_info.$intro240==0}{literal}{source:'{/literal}{$imagecdn}{$userdir}a12541a.mp4'{literal}}{/literal}{/if}{literal}]" data-start-at-video="0" data-poster-source="{/literal}{$intropicurl}{literal}" data-downloadable="no">
|
|
|
|
<div data-video-short-description="">
|
|
<div>
|
|
<p class="fwduvp-thumbnail-title">{/literal}{$video_info.video_title}{literal}</p>
|
|
<p class="fwduvp-thumbnail-description"></p>
|
|
</div>
|
|
</div>
|
|
<div data-video-long-description="">
|
|
<div>
|
|
<p class="fwduvp-video-title">{/literal}{$video_info.video_title}{literal}</p>
|
|
<p class="fwduvp-video-main-description"></p>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
|
|
</ul>
|
|
{/literal}
|
|
{if $allowed_to_comment != 0 || $total_comments != 0}
|
|
<div class="clearfix clear"></div>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<div class="pull-left">
|
|
<a href="javascript:void(0);" onclick="likecontent('introvideos', '{$user->user_info.user_id}', 'blogomedia', '{$owner->user_info.user_id}', '{$owner->user_info.user_username}');" class="hoverme">
|
|
<img id="blogomedia" class="blogo {if $likedmedia==1}liked{/if}" src="{$imagecdn}images/clearblogo.png"> <span id="liketext">Like{if $likedmedia==1}d{/if}</span></a>
|
|
</div><div class="pull-right"><a onclick="jQuery('#showintrolikes').slideToggle();" href="#"><span id="blogomedialikes">{$total_likes|default:0}</span> Likes</a> | <span class="tc" id="totalcomments1">{$total_comments1|default:0}</span> comment{if $total_comments1!=1}s{/if}</div><div class="clearfix clear"></div><br>
|
|
<div id="showintrolikes" style="background: black; display:none;"><button type="button" class="close main-bg-color alt-text-color orangebg" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i></button>
|
|
<div id="" class="modal-content" style="background: black;">
|
|
Users who liked this video:<br>
|
|
{section name=like_loop loop=$likes}
|
|
<a href="profile.php?user={$likes[like_loop].user_username}">{$likes[like_loop].user_username}</a><br>
|
|
{/section}
|
|
|
|
|
|
</div></div>
|
|
{* SHOW COMMENT TAB *}
|
|
|
|
{* COMMENTS *}
|
|
|
|
<div id="profile_{$owner->user_info.user_id}_postcomment">
|
|
|
|
<form action="#" method="post" target="ajaxframe" onsubmit="return updatecount_intro();"><div class="profile_postcomment"><textarea name="comment_body" id="comment_body1" cols="25" class="comment_area" style="overflow: hidden; height: 70px;" placeholder="Write Something..."></textarea><div style="margin-top: 5px;">Allowed HTML Tags: b, img, a, br</div><div style="text-align: right; margin-top: 5px;">
|
|
|
|
<input type="submit" id="comment_submit1" name="comment_submit" class="button" value="Post Comment" />
|
|
<input type="hidden" name="type" id="object1" value="intro_videocomments">
|
|
<input type="hidden" name="type" id="object_id1" value="{$owner->user_info.user_id}">
|
|
<input type="hidden" name="task" id="task1" value="comment_post"><input type="hidden" name="type" id="type1" value="intro_video"><input type="hidden" name="iden" id="iden1" value="user_id"><input type="hidden" name="value" id="value1" value="{$owner->user_info.user_id}"><input type="hidden" name="user" id="user1" value="{$owner->user_info.user_id}"><input type="hidden" name="tab" id="tab1" value="users"><input type="hidden" name="col" id="col1" value="user"></div><div id="comment_error1" style="color: #FF0000; display: none;"></div></div></form>
|
|
|
|
|
|
</div>
|
|
<div id="{$owner->user_info.user_username}_profile_comments1" style='margin-left: auto; margin-right: auto;'></div>
|
|
|
|
{lang_javascript ids=39,155,175,182,183,184,185,187,784,787,829,830,831,832,833,834,835,854,856,891,1025,1026,1032,1034,1071}
|
|
|
|
{literal}
|
|
<style type='text/css'>
|
|
div.comment_headline {
|
|
font-size: 13px;
|
|
margin-bottom: 7px;
|
|
font-weight: bold;
|
|
padding: 0px;
|
|
border: none;
|
|
background: none;
|
|
color: #555555;
|
|
}
|
|
</style>
|
|
{/literal}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
<div id="{$owner->user_info.user_username}_intro_comments" style='margin-left: auto; margin-right: auto;'></div>
|
|
<!-- HTML playlist -->
|
|
|
|
|
|
<!-- HTML mixed playlist -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{literal}
|
|
|
|
|
|
{/literal}
|
|
{/if}
|
|
|
|
|
|
</div>
|
|
|
|
{include file='footer.tpl'} |