| Current Path : /home/users/unlimited/www/facebook.codeskitter.site/themes/sunshine/layout/timeline/ |
| Current File : /home/users/unlimited/www/facebook.codeskitter.site/themes/sunshine/layout/timeline/content.phtml |
<?php
$IsOwner = Wo_IsOnwer($wo['user_profile']['user_id']);
$IsOwnerUser = Wo_IsOnwerUser($wo['user_profile']['user_id']);
if ($wo['loggedin'] && $IsOwnerUser) {
$wo['pr_complition'] = Wo_ProfileCompletion();
}
?>
<style>.post-youtube iframe {overflow: hidden !important; height: 360px !important;}</style>
<div class="row page-margin profile wo_user_profile" data-page="timeline" data-id="<?php echo $wo['user_profile']['user_id'];?>">
<div class="profile-container">
<div class="card hovercard" style="margin-bottom: 0px;">
<div class="cardheader user-cover">
<?php if($IsOwner === true) { ?>
<form action="#" method="post" class="profile-cover-changer">
<div class="input-group when-notedit profile_cover">
<span class="input-group-btn">
<span class="btn btn-upload-image btn-file">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.75" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M12 13m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"></path>
<path d="M5 7h2a2 2 0 0 0 2 -2a1 1 0 0 1 1 -1h2m9 7v7a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-9a2 2 0 0 1 2 -2"></path>
<path d="M15 6l6 0"></path>
<path d="M18 3l0 6"></path>
</svg>
<input type="file" name="cover" accept="image/*" onchange="Wo_UpdateProfileCover();">
</span>
</span>
</div>
<?php if ($wo['config']['ai_user_system'] == 1) { ?>
<div class="input-group when-notedit">
<span class="input-group-btn">
<span class="btn btn-upload-image btn-file" onclick="openAiUserModel('cover')">
<svg height="25px" width="25px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16.871 16.871" xml:space="preserve" class="feather"><g>
<g>
<path style="fill:#030104;" d="M6.847,5.772H6.822c-0.127,0.511-0.254,1.16-0.395,1.657L5.917,9.25h1.898L7.28,7.429
C7.128,6.919,6.975,6.283,6.847,5.772z"></path>
<path style="fill:#030104;" d="M15.837,0H1.033C0.462,0,0,0.462,0,1.033v14.805c0,0.57,0.462,1.033,1.033,1.033h14.805
c0.57,0,1.033-0.463,1.033-1.033V1.033C16.871,0.463,16.408,0,15.837,0z M8.758,12.905l-0.663-2.203H5.638l-0.612,2.203H3.014
l2.624-8.583h2.546l2.663,8.583H8.758z M13.793,12.905h-1.937V6.678h1.937V12.905z M12.813,5.914
c-0.611,0-1.019-0.434-1.007-0.969c-0.012-0.561,0.396-0.979,1.021-0.979c0.623,0,1.018,0.419,1.03,0.979
C13.857,5.48,13.45,5.914,12.813,5.914z"></path>
</g>
</g>
</svg>
</span>
</span>
</div>
<input type="hidden" name="ai_post" value="off" id="isAiCover">
<?php } ?>
<div class="input-group profile_cover">
<span class="input-group-btn when-notedit">
<span class="btn btn-upload-image btn-file" onclick="Wo_StartRepositioner();">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.75" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M8 5v10a1 1 0 0 0 1 1h10"></path>
<path d="M5 8h10a1 1 0 0 1 1 1v10"></path>
</svg>
</span>
</span>
</div>
<div class="input-group when-edit" style="display: none;">
<span class="input-group-btn">
<span class="btn btn-upload-image btn-file" onclick="Wo_SubmitRepositioner();">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.75" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M5 12l5 5l10 -10"></path>
</svg>
</span>
</span>
</div>
<div class="input-group when-edit" style="display: none;">
<span class="input-group-btn">
<span class="btn btn-upload-image btn-file" onclick="Wo_StopRepositioner();">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.75" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M18 6l-12 12"></path>
<path d="M6 6l12 12"></path>
</svg>
</span>
</span>
</div>
<input type="hidden" name="user_id" value="<?php echo $wo['user_profile']['user_id'];?>">
</form>
<form class="cover-position-form hidden" method="post">
<input class="cover-position" name="pos" value="0" type="hidden">
<input class="image_type" name="image_type" value="0" type="hidden">
<input name="cover_image" id="cover-input-image" value="<?php echo $wo['user_profile']['cover_org']?>" type="hidden">
<input name="real_image" id="full-input-image" value="<?php echo Wo_GetMedia($wo['user_profile']['cover_full']); ?>" type="hidden">
<input type="hidden" name="user_id" value="<?php echo $wo['user_profile']['user_id'];?>">
</form>
<?php } ?>
<div class="user-cover-uploading-container"></div>
<div class="user-cover-uploading-progress">
<div class="pace-activity-parent"><div class="pace-activity"></div></div>
</div>
<div class="user-cover-reposition-container">
<div class="user-cover-reposition-w">
<img id="cover-image" src="<?php echo $wo['user_profile']['cover']?>" alt="<?php echo $wo['user_profile']['name']?> Cover Image" onclick="Wo_OpenProfileCover('<?php echo $wo['user_profile']['cover_org']?>');" class="pointer"/>
</div>
<div class="user-reposition-container">
<img id="full-image" src="<?php echo Wo_GetMedia($wo['user_profile']['cover_full'])?>" alt="User Image"/>
<div class="user-reposition-dragable-container" align="center">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-move"><polyline points="5 9 2 12 5 15"></polyline><polyline points="9 5 12 2 15 5"></polyline><polyline points="15 19 12 22 9 19"></polyline><polyline points="19 9 22 12 19 15"></polyline><line x1="2" y1="12" x2="22" y2="12"></line><line x1="12" y1="2" x2="12" y2="22"></line></svg>
<?php echo $wo['lang']['drag_to_re']; ?>
</div>
<div class="user-cover-uploading-container user-repositioning-icons-container1"></div>
<div class="user-cover-uploading-progress user-repositioning-icons-container"></div>
</div>
</div>
</div>
<div class="problackback"></div>
<div class="pic-info-cont">
<div class="user-avatar flip <?php if ($wo['have_stories'] == true && $wo['story_seen_class'] != 'seen_story' && $wo['loggedin'] == true) { ?><?php echo($wo['story_seen_class']); ?><?php } ?>">
<div class="user-avatar-uploading-container">
<div class="user-avatar-uploading-progress">
<div class="ball-pulse"><div></div><div></div><div></div></div>
</div>
</div>
<img id="updateImage-<?php echo $wo['user_profile']['user_id']?>" class="pointer <?php if ($wo['have_stories'] == true && $wo['story_seen_class'] != 'seen_story' && $wo['loggedin'] == true) { ?><?php echo($wo['story_seen_class']); ?> see_all_stories<?php } ?>" alt="<?php echo $wo['user_profile']['name']?> Profile Picture" src="<?php echo $wo['user_profile']['avatar']?>" <?php if ($wo['have_stories'] == true && $wo['story_seen_class'] != 'seen_story' && $wo['loggedin'] == true) { ?> data_story_user_id="<?php echo $wo['user_profile']['user_id']?>" data_story_type="user" <?php } else{ ?> onclick="Wo_OpenProfilePicture('<?php echo $wo['user_profile']['avatar_org']?>');" <?php } ?> />
<?php if($IsOwner === true) { ?>
<form action="#" method="post" class="profile-avatar-changer wo_profile_pic_hover">
<div class="profile_avatar">
<span class="btn btn-upload-image btn-file">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.75" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M12 13m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"></path>
<path d="M5 7h2a2 2 0 0 0 2 -2a1 1 0 0 1 1 -1h2m9 7v7a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-9a2 2 0 0 1 2 -2"></path>
<path d="M15 6l6 0"></path>
<path d="M18 3l0 6"></path>
</svg>
<input type="file" name="avatar" accept="image/x-png, image/jpeg" onchange="Wo_UpdateProfileAvatar();">
</span>
<?php if ($wo['config']['ai_user_system'] == 1) { ?>
<span class="btn btn-upload-image btn-file" onclick="openAiUserModel()">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 512 512" xml:space="preserve" width="512" height="512"> <g> <g> <g> <g> <line style="fill:none;stroke:currentColor;stroke-width:40;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;" x1="256" y1="40" x2="256" y2="75.131"/> <line style="fill:none;stroke:currentColor;stroke-width:40;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;" x1="375.726" y1="20" x2="375.726" y2="75.131"/> <line style="fill:none;stroke:currentColor;stroke-width:40;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;" x1="136.274" y1="20" x2="136.274" y2="75.131"/> </g> <g> <line style="fill:none;stroke:currentColor;stroke-width:40;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;" x1="256" y1="436.869" x2="256" y2="472"/> <line style="fill:none;stroke:currentColor;stroke-width:40;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;" x1="375.726" y1="436.869" x2="375.726" y2="492"/> <line style="fill:none;stroke:currentColor;stroke-width:40;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;" x1="136.274" y1="436.869" x2="136.274" y2="492"/> </g> </g> <g> <g> <line style="fill:none;stroke:currentColor;stroke-width:40;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;" x1="472" y1="256" x2="436.869" y2="256"/> <line style="fill:none;stroke:currentColor;stroke-width:40;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;" x1="492" y1="136.274" x2="436.869" y2="136.274"/> </g> <g> <line style="fill:none;stroke:currentColor;stroke-width:40;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;" x1="75.131" y1="256" x2="40" y2="256"/> <line style="fill:none;stroke:currentColor;stroke-width:40;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;" x1="75.131" y1="375.726" x2="20" y2="375.726"/> <line style="fill:none;stroke:currentColor;stroke-width:40;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;" x1="75.131" y1="136.274" x2="20" y2="136.274"/> </g> </g> </g> <g> <g> <path style="fill:none;stroke:currentColor;stroke-width:40;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;" d=" 				M166.625,329.73l55.371-145.383c1.132-2.766,5.047-2.77,6.184-0.006l54.868,145.389"/> <line style="fill:none;stroke:currentColor;stroke-width:40;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;" x1="183.893" y1="293.522" x2="266.058" y2="293.522"/> </g> <line style="fill:none;stroke:currentColor;stroke-width:40;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;" x1="345.375" y1="243.835" x2="345.375" y2="329.73"/> <line style="fill:none;stroke:currentColor;stroke-width:40;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;" x1="345.375" y1="184.861" x2="345.375" y2="184.861"/> </g> <path style="fill:none;stroke:currentColor;stroke-width:40;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;" d=" 		M433.989,275.726V138.011c0-33.137-26.863-60-60-60H138.011c-33.137,0-60,26.863-60,60v235.977c0,33.137,26.863,60,60,60h235.977 		c32.556,0,59.056-25.929,59.975-58.263l58.036,0"/> </g> </svg>
</span>
<input type="hidden" name="ai_post" value="off" id="isAiAvatar">
<?php } ?>
<?php if ($wo['user_profile']['avatar_org'] != $wo['userDefaultAvatar'] && $wo['user_profile']['avatar_org'] != $wo['userDefaultFAvatar']) {?>
<span class="btn btn-upload-image btn-file" onclick="OpenCropModal()">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.75" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M8 5v10a1 1 0 0 0 1 1h10"></path>
<path d="M5 8h10a1 1 0 0 1 1 1v10"></path>
</svg>
</span>
<?php } ?>
<span class="btn btn-upload-image btn-file" <?php if ($wo['have_stories'] == true && $wo['story_seen_class'] != 'seen_story' && $wo['loggedin'] == true) { ?> data_story_user_id="<?php echo $wo['user_profile']['user_id']?>" data_story_type="user" <?php } else{ ?> onclick="Wo_OpenProfilePicture('<?php echo $wo['user_profile']['avatar_org']?>');" <?php } ?>>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.75" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M12 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"></path>
<path d="M22 12c-2.667 4.667 -6 7 -10 7s-7.333 -2.333 -10 -7c2.667 -4.667 6 -7 10 -7s7.333 2.333 10 7"></path>
</svg>
</span>
</div>
<input type="hidden" name="user_id" id="user-id" value="<?php echo $wo['user_profile']['user_id'];?>">
</form>
<?php } ?>
</div>
<div class="info">
<div class="title">
<a href="<?php echo Wo_SeoLink('index.php?link1=timeline&u=' . $wo['user_profile']['username'] . '');?>" data-ajax="?link1=timeline&u=<?php echo $wo['user_profile']['username'];?>">
<?php echo $wo['user_profile']['name']; ?>
</a>
<?php if ($wo['user_profile']['banned'] != 1) { ?>
<?php if($wo['user_profile']['verified'] == 1) { ?>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="verified-color feather feather-check-circle" title="<?php echo $wo['lang']['verified_user'];?>" data-toggle="tooltip"><path d="M23,12L20.56,9.22L20.9,5.54L17.29,4.72L15.4,1.54L12,3L8.6,1.54L6.71,4.72L3.1,5.53L3.44,9.21L1,12L3.44,14.78L3.1,18.47L6.71,19.29L8.6,22.47L12,21L15.4,22.46L17.29,19.28L20.9,18.46L20.56,14.78L23,12M10,17L6,13L7.41,11.59L10,14.17L16.59,7.58L18,9L10,17Z"></path></svg>
<?php } ?>
<?php if (!empty($wo['user_profile']['is_open_to_work']) && $wo['config']['website_mode'] == 'linkedin') { ?>
<span class="wo_open_job_badge" title="<?php echo $wo['lang']['open_to_work'];?>" data-toggle="tooltip"><svg xmlns="http://www.w3.org/2000/svg" width="11" height="11" viewBox="0 0 24 24"><path fill="currentColor" d="M10,2H14A2,2 0 0,1 16,4V6H20A2,2 0 0,1 22,8V19A2,2 0 0,1 20,21H4C2.89,21 2,20.1 2,19V8C2,6.89 2.89,6 4,6H8V4C8,2.89 8.89,2 10,2M14,6V4H10V6H14Z"></path></svg></span>
<?php } ?>
<?php if (Wo_IsUserPro($wo['user_profile']['is_pro']) === true) {
$user_pro_type = Wo_GetUserProType($wo['user_profile']['pro_type']);
?>
<span class="badge-pro" style="background-color:<?php echo $user_pro_type['color_name'];?>">
<a class="badge-link" href="<?php echo Wo_SeoLink('index.php?link1=go-pro');?>" title="<?php echo $user_pro_type['type_name'];?>" data-toggle="tooltip">PRO</a>
</span>
<?php } ?>
<?php } else { ?>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="feather" ><path fill="red" d="M10 4A4 4 0 0 0 6 8A4 4 0 0 0 10 12A4 4 0 0 0 14 8A4 4 0 0 0 10 4M17.5 13C15 13 13 15 13 17.5C13 20 15 22 17.5 22C20 22 22 20 22 17.5C22 15 20 13 17.5 13M10 14C5.58 14 2 15.79 2 18V20H11.5A6.5 6.5 0 0 1 11 17.5A6.5 6.5 0 0 1 11.95 14.14C11.32 14.06 10.68 14 10 14M17.5 14.5C19.16 14.5 20.5 15.84 20.5 17.5C20.5 18.06 20.35 18.58 20.08 19L16 14.92C16.42 14.65 16.94 14.5 17.5 14.5M14.92 16L19 20.08C18.58 20.35 18.06 20.5 17.5 20.5C15.84 20.5 14.5 19.16 14.5 17.5C14.5 16.94 14.65 16.42 14.92 16Z"></path></svg>
<?php } ?>
</div>
<p>@<?php echo $wo['user_profile']['username']; ?></p>
</div>
<?php if ($wo['user_profile']['banned'] != 1) { ?>
<div class="options-buttons">
<span class="user-follow-button btn-glossy">
<?php echo Wo_GetFollowButton($wo['user_profile']['user_id']);?>
</span>
<span class="profile-message-btn btn-glossy">
<?php echo Wo_GetMessageButton($wo['user_profile']['user_id']);?>
</span>
<?php if ($wo['config']['notify_new_post'] == 1) { ?>
<span class="user-follow-button btn-glossy">
<?php echo Wo_GetNotifyButton($wo['user_profile']['user_id']);?>
</span>
<?php } ?>
<?php if($IsOwnerUser === true) { ?>
<span class="btn-glossy">
<a class="btn btn-default" href="<?php echo Wo_SeoLink('index.php?link1=setting&user=' . $wo['user_profile']['username'] . '&page=general-setting') ?>" data-ajax="?link1=setting&user=<?php echo $wo['user_profile']['username'] . '&page=general-setting'; ?>">
<svg class="feather" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1.35288 6.95043C2.00437 4.17301 4.17301 2.00437 6.95043 1.35288C8.95626 0.882375 11.0437 0.882374 13.0496 1.35288C15.827 2.00437 17.9956 4.17301 18.6471 6.95044C19.1176 8.95626 19.1176 11.0437 18.6471 13.0496C17.9956 15.827 15.827 17.9956 13.0496 18.6471C11.0437 19.1176 8.95626 19.1176 6.95044 18.6471C4.17301 17.9956 2.00437 15.827 1.35288 13.0496C0.882374 11.0437 0.882374 8.95626 1.35288 6.95043Z" class="icon_main" stroke-width="1.5"/>
<path d="M1.35288 6.95043C0.882374 8.95625 0.882374 11.0437 1.35288 13.0496C2.00437 15.827 4.17301 17.9956 6.95043 18.6471C8.95626 19.1176 11.0437 19.1176 13.0496 18.6471C15.827 17.9956 17.9956 15.827 18.6471 13.0496C19.1176 11.0437 19.1176 8.95625 18.6471 6.95043C17.9956 4.17301 15.827 2.00437 13.0496 1.35287" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
<path d="M13 9.42406C11.788 9.82807 10.1719 8.21203 10.5759 7M11.0739 6.50204L8.46269 9.11325C7.32749 10.2485 6.52215 11.6708 6.13278 13.2283L6.00661 13.733C5.96729 13.8903 6.10973 14.0327 6.26699 13.9934L6.77168 13.8672C8.32916 13.4779 9.75154 12.6725 10.8867 11.5373L13.498 8.9261C13.8194 8.60465 14 8.16867 14 7.71407C14 6.76741 13.2326 6 12.2859 6C11.8313 6 11.3954 6.18059 11.0739 6.50204Z" class="icon_main" stroke-width="1.5"/>
</svg>
<?php echo $wo['lang']['edit'];?>
</a>
</span>
<span class="btn-glossy">
<a class="btn btn-default" href="<?php echo Wo_SeoLink('index.php?link1=timeline&u=' . $wo['user_profile']['username'] . '&type=activities');?>" data-ajax="?link1=timeline&u=<?php echo $wo['user_profile']['username'] . '&type=activities'; ?>">
<svg class="feather" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1.35288 6.95043C2.00437 4.17301 4.17301 2.00437 6.95043 1.35287C8.95625 0.882372 11.0437 0.882372 13.0496 1.35287C15.827 2.00437 17.9956 4.17301 18.6471 6.95043C19.1176 8.95625 19.1176 11.0437 18.6471 13.0496C17.9956 15.827 15.827 17.9956 13.0496 18.6471C11.0437 19.1176 8.95626 19.1176 6.95044 18.6471C4.17301 17.9956 2.00437 15.827 1.35288 13.0496C0.882374 11.0437 0.882374 8.95626 1.35288 6.95043Z" class="icon_main" stroke-width="1.5"/>
<path d="M1.35288 6.95043C0.882374 8.95625 0.882374 11.0437 1.35288 13.0496C2.00437 15.827 4.17301 17.9956 6.95044 18.6471C8.95626 19.1176 11.0437 19.1176 13.0496 18.6471C15.827 17.9956 17.9956 15.827 18.6471 13.0496C19.1176 11.0437 19.1176 8.95625 18.6471 6.95043C17.9956 4.17301 15.827 2.00437 13.0496 1.35287" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
<path d="M5.31836 7.39934L6.35863 8.43962L8.43918 6.35907M11.0399 7.91948L14.6808 7.91948M5.31836 12.6007L6.35863 13.641L8.43918 11.5604M11.0399 13.1208L14.6808 13.1208" class="icon_main" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<?php echo $wo['lang']['activities'];?>
</a>
</span>
<?php if ($wo['config']['website_mode'] == 'linkedin') { ?>
<div class="dropdown btn-glossy wo_job_open_gloss_btn">
<button class="btn btn-default dropdown-toggle" type="button" id="opento-dropdownMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-briefcase"><rect x="2" y="7" width="20" height="14" rx="2" ry="2"></rect><path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"></path></svg> <?php echo $wo['lang']['open_to']; ?>
</button>
<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="opento-dropdownMenu">
<?php if ($wo['user_profile']['is_open_to_work'] == 0) { ?>
<li>
<label class="menu-item">
<input type="radio" value="finding_a_job" onclick="OpenToModal('#finding_a_job_modal')">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-briefcase"><rect x="2" y="7" width="20" height="14" rx="2" ry="2"></rect><path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"></path></svg> <?php echo $wo['lang']['finding_a_job']; ?>
</label>
</li>
<?php } ?>
<?php if ($wo['user_profile']['is_providing_service'] == 0) { ?>
<li>
<label class="menu-item">
<input type="radio" value="providing_services" onclick="OpenToModal('#providing_services_modal')">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-layers"><polygon points="12 2 2 7 12 12 22 7 12 2"></polygon><polyline points="2 17 12 22 22 17"></polyline><polyline points="2 12 12 17 22 12"></polyline></svg> <?php echo $wo['lang']['providing_services']; ?>
</label>
</li>
<?php } ?>
<li>
<label class="menu-item">
<input type="radio" value="hiring" onclick="OpenToModal('#create_hiring_modal')">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-code"><polyline points="16 18 22 12 16 6"></polyline><polyline points="8 6 2 12 8 18"></polyline></svg> <?php echo $wo['lang']['hiring']; ?>
</label>
</li>
</ul>
</div>
<?php } ?>
<?php } else { ?>
<?php if($wo['loggedin'] == true) { ?>
<div class="dropdown btn-glossy">
<button class="btn btn-default wo_user_folw_empty_btns dropdown-toggle" type="button" id="user-dropdownMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-more-vertical"><circle cx="12" cy="12" r="1"></circle><circle cx="12" cy="5" r="1"></circle><circle cx="12" cy="19" r="1"></circle></svg>
</button>
<ul class="dropdown-menu dropdown-menu-right detail" aria-labelledby="user-dropdownMenu">
<?php if($IsOwnerUser === false && $wo['loggedin'] == true) { ?>
<li>
<a class="menu-item" href="<?php echo $wo['marker'] . 'block_user=block'?>">
<svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 16.3709C2.5 14.36 3.91444 12.6471 5.8367 12.3302L6.00985 12.3017C7.5491 12.0479 9.11757 12.0479 10.6568 12.3017L10.83 12.3302C12.7522 12.6471 14.1667 14.36 14.1667 16.3709C14.1667 17.2401 13.4846 17.9447 12.6432 17.9447H4.02344C3.18207 17.9447 2.5 17.2401 2.5 16.3709Z" stroke="currentColor"/><path d="M11.7362 6.22559C11.7362 8.03777 10.2127 9.50684 8.33344 9.50684C6.45414 9.50684 4.93066 8.03777 4.93066 6.22559C4.93066 4.4134 6.45414 2.94434 8.33344 2.94434C10.2127 2.94434 11.7362 4.4134 11.7362 6.22559Z" stroke="currentColor"/><line x1="14.2021" y1="11.3134" x2="18.8688" y2="6.64677" class="icon_main"/><circle cx="16.5" cy="8.94434" r="3" class="icon_main"/></svg>
<div>
<b><?php echo $wo['lang']['block_user'];?></b>
<p><?php echo $wo['lang']['block_user_tx'];?></p>
</div>
</a>
</li>
<?php } ?>
<?php if($IsOwnerUser === false && $wo['loggedin'] == true && !$wo['user_profile']['is_reported_user']) { ?>
<li>
<a class="menu-item" href="javascript:void(0)" onclick="Wo_OpenReportBox()">
<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.2297 14.6838L11.3801 14.5798C11.8509 14.2542 12.0864 14.0914 12.297 13.9169C13.4414 12.9684 14.21 11.6464 14.4658 10.1865C14.5129 9.91778 14.5373 9.63356 14.5863 9.06512L14.6116 8.77119C14.6926 7.8303 14.6845 6.88392 14.5875 5.94453L14.5574 5.65383C14.3876 4.00992 13.3784 2.5691 11.8872 1.84153C9.43528 0.645272 6.56504 0.645272 4.11315 1.84153C2.6219 2.5691 1.6127 4.00992 1.44289 5.65383L1.41286 5.94453C1.31583 6.88392 1.30775 7.8303 1.38874 8.77119L1.41404 9.06512C1.46297 9.63356 1.48744 9.91778 1.53452 10.1865C1.79034 11.6464 2.55896 12.9684 3.70333 13.9169C3.91393 14.0914 4.14941 14.2542 4.62022 14.5798L4.77067 14.6838C5.41077 15.1265 5.73085 15.3478 6.05162 15.5016C7.2829 16.0919 8.71742 16.0919 9.9487 15.5016C10.2695 15.3478 10.5895 15.1265 11.2297 14.6838Z" class="icon_main" stroke-width="1.5"/><path d="M14.5863 9.06512L14.6116 8.77119C14.6926 7.8303 14.6845 6.88392 14.5875 5.94453L14.5574 5.65383C14.3876 4.00992 13.3784 2.5691 11.8872 1.84153C9.43529 0.645272 6.56504 0.645272 4.11315 1.84153C2.6219 2.5691 1.6127 4.00992 1.44289 5.65383L1.41286 5.94453C1.31583 6.88392 1.30775 7.8303 1.38874 8.77119L1.41404 9.06512C1.46297 9.63356 1.48744 9.91778 1.53452 10.1865C1.79034 11.6464 2.55896 12.9684 3.70333 13.9169C3.91393 14.0914 4.14941 14.2542 4.62022 14.5798L4.77067 14.6838C5.41077 15.1265 5.73085 15.3478 6.05162 15.5016" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/><path d="M9.47313 6.97168L6.52686 9.91796M9.47313 9.91796L6.52686 6.97168" class="icon_main" stroke-width="1.5" stroke-linecap="round"/></svg>
<div>
<b><?php echo $wo['lang']['report_user_text'];?></b>
<p><?php echo $wo['lang']['report_user_text_tx'];?></p>
</div>
</a>
</li>
<?php }elseif ($IsOwnerUser === false && $wo['loggedin'] == true && $wo['user_profile']['is_reported_user']) { ?>
<li>
<a class="menu-item" href="javascript:void(0)" onclick="Wo_UnreportReportUser()">
<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.2297 14.6838L11.3801 14.5798C11.8509 14.2542 12.0864 14.0914 12.297 13.9169C13.4414 12.9684 14.21 11.6464 14.4658 10.1865C14.5129 9.91778 14.5373 9.63356 14.5863 9.06512L14.6116 8.77119C14.6926 7.8303 14.6845 6.88392 14.5875 5.94453L14.5574 5.65383C14.3876 4.00992 13.3784 2.5691 11.8872 1.84153C9.43528 0.645272 6.56504 0.645272 4.11315 1.84153C2.6219 2.5691 1.6127 4.00992 1.44289 5.65383L1.41286 5.94453C1.31583 6.88392 1.30775 7.8303 1.38874 8.77119L1.41404 9.06512C1.46297 9.63356 1.48744 9.91778 1.53452 10.1865C1.79034 11.6464 2.55896 12.9684 3.70333 13.9169C3.91393 14.0914 4.14941 14.2542 4.62022 14.5798L4.77067 14.6838C5.41077 15.1265 5.73085 15.3478 6.05162 15.5016C7.2829 16.0919 8.71742 16.0919 9.9487 15.5016C10.2695 15.3478 10.5895 15.1265 11.2297 14.6838Z" class="icon_main" stroke-width="1.5"/><path d="M14.5863 9.06512L14.6116 8.77119C14.6926 7.8303 14.6845 6.88392 14.5875 5.94453L14.5574 5.65383C14.3876 4.00992 13.3784 2.5691 11.8872 1.84153C9.43529 0.645272 6.56504 0.645272 4.11315 1.84153C2.6219 2.5691 1.6127 4.00992 1.44289 5.65383L1.41286 5.94453C1.31583 6.88392 1.30775 7.8303 1.38874 8.77119L1.41404 9.06512C1.46297 9.63356 1.48744 9.91778 1.53452 10.1865C1.79034 11.6464 2.55896 12.9684 3.70333 13.9169C3.91393 14.0914 4.14941 14.2542 4.62022 14.5798L4.77067 14.6838C5.41077 15.1265 5.73085 15.3478 6.05162 15.5016" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/><path d="M9.47313 6.97168L6.52686 9.91796M9.47313 9.91796L6.52686 6.97168" class="icon_main" stroke-width="1.5" stroke-linecap="round"/></svg>
<div>
<b><?php echo $wo['lang']['unreport'];?></b>
<p><?php echo $wo['lang']['unreport_tx'];?></p>
</div>
</a>
</li>
<?php } ?>
<?php if($IsOwnerUser === false && $wo['loggedin'] == true && $wo['config']['poke_system'] == 1) { ?>
<?php //if( !Wo_IsPoked( $wo['user_profile']['user_id'] , $wo['user']['user_id'] ) ) { ?>
<li id="pokebutton" onclick="Wo_RegisterPoke(<?php echo $wo['user_profile']['user_id'];?>,<?php echo $wo['user']['user_id'];?>)">
<a class="menu-item">
<svg width="20" height="19" viewBox="0 0 20 19" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.2883 16.3999C11.7928 16.3999 12.2105 15.7789 12.5296 14.5541C12.5688 14.4034 12.4988 14.243 12.3731 14.1957C12.2472 14.1486 12.1136 14.2325 12.0743 14.3834C11.7251 15.7234 11.3845 15.8274 11.2884 15.8274H9.61881C9.48704 15.8274 9.38037 15.9557 9.38037 16.1136C9.38037 16.2715 9.48717 16.3997 9.61881 16.3997H11.2883V16.3999Z" class="icon_main_fill"/><path d="M14.5574 12.6815C14.8738 12.211 15.0255 11.7066 15.0062 11.1871C14.9868 10.615 14.7673 10.167 14.5865 9.89226C15.0062 10.0616 21.8616 10.1445 19.5102 7.64434C18.9968 7.09854 12.7914 6.78687 11.5839 6.85462C10.7348 6.89979 10.0246 7.08424 9.9955 7.09176H9.99227C9.83084 7.12564 9.65973 7.16705 9.48539 7.21221C9.47248 6.97131 9.50799 6.37282 9.88896 5.02526C10.341 3.42175 10.3151 2.19465 9.80502 1.37407C9.26908 0.51209 8.41352 0.444336 8.1617 0.444336C7.91956 0.444336 7.69679 0.561024 7.53859 0.775578C7.18023 1.26115 7.2222 2.15701 7.2674 2.57106C6.84123 3.90356 5.64668 7.17081 4.63616 8.07796C4.61678 8.09302 4.60064 8.11184 4.5845 8.13066C4.28747 8.49578 4.08731 8.89101 3.95171 9.23731C3.76123 9.11686 3.54491 9.0491 3.31246 9.0491H1.34306C0.600505 9.0491 0 9.75299 0 10.615V16.7317C0 17.5974 0.603733 18.2975 1.34306 18.2975H3.31246C3.5998 18.2975 3.86777 18.1921 4.08731 18.0115L4.84601 18.1169C4.96224 18.1357 7.02849 18.4406 9.14963 18.3916C9.53382 18.4255 9.89542 18.4443 10.2312 18.4443C10.8091 18.4443 11.3127 18.3916 11.7324 18.2862C12.7204 18.0416 13.3951 17.5522 13.7374 16.8333C13.9989 16.2837 13.9989 15.7379 13.9569 15.3916C14.5994 14.7141 14.7124 13.965 14.6898 13.4381C14.6769 13.1332 14.6187 12.8734 14.5574 12.6815ZM1.34306 17.2812C1.08155 17.2812 0.8717 17.0328 0.8717 16.7317V10.6112C0.8717 10.3063 1.08478 10.0616 1.34306 10.0616H3.31246C3.57397 10.0616 3.78383 10.3101 3.78383 10.6112V16.7279C3.78383 17.0328 3.57074 17.2775 3.31246 17.2775H1.34306V17.2812ZM13.7309 12.2411C13.5953 12.4067 13.5695 12.6589 13.6728 12.8546C13.6728 12.8584 13.8052 13.1219 13.8213 13.4832C13.8439 13.9763 13.6405 14.413 13.2143 14.7856C13.0626 14.9211 13.0013 15.1545 13.0658 15.3653C13.0658 15.3691 13.2046 15.8659 12.9787 16.3364C12.7623 16.7881 12.2813 17.1118 11.5516 17.2925C10.9673 17.4393 10.1731 17.4657 9.19805 17.3753C9.18514 17.3753 9.169 17.3753 9.15285 17.3753C7.07692 17.428 4.97838 17.1118 4.95578 17.1081H4.95255L4.62647 17.0629C4.64584 16.9575 4.65553 16.8446 4.65553 16.7317V10.6112C4.65553 10.4494 4.63293 10.2913 4.59418 10.1445C4.6523 9.89227 4.81372 9.33141 5.19469 8.85337C6.64429 7.51334 8.06161 2.99264 8.12296 2.79691C8.14878 2.71786 8.15524 2.63129 8.14233 2.54471C8.08744 2.12313 8.10681 1.60745 8.1843 1.45312C8.35541 1.45688 8.81709 1.51334 9.09474 1.96127C9.42405 2.49201 9.41114 3.44057 9.056 4.69779C8.51361 6.61372 8.46841 7.6225 8.8978 8.06667C9.11088 8.28875 9.39499 8.30004 9.60162 8.21347C9.79856 8.16077 9.98581 8.1156 10.1634 8.08173C10.1763 8.07796 10.1924 8.0742 10.2054 8.07043C11.1965 7.81824 18.1431 7.4757 18.7598 8.13066C18.9933 10.1256 12.7566 8.3334 13.6986 9.69277C13.5792 9.90356 13.6147 10.1783 13.7761 10.3477C13.7793 10.3515 14.1183 10.7241 14.1345 11.2248C14.1474 11.5598 14.0118 11.9023 13.7309 12.2411Z" fill="currentColor"/></svg>
<div>
<b><?php echo $wo['lang']['poke_user'];?></b>
<p><?php echo $wo['lang']['poke_user_tx'];?></p>
</div>
</a>
</li>
<?php //} ?>
<?php } ?>
<?php if($IsOwnerUser === false && $wo['loggedin'] == true && !Wo_IsFamilyMemberExists($wo['user']['id'],$wo['user_profile']['id'],false) && $wo['config']['website_mode'] != 'instagram') { ?>
<li id="open_add_to_family_modal">
<a class="menu-item" onclick="$('#add_to_family').modal('show');">
<svg width="15" height="13" viewBox="0 0 15 13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 11.367C1 9.99053 1.97798 8.81803 3.30709 8.6011L3.42681 8.58155C4.49109 8.40784 5.57558 8.40784 6.63986 8.58155L6.75958 8.6011C8.08868 8.81803 9.06667 9.99053 9.06667 11.367C9.06667 11.962 8.59507 12.4443 8.01332 12.4443H2.05335C1.4716 12.4443 1 11.962 1 11.367Z" stroke="currentColor"/><path d="M7.38611 3.85059C7.38611 5.17952 6.33274 6.25684 5.03333 6.25684C3.73393 6.25684 2.68056 5.17952 2.68056 3.85059C2.68056 2.52165 3.73393 1.44434 5.03333 1.44434C6.33274 1.44434 7.38611 2.52165 7.38611 3.85059Z" stroke="currentColor"/><path d="M9.06641 6.25684C10.7202 6.25684 12.0609 5.17952 12.0609 3.85059C12.0609 2.52165 10.7202 1.44434 9.06641 1.44434M11.1111 12.4443H12.8591C13.5995 12.4443 14.1997 11.962 14.1997 11.367C14.1997 9.99053 12.955 8.81803 11.2634 8.6011L11.1111 8.58155C10.7006 8.58155 10.676 8.58155 10.1283 8.58155" class="icon_main" stroke-linecap="round"/></svg>
<div>
<b><?php echo $wo['lang']['add_to_family'];?></b>
<p><?php echo $wo['lang']['add_to_family_tx'];?></p>
</div>
</a>
</li>
<?php } ?>
<?php if($wo['loggedin'] == true && $IsOwner) { ?>
<li id="open_add_to_family_modal">
<a class="menu-item" href="<?php echo Wo_SeoLink('index.php?link1=setting&user=' . $wo['user_profile']['username'] . '&page=general-setting') ?>">
<svg width="17" height="19" viewBox="0 0 17 19" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 6.77964C11.182 7.38565 8.7579 4.9616 9.36392 3.14355M10.1109 2.39661L6.19403 6.31344C4.49123 8.01624 3.28322 10.1498 2.69917 12.486L2.50991 13.2431C2.45094 13.479 2.6646 13.6926 2.90049 13.6336L3.65752 13.4444C5.99375 12.8603 8.12732 11.6523 9.83012 9.94952L13.7469 6.0327C14.2291 5.55052 14.5 4.89655 14.5 4.21465C14.5 2.79468 13.3489 1.64355 11.9289 1.64355C11.247 1.64355 10.593 1.91444 10.1109 2.39661Z" stroke="currentColor" stroke-width="1.5"></path><path d="M10.1109 2.39661C10.5931 1.91444 11.247 1.64355 11.9289 1.64355C13.3489 1.64355 14.5 2.79468 14.5 4.21465C14.5 4.89655 14.2292 5.55052 13.747 6.0327L13 6.77964C11.182 7.38565 8.75794 4.9616 9.36395 3.14355L10.1109 2.39661Z" class="icon_main" stroke-width="1.5"></path><path d="M15.5 17.6436H1.5" class="icon_main" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>
<div>
<b><?php echo $wo['lang']['edit'];?></b>
<p><?php echo $wo['lang']['edit_tx'];?></p>
</div>
</a>
</li>
<?php } ?>
</ul>
</div>
<?php } ?>
<?php } ?>
</div>
<?php } ?>
</div>
</div>
<?php if ($wo['user_profile']['banned'] != 1) { ?>
<div class="user-bottom-nav">
<ul>
<li>
<a href="<?php echo Wo_SeoLink('index.php?link1=timeline&u=' . $wo['user_profile']['username'] . '');?>" data-ajax="?link1=timeline&u=<?php echo $wo['user_profile']['username'];?>">
<span class="split-link"><svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1.68687 7.06852C2.31315 4.39862 4.39783 2.31394 7.06773 1.68767C8.9959 1.23538 11.0026 1.23538 12.9307 1.68767C15.6006 2.31394 17.6853 4.39862 18.3116 7.06852C18.7639 8.99669 18.7639 11.0034 18.3116 12.9315C17.6853 15.6014 15.6006 17.6861 12.9307 18.3124C11.0026 18.7647 8.9959 18.7647 7.06773 18.3124C4.39783 17.6861 2.31315 15.6014 1.68687 12.9315C1.23458 11.0034 1.23458 8.99669 1.68687 7.06852Z" stroke="currentColor" stroke-width="1.5"/>
<path d="M7 7H11M7 13H10M7 10H13" class="icon_main" stroke-width="1.5" stroke-linecap="round"/>
</svg>
</span>
<span><?php echo $wo['lang']['timeline'];?></span>
</a>
</li>
<?php if ($wo['config']['groups'] == 1) {?>
<li>
<a href="<?php echo Wo_SeoLink('index.php?link1=timeline&u=' . $wo['user_profile']['username'] . '&type=groups');?>" data-ajax="?link1=timeline&u=<?php echo $wo['user_profile']['username']?>&type=groups">
<span class="split-link"><svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10 1C8.97667 1 7.95334 1.11763 6.95043 1.35288C4.17301 2.00437 2.00437 4.17301 1.35288 6.95043C0.882374 8.95626 0.882374 11.0437 1.35288 13.0496C2.00437 15.827 4.17301 17.9956 6.95044 18.6471C8.95626 19.1176 11.0437 19.1176 13.0496 18.6471C15.827 17.9956 17.9956 15.827 18.6471 13.0496C18.8824 12.0466 19 11.0233 19 9.99997" class="icon_main" stroke-width="1.5" stroke-linecap="round"/>
<path d="M1.35288 13.0496C0.882374 11.0437 0.882374 8.95626 1.35288 6.95043C2.00437 4.17301 4.17301 2.00437 6.95043 1.35288C7.95334 1.11763 8.97667 1 10 1M6.95044 18.6471C8.95626 19.1176 11.0437 19.1176 13.0496 18.6471C15.827 17.9956 17.9956 15.827 18.6471 13.0496C18.8824 12.0466 19 11.0233 19 9.99997" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
<path d="M19 4.5C19 5.88071 17.8807 7 16.5 7C15.1193 7 14 5.88071 14 4.5C14 3.11929 15.1193 2 16.5 2C17.8807 2 19 3.11929 19 4.5Z" class="icon_main" stroke-width="1.5"/>
</svg>
</span>
<span><?php echo $wo['lang']['groups'];?></span>
</a>
</li>
<?php } ?>
<?php if ($wo['config']['pages'] == 1) {?>
<li>
<a href="<?php echo Wo_SeoLink('index.php?link1=timeline&u=' . $wo['user_profile']['username'] . '&type=likes');?>" data-ajax="?link1=timeline&u=<?php echo $wo['user_profile']['username']?>&type=likes">
<span class="split-link"><svg width="20" height="18" viewBox="0 0 20 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1.98389 8.61057L7.11798 15.5107C8.59549 17.4964 11.4045 17.4964 12.882 15.5107L18.0161 8.61058C19.328 6.84746 19.328 4.34218 18.0161 2.57906C16.0957 -0.00189845 11.6571 0.764647 10 3.54855C8.34289 0.764647 3.90428 -0.00189818 1.9839 2.57906C0.672036 4.34218 0.672033 6.84746 1.98389 8.61057Z" class="icon_main" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M18.0161 8.61058L12.882 15.5107C11.4045 17.4964 8.59549 17.4964 7.11798 15.5107L1.98389 8.61057C0.672033 6.84746 0.672036 4.34218 1.9839 2.57906C3.90428 -0.00189829 8.34289 0.764647 10 3.54855" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</span>
<span><?php echo $wo['lang']['likes'];?></span>
</a>
</li>
<?php } ?>
<?php if ($wo['config']['connectivitySystem'] == 1) {?>
<li>
<a href="<?php echo Wo_SeoLink('index.php?link1=timeline&u=' . $wo['user_profile']['username'] . '&type=followers');?>" data-ajax="?link1=timeline&u=<?php echo $wo['user_profile']['username']?>&type=followers">
<span class="split-link"><svg width="20" height="17" viewBox="0 0 20 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1 14.531C1 12.6539 2.33361 11.055 4.14603 10.7592L4.30929 10.7326C5.76058 10.4957 7.23942 10.4957 8.69071 10.7326L8.85397 10.7592C10.6664 11.055 12 12.6539 12 14.531C12 15.3423 11.3569 16 10.5636 16H2.43639C1.64309 16 1 15.3423 1 14.531Z" stroke="currentColor" stroke-width="1.5"/>
<path d="M9.70833 4.28125C9.70833 6.09343 8.27191 7.5625 6.5 7.5625C4.72809 7.5625 3.29167 6.09343 3.29167 4.28125C3.29167 2.46907 4.72809 1 6.5 1C8.27191 1 9.70833 2.46907 9.70833 4.28125Z" stroke="currentColor" stroke-width="1.5"/>
<path d="M12 7.5625C14.2552 7.5625 16.0833 6.09343 16.0833 4.28125C16.0833 2.46907 14.2552 1 12 1M14.7882 16H17.1719C18.1815 16 19 15.3423 19 14.531C19 12.6539 17.3027 11.055 14.996 10.7592L14.7882 10.7326C14.2285 10.7326 14.195 10.7326 13.448 10.7326" class="icon_main" stroke-width="1.5" stroke-linecap="round"/>
</svg>
</span>
<span><?php echo $wo['lang']['friends_btn'];?></span>
</a>
</li>
<?php } ?>
<?php if ($wo['config']['connectivitySystem'] == 0) {?>
<li>
<a href="<?php echo Wo_SeoLink('index.php?link1=timeline&u=' . $wo['user_profile']['username'] . '&type=following');?>" data-ajax="?link1=timeline&u=<?php echo $wo['user_profile']['username']?>&type=following">
<span class="split-link"><svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19 10H15M17 12L17 8" class="icon_main" stroke-width="1.5" stroke-linecap="round"/>
<path d="M1 17.1115C1 14.6984 2.69732 12.643 5.00404 12.2627L5.21182 12.2284C7.05892 11.9239 8.94108 11.9239 10.7882 12.2284L10.996 12.2627C13.3027 12.643 15 14.6984 15 17.1115C15 18.1545 14.1815 19 13.1719 19H2.82813C1.81848 19 1 18.1545 1 17.1115Z" stroke="currentColor" stroke-width="1.5"/>
<path d="M12.0827 4.9375C12.0827 7.11212 10.2545 8.875 7.99935 8.875C5.74419 8.875 3.91602 7.11212 3.91602 4.9375C3.91602 2.76288 5.74419 1 7.99935 1C10.2545 1 12.0827 2.76288 12.0827 4.9375Z" class="icon_main" stroke-width="1.5"/>
</svg>
</span>
<span><?php echo $wo['lang']['following'];?></span>
</a>
</li>
<li>
<a href="<?php echo Wo_SeoLink('index.php?link1=timeline&u=' . $wo['user_profile']['username'] . '&type=followers');?>" data-ajax="?link1=timeline&u=<?php echo $wo['user_profile']['username']?>&type=followers">
<span class="split-link"><svg width="20" height="17" viewBox="0 0 20 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1 14.531C1 12.6539 2.33361 11.055 4.14603 10.7592L4.30929 10.7326C5.76058 10.4957 7.23942 10.4957 8.69071 10.7326L8.85397 10.7592C10.6664 11.055 12 12.6539 12 14.531C12 15.3423 11.3569 16 10.5636 16H2.43639C1.64309 16 1 15.3423 1 14.531Z" stroke="currentColor" stroke-width="1.5"/>
<path d="M9.70833 4.28125C9.70833 6.09343 8.27191 7.5625 6.5 7.5625C4.72809 7.5625 3.29167 6.09343 3.29167 4.28125C3.29167 2.46907 4.72809 1 6.5 1C8.27191 1 9.70833 2.46907 9.70833 4.28125Z" stroke="currentColor" stroke-width="1.5"/>
<path d="M12 7.5625C14.2552 7.5625 16.0833 6.09343 16.0833 4.28125C16.0833 2.46907 14.2552 1 12 1M14.7882 16H17.1719C18.1815 16 19 15.3423 19 14.531C19 12.6539 17.3027 11.055 14.996 10.7592L14.7882 10.7326C14.2285 10.7326 14.195 10.7326 13.448 10.7326" class="icon_main" stroke-width="1.5" stroke-linecap="round"/>
</svg>
</span>
<span><?php echo $wo['lang']['followers'];?></span>
</a>
</li>
<?php } ?>
<li>
<a href="<?php echo Wo_SeoLink('index.php?link1=timeline&u=' . $wo['user_profile']['username'] . '&type=photos');?>" data-ajax="?link1=timeline&u=<?php echo $wo['user_profile']['username']?>&type=photos">
<span class="split-link"><svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="11" y="5" width="4" height="4" rx="2" class="icon_main" stroke-width="1.5"/>
<path d="M2.71809 15.2014L4.45698 13.4625C6.08199 11.8375 8.71665 11.8375 10.3417 13.4625L12.0805 15.2014M12.0805 15.2014L12.7849 14.497C14.0825 13.1994 16.2143 13.2961 17.3891 14.7059L17.802 15.2014M12.0805 15.2014L14.6812 17.802M1.35288 13.0496C0.882374 11.0437 0.882374 8.95626 1.35288 6.95043C2.00437 4.17301 4.17301 2.00437 6.95043 1.35288C8.95626 0.882375 11.0437 0.882374 13.0496 1.35288C15.827 2.00437 17.9956 4.17301 18.6471 6.95044C19.1176 8.95626 19.1176 11.0437 18.6471 13.0496C17.9956 15.827 15.827 17.9956 13.0496 18.6471C11.0437 19.1176 8.95626 19.1176 6.95044 18.6471C4.17301 17.9956 2.00437 15.827 1.35288 13.0496Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</span>
<span><?php echo $wo['lang']['photos'];?></span>
</a>
</li>
<?php if ($wo['config']['video_upload'] == 1) { ?>
<li>
<a href="<?php echo Wo_SeoLink('index.php?link1=timeline&u=' . $wo['user_profile']['username'] . '&type=videos');?>" data-ajax="?link1=timeline&u=<?php echo $wo['user_profile']['username']?>&type=videos">
<span class="split-link"><svg width="24" height="16" viewBox="0 0 24 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7 4H3" class="icon_main" stroke-width="1.5" stroke-linecap="round"/>
<path d="M7 12L4 12" class="icon_main" stroke-width="1.5" stroke-linecap="round"/>
<path d="M5 8H1" class="icon_main" stroke-width="1.5" stroke-linecap="round"/>
<path d="M18 8.75C18.4142 8.75 18.75 8.41421 18.75 8C18.75 7.58579 18.4142 7.25 18 7.25V8.75ZM13 8.75H18V7.25H13V8.75Z" class="icon_main_fill"/>
<path d="M21.5392 5.64505L12.8369 1.288C10.7427 0.23952 8.41866 2.22704 9.13127 4.45698L10.1705 7.70896C10.2339 7.90733 10.2338 8.12053 10.1702 8.31882L9.13677 11.5403C8.42185 13.7689 10.7426 15.7589 12.8379 14.7138L21.5356 10.3756C23.4865 9.40256 23.4886 6.62109 21.5392 5.64505Z" stroke="currentColor" stroke-width="1.5"/>
</svg>
</span>
<span><?php echo $wo['lang']['videos'];?></span>
</a>
</li>
<?php } ?>
<?php if($wo['config']['reels_upload']) {?>
<li>
<a href="<?php echo Wo_SeoLink('index.php?link1=timeline&u=' . $wo['user_profile']['username'] . '&type=reels');?>" data-ajax="?link1=timeline&u=<?php echo $wo['user_profile']['username']?>&type=reels">
<span class="split-link"><svg width="24" height="19" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 6.99988H21.5M16.3 2.49988L19 6.99988M10.5 1.99988L13.5 6.99988M5.5 2.49988L8 6.99988M7.5 16.9999C7.5 17.276 7.27614 17.4999 7 17.4999C6.72386 17.4999 6.5 17.276 6.5 16.9999M7.5 16.9999C7.5 16.7237 7.27614 16.4999 7 16.4999C6.72386 16.4999 6.5 16.7237 6.5 16.9999M7.5 16.9999H6.5" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"></path><rect x="2" y="2" width="20" height="20" rx="5" class="icon_main" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"></rect></svg></span>
<span><?php echo $wo['lang']['reels'];?></span>
</a>
</li>
<?php } ?>
</ul>
</div>
<?php } ?>
</div>
<?php if ($wo['user_profile']['banned'] != 1) { ?>
<!-- Profile Percentage System -->
<?php if ($IsOwnerUser === true && array_sum($wo['pr_complition']) < 100): ?>
<?php echo Wo_LoadPage('timeline/profile-completion'); ?>
<?php endif; ?>
<div class="col-md-8">
<?php
if (isset($_GET['type'])) {
if ($_GET['type'] == 'activities' && $IsOwner) {
echo Wo_LoadPage('timeline/activities');
} else if ($_GET['type'] == 'mutual_friends') {
?>
<div class="page-margin wow_content mt-0">
<div class="wo_page_hdng pag_neg_padd pag_alone">
<div class="wo_page_hdng_innr">
<span><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z"></path></svg></span> <?php echo $wo['lang']['mutual_friends']; ?>
</div>
</div>
</div>
<div class="list-group profile-lists">
<div id="following-list" class="row" style="margin: 0;">
<?php
if (Wo_CountMutualFriends($wo['user_profile']['user_id']) == 0) {
echo '<div class="empty_state"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z" fill="currentColor"></path></svg>' . $wo['lang']['no_mutual_friends'] . '</div>';
} else {
foreach (Wo_GetMutualFriends($wo['user_profile']['user_id'],'profile', 100) as $wo['UsersList']) {
echo Wo_LoadPage('timeline/follow-list');
}
}
?>
</div>
<div class="clear"></div>
</div>
<?php } else if ($_GET['type'] == 'following') {
?>
<div class="page-margin mt-0">
<div class="wow_content popular_posts_hdr">
<h2><svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19 10H15M17 12L17 8" class="icon_main" stroke-width="1.5" stroke-linecap="round"></path>
<path d="M1 17.1115C1 14.6984 2.69732 12.643 5.00404 12.2627L5.21182 12.2284C7.05892 11.9239 8.94108 11.9239 10.7882 12.2284L10.996 12.2627C13.3027 12.643 15 14.6984 15 17.1115C15 18.1545 14.1815 19 13.1719 19H2.82813C1.81848 19 1 18.1545 1 17.1115Z" stroke="currentColor" stroke-width="1.5"></path>
<path d="M12.0827 4.9375C12.0827 7.11212 10.2545 8.875 7.99935 8.875C5.74419 8.875 3.91602 7.11212 3.91602 4.9375C3.91602 2.76288 5.74419 1 7.99935 1C10.2545 1 12.0827 2.76288 12.0827 4.9375Z" class="icon_main" stroke-width="1.5"></path>
</svg> <?php echo $wo['lang']['following']; ?>
<?php if ($wo['config']['website_mode'] != 'instagram') { ?>
<a class="btn btn-sm btn-default btn-mat btn_fam_members" href="<?php echo Wo_SeoLink('index.php?link1=timeline&u=' . $wo['user_profile']['username'] . '&type=family_list');?>" data-ajax="?link1=timeline&u=<?php echo $wo['user_profile']['username']?>&type=family_list"><?php echo $wo['lang']['family_members']; ?></a>
<?php } ?></h2>
</div>
</div>
<div class="">
<div id="following-list" class="row cool-style-album-row profile_groups">
<?php
if (Wo_FriendPrivacy($wo['user_profile']['id'],$wo['user_profile']['friend_privacy'])) {
if (Wo_CountFollowing($wo['user_profile']['user_id']) == 0) {
echo '<div class="empty_state"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M15,14C12.33,14 7,15.33 7,18V20H23V18C23,15.33 17.67,14 15,14M6,10V7H4V10H1V12H4V15H6V12H9V10M15,12A4,4 0 0,0 19,8A4,4 0 0,0 15,4A4,4 0 0,0 11,8A4,4 0 0,0 15,12Z" fill="currentColor"></path></svg>' . $wo['lang']['not_following'] . '</div>';
} else {
foreach (Wo_GetFollowing($wo['user_profile']['user_id'], 'profile', 100) as $wo['UsersList']) {
echo Wo_LoadPage('timeline/follow-list');
}
}
}
?>
</div>
<div class="clear"></div>
</div>
<?php if (Wo_CountFollowing($wo['user_profile']['user_id']) > 10) { ?>
<div class="load-more">
<button class="btn btn-default text-center pointer" onclick="Wo_GetMoreFollowing(<?php echo $wo['user_profile']['user_id'];?>);">
<i class="fa fa-arrow-down progress-icon" data-icon="arrow-down"></i> <?php echo $wo['lang']['load_more_users']; ?></button>
</div>
<?php } ?>
<?php } else if ($_GET['type'] == 'followers') { ?>
<div class="page-margin mt-0">
<div class="wow_content popular_posts_hdr">
<h2><svg width="20" height="17" viewBox="0 0 20 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1 14.531C1 12.6539 2.33361 11.055 4.14603 10.7592L4.30929 10.7326C5.76058 10.4957 7.23942 10.4957 8.69071 10.7326L8.85397 10.7592C10.6664 11.055 12 12.6539 12 14.531C12 15.3423 11.3569 16 10.5636 16H2.43639C1.64309 16 1 15.3423 1 14.531Z" stroke="currentColor" stroke-width="1.5"></path>
<path d="M9.70833 4.28125C9.70833 6.09343 8.27191 7.5625 6.5 7.5625C4.72809 7.5625 3.29167 6.09343 3.29167 4.28125C3.29167 2.46907 4.72809 1 6.5 1C8.27191 1 9.70833 2.46907 9.70833 4.28125Z" stroke="currentColor" stroke-width="1.5"></path>
<path d="M12 7.5625C14.2552 7.5625 16.0833 6.09343 16.0833 4.28125C16.0833 2.46907 14.2552 1 12 1M14.7882 16H17.1719C18.1815 16 19 15.3423 19 14.531C19 12.6539 17.3027 11.055 14.996 10.7592L14.7882 10.7326C14.2285 10.7326 14.195 10.7326 13.448 10.7326" class="icon_main" stroke-width="1.5" stroke-linecap="round"></path>
</svg> <?php
if ($wo['config']['connectivitySystem'] == 1) {
echo $wo['lang']['friends_btn'];
} else {
echo $wo['lang']['followers'];
}
?>
<?php if ($wo['config']['website_mode'] != 'instagram') { ?>
<a class="btn btn-sm btn-default btn-mat btn_fam_members" href="<?php echo Wo_SeoLink('index.php?link1=timeline&u=' . $wo['user_profile']['username'] . '&type=family_list');?>" data-ajax="?link1=timeline&u=<?php echo $wo['user_profile']['username']?>&type=family_list"><?php echo $wo['lang']['family_members']; ?></a>
<?php } ?></h2>
</div>
</div>
<div class="">
<div id="followers-list" class="row cool-style-album-row profile_groups">
<?php
if (Wo_FriendPrivacy($wo['user_profile']['id'],$wo['user_profile']['friend_privacy'])) {
if (Wo_CountFollowers($wo['user_profile']['user_id']) == 0) {
if ($wo['config']['connectivitySystem'] == 1) {
echo '<div class="empty_state"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z" fill="currentColor"></path></svg>' . $wo['lang']['no_friends'] . '</div>';
} else {
echo '<div class="empty_state"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z" fill="currentColor"></path></svg>' . $wo['lang']['no_followers'] . '</div>';
}
} else {
foreach (Wo_GetFollowers($wo['user_profile']['user_id'],'profile',100) as $wo['UsersList']) {
echo Wo_LoadPage('timeline/follow-list');
}
}
}
?>
</div>
<div class="clear"></div>
</div>
<?php if (Wo_CountFollowers($wo['user_profile']['user_id']) > 10) { ?>
<div class="load-more">
<button class="btn btn-default text-center pointer" onclick="Wo_GetMoreFollowers(<?php echo $wo['user_profile']['user_id'];?>);">
<i class="fa fa-arrow-down progress-icon" data-icon="arrow-down"></i> <?php echo $wo['lang']['load_more_users']; ?></button>
</div>
<?php } ?>
<?php } else if ($_GET['type'] == 'videos') { ?>
<div class="page-margin mt-0">
<div class="wow_content popular_posts_hdr">
<h2><svg width="24" height="16" viewBox="0 0 24 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7 4H3" class="icon_main" stroke-width="1.5" stroke-linecap="round"></path>
<path d="M7 12L4 12" class="icon_main" stroke-width="1.5" stroke-linecap="round"></path>
<path d="M5 8H1" class="icon_main" stroke-width="1.5" stroke-linecap="round"></path>
<path d="M18 8.75C18.4142 8.75 18.75 8.41421 18.75 8C18.75 7.58579 18.4142 7.25 18 7.25V8.75ZM13 8.75H18V7.25H13V8.75Z" class="icon_main_fill"></path>
<path d="M21.5392 5.64505L12.8369 1.288C10.7427 0.23952 8.41866 2.22704 9.13127 4.45698L10.1705 7.70896C10.2339 7.90733 10.2338 8.12053 10.1702 8.31882L9.13677 11.5403C8.42185 13.7689 10.7426 15.7589 12.8379 14.7138L21.5356 10.3756C23.4865 9.40256 23.4886 6.62109 21.5392 5.64505Z" stroke="currentColor" stroke-width="1.5"></path>
</svg> <?php echo $wo['lang']['videos']; ?>
</h2>
</div>
</div>
<div class="list-group profile-lists">
<div id="videos-list" class="user_media_list_section">
<?php
$video_stories = Wo_GetPosts(array('filter_by' => 'video','limit' => 50, 'publisher_id' => $wo['user_profile']['user_id'], 'is_reel' => $wo['config']['reels_upload'] != 1 ? 'all' : 'disable'));
if (count($video_stories) == 0) {
echo '<div class="empty_state"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M17,10.5V7A1,1 0 0,0 16,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16A1,1 0 0,0 17,17V13.5L21,17.5V6.5L17,10.5Z" fill="currentColor"></path></svg>' . $wo['lang']['no_posts_found'] . '</div>';
} else {
foreach ($video_stories as $wo['story']) {
if(isset($wo['story']['postFile']) && !empty($wo['story']['postFile'])){
?>
<div class="text-center video-data" data-video-id="<?php echo $wo['story']['post_id'];?>">
<a href="<?php echo $wo['story']['url'];?>" target="_blank">
<video><source src="<?php echo Wo_GetMedia($wo['story']['postFile']);?>" type="video/mp4"></video>
</a>
</div>
<?php
}
}
}
?>
</div>
<div class="clear"></div>
</div>
<?php if (count($video_stories) > 1) { ?>
<div class="load-more">
<button class="btn btn-default text-center pointer" onclick="Wo_GetMoreVideos(<?php echo $wo['user_profile']['user_id'];?>);">
<i class="fa fa-arrow-down progress-icon" data-icon="arrow-down"></i> <?php echo $wo['lang']['load_more_videos']; ?></button>
</div>
<?php } ?>
<?php } else if ($_GET['type'] == 'reels') { ?>
<div class="page-margin mt-0">
<div class="wow_content popular_posts_hdr">
<h2><svg width="24" height="19" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 6.99988H21.5M16.3 2.49988L19 6.99988M10.5 1.99988L13.5 6.99988M5.5 2.49988L8 6.99988M7.5 16.9999C7.5 17.276 7.27614 17.4999 7 17.4999C6.72386 17.4999 6.5 17.276 6.5 16.9999M7.5 16.9999C7.5 16.7237 7.27614 16.4999 7 16.4999C6.72386 16.4999 6.5 16.7237 6.5 16.9999M7.5 16.9999H6.5" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"></path><rect x="2" y="2" width="20" height="20" rx="5" class="icon_main" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"></rect></svg>
<?php echo $wo['lang']['reels']; ?>
</h2>
</div>
</div>
<div class="list-group profile-lists">
<div id="reels-videos-list" class="user_media_list_section reels">
<?php
$video_stories = Wo_GetPosts(array('filter_by' => 'video','limit' => 50, 'publisher_id' => $wo['user_profile']['user_id'],'is_reel' => 'only'));
if (count($video_stories) == 0) {
echo '<div class="empty_state"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M17,10.5V7A1,1 0 0,0 16,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16A1,1 0 0,0 17,17V13.5L21,17.5V6.5L17,10.5Z" fill="currentColor"></path></svg>' . $wo['lang']['no_posts_found'] . '</div>';
} else {
foreach ($video_stories as $wo['story']) {
if(isset($wo['story']['postFile']) && !empty($wo['story']['postFile'])){
?>
<div class="text-center video-data" data-reels-video-id="<?php echo $wo['story']['post_id'];?>">
<a href="<?php echo Wo_SeoLink('index.php?link1=reels&id=' . $wo['story']['post_id'] . '&user=' . $wo['user_profile']['username'] );?>"
data-ajax="?link1=reels&id=<?php echo $wo['story']['post_id']?>&user=<?php echo $wo['user_profile']['username']?> ">
<video><source src="<?php echo Wo_GetMedia($wo['story']['postFile']);?>" type="video/mp4"></video>
<div class="profile_reel_views">
<svg xmlns="http://www.w3.org/2000/svg" class="feather-thumbs-down" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"></path></svg>
<p id="video-views-count-<?php echo $wo['story']['id'];?>"><?php echo $wo['story']['videoViews'] ?></p>
</div>
</a>
</div>
<?php
}
}
}
?>
</div>
<div class="clear"></div>
</div>
<?php if (count($video_stories) > 1) { ?>
<div class="load-more">
<button class="btn btn-default text-center pointer" onclick="Wo_GetMoreReelsVideos(<?php echo $wo['user_profile']['user_id'];?>);">
<i class="fa fa-arrow-down progress-icon" data-icon="arrow-down"></i> <?php echo $wo['lang']['load_more_videos']; ?></button>
</div>
<?php } ?>
<?php } else if ($_GET['type'] == 'photos') { ?>
<div class="page-margin mt-0">
<div class="wow_content popular_posts_hdr">
<img src="<?php echo $wo['config']['theme_url'];?>/img/photos.png" class="bg_trail">
<h2><svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="11" y="5" width="4" height="4" rx="2" class="icon_main" stroke-width="1.5"></rect><path d="M2.71809 15.2014L4.45698 13.4625C6.08199 11.8375 8.71665 11.8375 10.3417 13.4625L12.0805 15.2014M12.0805 15.2014L12.7849 14.497C14.0825 13.1994 16.2143 13.2961 17.3891 14.7059L17.802 15.2014M12.0805 15.2014L14.6812 17.802M1.35288 13.0496C0.882374 11.0437 0.882374 8.95626 1.35288 6.95043C2.00437 4.17301 4.17301 2.00437 6.95043 1.35288C8.95626 0.882375 11.0437 0.882374 13.0496 1.35288C15.827 2.00437 17.9956 4.17301 18.6471 6.95044C19.1176 8.95626 19.1176 11.0437 18.6471 13.0496C17.9956 15.827 15.827 17.9956 13.0496 18.6471C11.0437 19.1176 8.95626 19.1176 6.95044 18.6471C4.17301 17.9956 2.00437 15.827 1.35288 13.0496Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg> <?php echo $wo['lang']['photos']; ?></h2>
</div>
</div>
<div class="list-group profile-lists">
<div id="photos-list" class="user_media_list_section">
<?php
$photo_stories = Wo_GetPosts(array('filter_by' => 'photos','limit' => 10, 'publisher_id' => $wo['user_profile']['user_id']));
if (count($photo_stories) == 0) {
echo '<div class="empty_state"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M8.5,13.5L11,16.5L14.5,12L19,18H5M21,19V5C21,3.89 20.1,3 19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19Z" fill="currentColor"></path></svg>' . $wo['lang']['no_posts_found'] . '</div>';
} else {
foreach ($photo_stories as $wo['story']) {
if(isset($wo['story']['postFile']) && !empty($wo['story']['postFile'])){
?>
<div class="text-center photo-data" data-photo-id="<?php echo $wo['story']['post_id'];?>">
<?php if ($wo['story']['blur'] == 1) { ?>
<a href="javascript:void(0)" onclick="Wo_OpenLightBox(<?php echo $wo['story']['post_id'];?>);">
<img src="<?php echo Wo_GetMedia( $wo['story']['postFile'] ) . "?cache=" . $wo['story']['cache'] ;?>" alt="image" class="image_blur">
</a>
<?php }else{ ?>
<a href="javascript:void(0)" onclick="Wo_OpenLightBox(<?php echo $wo['story']['post_id'];?>);">
<img src="<?php echo Wo_GetMedia( $wo['story']['postFile'] ) . "?cache=" . $wo['story']['cache'] ;?>" alt="image">
</a>
<?php } ?>
</div>
<?php
}
}
}
?>
</div>
<div class="clear"></div>
</div>
<?php if (count($photo_stories) > 1) { ?>
<div class="load-more">
<button class="btn btn-default text-center pointer" onclick="Wo_GetMorePhotos(<?php echo $wo['user_profile']['user_id'];?>);">
<i class="fa fa-arrow-down progress-icon" data-icon="arrow-down"></i> <?php echo $wo['lang']['load_more_photos']; ?></button>
</div>
<?php } ?>
<?php } else if ($_GET['type'] == 'likes') { ?>
<div class="page-margin mt-0">
<div class="wow_content popular_posts_hdr">
<h2><svg width="20" height="18" viewBox="0 0 20 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1.98389 8.61057L7.11798 15.5107C8.59549 17.4964 11.4045 17.4964 12.882 15.5107L18.0161 8.61058C19.328 6.84746 19.328 4.34218 18.0161 2.57906C16.0957 -0.00189845 11.6571 0.764647 10 3.54855C8.34289 0.764647 3.90428 -0.00189818 1.9839 2.57906C0.672036 4.34218 0.672033 6.84746 1.98389 8.61057Z" class="icon_main" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M18.0161 8.61058L12.882 15.5107C11.4045 17.4964 8.59549 17.4964 7.11798 15.5107L1.98389 8.61057C0.672033 6.84746 0.672036 4.34218 1.9839 2.57906C3.90428 -0.00189829 8.34289 0.764647 10 3.54855" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> <?php echo $wo['lang']['likes']; ?></h2>
</div>
</div>
<div class="list-group profile-lists">
<div id="likes-list" class="row" style="margin: 0;">
<?php
if (Wo_CountUserLikes($wo['user_profile']['user_id']) == 0) {
echo '<div class="empty_state"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M23,10C23,8.89 22.1,8 21,8H14.68L15.64,3.43C15.66,3.33 15.67,3.22 15.67,3.11C15.67,2.7 15.5,2.32 15.23,2.05L14.17,1L7.59,7.58C7.22,7.95 7,8.45 7,9V19A2,2 0 0,0 9,21H18C18.83,21 19.54,20.5 19.84,19.78L22.86,12.73C22.95,12.5 23,12.26 23,12V10M1,21H5V9H1V21Z" fill="currentColor"></path></svg>' . $wo['lang']['no_likes'] . '</div>';
} else {
foreach (Wo_GetLikes($wo['user_profile']['user_id'],'profile',100) as $wo['PageList']) {
echo Wo_LoadPage('timeline/likes-list');
}
}
?>
</div>
<div class="clear"></div>
</div>
<?php if (Wo_CountUserLikes($wo['user_profile']['user_id']) > 10) { ?>
<div class="load-more">
<button class="btn btn-default text-center pointer" onclick="Wo_GetMoreUserLikes(<?php echo $wo['user_profile']['user_id'];?>);">
<i class="fa fa-arrow-down progress-icon" data-icon="arrow-down"></i> <?php echo $wo['lang']['load_more_pages'];?></button>
</div>
<?php } ?>
<?php } else if ($_GET['type'] == 'groups') { ?>
<div class="page-margin mt-0">
<div class="wow_content popular_posts_hdr">
<h2><svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10 1C8.97667 1 7.95334 1.11763 6.95043 1.35288C4.17301 2.00437 2.00437 4.17301 1.35288 6.95043C0.882374 8.95626 0.882374 11.0437 1.35288 13.0496C2.00437 15.827 4.17301 17.9956 6.95044 18.6471C8.95626 19.1176 11.0437 19.1176 13.0496 18.6471C15.827 17.9956 17.9956 15.827 18.6471 13.0496C18.8824 12.0466 19 11.0233 19 9.99997" class="icon_main" stroke-width="1.5" stroke-linecap="round"></path>
<path d="M1.35288 13.0496C0.882374 11.0437 0.882374 8.95626 1.35288 6.95043C2.00437 4.17301 4.17301 2.00437 6.95043 1.35288C7.95334 1.11763 8.97667 1 10 1M6.95044 18.6471C8.95626 19.1176 11.0437 19.1176 13.0496 18.6471C15.827 17.9956 17.9956 15.827 18.6471 13.0496C18.8824 12.0466 19 11.0233 19 9.99997" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path>
<path d="M19 4.5C19 5.88071 17.8807 7 16.5 7C15.1193 7 14 5.88071 14 4.5C14 3.11929 15.1193 2 16.5 2C17.8807 2 19 3.11929 19 4.5Z" class="icon_main" stroke-width="1.5"></path>
</svg> <?php echo $wo['lang']['groups']; ?></h2>
</div>
</div>
<div class="">
<div id="groups-list" class="row cool-style-album-row profile_groups">
<?php
if (Wo_CountUserGroups($wo['user_profile']['user_id']) == 0) {
echo '<div class="empty_state"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M5 3A2 2 0 0 0 3 5H5M7 3V5H9V3M11 3V5H13V3M15 3V5H17V3M19 3V5H21A2 2 0 0 0 19 3M3 7V9H5V7M7 7V11H11V7M13 7V11H17V7M19 7V9H21V7M3 11V13H5V11M19 11V13H21V11M7 13V17H11V13M13 13V17H17V13M3 15V17H5V15M19 15V17H21V15M3 19A2 2 0 0 0 5 21V19M7 19V21H9V19M11 19V21H13V19M15 19V21H17V19M19 19V21A2 2 0 0 0 21 19Z" fill="currentColor"></path></svg>' . $wo['lang']['no_groups'] . '</div>';
} else {
foreach (Wo_GetUsersGroups($wo['user_profile']['user_id'], 5000) as $wo['GroupList']) {
echo Wo_LoadPage('timeline/groups-list');
}
}
?>
</div>
<div class="clear"></div>
</div>
<?php } else if ($_GET['type'] == 'family_list') { ?>
<div class="page-margin mt-0">
<div class="wow_content popular_posts_hdr">
<h2><svg width="20" height="17" viewBox="0 0 20 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1 14.531C1 12.6539 2.33361 11.055 4.14603 10.7592L4.30929 10.7326C5.76058 10.4957 7.23942 10.4957 8.69071 10.7326L8.85397 10.7592C10.6664 11.055 12 12.6539 12 14.531C12 15.3423 11.3569 16 10.5636 16H2.43639C1.64309 16 1 15.3423 1 14.531Z" stroke="currentColor" stroke-width="1.5"></path>
<path d="M9.70833 4.28125C9.70833 6.09343 8.27191 7.5625 6.5 7.5625C4.72809 7.5625 3.29167 6.09343 3.29167 4.28125C3.29167 2.46907 4.72809 1 6.5 1C8.27191 1 9.70833 2.46907 9.70833 4.28125Z" stroke="currentColor" stroke-width="1.5"></path>
<path d="M12 7.5625C14.2552 7.5625 16.0833 6.09343 16.0833 4.28125C16.0833 2.46907 14.2552 1 12 1M14.7882 16H17.1719C18.1815 16 19 15.3423 19 14.531C19 12.6539 17.3027 11.055 14.996 10.7592L14.7882 10.7326C14.2285 10.7326 14.195 10.7326 13.448 10.7326" class="icon_main" stroke-width="1.5" stroke-linecap="round"></path>
</svg> <?php echo $wo['lang']['family_members']; ?>
<?php if ($wo['user_profile']['user_id'] == $wo['user']['id']): ?>
<a class="btn btn-sm btn-default btn-mat btn_fam_members" href="<?php echo Wo_SeoLink('index.php?link1=timeline&u=' . $wo['user_profile']['username'] . '&type=requests');?>" data-ajax="?link1=timeline&u=<?php echo $wo['user_profile']['username']?>&type=requests"><?php echo $wo['lang']['requests']; ?></a>
<?php endif; ?>
</h2>
</div>
</div>
<div class="list-group profile-lists">
<div id="family-members-list" class="row" style="margin: 0;">
<?php
$family = Wo_GetFamaly($wo['user_profile']['user_id'],false,1);
$i = 0;
if (count($family) > 0) {
foreach ($family as $wo['UsersList']) {
if ($wo['UsersList']['type'] == 'family') {
echo Wo_LoadPage('timeline/family-list');
$i++;
}
}
}
if($i < 1){
echo '<div class="empty_state"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M12,2A3,3 0 0,1 15,5A3,3 0 0,1 12,8A3,3 0 0,1 9,5A3,3 0 0,1 12,2M12,9C13.63,9 15.12,9.35 16.5,10.05C17.84,10.76 18.5,11.61 18.5,12.61V18.38C18.5,19.5 17.64,20.44 15.89,21.19V19C15.89,18.05 15.03,17.38 13.31,16.97C12.75,16.84 12.31,16.78 12,16.78C11.13,16.78 10.3,16.95 9.54,17.3C8.77,17.64 8.31,18.08 8.16,18.61C9.5,19.14 10.78,19.41 12,19.41L13,19.31V21.94L12,22C10.63,22 9.33,21.72 8.11,21.19C6.36,20.44 5.5,19.5 5.5,18.38V12.61C5.5,11.61 6.16,10.76 7.5,10.05C8.88,9.35 10.38,9 12,9M12,11A2,2 0 0,0 10,13A2,2 0 0,0 12,15A2,2 0 0,0 14,13A2,2 0 0,0 12,11Z" fill="currentColor"></path></svg>' . $wo['lang']['no_members_found'] . '</div>';
}
?>
</div>
<div class="clear"></div>
</div>
<?php } else if ($_GET['type'] == 'requests' && $wo['user_profile']['user_id'] == $wo['user']['id']) { ?>
<div class="page-margin mt-0">
<div class="wow_content popular_posts_hdr">
<h2><svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19 10H15M17 12L17 8" class="icon_main" stroke-width="1.5" stroke-linecap="round"></path>
<path d="M1 17.1115C1 14.6984 2.69732 12.643 5.00404 12.2627L5.21182 12.2284C7.05892 11.9239 8.94108 11.9239 10.7882 12.2284L10.996 12.2627C13.3027 12.643 15 14.6984 15 17.1115C15 18.1545 14.1815 19 13.1719 19H2.82813C1.81848 19 1 18.1545 1 17.1115Z" stroke="currentColor" stroke-width="1.5"></path>
<path d="M12.0827 4.9375C12.0827 7.11212 10.2545 8.875 7.99935 8.875C5.74419 8.875 3.91602 7.11212 3.91602 4.9375C3.91602 2.76288 5.74419 1 7.99935 1C10.2545 1 12.0827 2.76288 12.0827 4.9375Z" class="icon_main" stroke-width="1.5"></path>
</svg> <?php echo $wo['lang']['requests']; ?>
<?php if ($wo['config']['website_mode'] != 'instagram') { ?>
<a class="btn btn-sm btn-default btn-mat btn_fam_members" href="<?php echo Wo_SeoLink('index.php?link1=timeline&u=' . $wo['user_profile']['username'] . '&type=family_list');?>" data-ajax="?link1=timeline&u=<?php echo $wo['user_profile']['username']?>&type=family_list"><?php echo $wo['lang']['family_members']; ?></a>
<?php } ?>
</h2>
</div>
</div>
<div class="list-group profile-lists">
<div id="family-requests-list" class="row" style="margin: 0;">
<?php
$family = Wo_GetFamaly($wo['user_profile']['user_id'],false,0,true);
if (count($family) > 0) {
$i = 0;
foreach ($family as $wo['UsersList']) {
if ($wo['UsersList']['type'] == 'family' || $wo['UsersList']['type'] == 'rel_ship') {
echo Wo_LoadPage('timeline/requests-list');
$i++;
}
}
}
else{
echo '<div class="empty_state"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M15,14C12.33,14 7,15.33 7,18V20H23V18C23,15.33 17.67,14 15,14M6,10V7H4V10H1V12H4V15H6V12H9V10M15,12A4,4 0 0,0 19,8A4,4 0 0,0 15,4A4,4 0 0,0 11,8A4,4 0 0,0 15,12Z" fill="currentColor"></path></svg>' . $wo['lang']['no_requests_found'] . '</div>';
}
?>
</div>
<div class="clear"></div>
</div>
<?php }else if ($_GET['type'] == 'job_apply' && $wo['user_profile']['user_id'] == $wo['user']['id']) {
$job_apply = Wo_GetApplyJob(array('job_id' => $_GET['id']));
if (!empty($job_apply)) { ?>
<div id="posts" data-story-page="<?php echo $wo['user_profile']['user_id'];?>" class="apply_job_info" data_apply_job="<?php echo($_GET['id']) ?>">
<div class="post-container sun_post apply_job_container">
<?php foreach ($job_apply as $key => $wo['job_apply']) {
echo Wo_LoadPage('page/job_apply');
} ?>
</div>
<div class="posts_load">
<?php if (count($job_apply) >= 1): ?>
<div class="load-more">
<div class="btn btn-default text-center pointer" id="load_more_nearby_users" onclick="Wo_LoadMoreApplyJobs();">
<i class="fa fa-arrow-down progress-icon" data-icon="arrow-down"></i>
<?php echo $wo['lang']['load_more'] ?>
</div>
</div>
<?php endif ?>
</div>
</div>
<?php }
}else if ($_GET['type'] == 'products' && $wo['config']['store_system'] == 'on') { ?>
<div class="page-margin mt-0">
<div class="wow_content popular_posts_hdr">
<h2><svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5.66667 4.83331L5.499 5.23252C5.22832 5.877 5.16028 6.58862 5.30394 7.27272C5.52315 8.31654 6.35414 9.12274 7.40412 9.31024L7.49657 9.32675C7.82956 9.38621 8.17044 9.38621 8.50343 9.32675L8.59588 9.31024C9.64586 9.12274 10.4769 8.31654 10.6961 7.27272C10.8397 6.58862 10.7717 5.877 10.501 5.23252L10.3333 4.83331" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path>
<path d="M14.8507 11.6191C14.3756 13.7086 12.7514 15.3503 10.6686 15.8543C8.91827 16.2778 7.08186 16.2778 5.3315 15.8543C3.24876 15.3503 1.62459 13.7086 1.14945 11.6191C0.724914 9.7522 0.828162 7.80397 1.44764 5.99237L1.53968 5.72322C2.2213 3.72988 3.92409 2.25844 5.9952 1.87305L6.56236 1.76751C7.51269 1.59068 8.48749 1.59068 9.43782 1.76752L10.005 1.87305C12.0761 2.25844 13.7789 3.72988 14.4605 5.72324L14.5525 5.99237C15.172 7.80397 15.2752 9.7522 14.8507 11.6191Z" class="icon_main" stroke-width="1.5"></path>
</svg> <?php echo $wo['lang']['products']; ?></h2>
</div>
</div>
<div class="wow_content list-group profile-lists wo_post_prod_full_related_prnt">
<div id="products-list" class="row" style="margin:0;">
<?php
$products = Wo_GetProducts(array('user_id' => $wo['user_profile']['user_id'] , 'limit' => 20));
if (count($products) == 0) {
echo '<div class="empty_state"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M5 3A2 2 0 0 0 3 5H5M7 3V5H9V3M11 3V5H13V3M15 3V5H17V3M19 3V5H21A2 2 0 0 0 19 3M3 7V9H5V7M7 7V11H11V7M13 7V11H17V7M19 7V9H21V7M3 11V13H5V11M19 11V13H21V11M7 13V17H11V13M13 13V17H17V13M3 15V17H5V15M19 15V17H21V15M3 19A2 2 0 0 0 5 21V19M7 19V21H9V19M11 19V21H13V19M15 19V21H17V19M19 19V21A2 2 0 0 0 21 19Z" fill="currentColor"></path></svg>' . $wo['lang']['no_available_data'] . '</div>';
} else {
foreach ($products as $wo['product']) {
echo Wo_LoadPage('timeline/product-list');
}
}
?>
</div>
<?php if (count($products) > 0) { ?>
<div class="load-more">
<div class="btn btn-default text-center pointer" id="load_more_users_products" onclick="Wo_LoadMoreUserProducts('<?php echo $wo['user_profile']['user_id']; ?>');">
<?php echo $wo['lang']['load_more'] ?>
</div>
</div>
<?php } ?>
<div class="clear"></div>
</div>
<?php } else {
header("Location: " . Wo_SeoLink('index.php?link1=timeline&u=' . $_GET['u']));
exit();
} ?>
<?php } else { ?>
<?php if ($wo['config']['website_mode'] == 'linkedin') { ?>
<?php if ($wo['user_profile']['is_open_to_work'] != 0) { ?>
<div class="wow_content wo_job_detail_block">
<div class="wo_job_detail_block_title">
<div class="wo_page_hdng_innr">
<span><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M20,6H16V4A2,2 0 0,0 14,2H10C8.89,2 8,2.89 8,4V6H4C2.89,6 2,6.89 2,8V19A2,2 0 0,0 4,21H20A2,2 0 0,0 22,19V8A2,2 0 0,0 20,6M10,4H14V6H10V4M12,9A2.5,2.5 0 0,1 14.5,11.5A2.5,2.5 0 0,1 12,14A2.5,2.5 0 0,1 9.5,11.5A2.5,2.5 0 0,1 12,9M17,19H7V17.75C7,16.37 9.24,15.25 12,15.25C14.76,15.25 17,16.37 17,17.75V19Z"></path></svg></span> <?php echo $wo['lang']['open_to_work']; ?>
</div>
<?php if ($wo['user_profile']['user_id'] == $wo['user']['user_id']) { ?>
<div>
<button type="submit" class="btn btn-default" data-toggle="modal" data-target="#delete_open_to_work" title="<?php echo $wo['lang']['delete']; ?>">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><path fill="currentColor" d="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z" /></svg>
</button>
<button type="submit" class="btn btn-default" onclick="EditOpenToWork()" title="<?php echo $wo['lang']['edit']; ?>">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><path fill="currentColor" d="M14.06,9L15,9.94L5.92,19H5V18.08L14.06,9M17.66,3C17.41,3 17.15,3.1 16.96,3.29L15.13,5.12L18.88,8.87L20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18.17,3.09 17.92,3 17.66,3M14.06,6.19L3,17.25V21H6.75L17.81,9.94L14.06,6.19Z" /></svg>
</button>
</div>
<?php } ?>
</div>
<hr>
<div class="wo_job_detail_item">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><path fill="currentColor" d="M10,2H14A2,2 0 0,1 16,4V6H20A2,2 0 0,1 22,8V19A2,2 0 0,1 20,21H4C2.89,21 2,20.1 2,19V8C2,6.89 2.89,6 4,6H8V4C8,2.89 8.89,2 10,2M14,6V4H10V6H14Z" /></svg>
<div>
<h4><?php echo $wo['lang']['job_title'] ?></h4>
<p><?php echo $wo['user_profile']['open_to_work_data']->job_title; ?></p>
</div>
</div>
<div class="wo_job_detail_item">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><path fill="currentColor" d="M12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5M12,2A7,7 0 0,0 5,9C5,14.25 12,22 12,22C12,22 19,14.25 19,9A7,7 0 0,0 12,2Z" /></svg>
<div>
<h4><?php echo $wo['lang']['job_location'] ?></h4>
<p><?php echo $wo['user_profile']['open_to_work_data']->job_location; ?></p>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="wo_job_detail_item">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><path fill="currentColor" d="M17.9,17.39C17.64,16.59 16.89,16 16,16H15V13A1,1 0 0,0 14,12H8V10H10A1,1 0 0,0 11,9V7H13A2,2 0 0,0 15,5V4.59C17.93,5.77 20,8.64 20,12C20,14.08 19.2,15.97 17.9,17.39M11,19.93C7.05,19.44 4,16.08 4,12C4,11.38 4.08,10.78 4.21,10.21L9,15V16A2,2 0 0,0 11,18M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z" /></svg>
<div>
<h4><?php echo $wo['lang']['workplaces'] ?></h4>
<p><?php echo implode(",", $wo['user_profile']['open_to_work_data']->formated_workplaces); ?></p>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="wo_job_detail_item">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><path fill="currentColor" d="M14.06,9L15,9.94L5.92,19H5V18.08L14.06,9M17.66,3C17.41,3 17.15,3.1 16.96,3.29L15.13,5.12L18.88,8.87L20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18.17,3.09 17.92,3 17.66,3M14.06,6.19L3,17.25V21H6.75L17.81,9.94L14.06,6.19Z" /></svg>
<div>
<h4><?php echo $wo['lang']['job_types'] ?></h4>
<p><?php echo implode(",", $wo['user_profile']['open_to_work_data']->formated_job_type); ?></p>
</div>
</div>
</div>
</div>
<svg class="wo_job_detail_block_svg" width="360" height="151" viewBox="0 0 360 151" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_6292:339055)"><g clip-path="url(#clip1_6292:339055)"><path fill-rule="evenodd" opacity="0.5" clip-rule="evenodd" d="M-691 298L709 0v248L-691 546V298z" fill="url(#paint0_linear_6292:339055)"></path><mask id="mask0_6292:339055" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="-691" y="0" width="1400" height="546"><path fill-rule="evenodd" clip-rule="evenodd" d="M-691 298L709 0v248L-691 546V298z" fill="#fff"></path></mask><g mask="url(#mask0_6292:339055)"><path fill-rule="evenodd" clip-rule="evenodd" d="M-913.136 614.601c11.712-50.877 48.311-145.532 258.022-219.362 209.711-73.831 250.702-55.61 470.294-138.196C34.773 174.456 708.128-23.685 727.526-66.753c19.397-43.068 73.26 721.109 73.26 721.109s-1725.634 11.122-1713.922-39.755z" fill="url(#paint1_linear_6292:339055)"></path><g filter="url(#filter0_f_6292:339055)"><path fill-rule="evenodd" clip-rule="evenodd" d="M-697.69 718.643c-11.711-102.603-4.392-247.05 473.202-416.321C253.105 133.052 1710.39 214.93 1681.11 261.03c-29.27 46.1-1176.229 652.022-1176.229 652.022l-573.478-32.388s-617.382-59.419-629.093-162.021z" fill="url(#paint2_linear_6292:339055)"></path></g><g filter="url(#filter1_f_6292:339055)"><path fill-rule="evenodd" clip-rule="evenodd" d="M-860.426 901.635c38.439-65.776 190.798-517.687 665.685-477.465C280.146 464.393 1550.53 119.426 1550.53 119.426S-82.391 811.962 443.13 1059.21c525.521 247.25-1341.994-91.8-1303.556-157.575z" fill="#B568FF"></path></g></g></g></g><defs><linearGradient id="paint0_linear_6292:339055" x1="-96.404" y1="-64.382" x2="-374.596" y2="626.546" gradientUnits="userSpaceOnUse"><stop stop-color="gray"></stop><stop offset=".25" stop-color="gray"></stop></linearGradient><linearGradient id="paint1_linear_6292:339055" x1="-185.259" y1="-154.588" x2="-576.643" y2="741.167" gradientUnits="userSpaceOnUse"><stop stop-color="#607d8b"></stop><stop offset="1" stop-color="gray"></stop></linearGradient><linearGradient id="paint2_linear_6292:339055" x1="-324.255" y1="33.32" x2="-465.04" y2="720.68" gradientUnits="userSpaceOnUse"><stop stop-color="#D089FF"></stop><stop offset="1" stop-color="#2AA1FF"></stop></linearGradient><clipPath id="clip0_6292:339055"><path fill="#fff" d="M0 0h360v151H0z"></path></clipPath><clipPath id="clip1_6292:339055"><path fill="#fff" transform="translate(-536)" d="M0 0h896v151H0z"></path></clipPath><filter id="filter0_f_6292:339055" x="-770.984" y="129.547" width="2523.21" height="854.179" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="35.338" result="effect1_foregroundBlur_6292:339055"></feGaussianBlur></filter><filter id="filter1_f_6292:339055" x="-996.926" y="-16.488" width="2683.37" height="1300.68" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="67.957" result="effect1_foregroundBlur_6292:339055"></feGaussianBlur></filter></defs></svg>
</div>
<?php } ?>
<?php if ($wo['user_profile']['is_providing_service'] != 0) { ?>
<div class="wow_content wo_job_detail_block">
<div class="wo_job_detail_block_title">
<div class="wo_page_hdng_innr">
<span><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M11,13.5V21.5H3V13.5H11M12,2L17.5,11H6.5L12,2M17.5,13C20,13 22,15 22,17.5C22,20 20,22 17.5,22C15,22 13,20 13,17.5C13,15 15,13 17.5,13Z"></path></svg></span> <?php echo $wo['lang']['providing_services']; ?>
</div>
<?php if ($wo['user_profile']['user_id'] == $wo['user']['user_id']) { ?>
<div>
<button type="submit" class="btn btn-default" data-toggle="modal" data-target="#delete_providing_service" title="<?php echo $wo['lang']['delete']; ?>">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><path fill="currentColor" d="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z" /></svg>
</button>
<button type="submit" class="btn btn-default" onclick="EditProvidingService()" title="<?php echo $wo['lang']['edit']; ?>">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><path fill="currentColor" d="M14.06,9L15,9.94L5.92,19H5V18.08L14.06,9M17.66,3C17.41,3 17.15,3.1 16.96,3.29L15.13,5.12L18.88,8.87L20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18.17,3.09 17.92,3 17.66,3M14.06,6.19L3,17.25V21H6.75L17.81,9.94L14.06,6.19Z" /></svg>
</button>
</div>
<?php } ?>
</div>
<hr>
<div class="delete_service_modal_alert"></div>
<div class="wo_job_detail_item">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><path fill="currentColor" d="M11,13.5V21.5H3V13.5H11M12,2L17.5,11H6.5L12,2M17.5,13C20,13 22,15 22,17.5C22,20 20,22 17.5,22C15,22 13,20 13,17.5C13,15 15,13 17.5,13Z" /></svg>
<div>
<h4><?php echo $wo['lang']['services'] ?></h4>
<p><?php echo $wo['user_profile']['providing_service']->services; ?></p>
</div>
</div>
<div class="wo_job_detail_item">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><path fill="currentColor" d="M12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5M12,2A7,7 0 0,0 5,9C5,14.25 12,22 12,22C12,22 19,14.25 19,9A7,7 0 0,0 12,2Z" /></svg>
<div>
<h4><?php echo $wo['lang']['location'] ?></h4>
<p><?php echo $wo['user_profile']['providing_service']->job_location; ?></p>
</div>
</div>
<div class="wo_job_detail_item">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><path fill="currentColor" d="M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z" /></svg>
<div>
<h4><?php echo $wo['lang']['description'] ?></h4>
<p><?php echo $wo['user_profile']['providing_service']->description; ?></p>
</div>
</div>
<svg class="wo_job_detail_block_svg" width="360" height="151" viewBox="0 0 360 151" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip10_6292:339055)"><g clip-path="url(#clip11_6292:339055)"><path fill-rule="evenodd" opacity="0.5" clip-rule="evenodd" d="M-691 298L709 0v248L-691 546V298z" fill="url(#paint10_linear_6292:339055)"></path><mask id="mask10_6292:339055" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="-691" y="0" width="1400" height="546"><path fill-rule="evenodd" clip-rule="evenodd" d="M-691 298L709 0v248L-691 546V298z" fill="#fff"></path></mask><g mask="url(#mask10_6292:339055)"><path fill-rule="evenodd" clip-rule="evenodd" d="M-913.136 614.601c11.712-50.877 48.311-145.532 258.022-219.362 209.711-73.831 250.702-55.61 470.294-138.196C34.773 174.456 708.128-23.685 727.526-66.753c19.397-43.068 73.26 721.109 73.26 721.109s-1725.634 11.122-1713.922-39.755z" fill="url(#paint11_linear_6292:339055)"></path><g filter="url(#filter10_f_6292:339055)"><path fill-rule="evenodd" clip-rule="evenodd" d="M-697.69 718.643c-11.711-102.603-4.392-247.05 473.202-416.321C253.105 133.052 1710.39 214.93 1681.11 261.03c-29.27 46.1-1176.229 652.022-1176.229 652.022l-573.478-32.388s-617.382-59.419-629.093-162.021z" fill="url(#paint12_linear_6292:339055)"></path></g><g filter="url(#filter11_f_6292:339055)"><path fill-rule="evenodd" clip-rule="evenodd" d="M-860.426 901.635c38.439-65.776 190.798-517.687 665.685-477.465C280.146 464.393 1550.53 119.426 1550.53 119.426S-82.391 811.962 443.13 1059.21c525.521 247.25-1341.994-91.8-1303.556-157.575z" fill="#B568FF"></path></g></g></g></g><defs><linearGradient id="paint10_linear_6292:339055" x1="-96.404" y1="-64.382" x2="-374.596" y2="626.546" gradientUnits="userSpaceOnUse"><stop stop-color="#58e5bb"></stop><stop offset=".25" stop-color="#58e5bb"></stop></linearGradient><linearGradient id="paint11_linear_6292:339055" x1="-185.259" y1="-154.588" x2="-576.643" y2="741.167" gradientUnits="userSpaceOnUse"><stop stop-color="#2ebf94"></stop><stop offset="1" stop-color="#58e5bb"></stop></linearGradient><linearGradient id="paint12_linear_6292:339055" x1="-324.255" y1="33.32" x2="-465.04" y2="720.68" gradientUnits="userSpaceOnUse"><stop stop-color="#D089FF"></stop><stop offset="1" stop-color="#2AA1FF"></stop></linearGradient><clipPath id="clip10_6292:339055"><path fill="#fff" d="M0 0h360v151H0z"></path></clipPath><clipPath id="clip11_6292:339055"><path fill="#fff" transform="translate(-536)" d="M0 0h896v151H0z"></path></clipPath><filter id="filter10_f_6292:339055" x="-770.984" y="129.547" width="2523.21" height="854.179" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="35.338" result="effect1_foregroundBlur_6292:339055"></feGaussianBlur></filter><filter id="filter11_f_6292:339055" x="-996.926" y="-16.488" width="2683.37" height="1300.68" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="67.957" result="effect1_foregroundBlur_6292:339055"></feGaussianBlur></filter></defs></svg>
</div>
<?php } ?>
<?php $experience = $db->where('user_id',$wo['user_profile']['user_id'])->orderBy("id","Desc")->get(T_USER_EXPERIENCE);
if (!empty($experience)) { ?>
<div class="wow_content wo_job_detail_block">
<div class="wo_job_detail_block_title">
<div class="wo_page_hdng_innr">
<span><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M5,3V21H11V17.5H13V21H19V3H5M7,5H9V7H7V5M11,5H13V7H11V5M15,5H17V7H15V5M7,9H9V11H7V9M11,9H13V11H11V9M15,9H17V11H15V9M7,13H9V15H7V13M11,13H13V15H11V13M15,13H17V15H15V13M7,17H9V19H7V17M15,17H17V19H15V17Z"></path></svg></span> <?php echo $wo['lang']['experience']; ?>
</div>
</div>
<hr>
<div>
<?php foreach ($experience as $key => $wo['experience']) { ?>
<div class="border-bottom wo_job_experience">
<?php if (!empty($wo['experience']->image)) { ?>
<div class="avatar"><img src="<?php echo Wo_GetMedia($wo['experience']->image); ?>"></div>
<?php } else { ?>
<div class="avatar bg"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M18,15H16V17H18M18,11H16V13H18M20,19H12V17H14V15H12V13H14V11H12V9H20M10,7H8V5H10M10,11H8V9H10M10,15H8V13H10M10,19H8V17H10M6,7H4V5H6M6,11H4V9H6M6,15H4V13H6M6,19H4V17H6M12,7V3H2V21H22V7H12Z" /></svg></div>
<?php } ?>
<div class="wo_job_experience_info">
<h4 class="title"><?php echo $wo['experience']->title ?></h4>
<p class="sub-title">
<?php echo $wo['experience']->company_name; ?>
<?php if (!empty($wo['experience']->employment_type) && in_array($wo['experience']->employment_type, array_keys($wo['employment_type']))) { ?>
• <?php echo $wo['lang'][$wo['employment_type'][$wo['experience']->employment_type]]; ?>
<?php } ?>
• <?php echo $wo['experience']->location; ?>
</p>
<p class="sub-title">
<?php echo $wo['experience']->experience_start; ?>
<?php if (!empty($wo['experience']->experience_end) && strpos($wo['experience']->experience_end, 00) != 0) { ?>
– <?php echo $wo['experience']->experience_end; ?>
<?php } ?>
</p>
<?php if (!empty($wo['experience']->link)) { ?>
<p><a href="<?php echo $wo['experience']->link; ?>"><?php echo $wo['experience']->link; ?></a></p>
<?php } ?>
<hr>
<p class="sub-title">
<span class="bold"><?php echo $wo['lang']['industry']; ?></span>: <?php echo $wo['experience']->industry; ?>
<?php if (!empty($wo['experience']->headline)) { ?>
• <span class="bold"><?php echo $wo['lang']['headline']; ?></span>: <?php echo $wo['experience']->headline; ?>
<?php } ?>
</p>
<p><?php echo $wo['experience']->description; ?></p>
</div>
</div>
<?php } ?>
</div>
<svg class="wo_job_detail_block_svg" width="360" height="151" viewBox="0 0 360 151" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip20_6292:339055)"><g clip-path="url(#clip21_6292:339055)"><path fill-rule="evenodd" opacity="0.5" clip-rule="evenodd" d="M-691 298L709 0v248L-691 546V298z" fill="url(#paint20_linear_6292:339055)"></path><mask id="mask20_6292:339055" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="-691" y="0" width="1400" height="546"><path fill-rule="evenodd" clip-rule="evenodd" d="M-691 298L709 0v248L-691 546V298z" fill="#fff"></path></mask><g mask="url(#mask20_6292:339055)"><path fill-rule="evenodd" clip-rule="evenodd" d="M-913.136 614.601c11.712-50.877 48.311-145.532 258.022-219.362 209.711-73.831 250.702-55.61 470.294-138.196C34.773 174.456 708.128-23.685 727.526-66.753c19.397-43.068 73.26 721.109 73.26 721.109s-1725.634 11.122-1713.922-39.755z" fill="url(#paint21_linear_6292:339055)"></path><g filter="url(#filter20_f_6292:339055)"><path fill-rule="evenodd" clip-rule="evenodd" d="M-697.69 718.643c-11.711-102.603-4.392-247.05 473.202-416.321C253.105 133.052 1710.39 214.93 1681.11 261.03c-29.27 46.1-1176.229 652.022-1176.229 652.022l-573.478-32.388s-617.382-59.419-629.093-162.021z" fill="url(#paint22_linear_6292:339055)"></path></g><g filter="url(#filter21_f_6292:339055)"><path fill-rule="evenodd" clip-rule="evenodd" d="M-860.426 901.635c38.439-65.776 190.798-517.687 665.685-477.465C280.146 464.393 1550.53 119.426 1550.53 119.426S-82.391 811.962 443.13 1059.21c525.521 247.25-1341.994-91.8-1303.556-157.575z" fill="#B568FF"></path></g></g></g></g><defs><linearGradient id="paint20_linear_6292:339055" x1="-96.404" y1="-64.382" x2="-374.596" y2="626.546" gradientUnits="userSpaceOnUse"><stop stop-color="#7e84f6"></stop><stop offset=".25" stop-color="#7e84f6"></stop></linearGradient><linearGradient id="paint21_linear_6292:339055" x1="-185.259" y1="-154.588" x2="-576.643" y2="741.167" gradientUnits="userSpaceOnUse"><stop stop-color="#585fe5"></stop><stop offset="1" stop-color="#7e84f6"></stop></linearGradient><linearGradient id="paint22_linear_6292:339055" x1="-324.255" y1="33.32" x2="-465.04" y2="720.68" gradientUnits="userSpaceOnUse"><stop stop-color="#D089FF"></stop><stop offset="1" stop-color="#2AA1FF"></stop></linearGradient><clipPath id="clip20_6292:339055"><path fill="#fff" d="M0 0h360v151H0z"></path></clipPath><clipPath id="clip11_6292:339055"><path fill="#fff" transform="translate(-536)" d="M0 0h896v151H0z"></path></clipPath><filter id="filter20_f_6292:339055" x="-770.984" y="129.547" width="2523.21" height="854.179" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="35.338" result="effect1_foregroundBlur_6292:339055"></feGaussianBlur></filter><filter id="filter21_f_6292:339055" x="-996.926" y="-16.488" width="2683.37" height="1300.68" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="67.957" result="effect1_foregroundBlur_6292:339055"></feGaussianBlur></filter></defs></svg>
</div>
<?php } ?>
<?php $certifications = $db->where('user_id',$wo['user_profile']['user_id'])->orderBy("id","Desc")->get(T_USER_CERTIFICATION);
if (!empty($certifications)) { ?>
<div class="wow_content wo_job_detail_block">
<div class="wo_job_detail_block_title">
<div class="wo_page_hdng_innr">
<span><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M4,3C2.89,3 2,3.89 2,5V15A2,2 0 0,0 4,17H12V22L15,19L18,22V17H20A2,2 0 0,0 22,15V8L22,6V5A2,2 0 0,0 20,3H16V3H4M12,5L15,7L18,5V8.5L21,10L18,11.5V15L15,13L12,15V11.5L9,10L12,8.5V5M4,5H9V7H4V5M4,9H7V11H4V9M4,13H9V15H4V13Z"></path></svg></span> <?php echo $wo['lang']['licenses_certifications']; ?>
</div>
</div>
<hr>
<div>
<?php foreach ($certifications as $key => $wo['certification']) { ?>
<div class="border-bottom wo_job_experience wo_job_certificate">
<div class="wo_job_experience_info">
<h4 class="title"><?php echo $wo['certification']->name ?></h4>
<p class="sub-title">
<span class="bold"><?php echo $wo['lang']['issuing_organization']; ?></span>: <?php echo $wo['certification']->issuing_organization; ?>
</p>
<p class="sub-title">
<span class="bold"><?php echo $wo['lang']['issue_date']; ?></span>: <?php echo $wo['certification']->certification_start; ?>
<?php if (!empty($wo['certification']->certification_end) && strpos($wo['certification']->certification_end, 00) != 0) { ?>
– <span class="bold"><?php echo $wo['lang']['expiration_date']; ?></span>: <?php echo $wo['certification']->certification_end; ?>
<?php } ?>
</p>
<?php if (!empty($wo['certification']->credential_url)) { ?>
<p class="sub-title">
<span class="bold"><?php echo $wo['lang']['credential_url']; ?></span>: <a href="<?php echo $wo['certification']->credential_url; ?>"><?php echo $wo['certification']->credential_url; ?></a>
</p>
<?php } ?>
<?php if (!empty($wo['certification']->credential_id)) { ?>
<p class="sub-title">
<span class="bold"><?php echo $wo['lang']['credential_id']; ?></span>: <?php echo $wo['certification']->credential_id; ?>
</p>
<?php } ?>
<?php if (!empty($wo['certification']->pdf)) { ?>
<p><a class="btn btn-sm btn-main btn-mat" href="<?php echo($wo['config']['site_url'].'/requests.php?f=certification&s=download_user_certification&id='.$wo['certification']->id.'&mode_type=linkedin'); ?>"><?php echo $wo['lang']['download']; ?> <?php echo $wo['lang']['certification_file']; ?></a></p>
<?php } ?>
</div>
</div>
<?php } ?>
</div>
<svg class="wo_job_detail_block_svg" width="360" height="151" viewBox="0 0 360 151" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip30_6292:339055)"><g clip-path="url(#clip31_6292:339055)"><path fill-rule="evenodd" opacity="0.5" clip-rule="evenodd" d="M-691 298L709 0v248L-691 546V298z" fill="url(#paint30_linear_6292:339055)"></path><mask id="mask30_6292:339055" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="-691" y="0" width="1400" height="546"><path fill-rule="evenodd" clip-rule="evenodd" d="M-691 298L709 0v248L-691 546V298z" fill="#fff"></path></mask><g mask="url(#mask30_6292:339055)"><path fill-rule="evenodd" clip-rule="evenodd" d="M-913.136 614.601c11.712-50.877 48.311-145.532 258.022-219.362 209.711-73.831 250.702-55.61 470.294-138.196C34.773 174.456 708.128-23.685 727.526-66.753c19.397-43.068 73.26 721.109 73.26 721.109s-1725.634 11.122-1713.922-39.755z" fill="url(#paint31_linear_6292:339055)"></path><g filter="url(#filter30_f_6292:339055)"><path fill-rule="evenodd" clip-rule="evenodd" d="M-697.69 718.643c-11.711-102.603-4.392-247.05 473.202-416.321C253.105 133.052 1710.39 214.93 1681.11 261.03c-29.27 46.1-1176.229 652.022-1176.229 652.022l-573.478-32.388s-617.382-59.419-629.093-162.021z" fill="url(#paint32_linear_6292:339055)"></path></g><g filter="url(#filter31_f_6292:339055)"><path fill-rule="evenodd" clip-rule="evenodd" d="M-860.426 901.635c38.439-65.776 190.798-517.687 665.685-477.465C280.146 464.393 1550.53 119.426 1550.53 119.426S-82.391 811.962 443.13 1059.21c525.521 247.25-1341.994-91.8-1303.556-157.575z" fill="#B568FF"></path></g></g></g></g><defs><linearGradient id="paint30_linear_6292:339055" x1="-96.404" y1="-64.382" x2="-374.596" y2="626.546" gradientUnits="userSpaceOnUse"><stop stop-color="#f6977e"></stop><stop offset=".25" stop-color="#f6977e"></stop></linearGradient><linearGradient id="paint31_linear_6292:339055" x1="-185.259" y1="-154.588" x2="-576.643" y2="741.167" gradientUnits="userSpaceOnUse"><stop stop-color="#d1684c"></stop><stop offset="1" stop-color="#f6977e"></stop></linearGradient><linearGradient id="paint22_linear_6292:339055" x1="-324.255" y1="33.32" x2="-465.04" y2="720.68" gradientUnits="userSpaceOnUse"><stop stop-color="#D089FF"></stop><stop offset="1" stop-color="#2AA1FF"></stop></linearGradient><clipPath id="clip30_6292:339055"><path fill="#fff" d="M0 0h360v151H0z"></path></clipPath><clipPath id="clip31_6292:339055"><path fill="#fff" transform="translate(-536)" d="M0 0h896v151H0z"></path></clipPath><filter id="filter30_f_6292:339055" x="-770.984" y="129.547" width="2523.21" height="854.179" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="35.338" result="effect1_foregroundBlur_6292:339055"></feGaussianBlur></filter><filter id="filter31_f_6292:339055" x="-996.926" y="-16.488" width="2683.37" height="1300.68" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="67.957" result="effect1_foregroundBlur_6292:339055"></feGaussianBlur></filter></defs></svg>
</div>
<?php } ?>
<?php $projects = $db->where('user_id',$wo['user_profile']['user_id'])->orderBy("id","Desc")->get(T_USER_PROJECTS);
if (!empty($projects)) { ?>
<div class="wow_content wo_job_detail_block">
<div class="wo_job_detail_block_title">
<div class="wo_page_hdng_innr">
<span><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M8,3A2,2 0 0,0 6,5V9A2,2 0 0,1 4,11H3V13H4A2,2 0 0,1 6,15V19A2,2 0 0,0 8,21H10V19H8V14A2,2 0 0,0 6,12A2,2 0 0,0 8,10V5H10V3M16,3A2,2 0 0,1 18,5V9A2,2 0 0,0 20,11H21V13H20A2,2 0 0,0 18,15V19A2,2 0 0,1 16,21H14V19H16V14A2,2 0 0,1 18,12A2,2 0 0,1 16,10V5H14V3H16Z"></path></svg></span> <?php echo $wo['lang']['projects']; ?>
</div>
</div>
<hr>
<div>
<?php foreach ($projects as $key => $wo['project']) { ?>
<div class="border-bottom wo_job_experience wo_job_certificate">
<div class="wo_job_experience_info">
<h4 class="title"><?php echo $wo['project']->name ?></h4>
<p class="sub-title">
<span class="bold"><?php echo $wo['lang']['start_date']; ?></span>: <?php echo $wo['project']->project_start; ?>
<?php if (!empty($wo['project']->project_end) && strpos($wo['project']->project_end, 00) != 0) { ?>
– <span class="bold"><?php echo $wo['lang']['end_date']; ?></span>: <?php echo $wo['project']->project_end; ?>
<?php } ?>
</p>
<?php if (!empty($wo['project']->project_url)) { ?>
<p class="sub-title">
<span class="bold"><?php echo $wo['lang']['project_url']; ?></span>: <a href="<?php echo $wo['project']->project_url; ?>"><?php echo($wo['project']->project_url); ?></a>
</p>
<?php } ?>
<?php if (!empty($wo['project']->associated_with)) { ?>
<p>
<span class="bold"><?php echo $wo['lang']['associated_with']; ?></span>: <?php echo $wo['project']->associated_with; ?>
</p>
<?php } ?>
<?php if (!empty($wo['project']->description)) { ?>
<p>
<span class="bold"><?php echo $wo['lang']['description']; ?></span>: <?php echo $wo['project']->description; ?>
</p>
<?php } ?>
</div>
</div>
<?php } ?>
</div>
<svg class="wo_job_detail_block_svg" width="360" height="151" viewBox="0 0 360 151" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_6292:339055)"><g clip-path="url(#clip1_6292:339055)"><path fill-rule="evenodd" opacity="0.5" clip-rule="evenodd" d="M-691 298L709 0v248L-691 546V298z" fill="url(#paint0_linear_6292:339055)"></path><mask id="mask0_6292:339055" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="-691" y="0" width="1400" height="546"><path fill-rule="evenodd" clip-rule="evenodd" d="M-691 298L709 0v248L-691 546V298z" fill="#fff"></path></mask><g mask="url(#mask0_6292:339055)"><path fill-rule="evenodd" clip-rule="evenodd" d="M-913.136 614.601c11.712-50.877 48.311-145.532 258.022-219.362 209.711-73.831 250.702-55.61 470.294-138.196C34.773 174.456 708.128-23.685 727.526-66.753c19.397-43.068 73.26 721.109 73.26 721.109s-1725.634 11.122-1713.922-39.755z" fill="url(#paint1_linear_6292:339055)"></path><g filter="url(#filter0_f_6292:339055)"><path fill-rule="evenodd" clip-rule="evenodd" d="M-697.69 718.643c-11.711-102.603-4.392-247.05 473.202-416.321C253.105 133.052 1710.39 214.93 1681.11 261.03c-29.27 46.1-1176.229 652.022-1176.229 652.022l-573.478-32.388s-617.382-59.419-629.093-162.021z" fill="url(#paint2_linear_6292:339055)"></path></g><g filter="url(#filter1_f_6292:339055)"><path fill-rule="evenodd" clip-rule="evenodd" d="M-860.426 901.635c38.439-65.776 190.798-517.687 665.685-477.465C280.146 464.393 1550.53 119.426 1550.53 119.426S-82.391 811.962 443.13 1059.21c525.521 247.25-1341.994-91.8-1303.556-157.575z" fill="#B568FF"></path></g></g></g></g><defs><linearGradient id="paint0_linear_6292:339055" x1="-96.404" y1="-64.382" x2="-374.596" y2="626.546" gradientUnits="userSpaceOnUse"><stop stop-color="gray"></stop><stop offset=".25" stop-color="gray"></stop></linearGradient><linearGradient id="paint1_linear_6292:339055" x1="-185.259" y1="-154.588" x2="-576.643" y2="741.167" gradientUnits="userSpaceOnUse"><stop stop-color="#607d8b"></stop><stop offset="1" stop-color="gray"></stop></linearGradient><linearGradient id="paint2_linear_6292:339055" x1="-324.255" y1="33.32" x2="-465.04" y2="720.68" gradientUnits="userSpaceOnUse"><stop stop-color="#D089FF"></stop><stop offset="1" stop-color="#2AA1FF"></stop></linearGradient><clipPath id="clip0_6292:339055"><path fill="#fff" d="M0 0h360v151H0z"></path></clipPath><clipPath id="clip1_6292:339055"><path fill="#fff" transform="translate(-536)" d="M0 0h896v151H0z"></path></clipPath><filter id="filter0_f_6292:339055" x="-770.984" y="129.547" width="2523.21" height="854.179" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="35.338" result="effect1_foregroundBlur_6292:339055"></feGaussianBlur></filter><filter id="filter1_f_6292:339055" x="-996.926" y="-16.488" width="2683.37" height="1300.68" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="67.957" result="effect1_foregroundBlur_6292:339055"></feGaussianBlur></filter></defs></svg>
</div>
<?php } ?>
<?php if (!empty($wo['user_profile']['skills'])) { ?>
<div class="wow_content wo_job_detail_block">
<div class="wo_job_detail_block_title">
<div class="wo_page_hdng_innr">
<span><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M17.8,20C17.4,21.2 16.3,22 15,22H5C3.3,22 2,20.7 2,19V18H5L14.2,18C14.6,19.2 15.7,20 17,20H17.8M19,2C20.7,2 22,3.3 22,5V6H20V5C20,4.4 19.6,4 19,4C18.4,4 18,4.4 18,5V18H17C16.4,18 16,17.6 16,17V16H5V5C5,3.3 6.3,2 8,2H19M8,6V8H15V6H8M8,10V12H14V10H8Z"></path></svg></span> <?php echo $wo['lang']['skills']; ?>
</div>
</div>
<hr>
<div>
<p class="wo_job_detail_skill">
<?php $skills = explode(',', $wo['user_profile']['skills']); foreach ($skills as $key => $skill) { ?>
<span class="btn-default"><?php echo $skill; ?></span>
<?php } ?>
</p>
</div>
</div>
<?php } ?>
<?php if (!empty($wo['user_profile']['languages'])) { ?>
<div class="wow_content wo_job_detail_block">
<div class="wo_job_detail_block_title">
<div class="wo_page_hdng_innr">
<span><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M12.87,15.07L10.33,12.56L10.36,12.53C12.1,10.59 13.34,8.36 14.07,6H17V4H10V2H8V4H1V6H12.17C11.5,7.92 10.44,9.75 9,11.35C8.07,10.32 7.3,9.19 6.69,8H4.69C5.42,9.63 6.42,11.17 7.67,12.56L2.58,17.58L4,19L9,14L12.11,17.11L12.87,15.07M18.5,10H16.5L12,22H14L15.12,19H19.87L21,22H23L18.5,10M15.88,17L17.5,12.67L19.12,17H15.88Z"></path></svg></span> <?php echo $wo['lang']['languages']; ?>
</div>
</div>
<hr>
<div>
<p class="wo_job_detail_skill">
<?php foreach ($wo['user_profile']['formated_langs'] as $key => $formated_lang) { ?>
<span class="btn-default"><?php echo $formated_lang; ?></span>
<?php } ?>
</p>
</div>
</div>
<?php } ?>
<?php } ?>
<?php echo Wo_GetPostPublisherBox(0, $wo['user_profile']['user_id']); ?>
<?php if ($wo['loggedin'] == true) { echo Wo_LoadPage('story/filter-by'); } ?>
<div class="posts_load">
<div id="posts" data-story-user="<?php echo $wo['user_profile']['user_id'];?>">
<div class="pinned-post-container">
<?php
$pinedstory = Wo_GetPinnedPost($wo['user_profile']['user_id']);
if (count($pinedstory) == 1) {
foreach ($pinedstory as $wo['story']) {
echo Wo_LoadPage('story/content');
}
}
?>
</div>
<?php
$array = array('filter_by' => 'all','publisher_id' => $wo['user_profile']['user_id'],'placement' => 'multi_image_post');
if ($wo['loggedin'] && $wo['user_profile']['user_id'] == $wo['user']['id']) {
$array['anonymous'] = true;
}
$stories = Wo_GetPosts($array);
if (count($stories) == 0 && count($pinedstory) == 0) {
echo Wo_LoadPage('story/profile-no-stories');
} else {
foreach ($stories as $wo['story']) {
echo Wo_LoadPage('story/content');
}
}
?>
</div>
<?php if (count($stories) > 0) { ?>
<div class="load-more pointer" id="load-more-posts" onclick="Wo_GetMorePosts();">
<span class="btn btn-default"><i class="fa fa-chevron-circle-down progress-icon" data-icon="chevron-circle-down"></i> <?php echo $wo['lang']['load_more_posts']; ?><span>
</div>
<?php } ?>
</div>
<?php } ?>
<div id="load-more-filter">
<span class="filter-by-more hidden" data-filter-by="all"></span>
</div>
</div>
<div class="col-md-4">
<?php if($wo['loggedin'] == true && $wo['config']['gift_system'] != 0) { ?>
<?php if ($IsOwnerUser == false) { ?>
<div class="wow_content send_gift_btn">
<div>
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 7H15.5C16.8807 7 18 5.88071 18 4.5C18 3.11929 16.8807 2 15.5 2H15.4198C14.2803 2 13.2758 2.74741 12.9484 3.83881L12 7ZM12 7H8.5C7.11929 7 6 5.88071 6 4.5C6 3.11929 7.11929 2 8.5 2H8.58023C9.71968 2 10.7242 2.74741 11.0516 3.83881L12 7ZM12 7V22" class="icon_main" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M20 11V17.2C20 18.8802 20 19.7202 19.673 20.362C19.3854 20.9265 18.9265 21.3854 18.362 21.673C17.7202 22 16.8802 22 15.2 22H8.8C7.11984 22 6.27976 22 5.63803 21.673C5.07354 21.3854 4.6146 20.9265 4.32698 20.362C4 19.7202 4 18.8802 4 17.2V11M4 11H20C21.1046 11 22 10.1046 22 9V9C22 7.89543 21.1046 7 20 7H4C2.89543 7 2 7.89543 2 9V9C2 10.1046 2.89543 11 4 11Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>
<?php echo $wo['lang']['send_gift_user_desc']; ?>
</div>
<button type="button" class="btn btn-block btn-main btn-mat" onclick="Wo_open_send_gift();"><?php echo $wo['lang']['send_a_gift']; ?></button>
</div>
<?php } ?>
<?php } ?>
<ul class="page-margin wow_content negg_padd list-unstyled event-options-list right_user_info wo_prof_side_info_padd mt-0">
<div class="wo_page_hdng hidden">
<div class="wo_page_hdng_innr"><?php echo $wo['lang']['info']; ?></div>
</div>
<ul class="flex_stats">
<?php if($wo['config']['user_lastseen'] == 1 && $wo['user_profile']['showlastseen'] != 0 && $wo['loggedin'] == true) { ?>
<li class="list-group-item">
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M3.95087 7.17881C3.70961 6.15025 3.70961 5.07983 3.95087 4.05127C4.28495 2.62706 5.39698 1.51502 6.8212 1.18095C7.84975 0.939684 8.92017 0.939684 9.94873 1.18095C11.3729 1.51502 12.485 2.62706 12.8191 4.05128C13.0603 5.07983 13.0603 6.15025 12.8191 7.1788C12.485 8.60302 11.3729 9.71505 9.94872 10.0491C8.92017 10.2904 7.84975 10.2904 6.8212 10.0491M3.95087 7.17881C4.28495 8.60302 5.39699 9.71505 6.8212 10.0491M3.95087 7.17881C3.79896 6.53119 3.7427 5.86696 3.78209 5.20705C3.72639 5.21842 3.67081 5.2306 3.61538 5.2436C2.39462 5.52995 1.44145 6.48313 1.1551 7.70388C0.9483 8.5855 0.9483 9.50301 1.1551 10.3846C1.44145 11.6054 2.39463 12.5586 3.61538 12.8449C4.49699 13.0517 5.4145 13.0517 6.29612 12.8449C7.51687 12.5586 8.47005 11.6054 8.7564 10.3846C8.7694 10.3292 8.78158 10.2736 8.79295 10.2179C8.13304 10.2573 7.46882 10.201 6.8212 10.0491" class="icon_main"/>
<path d="M3.95048 7.1788C3.70921 6.15025 3.70922 5.07982 3.95048 4.05127C4.28456 2.62706 5.39659 1.51502 6.82081 1.18095C7.84936 0.939684 8.91978 0.939684 9.94833 1.18095C11.3725 1.51502 12.4846 2.62706 12.8187 4.05128C13.0599 5.07983 13.0599 6.15025 12.8187 7.1788C12.4846 8.60302 11.3725 9.71505 9.94833 10.0491C8.91978 10.2904 7.84936 10.2904 6.82081 10.0491M3.95048 7.1788C4.28456 8.60302 5.3966 9.71505 6.82081 10.0491M3.95048 7.1788C3.79857 6.53119 3.74231 5.86696 3.7817 5.20705M6.82081 10.0491C7.46843 10.201 8.13265 10.2573 8.79256 10.2179" stroke="currentColor"/>
</svg>
<?php echo Wo_UserStatus($wo['user_profile']['user_id'], $wo['user_profile']['lastseen'], 'profile') ?>
</li>
<?php } ?>
<li class="list-group-item">
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6.08301 12.1174C6.08301 11.2979 6.67353 10.5998 7.47606 10.4707C8.48542 10.3082 9.51393 10.3082 10.5233 10.4707C11.3258 10.5998 11.9163 11.2979 11.9163 12.1174V12.2988C11.9163 12.7781 11.531 13.1666 11.0558 13.1666H6.94359C6.4683 13.1666 6.08301 12.7781 6.08301 12.2988V12.1174Z" class="icon_main" stroke-width="1.5"/>
<path d="M10.7011 6.549C10.7011 7.49655 9.93933 8.26469 8.99967 8.26469C8.06002 8.26469 7.29829 7.49655 7.29829 6.549C7.29829 5.60145 8.06002 4.83331 8.99967 4.83331C9.93933 4.83331 10.7011 5.60145 10.7011 6.549Z" class="icon_main" stroke-width="1.5"/>
<path d="M16.5 4.83333C16.5 2.99238 14.6345 1.5 12.3333 1.5M1.5 12.3333C1.5 14.6345 2.99238 16.5 4.83333 16.5M4.83333 1.5C2.99238 1.5 1.5 2.99238 1.5 4.83333M12.3333 16.5C14.6345 16.5 16.5 14.6345 16.5 12.3333" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
</svg>
<?php
$gender = ucfirst(strtolower($wo['user_profile']['gender']));
if (in_array($wo['user_profile']['gender'], array_keys($wo['genders']))) {
echo $wo['genders'][$wo['user_profile']['gender']];
}
else{
echo $wo['genders'][array_keys($wo['genders'])[0]];
}
//echo ($gender == 'Male') ? $wo['lang']['male'] : $wo['lang']['female'];
?>
</li>
<li class="list-group-item">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1.90013 9.78608L2.38692 9.6719L1.90013 9.78608ZM1.90013 5.08574L2.38692 5.19992L1.90013 5.08574ZM15.2281 5.08574L14.7413 5.19993L15.2281 5.08574ZM15.2281 9.78608L14.7413 9.67189L15.2281 9.78608ZM10.9143 14.0999L10.8001 13.6131L10.9143 14.0999ZM6.21392 14.0999L6.32811 13.6131L6.21392 14.0999ZM6.21392 0.771947L6.09974 0.285159L6.21392 0.771947ZM10.9143 0.771947L11.0284 0.285159L10.9143 0.771947ZM2.46761 11.2613L2.90535 11.0197L2.75077 10.7396L2.43173 10.7626L2.46761 11.2613ZM4.73872 13.5324L5.23743 13.5683L5.26038 13.2492L4.98034 13.0946L4.73872 13.5324ZM2.38692 9.6719C2.04194 8.2012 2.04194 6.67062 2.38692 5.19992L1.41334 4.97155C1.03313 6.59246 1.03313 8.27936 1.41334 9.90027L2.38692 9.6719ZM14.7413 5.19993C15.0862 6.67062 15.0862 8.2012 14.7413 9.67189L15.7148 9.90026C16.0951 8.27936 16.0951 6.59246 15.7148 4.97156L14.7413 5.19993ZM10.8001 13.6131C9.32938 13.9581 7.7988 13.9581 6.32811 13.6131L6.09974 14.5867C7.72064 14.9669 9.40754 14.9669 11.0284 14.5867L10.8001 13.6131ZM6.32811 1.25873C7.7988 0.913755 9.32938 0.913755 10.8001 1.25873L11.0284 0.285159C9.40754 -0.0950531 7.72064 -0.0950531 6.09974 0.285159L6.32811 1.25873ZM6.32811 13.6131C4.37255 13.1544 2.84563 11.6275 2.38692 9.6719L1.41334 9.90027C1.95879 12.2256 3.77442 14.0412 6.09974 14.5867L6.32811 13.6131ZM11.0284 14.5867C13.3538 14.0412 15.1694 12.2256 15.7148 9.90026L14.7413 9.67189C14.2826 11.6275 12.7556 13.1544 10.8001 13.6131L11.0284 14.5867ZM10.8001 1.25873C12.7556 1.71745 14.2826 3.24437 14.7413 5.19993L15.7148 4.97156C15.1694 2.64624 13.3538 0.830605 11.0284 0.285159L10.8001 1.25873ZM6.09974 0.285159C3.77442 0.830605 1.95879 2.64623 1.41334 4.97155L2.38692 5.19992C2.84563 3.24436 4.37255 1.71745 6.32811 1.25873L6.09974 0.285159ZM2.43173 10.7626C1.0722 10.8604 0 11.9937 0 13.3779H1C1 12.5219 1.66326 11.8205 2.5035 11.76L2.43173 10.7626ZM0 13.3779C0 14.826 1.17397 16 2.62213 16V15C1.72625 15 1 14.2737 1 13.3779H0ZM2.62213 16C4.0063 16 5.1396 14.9278 5.23743 13.5683L4.24001 13.4965C4.17954 14.3367 3.47807 15 2.62213 15V16ZM4.98034 13.0946C4.10741 12.6128 3.3872 11.8926 2.90535 11.0197L2.02987 11.5029C2.60286 12.541 3.45904 13.3971 4.49709 13.9701L4.98034 13.0946Z" fill="currentColor"/>
<path d="M5.59277 5.41266C5.17856 5.41266 4.84277 5.74845 4.84277 6.16266C4.84277 6.57687 5.17856 6.91266 5.59277 6.91266V5.41266ZM8.13933 6.91266C8.55354 6.91266 8.88933 6.57687 8.88933 6.16266C8.88933 5.74845 8.55354 5.41266 8.13933 5.41266V6.91266ZM6.44162 7.95921C6.02741 7.95921 5.69163 8.295 5.69163 8.70921C5.69163 9.12343 6.02741 9.45921 6.44162 9.45921V7.95921ZM10.6859 9.45921C11.1001 9.45921 11.4359 9.12343 11.4359 8.70921C11.4359 8.295 11.1001 7.95921 10.6859 7.95921V9.45921ZM5.59277 6.91266H8.13933V5.41266H5.59277V6.91266ZM6.44162 9.45921H10.6859V7.95921H6.44162V9.45921Z" class="icon_main_fill"/>
</svg>
<?php echo TextForMode('posts'); ?> <span class="badge badge-danger" id="user_post_count"><?php echo number_format($wo['user_profile']['details']['post_count']);?></span>
</li>
</ul>
<?php if ($wo['user_profile']['birthday'] != '0000-00-00' && $wo['user_profile']['birthday'] != '00-00-0000' && Wo_CanSeeBirthday($wo['user_profile']['user_id'], $wo['user_profile']['birth_privacy']) === true) { ?>
<li class="list-group-item">
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1.55519 9.16566L2.04255 9.05396L1.55519 9.16566ZM1.55519 5.23549L2.04255 5.34719L1.55519 5.23549ZM12.4442 5.23549L11.9568 5.34719L12.4442 5.23549ZM12.4442 9.16565L11.9568 9.05395L12.4442 9.16565ZM8.91977 12.7726L9.03649 13.2588L8.91977 12.7726ZM5.07958 12.7726L5.19629 12.2864L5.07958 12.7726ZM5.07958 1.62853L5.19629 2.11472L5.07958 1.62853ZM8.91977 1.62853L9.03649 1.14234L8.91977 1.62853ZM4.87973 1C4.87973 0.723858 4.65587 0.5 4.37973 0.5C4.10359 0.5 3.87973 0.723858 3.87973 1H4.87973ZM3.87973 2.67583C3.87973 2.95197 4.10359 3.17583 4.37973 3.17583C4.65587 3.17583 4.87973 2.95197 4.87973 2.67583H3.87973ZM10.1196 1C10.1196 0.723858 9.89576 0.5 9.61962 0.5C9.34348 0.5 9.11962 0.723858 9.11962 1H10.1196ZM9.11962 2.67583C9.11962 2.95197 9.34348 3.17583 9.61962 3.17583C9.89576 3.17583 10.1196 2.95197 10.1196 2.67583H9.11962ZM2.04255 9.05396C1.76316 7.83495 1.76316 6.56619 2.04255 5.34719L1.06783 5.12378C0.754735 6.48981 0.754735 7.91133 1.06783 9.27736L2.04255 9.05396ZM11.9568 5.34719C12.2362 6.56619 12.2362 7.83495 11.9568 9.05395L12.9315 9.27736C13.2446 7.91133 13.2446 6.48981 12.9315 5.12379L11.9568 5.34719ZM8.80306 12.2864C7.61685 12.5712 6.3825 12.5712 5.19629 12.2864L4.96286 13.2588C6.30251 13.5804 7.69684 13.5804 9.03649 13.2588L8.80306 12.2864ZM5.19629 2.11472C6.3825 1.82995 7.61685 1.82995 8.80306 2.11472L9.03649 1.14234C7.69684 0.820742 6.30251 0.820742 4.96286 1.14234L5.19629 2.11472ZM5.19629 12.2864C3.63706 11.9121 2.41147 10.6635 2.04255 9.05396L1.06783 9.27736C1.51932 11.2472 3.0246 12.7935 4.96286 13.2588L5.19629 12.2864ZM9.03649 13.2588C10.9748 12.7935 12.48 11.2472 12.9315 9.27736L11.9568 9.05395C11.5879 10.6635 10.3623 11.9121 8.80306 12.2864L9.03649 13.2588ZM8.80306 2.11472C10.3623 2.48903 11.5879 3.73761 11.9568 5.34719L12.9315 5.12379C12.48 3.15393 10.9748 1.60765 9.03649 1.14234L8.80306 2.11472ZM4.96286 1.14234C3.0246 1.60765 1.51932 3.15392 1.06783 5.12378L2.04255 5.34719C2.41147 3.73761 3.63706 2.48903 5.19629 2.11472L4.96286 1.14234ZM1.75978 5.01924H12.2396V4.01924H1.75978V5.01924ZM3.87973 1V2.67583H4.87973V1H3.87973ZM9.11962 1V2.67583H10.1196V1H9.11962Z" fill="currentColor"/>
<path d="M7.96125 8.28268C8.23125 8.09068 8.39925 7.80268 8.39925 7.41268C8.39925 6.60268 7.77525 6.18268 7.03725 6.18268C6.29925 6.18268 5.66925 6.60268 5.66925 7.41268C5.66925 7.80268 5.84325 8.09068 6.10725 8.28268C5.74125 8.50468 5.53125 8.87068 5.53125 9.29668C5.53125 10.0707 6.10125 10.5507 7.03725 10.5507C7.96725 10.5507 8.54325 10.0707 8.54325 9.29668C8.54325 8.87068 8.33325 8.50468 7.96125 8.28268ZM7.03725 6.96268C7.34925 6.96268 7.57725 7.14268 7.57725 7.45468C7.57725 7.76068 7.34925 7.95268 7.03725 7.95268C6.72525 7.95268 6.49725 7.76068 6.49725 7.45468C6.49725 7.14268 6.72525 6.96268 7.03725 6.96268ZM7.03725 9.77068C6.64125 9.77068 6.35325 9.56668 6.35325 9.18868C6.35325 8.81668 6.64125 8.61268 7.03725 8.61268C7.43325 8.61268 7.72125 8.81668 7.72125 9.18868C7.72125 9.56668 7.43325 9.77068 7.03725 9.77068Z" class="icon_main_fill"/>
</svg>
<?php echo date($wo['config']['date_style'],strtotime($wo['user_profile']['birthday']));?>
</li>
<?php } ?>
<?php if(!empty(Wo_UserRelationship($wo['user_profile']['id']))) { ?>
<li class="list-group-item">
<svg width="14" height="12" viewBox="0 0 14 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1.65593 5.7404L5.07865 10.3405C6.06366 11.6643 7.93633 11.6643 8.92135 10.3405L12.3441 5.7404C13.2186 4.56499 13.2186 2.89481 12.3441 1.71939C11.0638 -0.00124529 8.10474 0.509785 7 2.36572C5.89526 0.509785 2.93619 -0.00124511 1.65593 1.71939C0.781357 2.8948 0.781355 4.56499 1.65593 5.7404Z" class="icon_main" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M12.3441 5.7404L8.92135 10.3405C7.93633 11.6643 6.06366 11.6643 5.07865 10.3405L1.65593 5.7404C0.781355 4.56499 0.781357 2.8948 1.65593 1.71939C2.93619 -0.00124514 5.89526 0.509785 7 2.36572" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<?php echo Wo_UserRelationship($wo['user_profile']['id']); ?>
</li>
<?php } ?>
<?php if(!empty($wo['user_profile']['working'])) { ?>
<li class="list-group-item">
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6.2462 1.09779L6.11848 0.614379L6.11848 0.614379L6.2462 1.09779ZM7.75286 1.09779L7.62515 1.58121V1.58121L7.75286 1.09779ZM6.37391 1.5812C6.78373 1.47293 7.21533 1.47293 7.62515 1.58121L7.88058 0.614379C7.30335 0.461874 6.69571 0.461874 6.11848 0.614379L6.37391 1.5812ZM10.2842 3.70877C10.2842 2.25418 9.29414 0.987842 7.88058 0.614379L7.62515 1.58121C8.60792 1.84085 9.28422 2.71637 9.28422 3.70877L10.2842 3.70877ZM4.71484 3.70877C4.71484 2.71637 5.39115 1.84085 6.37391 1.5812L6.11848 0.614379C4.70492 0.987842 3.71484 2.25418 3.71484 3.70877L4.71484 3.70877Z" class="icon_main_fill"/>
<path d="M1.25567 9.93536L1.73647 9.79815L1.25567 9.93536ZM1.25332 6.29071L1.73412 6.42792V6.42792L1.25332 6.29071ZM12.7467 6.29072L12.2659 6.42792V6.42792L12.7467 6.29072ZM12.7443 9.93535L13.2251 10.0726L12.7443 9.93535ZM9.66193 12.7458L9.56727 12.2548L9.66193 12.7458ZM4.33807 12.7458L4.43273 12.2548L4.33807 12.7458ZM4.84865 3.37361L4.94331 3.86457H4.94331L4.84865 3.37361ZM9.15135 3.37361L9.24601 2.88265L9.15135 3.37361ZM9.86706 3.5116L9.7724 4.00256L9.86706 3.5116ZM12.6847 6.07347L13.1655 5.93626V5.93626L12.6847 6.07347ZM4.13294 3.5116L4.03828 3.02064L4.03828 3.02064L4.13294 3.5116ZM1.31531 6.07347L0.834508 5.93626H0.834508L1.31531 6.07347ZM4.2276 4.00256L4.94331 3.86457L4.75399 2.88265L4.03828 3.02064L4.2276 4.00256ZM9.05669 3.86456L9.7724 4.00256L9.96172 3.02064L9.24601 2.88265L9.05669 3.86456ZM12.2039 6.21068L12.2659 6.42792L13.2275 6.15351L13.1655 5.93626L12.2039 6.21068ZM1.73412 6.42792L1.79612 6.21068L0.834508 5.93626L0.772512 6.1535L1.73412 6.42792ZM1.73647 9.79815C1.42256 8.69816 1.42058 7.52664 1.73412 6.42792L0.772512 6.1535C0.40742 7.43286 0.410132 8.79449 0.77486 10.0726L1.73647 9.79815ZM12.2659 6.42792C12.5794 7.52664 12.5774 8.69816 12.2635 9.79815L13.2251 10.0726C13.5899 8.79449 13.5926 7.43286 13.2275 6.15351L12.2659 6.42792ZM9.56727 12.2548C7.87182 12.5817 6.12818 12.5817 4.43273 12.2548L4.24341 13.2367C6.06393 13.5878 7.93608 13.5878 9.75659 13.2367L9.56727 12.2548ZM4.94331 3.86457C6.30157 3.60268 7.69843 3.60268 9.05669 3.86456L9.24601 2.88265C7.76269 2.59665 6.23731 2.59665 4.75399 2.88265L4.94331 3.86457ZM4.43273 12.2548C3.13662 12.0049 2.09293 11.0472 1.73647 9.79815L0.77486 10.0726C1.23553 11.6869 2.57977 12.916 4.24341 13.2367L4.43273 12.2548ZM9.75659 13.2367C11.4202 12.916 12.7645 11.6869 13.2251 10.0726L12.2635 9.79815C11.9071 11.0472 10.8634 12.0049 9.56727 12.2548L9.75659 13.2367ZM9.7724 4.00256C10.9443 4.2285 11.8826 5.08479 12.2039 6.21068L13.1655 5.93626C12.7391 4.44217 11.498 3.31686 9.96172 3.02064L9.7724 4.00256ZM4.03828 3.02064C2.50198 3.31686 1.26088 4.44217 0.834508 5.93626L1.79612 6.21068C2.11742 5.08478 3.05574 4.2285 4.2276 4.00256L4.03828 3.02064ZM1.25716 6.86116C4.95993 8.23077 9.04007 8.23077 12.7428 6.86116L12.3959 5.92327C8.91702 7.21007 5.08298 7.21007 1.60408 5.92327L1.25716 6.86116Z" fill="currentColor"/>
<path d="M4.33301 6V8.33333" class="icon_main" stroke-linecap="round"/>
<path d="M9.66699 6V8.33333" class="icon_main" stroke-linecap="round"/>
</svg>
<span><?php echo $wo['lang']['working_at'];?> <?php if (!empty($wo['user_profile']['working_link'])) { ?><a href="<?php echo $wo['user_profile']['working_link']; ?>" target="_blank" rel="nofollow"><?php echo $wo['user_profile']['working']; ?></a> <?php } else { echo $wo['user_profile']['working'];} ?></span>
</li>
<?php } ?>
<?php if(!empty($wo['user_profile']['school'])) { ?>
<li class="list-group-item">
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1.23525 4.96695C1.66958 3.11534 3.11534 1.66958 4.96696 1.23525C6.30417 0.921583 7.69583 0.921583 9.03305 1.23525C10.8847 1.66958 12.3304 3.11534 12.7647 4.96696C13.0784 6.30417 13.0784 7.69583 12.7647 9.03304C12.3304 10.8847 10.8847 12.3304 9.03304 12.7647C7.69583 13.0784 6.30417 13.0784 4.96696 12.7647C3.11534 12.3304 1.66958 10.8847 1.23525 9.03305C0.921583 7.69583 0.921583 6.30417 1.23525 4.96695Z" stroke="currentColor" stroke-linecap="round"/>
<path d="M4.91992 9.08059V6.30653M9.08101 9.08059V7.00004M7.00047 8.38707V4.91949" class="icon_main" stroke-linecap="round"/>
</svg>
<span><?php echo ($wo['user_profile']['school_completed'] == 1) ? $wo['lang']['studied_at'] : $wo['lang']['studying_at'] ;?> <?php echo $wo['user_profile']['school']; ?></span>
</li>
<?php } ?>
<?php if($wo['config']['website_mode'] == 'linkedin' && !empty($wo['user_profile']['currently_working']) && in_array($wo['user_profile']['currently_working'], array('yes','am_looking_to_work','am_looking_for_employees'))) { ?>
<li class="list-group-item">
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6.2462 1.09779L6.11848 0.614379L6.11848 0.614379L6.2462 1.09779ZM7.75286 1.09779L7.62515 1.58121V1.58121L7.75286 1.09779ZM6.37391 1.5812C6.78373 1.47293 7.21533 1.47293 7.62515 1.58121L7.88058 0.614379C7.30335 0.461874 6.69571 0.461874 6.11848 0.614379L6.37391 1.5812ZM10.2842 3.70877C10.2842 2.25418 9.29414 0.987842 7.88058 0.614379L7.62515 1.58121C8.60792 1.84085 9.28422 2.71637 9.28422 3.70877L10.2842 3.70877ZM4.71484 3.70877C4.71484 2.71637 5.39115 1.84085 6.37391 1.5812L6.11848 0.614379C4.70492 0.987842 3.71484 2.25418 3.71484 3.70877L4.71484 3.70877Z" class="icon_main_fill"/>
<path d="M1.25567 9.93536L1.73647 9.79815L1.25567 9.93536ZM1.25332 6.29071L1.73412 6.42792V6.42792L1.25332 6.29071ZM12.7467 6.29072L12.2659 6.42792V6.42792L12.7467 6.29072ZM12.7443 9.93535L13.2251 10.0726L12.7443 9.93535ZM9.66193 12.7458L9.56727 12.2548L9.66193 12.7458ZM4.33807 12.7458L4.43273 12.2548L4.33807 12.7458ZM4.84865 3.37361L4.94331 3.86457H4.94331L4.84865 3.37361ZM9.15135 3.37361L9.24601 2.88265L9.15135 3.37361ZM9.86706 3.5116L9.7724 4.00256L9.86706 3.5116ZM12.6847 6.07347L13.1655 5.93626V5.93626L12.6847 6.07347ZM4.13294 3.5116L4.03828 3.02064L4.03828 3.02064L4.13294 3.5116ZM1.31531 6.07347L0.834508 5.93626H0.834508L1.31531 6.07347ZM4.2276 4.00256L4.94331 3.86457L4.75399 2.88265L4.03828 3.02064L4.2276 4.00256ZM9.05669 3.86456L9.7724 4.00256L9.96172 3.02064L9.24601 2.88265L9.05669 3.86456ZM12.2039 6.21068L12.2659 6.42792L13.2275 6.15351L13.1655 5.93626L12.2039 6.21068ZM1.73412 6.42792L1.79612 6.21068L0.834508 5.93626L0.772512 6.1535L1.73412 6.42792ZM1.73647 9.79815C1.42256 8.69816 1.42058 7.52664 1.73412 6.42792L0.772512 6.1535C0.40742 7.43286 0.410132 8.79449 0.77486 10.0726L1.73647 9.79815ZM12.2659 6.42792C12.5794 7.52664 12.5774 8.69816 12.2635 9.79815L13.2251 10.0726C13.5899 8.79449 13.5926 7.43286 13.2275 6.15351L12.2659 6.42792ZM9.56727 12.2548C7.87182 12.5817 6.12818 12.5817 4.43273 12.2548L4.24341 13.2367C6.06393 13.5878 7.93608 13.5878 9.75659 13.2367L9.56727 12.2548ZM4.94331 3.86457C6.30157 3.60268 7.69843 3.60268 9.05669 3.86456L9.24601 2.88265C7.76269 2.59665 6.23731 2.59665 4.75399 2.88265L4.94331 3.86457ZM4.43273 12.2548C3.13662 12.0049 2.09293 11.0472 1.73647 9.79815L0.77486 10.0726C1.23553 11.6869 2.57977 12.916 4.24341 13.2367L4.43273 12.2548ZM9.75659 13.2367C11.4202 12.916 12.7645 11.6869 13.2251 10.0726L12.2635 9.79815C11.9071 11.0472 10.8634 12.0049 9.56727 12.2548L9.75659 13.2367ZM9.7724 4.00256C10.9443 4.2285 11.8826 5.08479 12.2039 6.21068L13.1655 5.93626C12.7391 4.44217 11.498 3.31686 9.96172 3.02064L9.7724 4.00256ZM4.03828 3.02064C2.50198 3.31686 1.26088 4.44217 0.834508 5.93626L1.79612 6.21068C2.11742 5.08478 3.05574 4.2285 4.2276 4.00256L4.03828 3.02064ZM1.25716 6.86116C4.95993 8.23077 9.04007 8.23077 12.7428 6.86116L12.3959 5.92327C8.91702 7.21007 5.08298 7.21007 1.60408 5.92327L1.25716 6.86116Z" fill="currentColor"/>
<path d="M4.33301 6V8.33333" class="icon_main" stroke-linecap="round"/>
<path d="M9.66699 6V8.33333" class="icon_main" stroke-linecap="round"/>
</svg> <span><?php echo $wo['lang'][$wo['user_profile']['currently_working']]; ?></span>
</li>
<?php } ?>
<?php
$country = $wo['user_profile']['country_id'];
if ($country > 0) {
?>
<li class="list-group-item">
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5.4791 11.2135L4.98769 11.1213L4.98769 11.1213L5.4791 11.2135ZM5.492 11.1448L5.98342 11.2371L5.98342 11.2371L5.492 11.1448ZM8.50831 11.1448L8.0169 11.2371L8.0169 11.2371L8.50831 11.1448ZM8.52121 11.2135L9.01262 11.1213L9.01262 11.1213L8.52121 11.2135ZM8.32801 12.7013L8.77949 12.9161V12.9161L8.32801 12.7013ZM7.79867 12.65C7.68001 12.8993 7.78595 13.1977 8.0353 13.3163C8.28465 13.435 8.58298 13.3291 8.70164 13.0797L7.79867 12.65ZM5.6723 12.7013L5.22082 12.9161L5.22082 12.9161L5.6723 12.7013ZM5.29867 13.0797C5.41734 13.3291 5.71567 13.435 5.96501 13.3163C6.21436 13.1977 6.3203 12.8993 6.20164 12.65L5.29867 13.0797ZM6.57419 9.9617L6.44051 9.4799L6.44051 9.4799L6.57419 9.9617ZM7.42612 9.9617L7.5598 9.4799V9.4799L7.42612 9.9617ZM5.97052 11.3058L5.98342 11.2371L5.00058 11.0526L4.98769 11.1213L5.97052 11.3058ZM8.0169 11.2371L8.02979 11.3058L9.01262 11.1213L8.99973 11.0526L8.0169 11.2371ZM7.87652 12.4864L7.79867 12.65L8.70164 13.0797L8.77949 12.9161L7.87652 12.4864ZM5.22082 12.9161L5.29867 13.0797L6.20164 12.65L6.12379 12.4864L5.22082 12.9161ZM8.02979 11.3058C8.10489 11.7059 8.05111 12.1196 7.87652 12.4864L8.77949 12.9161C9.04513 12.3579 9.12672 11.7292 9.01262 11.1213L8.02979 11.3058ZM4.98769 11.1213C4.87359 11.7292 4.95518 12.3579 5.22082 12.9161L6.12379 12.4864C5.94921 12.1196 5.89542 11.7059 5.97052 11.3058L4.98769 11.1213ZM6.70788 10.4435C6.89919 10.3904 7.10112 10.3904 7.29243 10.4435L7.5598 9.4799C7.19355 9.37828 6.80676 9.37828 6.44051 9.4799L6.70788 10.4435ZM8.99973 11.0526C8.85783 10.2966 8.30043 9.6854 7.5598 9.4799L7.29243 10.4435C7.66251 10.5462 7.94479 10.853 8.0169 11.2371L8.99973 11.0526ZM5.98342 11.2371C6.05552 10.853 6.3378 10.5462 6.70788 10.4435L6.44051 9.4799C5.69988 9.6854 5.14248 10.2966 5.00058 11.0526L5.98342 11.2371Z" class="icon_main_fill"/>
<path d="M12.36 5.47935C12.36 5.20321 12.1361 4.97936 11.86 4.97936C11.5839 4.97936 11.36 5.20321 11.36 5.47935H12.36ZM2.63999 5.47935C2.63999 5.20321 2.41614 4.97936 2.13999 4.97936C1.86385 4.97936 1.63999 5.20321 1.63999 5.47935H2.63999ZM8.6755 12.8047L8.56054 12.3181L8.6755 12.8047ZM5.32449 12.8047L5.43944 12.3181L5.32449 12.8047ZM8.88562 2.34282L8.53081 2.69512V2.69512L8.88562 2.34282ZM12.6452 6.83877C12.8398 7.03472 13.1563 7.03584 13.3523 6.84127C13.5483 6.6467 13.5494 6.33012 13.3548 6.13417L12.6452 6.83877ZM5.11438 2.34282L5.46919 2.69512L5.11438 2.34282ZM0.645196 6.13417C0.450627 6.33012 0.451749 6.6467 0.647702 6.84127C0.843655 7.03584 1.16024 7.03472 1.3548 6.83877L0.645196 6.13417ZM11.36 5.47935V8.75825H12.36V5.47935H11.36ZM2.63999 8.75825V5.47935H1.63999V8.75825H2.63999ZM8.56054 12.3181C7.53409 12.5606 6.46589 12.5606 5.43944 12.3181L5.20953 13.2913C6.38718 13.5696 7.61281 13.5696 8.79045 13.2913L8.56054 12.3181ZM5.43944 12.3181C3.80173 11.9313 2.63999 10.4585 2.63999 8.75825H1.63999C1.63999 10.9177 3.11614 12.7968 5.20953 13.2913L5.43944 12.3181ZM8.79045 13.2913C10.8838 12.7968 12.36 10.9177 12.36 8.75825H11.36C11.36 10.4585 10.1983 11.9313 8.56054 12.3181L8.79045 13.2913ZM8.53081 2.69512L12.6452 6.83877L13.3548 6.13417L9.24042 1.99052L8.53081 2.69512ZM4.75958 1.99052L0.645196 6.13417L1.3548 6.83877L5.46919 2.69512L4.75958 1.99052ZM9.24042 1.99052C8.80596 1.55297 8.44537 1.18831 8.12123 0.939234C7.7857 0.68141 7.43051 0.5 7 0.5V1.5C7.12177 1.5 7.26495 1.54239 7.51193 1.73218C7.77031 1.93071 8.07639 2.23746 8.53081 2.69512L9.24042 1.99052ZM5.46919 2.69512C5.92361 2.23746 6.22969 1.93071 6.48807 1.73218C6.73505 1.54239 6.87823 1.5 7 1.5V0.5C6.56949 0.5 6.2143 0.681409 5.87877 0.939234C5.55463 1.18831 5.19404 1.55297 4.75958 1.99052L5.46919 2.69512Z" fill="currentColor"/>
</svg>
<?php echo $wo['lang']['living_in'];?>
<?php echo $wo['countries_name'][$country];?>
</li>
<?php } ?>
<?php if(!empty($wo['user_profile']['address']) && $wo['user_profile']['share_my_location'] == 1) { ?>
<li class="list-group-item">
<svg width="12" height="14" viewBox="0 0 12 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.3337 6.45032C11.3337 9.46045 8.94584 13 6.00033 13C3.05481 13 0.666992 9.46045 0.666992 6.45032C0.666992 3.44019 3.05481 1 6.00033 1C8.94584 1 11.3337 3.44019 11.3337 6.45032Z" stroke="currentColor"/>
<path d="M4.33301 5.99998C4.33301 5.07951 5.0792 4.33331 5.99967 4.33331C6.92015 4.33331 7.66634 5.07951 7.66634 5.99998C7.66634 6.92045 6.92015 7.66665 5.99967 7.66665C5.0792 7.66665 4.33301 6.92045 4.33301 5.99998Z" class="icon_main"/>
</svg>
<span><?php echo $wo['lang']['located_in'];?> <?php echo $wo['user_profile']['address'];?></span>
<?php if (!empty($wo['config']['google_map_api']) && $wo['config']['google_map']) { ?>
<iframe width="100%" class="user-location-frame" frameborder="0" style="border:0;margin-top: 10px;" src="https://www.google.com/maps/embed/v1/place?key=<?php echo $wo['config']['google_map_api']; ?>&q=<?php echo $wo['user_profile']['address'];?>&language=en"></iframe>
<?php } ?>
<?php if ($wo['config']['yandex_map'] == 1) { ?>
<div id="place_<?php echo($wo['user_profile']['user_id']) ?>" <?php echo($wo['config']['yandex_map'] == 1 ? 'style="width: 100%; height: 300px; padding: 0; margin: 10px 0 0;"' : '') ?>></div>
<script type="text/javascript">
<?php if (!empty($wo['user_profile']['address'])) { ?>
setTimeout(function () {
var myMap;
ymaps.geocode("<?php echo($wo['user_profile']['address']); ?>").then(function (res) {
myMap = new ymaps.Map('place_<?php echo($wo['user_profile']['user_id']) ?>', {
center: res.geoObjects.get(0).geometry.getCoordinates(),
zoom : 10
});
myMap.geoObjects.add(new ymaps.Placemark(res.geoObjects.get(0).geometry.getCoordinates(), {
balloonContent: ''
}));
});
},1000);
<?php } ?>
</script>
<?php } ?>
</li>
<?php } ?>
<?php if(!empty($wo['user_profile']['website'])) { ?>
<li class="list-group-item website">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1 6.09091H15L9.16043 1" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M15 9.90909L1 9.90909L6.83957 15" class="icon_main" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<a rel="nofollow" href="<?php echo $wo['user_profile']['website']?>"><?php echo $wo['user_profile']['website']?></a>
</li>
<?php } ?>
<?php if(!empty($wo['user_profile']['facebook']) || !empty($wo['user_profile']['twitter']) || !empty($wo['user_profile']['linkedin']) || !empty($wo['user_profile']['vk']) || !empty($wo['user_profile']['youtube'])) { ?>
<li class="list-group-item user-social-links">
<?php if(!empty($wo['user_profile']['youtube'])) { ?>
<a class="social-btn" href="https://www.youtube.com/<?php echo $wo['user_profile']['youtube']?>" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#FF0000" d="M10,15L15.19,12L10,9V15M21.56,7.17C21.69,7.64 21.78,8.27 21.84,9.07C21.91,9.87 21.94,10.56 21.94,11.16L22,12C22,14.19 21.84,15.8 21.56,16.83C21.31,17.73 20.73,18.31 19.83,18.56C19.36,18.69 18.5,18.78 17.18,18.84C15.88,18.91 14.69,18.94 13.59,18.94L12,19C7.81,19 5.2,18.84 4.17,18.56C3.27,18.31 2.69,17.73 2.44,16.83C2.31,16.36 2.22,15.73 2.16,14.93C2.09,14.13 2.06,13.44 2.06,12.84L2,12C2,9.81 2.16,8.2 2.44,7.17C2.69,6.27 3.27,5.69 4.17,5.44C4.64,5.31 5.5,5.22 6.82,5.16C8.12,5.09 9.31,5.06 10.41,5.06L12,5C16.19,5 18.8,5.16 19.83,5.44C20.73,5.69 21.31,6.27 21.56,7.17Z" /></svg>
</a>
<?php } if(!empty($wo['user_profile']['twitter'])) { ?>
<a class="social-btn" href="https://twitter.com/<?php echo $wo['user_profile']['twitter']?>" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#1d9bf0" d="M22.46,6C21.69,6.35 20.86,6.58 20,6.69C20.88,6.16 21.56,5.32 21.88,4.31C21.05,4.81 20.13,5.16 19.16,5.36C18.37,4.5 17.26,4 16,4C13.65,4 11.73,5.92 11.73,8.29C11.73,8.63 11.77,8.96 11.84,9.27C8.28,9.09 5.11,7.38 3,4.79C2.63,5.42 2.42,6.16 2.42,6.94C2.42,8.43 3.17,9.75 4.33,10.5C3.62,10.5 2.96,10.3 2.38,10C2.38,10 2.38,10 2.38,10.03C2.38,12.11 3.86,13.85 5.82,14.24C5.46,14.34 5.08,14.39 4.69,14.39C4.42,14.39 4.15,14.36 3.89,14.31C4.43,16 6,17.26 7.89,17.29C6.43,18.45 4.58,19.13 2.56,19.13C2.22,19.13 1.88,19.11 1.54,19.07C3.44,20.29 5.7,21 8.12,21C16,21 20.33,14.46 20.33,8.79C20.33,8.6 20.33,8.42 20.32,8.23C21.16,7.63 21.88,6.87 22.46,6Z" /></svg>
</a>
<?php } if(!empty($wo['user_profile']['google'])) { ?>
<!-- <a class="social-btn" rel="publisher" href="https://plus.google.com/<?php echo $wo['user_profile']['google']?>" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="feather feather-google" fill="#dc4938"><path d="M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M19.5,12H18V10.5H17V12H15.5V13H17V14.5H18V13H19.5V12M9.65,11.36V12.9H12.22C12.09,13.54 11.45,14.83 9.65,14.83C8.11,14.83 6.89,13.54 6.89,12C6.89,10.46 8.11,9.17 9.65,9.17C10.55,9.17 11.13,9.56 11.45,9.88L12.67,8.72C11.9,7.95 10.87,7.5 9.65,7.5C7.14,7.5 5.15,9.5 5.15,12C5.15,14.5 7.14,16.5 9.65,16.5C12.22,16.5 13.96,14.7 13.96,12.13C13.96,11.81 13.96,11.61 13.89,11.36H9.65Z"></path></svg>
</a> -->
<?php } if(!empty($wo['user_profile']['facebook'])) { ?>
<a class="social-btn" rel="publisher" href="https://www.facebook.com/<?php echo $wo['user_profile']['facebook']?>" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#0062E0" d="M12 2.04C6.5 2.04 2 6.53 2 12.06C2 17.06 5.66 21.21 10.44 21.96V14.96H7.9V12.06H10.44V9.85C10.44 7.34 11.93 5.96 14.22 5.96C15.31 5.96 16.45 6.15 16.45 6.15V8.62H15.19C13.95 8.62 13.56 9.39 13.56 10.18V12.06H16.34L15.89 14.96H13.56V21.96A10 10 0 0 0 22 12.06C22 6.53 17.5 2.04 12 2.04Z" /></svg>
</a>
<?php } if(!empty($wo['user_profile']['linkedin'])) { ?>
<a class="social-btn" rel="publisher" href="https://www.linkedin.com/profile/view?id=<?php echo $wo['user_profile']['linkedin']?>" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#0a66c2" d="M19 3A2 2 0 0 1 21 5V19A2 2 0 0 1 19 21H5A2 2 0 0 1 3 19V5A2 2 0 0 1 5 3H19M18.5 18.5V13.2A3.26 3.26 0 0 0 15.24 9.94C14.39 9.94 13.4 10.46 12.92 11.24V10.13H10.13V18.5H12.92V13.57C12.92 12.8 13.54 12.17 14.31 12.17A1.4 1.4 0 0 1 15.71 13.57V18.5H18.5M6.88 8.56A1.68 1.68 0 0 0 8.56 6.88C8.56 5.95 7.81 5.19 6.88 5.19A1.69 1.69 0 0 0 5.19 6.88C5.19 7.81 5.95 8.56 6.88 8.56M8.27 18.5V10.13H5.5V18.5H8.27Z" /></svg>
</a>
<?php } ?>
<?php if(!empty($wo['user_profile']['vk'])) { ?>
<a class="social-btn" rel="publisher" href="https://vk.com/<?php echo $wo['user_profile']['vk'];?>" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="#0077ff"><path d="M21.579 6.855c.14-.465 0-.806-.662-.806h-2.193c-.558 0-.813.295-.953.619 0 0-1.115 2.719-2.695 4.482-.51.513-.743.675-1.021.675-.139 0-.341-.162-.341-.627V6.855c0-.558-.161-.806-.626-.806H9.642c-.348 0-.558.258-.558.504 0 .528.79.65.871 2.138v3.228c0 .707-.127.836-.407.836-.743 0-2.551-2.729-3.624-5.853-.209-.607-.42-.852-.98-.852H2.752c-.627 0-.752.295-.752.619 0 .582.743 3.462 3.461 7.271 1.812 2.601 4.363 4.011 6.687 4.011 1.393 0 1.565-.313 1.565-.853v-1.966c0-.626.133-.752.574-.752.324 0 .882.164 2.183 1.417 1.486 1.486 1.732 2.153 2.567 2.153h2.192c.626 0 .939-.313.759-.931-.197-.615-.907-1.51-1.849-2.569-.512-.604-1.277-1.254-1.51-1.579-.325-.419-.231-.604 0-.976.001.001 2.672-3.761 2.95-5.04z"></path></svg>
</a>
<?php } ?>
<?php if(!empty($wo['user_profile']['instagram'])) { ?>
<a class="social-btn" rel="publisher" href="https://instagram.com/<?php echo $wo['user_profile']['instagram'];?>" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#FE207A" d="M7.8,2H16.2C19.4,2 22,4.6 22,7.8V16.2A5.8,5.8 0 0,1 16.2,22H7.8C4.6,22 2,19.4 2,16.2V7.8A5.8,5.8 0 0,1 7.8,2M7.6,4A3.6,3.6 0 0,0 4,7.6V16.4C4,18.39 5.61,20 7.6,20H16.4A3.6,3.6 0 0,0 20,16.4V7.6C20,5.61 18.39,4 16.4,4H7.6M17.25,5.5A1.25,1.25 0 0,1 18.5,6.75A1.25,1.25 0 0,1 17.25,8A1.25,1.25 0 0,1 16,6.75A1.25,1.25 0 0,1 17.25,5.5M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z" /></svg>
</a>
<?php } ?>
</li>
<?php } ?>
</ul>
<?php if($wo['loggedin'] == true) { ?>
<div class="wow_content">
<div class="wow_form_fields mt-0 profile_search">
<input type="text" class="search-for-posts" placeholder="<?php echo $wo['lang']['search_for_posts']; ?>" onkeyup="Wo_SearchForPosts(this.value);" />
<svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="9" cy="9" r="8" stroke="currentColor" stroke-width="2"/>
<path d="M14.5 15.5L18.5 19.5" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
</div>
<?php } ?>
<?php if(!empty($wo['user_profile']['about'])) { ?>
<div class="page-margin wow_content">
<div class="wo_page_hdng profile_hdng_side pag_neg_padd">
<div class="wo_page_hdng_innr"><?php echo $wo['lang']['about']; ?></div>
</div>
<p class="page-margin mt-0"><?php echo $wo['user_profile']['about']; ?></p>
</div>
<?php } ?>
<?php
$fields = Wo_GetProfileFields('none');
if (count($fields) > 0) { ?>
<ul class="page-margin wow_content negg_padd list-unstyled event-options-list">
<div class="wo_page_hdng profile_hdng_side">
<div class="wo_page_hdng_innr"><?php echo $wo['lang']['more_info']; ?></div>
</div>
<?php
foreach ($fields as $key => $wo['field']) {
$name = $wo['field']['fid'];
if (!empty($wo['user_profile']['fields'][$name])) {
echo Wo_LoadPage('timeline/custom-fields');
}
}
?>
</ul>
<?php } ?>
<?php
if ($wo['config']['website_mode'] != 'instagram') {
echo Wo_LoadPage('timeline/albums-sidebar');
}
if ($wo['config']['connectivitySystem'] == 1) {
echo Wo_LoadPage('timeline/friends-sidebar');
} else {
echo Wo_LoadPage('timeline/following-followers-sidebar');
}
if ($wo['config']['pages'] == 1) {
echo Wo_LoadPage('timeline/likes-sidebar');
}
if ($wo['config']['groups'] == 1) {
echo Wo_LoadPage('timeline/groups-sidebar');
}
if ($wo['config']['store_system'] == 'on') { ?>
<?php $all_products = Wo_GetProducts(array('user_id' => $wo['user_profile']['user_id'] , 'limit' => 6)); ?>
<?php if (!empty($all_products)) { ?>
<ul class="page-margin wow_content negg_padd list-unstyled event-options-list" id="sidebar-pages-list-container">
<div class="wo_page_hdng profile_hdng_side">
<div class="wo_page_hdng_innr">
<a href="<?php echo Wo_SeoLink('index.php?link1=timeline&u=' . $wo['user_profile']['username'] . '&type=products');?>" data-ajax="?link1=timeline&u=<?php echo $wo['user_profile']['username']?>&type=products"><?php echo $wo['lang']['products_for_sale'];?></a>
</div>
</div>
<li>
<div class="activities-wrapper sidebar-product-slider">
<?php
foreach ($all_products as $wo['product']) {
$wo['product']['name'] = mb_substr($wo['product']['name'], 0, 10, "utf-8");
echo Wo_LoadPage('timeline/sidebar-product-list');
}
?>
</div>
</li>
<li><div class="clear"></div></li>
</ul>
<?php } ?>
<?php } ?>
<?php
$sidebar_ad = Wo_GetAd('sidebar', false);
if (!empty($sidebar_ad)) {?>
<ul class="list-group sidebar-ad">
<?php echo $sidebar_ad; ?>
</ul>
<?php } ?>
<?php echo Wo_LoadPage('footer/sidebar-footer')?>
</div>
<?php }else{ ?>
<div class="col-sm-12">
<div class="list-group wo_profile_banned_user">
<img src="<?php echo $wo['config']['theme_url'];?>/img/banned.png">
<div>
<p><?php echo $wo['lang']['user_profile_banned']; ?></p>
<a href="<?php echo $wo['config']['site_url']; ?>" class="btn btn-main btn-mat"><?php echo $wo['lang']['home']; ?></a>
</div>
</div>
</div>
<?php } ?>
</div>
<?php echo Wo_LoadPage('modals/unfriend');?>
<?php echo Wo_LoadPage('modals/profile-picture');?>
<?php echo Wo_LoadPage('modals/cover-image');?>
<?php if (!empty($wo['user_profile']['background_image']) && $wo['user_profile']['background_image_status'] == 1) { ?>
<style>
body {
background: url(<?php echo Wo_GetMedia($wo['user_profile']['background_image']); ?>) fixed !important;
background-size:100% auto;
}
</style>
<?php } ?>
<!-- JS Timline functions -->
<?php if ($wo['loggedin']): ?>
<div class="modal fade" id="send_gift" role="dialog">
<div class="modal-dialog wow_mat_mdl">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
<h4 class="modal-title">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-gift"><polyline points="20 12 20 22 4 22 4 12"></polyline><rect x="2" y="7" width="20" height="5"></rect><line x1="12" y1="22" x2="12" y2="7"></line><path d="M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z"></path><path d="M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z"></path></svg>
<?php echo $wo['lang']['send_a_gift']; ?>
</h4>
</div>
<div class="modal-body">
<div id="gifts-list" class="wo_send_gift">
<?php foreach (Wo_GetAllGifts(500000) as $wo['giftlist']) {?>
<div class="text-center gift-data" data-gift-id="<?php echo $wo['giftlist']['id'];?>">
<label>
<input type="radio" onClick="$('#send-gift-button').attr('data-gift-id',$(this).val());$('#send-gift-button').attr('data-gift-img','<?php echo $wo['giftlist']['media_file'];?>');$('#send-gift-button').attr('disabled',false);" name="gift" value="<?php echo $wo['giftlist']['id'];?>" />
<img src="<?php echo Wo_GetMedia($wo['giftlist']['media_file']); ?>" alt="<?php echo $wo['giftlist']['name'];?> gift">
</label>
</div>
<?php } ?>
</div>
</div>
<div class="modal-footer">
<div class="ball-pulse"><div></div><div></div><div></div></div>
<button type="button" class="btn btn-mat btn-main" id="send-gift-button" data-gift-id="" data-gift-img="" onclick="Wo_SendGiftToUser(<?php echo $wo['user']['id']; ?>,<?php echo $wo['user_profile']['id']; ?>,this)" disabled><?php echo $wo['lang']['send']; ?></button>
</div>
</div>
</div>
</div>
<?php endif; ?>
<div class="modal fade" id="report_profile" role="dialog">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
<h4 class="modal-title">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-alert-triangle"><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12" y2="17"></line></svg>
<?php echo $wo['lang']['report_user']; ?>
</h4>
</div>
<div class="modal-body">
<textarea class="form-control" placeholder="Type text" dir="auto" rows="4" id="report-user-text-<?php echo $wo['user_profile']['id']; ?>"></textarea>
</div>
<div class="modal-footer">
<div class="ball-pulse"><div></div><div></div><div></div></div>
<button type="button" class="btn btn-main" id="report-user-button" onclick="Wo_ReportProfile(<?php echo $wo['user_profile']['id']; ?>,true)"><?php echo $wo['lang']['send']; ?></button>
</div>
</div>
</div>
</div>
<?php if ($wo['loggedin']): ?>
<div class="modal fade" id="add_to_family" role="dialog">
<div class="modal-dialog wow_mat_mdl">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
<h4 class="modal-title"><svg width="15" height="13" viewBox="0 0 15 13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 11.367C1 9.99053 1.97798 8.81803 3.30709 8.6011L3.42681 8.58155C4.49109 8.40784 5.57558 8.40784 6.63986 8.58155L6.75958 8.6011C8.08868 8.81803 9.06667 9.99053 9.06667 11.367C9.06667 11.962 8.59507 12.4443 8.01332 12.4443H2.05335C1.4716 12.4443 1 11.962 1 11.367Z" stroke="currentColor"></path><path d="M7.38611 3.85059C7.38611 5.17952 6.33274 6.25684 5.03333 6.25684C3.73393 6.25684 2.68056 5.17952 2.68056 3.85059C2.68056 2.52165 3.73393 1.44434 5.03333 1.44434C6.33274 1.44434 7.38611 2.52165 7.38611 3.85059Z" stroke="currentColor"></path><path d="M9.06641 6.25684C10.7202 6.25684 12.0609 5.17952 12.0609 3.85059C12.0609 2.52165 10.7202 1.44434 9.06641 1.44434M11.1111 12.4443H12.8591C13.5995 12.4443 14.1997 11.962 14.1997 11.367C14.1997 9.99053 12.955 8.81803 11.2634 8.6011L11.1111 8.58155C10.7006 8.58155 10.676 8.58155 10.1283 8.58155" class="icon_main" stroke-linecap="round"></path></svg> <?php echo $wo['lang']['family_member']; ?></h4>
</div>
<div class="add_to_family_alert"></div>
<div class="modal-body">
<div class="family_mbr_detail">
<div class="family_mbr_avatar">
<img src="<?php echo $wo['user_profile']['avatar']; ?>" alt="<?php echo $wo['user_profile']['name']; ?> Picture" class="responsive-img">
</div>
<h4 class="family_mbr_name"><?php echo $wo['user_profile']['name']; ?></h4>
</div>
<div class="add_as_cont">
<input type="hidden" id="family_list">
<div class="add_as_cont_list">
<?php foreach ($wo['family'] as $key => $value): ?>
<label>
<input type="radio" name="family_list" id="<?php echo $key; ?>" value="<?php echo $key; ?>" onclick="SelectFamilyList('<?php echo $key; ?>')">
<div class="btn-default"><?php echo $wo['lang'][$value]; ?></div>
</label>
<?php endforeach; ?>
</div>
</div>
<div class="clear"></div>
</div>
<div class="modal-footer">
<div class="ball-pulse"><div></div><div></div><div></div></div>
<button type="button" class="btn btn-main btn-mat" id="add_to_family_button" onclick="Wo_AddFamilyMember();"><?php echo $wo['lang']['add']; ?></button>
</div>
</div>
</div>
</div>
<?php endif; ?>
<div class="modal fade" id="delete_family_mbr_modal" role="dialog" data-slide='true'>
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
<h4 class="modal-title"><?php echo $wo['lang']['important']; ?></h4>
</div>
<div class="modal-body">
<p><?php echo $wo['lang']['confirm_remove_family_member']; ?></p>
</div>
<div class="modal-footer">
<div class="ball-pulse"><div></div><div></div><div></div></div>
<button id="delete_family_member_button" type="button" class="btn btn-main" onclick="Wo_DeleteFamilyMember($('#delete_family_mbr_modal').attr('data-family-member-id'));"><?php echo $wo['lang']['delete']; ?></button>
</div>
</div>
</div>
</div>
<div class="modal fade in" id="poke_modal" role="dialog">
<div class="modal-dialog wow_mat_mdl">
<div class="modal-content">
<p style="text-align: center;padding: 30px 20px;font-family: Hind,Arial;font-size: 16px;">
<i class="fa fa-check" aria-hidden="true" style="color: green;"></i>
<?php echo $wo['lang']['you_have_poked'] . " " . ucfirst($wo['user_profile']['username']); ?>
</p>
</div>
</div>
</div>
<div class="modal fade in" id="accept_family_mbr_modal" role="dialog">
<div class="modal-dialog wow_mat_mdl">
<div class="modal-content">
<p style="text-align: center;padding: 30px 20px;font-family: Hind,Arial;font-size: 16px;">
<i class="fa fa-check" aria-hidden="true" style="color: green;"></i>
<?php echo $wo['lang']['family_member_added']; ?>
</p>
</div>
</div>
</div>
<div class="modal fade" id="cropImage" role="dialog">
<div class="modal-dialog wow_mat_mdl">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
<h4 class="modal-title"><?php echo $wo['lang']['crop_your_avatar'] ?></h4>
</div>
<div class="modal-body">
<div id="image-to-crop" class="wo_crop_img_pic">
<img src="<?php echo Wo_GetMedia($wo['user_profile']['avatar_full'])?>" alt="avatar" data-image="<?php echo $wo['user_profile']['avatar_full']; ?>" >
</div>
</div>
<div class="modal-footer">
<div class="ball-pulse"><div></div><div></div><div></div></div>
<button type="button" class="btn btn-main btn-mat" onclick="CropImage();"><?php echo $wo['lang']['save']; ?></button>
</div>
</div>
</div>
</div>
<?php if ( $wo['loggedin'] ): ?>
<?php if ( isset( $_GET['mode'] ) && $_GET['mode'] == 'opengift' ): ?>
<div class="modal fade" id="gift_show_model" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
<h4 class="modal-title">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-gift"><polyline points="20 12 20 22 4 22 4 12"></polyline><rect x="2" y="7" width="20" height="5"></rect><line x1="12" y1="22" x2="12" y2="7"></line><path d="M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z"></path><path d="M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z"></path></svg>
<?php echo $wo['user_profile']['name'] . " " . $wo['lang']['send_gift_to_you'] ?></h4>
</div>
<div class="modal-body">
<img src="<?php echo Wo_GetMedia($_GET['gift_img']);?>" style="max-width: 100%;margin: 0 auto;display: block;">
</div>
</div>
</div>
</div>
<?php endif; ?>
<?php if ($wo['config']['website_mode'] == 'linkedin') { ?>
<div class="modal fade" id="finding_a_job_modal" role="dialog" data-keyboard="false">
<div class="modal-dialog wow_mat_mdl">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
<h4 class="modal-title"><?php echo $wo['lang']['add_job_preferences'] ?></h4>
</div>
<form class="form form-horizontal finding_a_job_form" method="post" action="#">
<div class="modal-body">
<h4><?php echo $wo['lang']['tell_us_kind_work'] ?></h4>
<div class="modal_finding_a_job_modal_alert"></div>
<div class="clear"></div>
<div class="wow_form_fields">
<label><?php echo $wo['lang']['job_title']; ?></label>
<input name="job_title" type="text" autocomplete="off">
</div>
<div class="wow_form_fields">
<label><?php echo $wo['lang']['job_location']; ?></label>
<input name="job_location" type="text" autocomplete="off">
</div>
<div class="wow_form_fields mb-0">
<label><?php echo $wo['lang']['workplaces']; ?></label>
</div>
<span class="round-check">
<input type="checkbox" id="on_site" name="workplaces[]" value="on_site">
<label for="on_site"><?php echo $wo['lang']['on_site']; ?></label>
</span>
<span class="round-check">
<input type="checkbox" id="hybrid" name="workplaces[]" value="hybrid">
<label for="hybrid"><?php echo $wo['lang']['hybrid']; ?></label>
</span>
<span class="round-check">
<input type="checkbox" id="remote" name="workplaces[]" value="remote">
<label for="remote"><?php echo $wo['lang']['remote']; ?></label>
</span>
<div class="wow_form_fields mb-0">
<label><?php echo $wo['lang']['job_types']; ?></label>
</div>
<span class="round-check">
<input type="checkbox" id="full_time" name="job_type[]" value="full_time">
<label for="full_time"><?php echo $wo['lang']['full_time']; ?></label>
</span>
<span class="round-check">
<input type="checkbox" id="contract" name="job_type[]" value="contract">
<label for="contract"><?php echo $wo['lang']['contract']; ?></label>
</span>
<span class="round-check">
<input type="checkbox" id="part_time" name="job_type[]" value="part_time">
<label for="part_time"><?php echo $wo['lang']['part_time']; ?></label>
</span>
<span class="round-check">
<input type="checkbox" id="internship" name="job_type[]" value="internship">
<label for="internship"><?php echo $wo['lang']['internship']; ?></label>
</span>
<span class="round-check">
<input type="checkbox" id="temporary" name="job_type[]" value="temporary">
<label for="temporary"><?php echo $wo['lang']['temporary']; ?></label>
</span>
<div class="clear"></div>
</div>
<div class="clear"></div>
<div class="modal-footer">
<div class="ball-pulse"><div></div><div></div><div></div></div>
<button type="submit" class="btn btn-main btn-mat"><?php echo $wo['lang']['add']; ?></button>
</div>
</form>
</div>
</div>
</div>
<div class="modal fade" id="providing_services_modal" role="dialog" data-keyboard="false">
<div class="modal-dialog wow_mat_mdl">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
<h4 class="modal-title"><?php echo $wo['lang']['set_up_services_page'] ?></h4>
</div>
<form class="form form-horizontal providing_services_form" method="post" action="#">
<div class="modal-body">
<div class="providing_services_modal_alert"></div>
<div class="clear"></div>
<div class="wow_form_fields">
<label><?php echo $wo['lang']['services']; ?></label>
<input name="services" type="text" autocomplete="off" id="providing_services_input">
</div>
<div class="wow_form_fields">
<label><?php echo $wo['lang']['location']; ?></label>
<input name="job_location" type="text" autocomplete="on">
</div>
<div class="wow_form_fields">
<label><?php echo $wo['lang']['description']; ?></label>
<textarea name="description" cols="20" rows="3"></textarea>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
<div class="modal-footer">
<div class="ball-pulse"><div></div><div></div><div></div></div>
<button type="button" onclick="SubmitAjaxForm('.providing_services_form')" class="btn btn-main btn-mat"><?php echo $wo['lang']['add']; ?></button>
</div>
</form>
</div>
</div>
</div>
<?php } ?>
<?php if ($wo['config']['website_mode'] == 'linkedin' && $wo['user_profile']['is_open_to_work'] != 0) { ?>
<div class="modal fade" id="edit_finding_a_job_modal" role="dialog" data-keyboard="false">
<div class="modal-dialog wow_mat_mdl">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
<h4 class="modal-title"><?php echo $wo['lang']['edit_job_preferences'] ?></h4>
</div>
<form class="form form-horizontal edit_finding_a_job_form" method="post" action="#">
<div class="modal-body">
<div class="modal_edit_finding_a_job_modal_alert"></div>
<div class="clear"></div>
<div class="wow_form_fields">
<label><?php echo $wo['lang']['job_title']; ?></label>
<input name="job_title" type="text" autocomplete="off" value="<?php echo $wo['user_profile']['open_to_work_data']->job_title; ?>">
</div>
<div class="wow_form_fields">
<label><?php echo $wo['lang']['job_location']; ?></label>
<input name="job_location" type="text" autocomplete="off" value="<?php echo $wo['user_profile']['open_to_work_data']->job_location; ?>">
</div>
<div class="wow_form_fields mb-0">
<label><?php echo $wo['lang']['workplaces']; ?></label>
</div>
<span class="round-check">
<input type="checkbox" id="on_site-edit" name="workplaces[]" value="on_site" <?php echo(strpos($wo['user_profile']['open_to_work_data']->workplaces, 'on_site') !== false ? 'checked' : '') ?>>
<label for="on_site-edit"><?php echo $wo['lang']['on_site']; ?></label>
</span>
<span class="round-check">
<input type="checkbox" id="hybrid-edit" name="workplaces[]" value="hybrid" <?php echo(strpos($wo['user_profile']['open_to_work_data']->workplaces, 'hybrid') !== false ? 'checked' : '') ?>>
<label for="hybrid-edit"><?php echo $wo['lang']['hybrid']; ?></label>
</span>
<span class="round-check">
<input type="checkbox" id="remote-edit" name="workplaces[]" value="remote" <?php echo(strpos($wo['user_profile']['open_to_work_data']->workplaces, 'remote') !== false ? 'checked' : '') ?>>
<label for="remote-edit"><?php echo $wo['lang']['remote']; ?></label>
</span>
<div class="wow_form_fields mb-0">
<label><?php echo $wo['lang']['job_types']; ?></label>
</div>
<span class="round-check">
<input type="checkbox" id="full_time-edit" name="job_type[]" value="full_time" <?php echo(strpos($wo['user_profile']['open_to_work_data']->job_type, 'full_time') !== false ? 'checked' : '') ?>>
<label for="full_time-edit"><?php echo $wo['lang']['full_time']; ?></label>
</span>
<span class="round-check">
<input type="checkbox" id="contract-edit" name="job_type[]" value="contract" <?php echo(strpos($wo['user_profile']['open_to_work_data']->job_type, 'contract') !== false ? 'checked' : '') ?>>
<label for="contract-edit"><?php echo $wo['lang']['contract']; ?></label>
</span>
<span class="round-check">
<input type="checkbox" id="part_time-edit" name="job_type[]" value="part_time" <?php echo(strpos($wo['user_profile']['open_to_work_data']->job_type, 'part_time') !== false ? 'checked' : '') ?>>
<label for="part_time-edit"><?php echo $wo['lang']['part_time']; ?></label>
</span>
<span class="round-check">
<input type="checkbox" id="internship-edit" name="job_type[]" value="internship" <?php echo(strpos($wo['user_profile']['open_to_work_data']->job_type, 'internship') !== false ? 'checked' : '') ?>>
<label for="internship-edit"><?php echo $wo['lang']['internship']; ?></label>
</span>
<span class="round-check">
<input type="checkbox" id="temporary-edit" name="job_type[]" value="temporary" <?php echo(strpos($wo['user_profile']['open_to_work_data']->job_type, 'temporary') !== false ? 'checked' : '') ?>>
<label for="temporary-edit"><?php echo $wo['lang']['temporary']; ?></label>
</span>
<div class="clear"></div>
</div>
<div class="clear"></div>
<div class="modal-footer">
<div class="ball-pulse"><div></div><div></div><div></div></div>
<input type="hidden" name="id" value="<?php echo $wo['user_profile']['open_to_work_data']->id; ?>">
<button type="submit" class="btn btn-main btn-mat"><?php echo $wo['lang']['edit']; ?></button>
</div>
</form>
</div>
</div>
</div>
<div class="modal fade" id="delete_open_to_work" role="dialog" data-keyboard="false">
<div class="modal-dialog modal-md wow_mat_mdl">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
<h4 class="modal-title"><?php echo $wo['lang']['delete'] ?> <?php echo $wo['lang']['open_to_work'] ?></h4>
</div>
<div class="modal-body">
<div class="delete_finding_a_job_modal_alert"></div>
<p><?php echo $wo['lang']['are_you_delete_open_work'] ?></p>
</div>
<div class="modal-footer">
<div class="ball-pulse"><div></div><div></div><div></div></div>
<button type="button" class="btn btn-main btn-mat" onclick="DeleteOpenToWork();"><?php echo $wo['lang']['delete']; ?></button>
</div>
</div>
</div>
</div>
<?php } ?>
<?php if ($wo['config']['website_mode'] == 'linkedin' && $wo['user_profile']['is_providing_service'] != 0) { ?>
<div class="modal fade" id="edit_providing_services_modal" role="dialog" data-keyboard="false" style="overflow-y: auto;">
<div class="modal-dialog wow_mat_mdl">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
<h4 class="modal-title"><?php echo $wo['lang']['set_up_services_page'] ?></h4>
</div>
<form class="form form-horizontal edit_providing_services_form" method="post" action="#">
<div class="modal-body">
<div class="edit_providing_services_modal_alert"></div>
<div class="clear"></div>
<div class="wow_form_fields">
<label><?php echo $wo['lang']['services']; ?></label>
<input name="services" type="text" autocomplete="off" value="<?php echo $wo['user_profile']['providing_service']->services; ?>" id="edit_providing_services_input">
</div>
<div class="wow_form_fields">
<label><?php echo $wo['lang']['location']; ?></label>
<input name="job_location" type="text" autocomplete="off" value="<?php echo $wo['user_profile']['providing_service']->job_location; ?>">
</div>
<div class="wow_form_fields">
<label><?php echo $wo['lang']['description']; ?></label>
<textarea name="description" cols="20" rows="3"><?php echo $wo['user_profile']['providing_service']->description; ?></textarea>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
<div class="modal-footer">
<div class="ball-pulse"><div></div><div></div><div></div></div>
<input type="hidden" name="id" value="<?php echo $wo['user_profile']['providing_service']->id; ?>">
<button type="button" onclick="SubmitAjaxForm('.edit_providing_services_form')" class="btn btn-main btn-mat"><?php echo $wo['lang']['edit']; ?></button>
</div>
</form>
</div>
</div>
</div>
<div class="modal fade" id="delete_providing_service" role="dialog" data-keyboard="false">
<div class="modal-dialog modal-md wow_mat_mdl">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
<h4 class="modal-title"><?php echo $wo['lang']['delete'] ?> <?php echo $wo['lang']['providing_services'] ?></h4>
</div>
<div class="modal-body">
<div class="delete_finding_a_job_modal_alert"></div>
<p><?php echo $wo['lang']['are_you_delete_services'] ?></p>
</div>
<div class="modal-footer">
<div class="ball-pulse"><div></div><div></div><div></div></div>
<button type="button" class="btn btn-main btn-mat" onclick="DeleteProvidingService();"><?php echo $wo['lang']['delete']; ?></button>
</div>
</div>
</div>
</div>
<?php } ?>
<?php endif; ?>
<style>
.post-youtube iframe {
height: 362px !important;
}
</style>
<?php
if ($wo['loggedin'] == true) {
echo Wo_LoadPage('modals/report-user');
}
?>
<?php if ($wo['config']['ai_user_system'] == 1) { echo Wo_LoadPage('timeline/ai_user');} ?>
<script>
$(function () {
$('[data-toggle="tooltip"]').tooltip()
});
function Wo_OpenReportBox() {
$('#report-user-modal').modal({
show: true
});
}
function Wo_UnreportReportUser() {
$.post(Wo_Ajax_Requests_File() + '?f=reports&s=unreport_user', {
user: <?php echo $wo['user_profile']['user_id'];?>
}, function (data) {
if(data.status == 200) {
$("#error_post").modal('show');
$('#error_post_text').text(data.message);
setTimeout(function () {
$("#error_post").modal('hide');
location.reload();
},3000);
}
});
}
$(function(){
var url = window.location.pathname,
urlRegExp = new RegExp(url.replace(/\/$/,'') + "$"); // create regexp to match current url pathname and remove trailing slash if present as it could collide with the link in navigation in case trailing slash wasn't present there
// now grab every link from the navigation
$('.user-bottom-nav a').each(function(){
// and test its normalized href against the url pathname regexp
if(urlRegExp.test(this.href.replace(/\/$/,''))){
$(this).addClass('menuactive');
}
});
<?php if ($wo['nodejs_send_notification'] == true) { ?>
if (node_socket_flow == "1") {
socket.emit("user_notification", { to_id: $('.wo_user_profile').attr('data-id'), user_id: _getCookie("user_id")});
}
<?php } ?>
});
function Wo_open_send_gift(){
$('#send_gift').modal('show');
}
function Wo_SendGiftToUser(from, to){
var gift_id = $('#send-gift-button').attr('data-gift-id');
var gift_img = $('#send-gift-button').attr('data-gift-img');
if (!from || !to || !gift_id) {
return false;
}
$('#send-gift-button').attr('disabled','');
$('#send_gift').find('.ball-pulse').fadeIn(100);
$.ajax({
url: Wo_Ajax_Requests_File(),
type: 'GET',
dataType: 'json',
data: {f: 'send_gift',from:from,to:to,gift_id:gift_id,gift_img:gift_img},
})
.done(function(data) {
if (data.status == 200) {
if (node_socket_flow == "1") {
socket.emit("user_notification", { to_id: to, user_id: _getCookie("user_id")});
}
$('#send-gift-button').html('<?php echo $wo['lang']['gift_sent_succesfully']; ?>');
$('#send_gift').find('.ball-pulse').fadeOut(100);
Wo_Delay(function(){
$("#send_gift").modal('hide');
$('#send-gift-button').attr('data-gift-id', '').attr('data-gift-img', '').attr('disabled',false).html('<?php echo $wo['lang']['send']; ?>');
},1500);
}
})
.fail(function() {
console.log("error");
})
}
function Wo_RegisterPoke(received_user_id , send_user_id){
if (!received_user_id || !send_user_id) {
return false;
}
$.ajax({
url: Wo_Ajax_Requests_File(),
type: 'GET',
dataType: 'json',
data: {f: 'poke',received_user_id:received_user_id,send_user_id:send_user_id},
})
.done(function(data) {
if (data.status == 200) {
if (node_socket_flow == "1") {
socket.emit("user_notification", { to_id: received_user_id, user_id: _getCookie("user_id")});
}
$("#poke_modal").modal('show');
$("#pokebutton").remove();
Wo_Delay(function(){
$("#poke_modal").modal('hide');
},1500);
}
})
.fail(function() {
console.log("error");
})
}
function Wo_ActivateFamilyMember(id = false,self = false,member = false){
if (!id || !self || !member) {
return false;
}
Wo_progressIconLoader($(self).find('i'));
$.ajax({
url: Wo_Ajax_Requests_File(),
type: 'GET',
dataType: 'json',
data: {f: 'family',s:'accept_member',id:id,type:member},
})
.done(function(data) {
if (data.status == 200) {
$("#accept_family_mbr_modal").modal('show');
$('[data-family-member="'+id+'"]').slideUp(function(){
$(this).remove();
})
Wo_Delay(function(){
$("#accept_family_mbr_modal").modal('hide');
},1500);
}
})
.fail(function() {
console.log("error");
})
Wo_progressIconLoader($(self).find('i'));
}
function Wo_AcceptRelationRequest(id = false,member = false,type = false ,self = false){
if (!member || !self || !type || !id) {
return false;
}
Wo_progressIconLoader($(self));
$.ajax({
url: Wo_Ajax_Requests_File(),
type: 'GET',
dataType: 'json',
data: {f: 'family',s:'accept_relation',id:id,type:type,member:member},
})
.done(function(data) {
if (data.status == 200) {
window.location = data.url;
}
})
.fail(function() {
console.log("error");
})
}
function Wo_DeleteRelationRequest(id = false,user = false,type = false,self = false){
if (!self || !id || !user || !type) {
return false;
}
Wo_progressIconLoader($(self).find('i'));
$.ajax({
url: Wo_Ajax_Requests_File(),
type: 'GET',
dataType: 'json',
data: {f: 'family',s:'delete_relation',id:id,user:user,type:type},
})
.done(function(data) {
if (data.status == 200) {
$("[data-relationship-request='"+id+"']").slideUp(function(){
$(this).remove();
})
}
})
.fail(function() {
console.log("error");
})
Wo_progressIconLoader($(self).find('i'));
}
function OpenCropModal() {
$('#cropImage').modal('show');
setTimeout(function () {
$('#image-to-crop img').rcrop({
minSize : [130,130],
preserveAspectRatio : true,
grid : true,
});
}, 250);
}
function CropImage() {
values = $('#image-to-crop img').rcrop('getValues');
$path = $('#image-to-crop img').attr('data-image');
if (!$path) {
return false;
$('#cropImage').modal('hide');
}
$('#cropImage').find('.ball-pulse').fadeIn(100);
$.post(Wo_Ajax_Requests_File() + '?f=crop-avatar', {user_id:<?php echo $wo['user_profile']['id']; ?>, path: $path, x: values.x, y:values.y, height: values.height, width:values.width}, function(data, textStatus, xhr) {
if (data.status == 200) {
location.reload(false);
} else {
$('#cropImage').modal('hide');
}
$('#cropImage').find('.ball-pulse').fadeOut(100);
});
}
function Wo_DeleteFamilyMember(id = false){
if (!id) {
return false;
}
$('#delete_family_mbr_modal').find('.modal-footer .ball-pulse').fadeIn(100);
$.ajax({
url: Wo_Ajax_Requests_File(),
type: 'GET',
dataType: 'json',
data: {f: 'family',s:'delete_member',id:id},
})
.done(function(data) {
if (data.status == 200) {
$('[data-family-member="'+id+'"]').slideUp('slow',function(){
$(this).remove();
})
Wo_Delay(function(){
$("#delete_family_mbr_modal").modal('hide');
},1500);
}
$('#delete_family_mbr_modal').find('.modal-footer .ball-pulse').fadeOut(100);
})
.fail(function() {
console.log("error");
})
}
function SelectFamilyList(id) {
$("#family_list").val(id);
}
function Wo_AddFamilyMember(){
var member_type = $("#family_list").val();
if (!member_type || member_type < 1 || member_type > 43) {
return false;
}
$('#add_to_family').find('.modal-footer .ball-pulse').fadeIn(100);
$('#add_to_family').find('.btn-main').attr('disabled', 'true');
$.ajax({
url: Wo_Ajax_Requests_File(),
type: 'GET',
dataType: 'json',
data: {
f: 'family',
s:'add_member',
member_id:'<?php echo $wo['user_profile']['user_id']; ?>',
type:member_type
},
})
.done(function(data) {
if (data.status == 200) {
$('.add_to_family_alert').html('<div class="alert alert-success">' + data.message + '</div>');
Wo_Delay(function(){
$("#open_add_to_family_modal").slideUp(function(){
$(this).remove();
$("#add_to_family").modal('hide');
})
$('#add_to_family').find('btn-main').removeAttr('disabled');
location.reload()
},1500);
}
else{
$('.add_to_family_alert').html('<div class="alert alert-success">' + data.message + '</div>');
$('#add_to_family').find('.btn-main').removeAttr('disabled');
}
$('#add_to_family').find('.modal-footer .ball-pulse').fadeOut(100);
})
.fail(function() {
console.log("error");
})
}
function Wo_ReportProfile(id = false,report = true){
var report_text = $("#report-user-text-<?php echo $wo['user_profile']['id']; ?>").val();
if (!id) {return false;}
else if(report == true){
if (!report_text) {return false;}
}
$('#report_profile').find('.modal-footer .ball-pulse').fadeIn(100);
$.ajax({
url: Wo_Ajax_Requests_File() + '?f=reports&s=report_user',
type: 'POST',
dataType: 'json',
data: {text:report_text,user:id},
})
.done(function(data) {
if(data.status == 200 && data.code == 0){
$('#report_status').replaceWith('\
<li id="report_status" onclick="$(\'#report_profile\').modal(\'show\');">\
<a class="menu-item"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z" /></svg>\
<?php echo $wo['lang']['report_user']; ?></a>\
</li>');
}
else if (data.status == 200 && data.code == 1) {
$("#report-user-text-<?php echo $wo['user_profile']['id']; ?>").val('');
$("#report_profile").modal('hide');
$('#report_status').replaceWith('\
<li id="report_status" onclick="Wo_ReportProfile(<?php echo $wo['user_profile']['id']; ?>,false);">\
<a class="menu-item"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z" /></svg>\
<?php echo $wo['lang']['unreport']; ?></a>\
</li>');
}
$('#report_profile').find('.modal-footer .ball-pulse').fadeOut(100);
})
.fail(function() {
console.log("error");
})
}
function loadposts(user_id) {
$.get(Wo_Ajax_Requests_File() + '?f=load_profile_posts', {user_id:user_id}, function(data) {
$('.posts_load').html(data);
});
}
var user_id = $('.profile').attr('data-id');
$(function () {
user_id = $('.profile').attr('data-id');
<?php
if (!empty($_GET['story'])) {
?>
Wo_LoadStory('prof', $('[data-page=timeline]').attr('data-id'));
<?php
}
?>
if($(window).width() > 600) {
$(".user-avatar").hover(function () {
$('.profile-avatar-changer').fadeIn(100);
}, function () {
$('.profile-avatar-changer').fadeOut(100);
});
}
if($(window).width() > 600) {
$(".user-cover").hover(function () {
$('.profile-cover-changer').fadeIn(100);
}, function () {
$('.profile-cover-changer').fadeOut(100);
});
}
$('form.profile-avatar-changer').ajaxForm({
url: Wo_Ajax_Requests_File() + '?f=update_user_avatar_picture',
beforeSend: function () {
$('.profile_avatar').fadeOut(100);
$('.user-avatar-uploading-container, .user-avatar-uploading-progress').fadeIn(200);
},
success: function (data) {
$('.profile_avatar').fadeIn(100);
if(data.status == 200) {
Wo_GetNewPosts();
$('[id^=updateImage-<?php echo $wo['user_profile']['id']; ?>]').attr('data-target', '#ProfileImageModal-Stopped');
$('[id^=updateImage-<?php echo $wo['user_profile']['id']; ?>]').attr('onclick', 'Wo_OpenProfilePicture("' + data.img_or + '");');
$('[id^=updateImage-<?php echo $wo['user_profile']['id']; ?>]').attr("src", data.img);
$('#cropImage').modal('show');
<?php if ($wo['config']['node_socket_flow'] == "1") { ?>
socket.emit("on_avatar_changed", {from_id: _getCookie("user_id"), name: data.img});
<?php } ?>
$('#image-to-crop img').attr('src', data.avatar_full);
$('#image-to-crop img').attr('data-image', data.avatar_full_or);
$('#image-to-crop img').on("load", function() {
setTimeout(function () {
$('#image-to-crop img').rcrop({
minSize : [100,100],
preserveAspectRatio : true,
grid : true
});
}, 1000);
}).each(function() {
if(this.complete) $(this).load();
});
if($("ul[data-profile-completion]").length == 1) {
if ($('#add-profile-avatar').length == 1) {
// window.location.reload();
}
}
}
else{
if(data.invalid_file == 3){
$("#adult_image_file").modal('show');
Wo_Delay(function(){
$("#adult_image_file").modal('hide');
},3000);
}
}
$('.user-avatar-uploading-container,.user-avatar-uploading-progress').fadeOut(200);
}
});
$('form.cover-position-form').ajaxForm({
url: Wo_Ajax_Requests_File() + '?f=re_cover',
dataType: 'json',
beforeSend: function() {
$('.user-reposition-dragable-container').hide();
$('.user-repositioning-icons-container1').show();
$('.user-repositioning-icons-container').html('<div class="pace-activity-parent"><div class="pace-activity"></div></div>').fadeIn('fast');
},
success: function(data) {
if (data.status == 200) {
$('.user-cover-reposition-w img').attr('src', data.url + '?time=' + Math.random()).on("load", function () {
$('.when-edit').hide();
$('.when-notedit').show();
$('.user-repositioning-icons-container1').fadeOut('fast');
$('.user-repositioning-icons-container').fadeOut('fast').html('');
$('.user-cover-reposition-w').show();
$('.user-reposition-container').hide().find('img').css('top', 0);
$('.cover-resize-buttons').hide();
$('.default-buttons').show();
$('input.cover-position').val(0);
$('.wo_user_profile .card.hovercard .pic-info-cont, .problackback').fadeIn();
// /$('.user-reposition-container img').draggable('destroy').css('cursor','default');
});
}
}
});
$('.profile-cover-changer').ajaxForm({
url: Wo_Ajax_Requests_File() + '?f=update_user_cover_picture',
beforeSend: function () {
$('.profile_cover').fadeOut(100);
$('.user-cover-uploading-container,.user-cover-uploading-progress').fadeIn(200);
},
success: function (data) {
$('.profile_cover').fadeIn(100);
if(data.status == 200) {
Wo_GetNewPosts();
$('[id^=cover-image]').attr('data-target', '#ProfileCoverImageModal-Stopped');
$('[id^=cover-image]').attr('onclick', 'Wo_OpenProfileCover("' + data.cover_or + '");');
$('[id^=cover-image]').attr("src", data.img);
$('#full-image').attr("src", data.cover_full);
$('#full-input-image').val(data.cover_full);
$('#cover-input-image').val(data.cover_or);
Wo_StartRepositioner();
}
else{
if(data.invalid_file == 3){
$("#adult_image_file").modal('show');
Wo_Delay(function(){
$("#adult_image_file").modal('hide');
},3000);
}
}
$('.user-cover-uploading-container,.user-cover-uploading-progress').fadeOut(200);
}
});
});
function Wo_GetFollowing(user_id) {
Wo_progressIconLoader($('#sidebar-following-list-container').find('span'));
$.get(Wo_Ajax_Requests_File(), {
f: 'get_following_users',
user_id: user_id
}, function (data) {
if(data.status == 200) {
$('.sidebar-following-users-container').html(data.html);
}
Wo_progressIconLoader($('#sidebar-following-list-container').find('span'));
});
}
function Wo_GetFollowers(user_id) {
Wo_progressIconLoader($('#sidebar-followers-list-container').find('span'));
$.get(Wo_Ajax_Requests_File(), {
f: 'get_followers_users',
user_id: user_id
}, function (data) {
if(data.status == 200) {
$('.sidebar-followers-users-container').html(data.html);
}
Wo_progressIconLoader($('#sidebar-followers-list-container').find('span'));
});
}
function Wo_GetLikes(user_id) {
Wo_progressIconLoader($('#sidebar-pages-list-container').find('span'));
$.get(Wo_Ajax_Requests_File(), {
f: 'pages',
s: 'get_likes',
user_id: user_id
}, function (data) {
if(data.status == 200) {
$('.sidebar-likes-container').html(data.html);
}
Wo_progressIconLoader($('#sidebar-pages-list-container').find('span'));
});
}
function Wo_GetMoreFollowing(user_id) {
Wo_progressIconLoader($('.load-more').find('button'));
after_last_id = $('.user-data:last').attr('data-user-id');
$.get(Wo_Ajax_Requests_File(), {
f: 'get_more_following',
user_id: user_id,
after_last_id: after_last_id
}, function (data) {
if(data.status == 200) {
if(data.html.length == 0) {
$('.load-more').find('button').text("<?php echo $wo['lang']['no_more_users_to_show']; ?>");
} else {
$('#following-list').append(data.html);
}
}
Wo_progressIconLoader($('.load-more').find('button'));
});
}
function Wo_GetMoreUserLikes(user_id) {
Wo_progressIconLoader($('.load-more').find('button'));
after_last_id = $('.user-data:last').attr('data-page-id');
$.get(Wo_Ajax_Requests_File(), {
f: 'pages',
s: 'get_more_likes',
user_id: user_id,
after_last_id: after_last_id
}, function (data) {
if(data.status == 200) {
if(data.html.length == 0) {
$('.load-more').find('button').text("<?php echo $wo['lang']['no_more_pages']; ?>");
} else {
$('#likes-list').append(data.html);
}
}
Wo_progressIconLoader($('.load-more').find('button'));
});
}
function Wo_GetMoreVideos(user_id) {
Wo_progressIconLoader($('.load-more').find('button'));
after_last_id = $('.video-data:last').attr('data-video-id');
$.get(Wo_Ajax_Requests_File(), {
f: 'get_more_videos',
user_id: user_id,
after_last_id: after_last_id
}, function (data) {
if(data.status == 200) {
if(data.html.length == 0) {
$('.load-more').find('button').text("<?php echo $wo['lang']['no_more_videos_to_show']; ?>");
} else {
$('#videos-list').append(data.html);
}
}
Wo_progressIconLoader($('.load-more').find('button'));
});
}
function Wo_GetMoreReelsVideos(user_id) {
Wo_progressIconLoader($('.load-more').find('button'));
after_last_id = $('.video-data:last').attr('data-reels-video-id');
$.get(Wo_Ajax_Requests_File(), {
f: 'get_more_reels_videos',
user_id: user_id,
after_last_id: after_last_id
}, function (data) {
if(data.status == 200) {
if(data.html.length == 0) {
$('.load-more').find('button').text("<?php echo $wo['lang']['no_more_videos_to_show']; ?>");
} else {
$('#reels-videos-list').append(data.html);
}
}
Wo_progressIconLoader($('.load-more').find('button'));
});
}
function Wo_GetMorePhotos(user_id) {
Wo_progressIconLoader($('.load-more').find('button'));
after_last_id = $('.profile-lists .photo-data:last').attr('data-photo-id');
$.get(Wo_Ajax_Requests_File(), {
f: 'get_more_photos',
user_id: user_id,
after_last_id: after_last_id
}, function (data) {
if(data.status == 200) {
if(data.html.length == 0) {
$('.load-more').find('button').text("<?php echo $wo['lang']['no_more_photos_to_show']; ?>");
} else {
$('#photos-list').append(data.html);
}
}
Wo_progressIconLoader($('.load-more').find('button'));
});
}
function Wo_GetMoreFollowers(user_id) {
Wo_progressIconLoader($('.load-more').find('button'));
after_last_id = $('.user-data:last').attr('data-user-id');
$.get(Wo_Ajax_Requests_File(), {
f: 'get_more_followers',
user_id: user_id,
after_last_id: after_last_id
}, function (data) {
if(data.status == 200) {
if(data.html.length == 0) {
$('.load-more').find('button').text("<?php echo $wo['lang']['no_more_users_to_show']; ?>");
} else {
$('#followers-list').append(data.html);
}
}
Wo_progressIconLoader($('.load-more').find('button'));
});
}
function Wo_UpdateProfileAvatar() {
$("form.profile-avatar-changer").submit();
}
function Wo_UpdateProfileCover() {
$("form.profile-cover-changer").submit();
}
function Wo_SetCookieAlert() {
$.get(Wo_Ajax_Requests_File(), {
f: 'set_admin_alert_cookie'
});
}
function Wo_OpenProfileCover(image) {
$.post(Wo_Ajax_Requests_File() + '?f=get_user_profile_cover_image_post', {
image:image
}, function (data) {
if (data.status == 200) {
Wo_OpenLightBox(data.post_id);
} else {
$('[id^=cover-image]').attr('data-target', '#ProfileCoverImageModal');
$('[id^=cover-image]').attr('data-toggle', 'modal');
$('#ProfileCoverImageModal').modal('show');
}
});
}
function Wo_OpenProfilePicture(image) {
$.post(Wo_Ajax_Requests_File() + '?f=get_user_profile_image_post', {
image:image
}, function (data) {
if (data.status == 200) {
Wo_OpenLightBox(data.post_id);
} else {
$('[id^=updateImage-' + user_id + ']').attr('data-target', '#ProfileImageModal-' + user_id);
$('[id^=updateImage-' + user_id + ']').attr('data-toggle', 'modal');
$('#ProfileImageModal-' + user_id).modal('show');
}
});
}
function Wo_GetMutualFriends(user_id) {
Wo_progressIconLoader($('#sidebar-mutual-list-container').find('span'));
$.get(Wo_Ajax_Requests_File(), {
f: 'get_mutual_users',
user_id: user_id
}, function (data) {
if(data.status == 200) {
$('.sidebar-mutual-users-container').html(data.html);
}
Wo_progressIconLoader($('#sidebar-mutual-list-container').find('span'));
});
}
<?php if ( $wo['loggedin'] ){ ?>
<?php if ( isset( $_GET['mode'] ) && $_GET['mode'] == 'opengift' ){ ?>
$(document).ready(function() {
setTimeout(() => {
$('#gift_show_model').modal('show');
}, 1000);
});
<?php } ?>
<?php } ?>
<?php if ($wo['config']['website_mode'] == 'linkedin') { ?>
$(document).ready(function() {
var options = {
url: Wo_Ajax_Requests_File() + '?f=open_to&s=find_job&hash=' + $('.main_session').val() + "&mode_type=linkedin",
beforeSubmit: function () {
$('.modal_finding_a_job_modal_alert').empty();
$("#finding_a_job_modal").find('.btn-mat').attr('disabled', 'true');
$("#finding_a_job_modal").find('.btn-mat').text("<?php echo($wo['lang']['please_wait']) ?>");
},
success: function (data) {
$("#finding_a_job_modal").find('.btn-mat').text("<?php echo $wo['lang']['add'] ?>");
$("#finding_a_job_modal").find('.btn-mat').removeAttr('disabled')
if (data.status == 200) {
$('.modal_finding_a_job_modal_alert').html('<div class="alert alert-success bg-success"><i class="fa fa-check"></i> '+
data.message
+'</div>');
setTimeout(function(){
location.reload()
},3000);
} else {
$('.modal_finding_a_job_modal_alert').html('<div class="alert alert-danger bg-danger"> '+
data.message
+'</div>');
}
}
};
$('.finding_a_job_form').ajaxForm(options);
var options = {
url: Wo_Ajax_Requests_File() + '?f=open_to&s=edit_job&hash=' + $('.main_session').val() + "&mode_type=linkedin",
beforeSubmit: function () {
$('.modal_edit_finding_a_job_modal_alert').empty();
$("#edit_finding_a_job_modal").find('.btn-mat').attr('disabled', 'true');
$("#edit_finding_a_job_modal").find('.btn-mat').text("<?php echo($wo['lang']['please_wait']) ?>");
},
success: function (data) {
$("#edit_finding_a_job_modal").find('.btn-mat').text("<?php echo $wo['lang']['edit'] ?>");
$("#edit_finding_a_job_modal").find('.btn-mat').removeAttr('disabled')
if (data.status == 200) {
$('.modal_edit_finding_a_job_modal_alert').html('<div class="alert alert-success bg-success"><i class="fa fa-check"></i> '+
data.message
+'</div>');
setTimeout(function(){
location.reload()
},3000);
} else {
$('.modal_edit_finding_a_job_modal_alert').html('<div class="alert alert-danger bg-danger"> '+
data.message
+'</div>');
}
}
};
$('.edit_finding_a_job_form').ajaxForm(options);
var options = {
url: Wo_Ajax_Requests_File() + '?f=open_to&s=providing_services&hash=' + $('.main_session').val() + "&mode_type=linkedin",
beforeSubmit: function (formData, jqForm, options) {
$('.providing_services_modal_alert').empty();
$("#providing_services_modal").find('.btn-mat').attr('disabled', 'true');
$("#providing_services_modal").find('.btn-mat').text("<?php echo($wo['lang']['please_wait']) ?>");
},
success: function (data) {
$("#providing_services_modal").find('.btn-mat').text("<?php echo $wo['lang']['add'] ?>");
$("#providing_services_modal").find('.btn-mat').removeAttr('disabled')
if (data.status == 200) {
$('.providing_services_modal_alert').html('<div class="alert alert-success bg-success"><i class="fa fa-check"></i> '+
data.message
+'</div>');
setTimeout(function(){
location.reload()
},3000);
} else {
$('.providing_services_modal_alert').html('<div class="alert alert-danger bg-danger"> '+
data.message
+'</div>');
}
}
};
$('.providing_services_form').ajaxForm(options);
var options = {
url: Wo_Ajax_Requests_File() + '?f=open_to&s=edit_providing_services&hash=' + $('.main_session').val() + "&mode_type=linkedin",
beforeSubmit: function (formData, jqForm, options) {
$('.edit_providing_services_modal_alert').empty();
$("#edit_providing_services_modal").find('.btn-mat').attr('disabled', 'true');
$("#edit_providing_services_modal").find('.btn-mat').text("<?php echo($wo['lang']['please_wait']) ?>");
},
success: function (data) {
$("#edit_providing_services_modal").find('.btn-mat').text("<?php echo $wo['lang']['edit'] ?>");
$("#edit_providing_services_modal").find('.btn-mat').removeAttr('disabled')
if (data.status == 200) {
$('.edit_providing_services_modal_alert').html('<div class="alert alert-success bg-success"><i class="fa fa-check"></i> '+
data.message
+'</div>');
setTimeout(function(){
location.reload()
},3000);
} else {
$('.edit_providing_services_modal_alert').html('<div class="alert alert-danger bg-danger"> '+
data.message
+'</div>');
}
}
};
$('.edit_providing_services_form').ajaxForm(options);
});
<?php } ?>
<?php if ($wo['loggedin'] && $wo['config']['website_mode'] == 'linkedin' && $wo['user_profile']['is_open_to_work'] != 0) { ?>
function DeleteOpenToWork(){
$.ajax({
url: Wo_Ajax_Requests_File()+"?f=open_to&s=delete_job" + "&mode_type=linkedin",
type: 'POST',
dataType: 'json',
data: {id:<?php echo $wo['user_profile']['user_id']; ?>},
})
.done(function(data) {
if (data.status == 200) {
location.reload();
$('#delete_open_to_work').modal('hide');
}
else{
$('.delete_finding_a_job_modal_alert').html('<div class="alert alert-danger bg-danger"> '+
data.message
+'</div>');
}
})
.fail(function() {
console.log("error");
})
}
function EditOpenToWork(){
$('#edit_finding_a_job_modal').modal('show');
}
<?php } ?>
<?php if ($wo['loggedin'] && $wo['config']['website_mode'] == 'linkedin' && $wo['user_profile']['is_providing_service'] != 0) { ?>
function EditProvidingService(){
$('#edit_providing_services_input').tagsinput({});
$('#edit_providing_services_modal').modal('show');
}
function DeleteProvidingService(){
$.ajax({
url: Wo_Ajax_Requests_File()+"?f=open_to&s=delete_service" + "&mode_type=linkedin",
type: 'POST',
dataType: 'json',
data: {id:<?php echo $wo['user_profile']['user_id']; ?>},
})
.done(function(data) {
if (data.status == 200) {
location.reload();
$('#delete_providing_service').modal('hide');
}
else{
$('.delete_finding_a_job_modal_alert').html('<div class="alert alert-danger bg-danger"> '+
data.message
+'</div>');
}
})
.fail(function() {
console.log("error");
})
}
<?php } ?>
</script>