Your IP : 216.73.217.77


Current Path : /home/users/unlimited/www/facebook.codeskitter.site/themes/wowonder/layout/timeline/
Upload File :
Current File : /home/users/unlimited/www/facebook.codeskitter.site/themes/wowonder/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" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-camera"><path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"></path><circle cx="12" cy="13" r="4"></circle></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>
                            <input type="hidden" name="ai_post" value="off" id="isAiCover">
                        </div>
                    	<?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" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-crop"><path d="M6.13 1L6 16a2 2 0 0 0 2 2h15"></path><path d="M1 6.13L16 6a2 2 0 0 1 2 2v15"></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" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check"><polyline points="20 6 9 17 4 12"></polyline></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" 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>
                            </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" class="feather"><path fill="currentColor" d="M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z" /></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="&#10;&#9;&#9;&#9;&#9;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="&#10;&#9;&#9;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&#10;&#9;&#9;c32.556,0,59.056-25.929,59.975-58.263l58.036,0"/> </g> </svg>
									<input type="hidden" name="ai_post" value="off" id="isAiAvatar">
								</span>
								<?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" class="feather"><path fill="currentColor" d="M7,17V1H5V5H1V7H5V17A2,2 0 0,0 7,19H17V23H19V19H23V17M17,15H19V7C19,5.89 18.1,5 17,5H9V7H17V15Z" /></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" class="feather"><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" /></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>
                    <?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">
	                        <?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 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-edit-2"><polygon points="16 3 21 8 8 21 3 21 3 16 16 3"></polygon></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 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-list"><line x1="8" y1="6" x2="21" y2="6"></line><line x1="8" y1="12" x2="21" y2="12"></line><line x1="8" y1="18" x2="21" y2="18"></line><line x1="3" y1="6" x2="3" y2="6"></line><line x1="3" y1="12" x2="3" y2="12"></line><line x1="3" y1="18" x2="3" y2="18"></line></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 xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" 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" /></svg>
											&nbsp;&nbsp;&nbsp;
											<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 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>
											&nbsp;&nbsp;&nbsp;
											<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 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>
											&nbsp;&nbsp;&nbsp;
											<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 xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21,9A1,1 0 0,1 22,10A1,1 0 0,1 21,11H16.53L16.4,12.21L14.2,17.15C14,17.65 13.47,18 12.86,18H8.5C7.7,18 7,17.27 7,16.5V10C7,9.61 7.16,9.26 7.43,9L11.63,4.1L12.4,4.84C12.6,5.03 12.72,5.29 12.72,5.58L12.69,5.8L11,9H21M2,18V10H5V18H2Z" /></svg>
											&nbsp;&nbsp;&nbsp;
											<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 xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M16 4C16 2.9 16.9 2 18 2S20 2.9 20 4 19.1 6 18 6 16 5.1 16 4M20 22V16H22.5L20 8.4C19.7 7.6 19 7 18.1 7H18C17.1 7 16.4 7.6 16.1 8.4L15.2 11C16.3 11.6 17 12.7 17 14.1V22.1H20M12.5 11.5C13.3 11.5 14 10.8 14 10S13.3 8.5 12.5 8.5 11 9.2 11 10 11.7 11.5 12.5 11.5M5.5 6C6.6 6 7.5 5.1 7.5 4S6.6 2 5.5 2 3.5 2.9 3.5 4 4.4 6 5.5 6M7.5 22V15H9V9C9 7.9 8.1 7 7 7H4C2.9 7 2 7.9 2 9V15H3.5V22H7.5M14 22V18H15V14C15 13.2 14.3 12.5 13.5 12.5H11.5C10.7 12.5 10 13.2 10 14V18H11V22H14Z" /></svg>
											&nbsp;&nbsp;&nbsp;
											<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 xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21.7,13.35L20.7,14.35L18.65,12.3L19.65,11.3C19.86,11.09 20.21,11.09 20.42,11.3L21.7,12.58C21.91,12.79 21.91,13.14 21.7,13.35M12,18.94L18.06,12.88L20.11,14.93L14.06,21H12V18.94M12,14C7.58,14 4,15.79 4,18V20H10V18.11L14,14.11C13.34,14.03 12.67,14 12,14M12,4A4,4 0 0,0 8,8A4,4 0 0,0 12,12A4,4 0 0,0 16,8A4,4 0 0,0 12,4Z" /></svg>
											&nbsp;&nbsp;&nbsp;
											<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>
		</div>
		<?php if ($wo['user_profile']['banned'] != 1) { ?>
		<div class="row" style="margin: -33px 0px 20px 0px;">
			<label class="col-md-1 "></label>
			<div class="user-bottom-nav col-md-10 ">
				<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 xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M11 4h10v2H11V4zm0 4h6v2h-6V8zm0 6h10v2H11v-2zm0 4h6v2h-6v-2zM3 4h6v6H3V4zm2 2v2h2V6H5zm-2 8h6v6H3v-6zm2 2v2h2v-2H5z" fill="currentColor"></path></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 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></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 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></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 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></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 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></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 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></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 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></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 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></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 xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="m160-840 80 160h120l-80-160h80l80 160h120l-80-160h80l80 160h120l-80-160h120q33 0 56.5 23.5T880-760v560q0 33-23.5 56.5T800-120H160q-33 0-56.5-23.5T80-200v-560q0-33 23.5-56.5T160-840Zm160 600h320v-22q0-44-44-71t-116-27q-72 0-116 27t-44 71v22Zm160-160q33 0 56.5-23.5T560-480q0-33-23.5-56.5T480-560q-33 0-56.5 23.5T400-480q0 33 23.5 56.5T480-400Z"/></svg></span>
							<span><?php echo $wo['lang']['reels'];?></span>
						</a>
					</li>
                    <?php } ?>
				</ul>
			</div>
			<label class="col-md-1 "></label>
		</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 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="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"></path></svg></span> <?php echo $wo['lang']['following']; ?>
						<?php if ($wo['config']['website_mode'] != 'instagram') { ?>
						<div  class="familly-list-link">
							<a 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>
						</div>
						<?php } ?>
					</div>
				</div>
			</div>
		<div class="list-group profile-lists">
            <div id="following-list" class="row" style="margin: 0;">
                <?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 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
						if ($wo['config']['connectivitySystem'] == 1) {
							echo $wo['lang']['friends_btn'];
						} else {
							echo $wo['lang']['followers'];
						}
						?>
						<?php if ($wo['config']['website_mode'] != 'instagram') { ?>
						<div class="familly-list-link">
							<a 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>
						</div>
					    <?php } ?>
					</div>
				</div>
			</div>
			<div class="list-group profile-lists">
				<div id="followers-list" class="row" style="margin: 0;">
					<?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 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="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"></path></svg></span>
                            <?php echo $wo['lang']['videos']; ?>
					</div>
				</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 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" height="16" viewBox="0 -960 960 960" width="16"><path fill="currentColor" d="m160-840 80 160h120l-80-160h80l80 160h120l-80-160h80l80 160h120l-80-160h120q33 0 56.5 23.5T880-760v560q0 33-23.5 56.5T800-120H160q-33 0-56.5-23.5T80-200v-560q0-33 23.5-56.5T160-840Zm160 600h320v-22q0-44-44-71t-116-27q-72 0-116 27t-44 71v22Zm160-160q33 0 56.5-23.5T560-480q0-33-23.5-56.5T480-560q-33 0-56.5 23.5T400-480q0 33 23.5 56.5T480-400Z"/></svg></span>
                                    <?php echo $wo['lang']['reels']; ?>
                            </div>
                        </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['story']['url'];?><!--" target="_blank">-->
                                            <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 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="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"></path></svg></span> <?php echo $wo['lang']['photos']; ?>
					</div>
				</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 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="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"></path></svg></span> <?php echo $wo['lang']['likes']; ?>
					</div>
				</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 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="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"></path></svg></span> <?php echo $wo['lang']['groups']; ?>
					</div>
				</div>
			</div>
			<div class="list-group profile-lists">
				<div id="groups-list" class="row" style="margin: 0;">
					<?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 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="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"></path></svg></span> <?php echo $wo['lang']['family_members']; ?>
						<?php if ($wo['user_profile']['user_id'] == $wo['user']['id']): ?>
						<div class="familly-list-link">
							<a 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>
						</div>
						<?php endif; ?>
					</div>
				</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 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="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"></path></svg></span> <?php echo $wo['lang']['requests']; ?>
						<?php if ($wo['config']['website_mode'] != 'instagram') { ?>
						<div class="familly-list-link">
							<a 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>
						</div>
					    <?php } ?>
					</div>
				</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 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="22" height="22" viewBox="0 0 24 24"><path fill="currentColor" d="M12,18H6V14H12M21,14V12L20,7H4L3,12V14H4V20H14V14H18V20H20V14M20,4H4V6H20V4Z"></path></svg></span> <?php echo $wo['lang']['products']; ?>
					</div>
				</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>&nbsp;
							<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>&nbsp;
							<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>&nbsp;
									<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>&nbsp;
									<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>&nbsp;
							<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>&nbsp;
							<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>&nbsp;
							<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>&nbsp;&nbsp;&nbsp;&nbsp;
								<?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>&nbsp;&nbsp;&nbsp;&nbsp;
								<?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']))) { ?>
											&nbsp;• &nbsp;<?php echo $wo['lang'][$wo['employment_type'][$wo['experience']->employment_type]]; ?>
										<?php } ?>
										&nbsp;• &nbsp;<?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) { ?>
											&nbsp;– &nbsp;<?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)) { ?>
											&nbsp;• &nbsp;<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) { ?>
											&nbsp;– &nbsp;<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) { ?>
											&nbsp;– &nbsp;<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> &nbsp;<?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) { ?>
            <span class="btn btn-md main send_gift_btn" onclick="Wo_open_send_gift();">
                <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 504.124 504.124" style="enable-background:new 0 0 504.124 504.124;" xml:space="preserve"> <path style="fill:#DB5449;" d="M15.754,133.909l236.308,118.154L488.37,133.909v252.062L252.062,504.123L15.754,385.969V133.909z"/> <path style="fill:#C54B42;" d="M15.754,157.538v73.649l235.52,115.397l237.095-115.791v-73.255L252.062,273.33L15.754,157.538z"/> <path style="fill:#D05045;" d="M252.062,504.123V252.063L31.508,141.786H15.754v244.185L252.062,504.123z"/> <path style="fill:#BB483E;" d="M15.754,157.538v73.649l235.52,115.397l0.788-0.394v-73.255v0.394L15.754,157.538z"/> <path style="fill:#EB6258;" d="M0,125.638L252.062,0.001l252.062,125.637v16.542L252.062,267.815L0,142.573V125.638z"/> <path style="fill:#EFEFEF;" d="M396.603,39.779c-8.271-14.966-25.994-24.025-46.868-24.025c-47.655,0-81.132,44.505-97.674,72.862 c-16.542-28.357-50.412-72.468-97.674-72.468c-30.326,0-51.988,18.511-51.988,43.717c0,44.898,49.231,74.043,148.086,74.043 s151.237-37.415,151.237-73.649C401.723,53.17,400.148,46.081,396.603,39.779z M164.628,88.223 c-11.028-7.483-14.966-15.754-14.966-21.268c0-6.695,6.302-11.815,15.36-11.815c21.268,0,38.203,27.963,47.655,47.262 C187.865,100.432,173.292,93.736,164.628,88.223z M339.495,88.223c-8.665,5.514-23.237,12.209-48.049,14.178 c9.058-19.298,25.994-47.262,47.655-47.262c9.058,0,15.36,5.12,15.36,11.815C354.462,72.469,350.523,80.739,339.495,88.223z"/> <path style="fill:#E2574C;" d="M0,126.032l252.062,123.274l252.062-123.274v81.526l-252.85,123.274L0,207.558V126.032z"/> <path style="fill:#EFEFEF;" d="M346.585,213.859v-9.058l-94.523-51.2l-94.523,51.2v9.058L94.524,186.29v-12.603l154.387-81.526 l3.151,1.575l3.151-1.575L409.6,173.293v12.603L346.585,213.859z"/> <path style="fill:#DCDCDC;" d="M346.585,204.801v251.668l63.015-31.508V173.293L346.585,204.801z"/> <path style="fill:#D1D1D1;" d="M94.523,425.354l63.015,31.508V205.195l-63.015-31.902C94.523,173.292,94.523,425.354,94.523,425.354 z"/> </svg> <?php echo $wo['lang']['send_a_gift']; ?>
            </span>
            <?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">
				<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="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"></path></svg></span> <?php echo $wo['lang']['info']; ?>
				</div>
			</div>

            <?php if($wo['config']['user_lastseen'] == 1 && $wo['user_profile']['showlastseen'] != 0 && $wo['loggedin'] == true) {  ?>
            <li class="list-group-item">
                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" 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>
                <?php echo Wo_UserStatus($wo['user_profile']['user_id'], $wo['user_profile']['lastseen'], 'profile') ?>
            </li>
            <?php } ?>
            <li class="list-group-item">
                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M20 22H4a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1zm-1-2V4H5v16h14zM7 6h4v4H7V6zm0 6h10v2H7v-2zm0 4h10v2H7v-2zm6-9h4v2h-4V7z"></path></svg>
               <span id="user_post_count"><?php echo number_format($wo['user_profile']['details']['post_count']);?></span> <?php echo TextForMode('posts'); ?>
            </li>

			<?php if(!empty($wo['user_profile']['website'])) {  ?>
			<li class="list-group-item">
                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M3.9,12C3.9,10.29 5.29,8.9 7,8.9H11V7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H11V15.1H7C5.29,15.1 3.9,13.71 3.9,12M8,13H16V11H8V13M17,7H13V8.9H17C18.71,8.9 20.1,10.29 20.1,12C20.1,13.71 18.71,15.1 17,15.1H13V17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7Z"></path></svg>
				<a rel="nofollow" href="<?php echo $wo['user_profile']['website']?>"><?php echo $wo['user_profile']['website']?></a>
            </li>
			<?php } ?>

            <li class="list-group-item" style="padding-top:0; padding-bottom:0;">
                <hr>
            </li>
            <li class="list-group-item">
                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M9,11.75A1.25,1.25 0 0,0 7.75,13A1.25,1.25 0 0,0 9,14.25A1.25,1.25 0 0,0 10.25,13A1.25,1.25 0 0,0 9,11.75M15,11.75A1.25,1.25 0 0,0 13.75,13A1.25,1.25 0 0,0 15,14.25A1.25,1.25 0 0,0 16.25,13A1.25,1.25 0 0,0 15,11.75M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20C7.59,20 4,16.41 4,12C4,11.71 4,11.42 4.05,11.14C6.41,10.09 8.28,8.16 9.26,5.77C11.07,8.33 14.05,10 17.42,10C18.2,10 18.95,9.91 19.67,9.74C19.88,10.45 20,11.21 20,12C20,16.41 16.41,20 12,20Z"></path></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>
            <?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 xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M12,6C13.11,6 14,5.1 14,4C14,3.62 13.9,3.27 13.71,2.97L12,0L10.29,2.97C10.1,3.27 10,3.62 10,4A2,2 0 0,0 12,6M16.6,16L15.53,14.92L14.45,16C13.15,17.29 10.87,17.3 9.56,16L8.5,14.92L7.4,16C6.75,16.64 5.88,17 4.96,17C4.23,17 3.56,16.77 3,16.39V21A1,1 0 0,0 4,22H20A1,1 0 0,0 21,21V16.39C20.44,16.77 19.77,17 19.04,17C18.12,17 17.25,16.64 16.6,16M18,9H13V7H11V9H6A3,3 0 0,0 3,12V13.54C3,14.62 3.88,15.5 4.96,15.5C5.5,15.5 6,15.3 6.34,14.93L8.5,12.8L10.61,14.93C11.35,15.67 12.64,15.67 13.38,14.93L15.5,12.8L17.65,14.93C18,15.3 18.5,15.5 19.03,15.5C20.11,15.5 21,14.62 21,13.54V12A3,3 0 0,0 18,9Z"></path></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 xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35Z"></path></svg>
                <?php echo Wo_UserRelationship($wo['user_profile']['id']); ?>
            </li>
            <li class="list-group-item" style="padding-top:0; padding-bottom:0;">
                <hr>
            </li>
            <?php } ?>
            <?php if(!empty($wo['user_profile']['working'])) {  ?>
            <li class="list-group-item">
                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" 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 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 xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M12,3L1,9L12,15L21,10.09V17H23V9M5,13.18V17.18L12,21L19,17.18V13.18L12,17L5,13.18Z"></path></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>
            <li class="list-group-item" style="padding-top:0; padding-bottom:0;">
                <hr>
            </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 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"><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> <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 xmlns="http://www.w3.org/2000/svg" width="16" height="16" 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"></path></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 xmlns="http://www.w3.org/2000/svg" width="16" height="16" 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"></path></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']['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 text-muted" contenteditable="false">
					<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-share-2"><circle cx="18" cy="5" r="3"></circle><circle cx="6" cy="12" r="3"></circle><circle cx="18" cy="19" r="3"></circle><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"></line><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"></line></svg>
					<?php echo $wo['lang']['social_links']; ?>
				</li>
				<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" class="feather feather-youtube" fill="#ff0000"><path d="M10,16.5V7.5L16,12M20,4.4C19.4,4.2 15.7,4 12,4C8.3,4 4.6,4.19 4,4.38C2.44,4.9 2,8.4 2,12C2,15.59 2.44,19.1 4,19.61C4.6,19.81 8.3,20 12,20C15.7,20 19.4,19.81 20,19.61C21.56,19.1 22,15.59 22,12C22,8.4 21.56,4.91 20,4.4Z" /></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" class="feather feather-twitter" fill="#1da1f2"><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,3M17.71,9.33C18.19,8.93 18.75,8.45 19,7.92C18.59,8.13 18.1,8.26 17.56,8.33C18.06,7.97 18.47,7.5 18.68,6.86C18.16,7.14 17.63,7.38 16.97,7.5C15.42,5.63 11.71,7.15 12.37,9.95C9.76,9.79 8.17,8.61 6.85,7.16C6.1,8.38 6.75,10.23 7.64,10.74C7.18,10.71 6.83,10.57 6.5,10.41C6.54,11.95 7.39,12.69 8.58,13.09C8.22,13.16 7.82,13.18 7.44,13.12C7.81,14.19 8.58,14.86 9.9,15C9,15.76 7.34,16.29 6,16.08C7.15,16.81 8.46,17.39 10.28,17.31C14.69,17.11 17.64,13.95 17.71,9.33Z"></path></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" class="feather feather-facebook" fill="#4267b2"><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,3M18,5H15.5A3.5,3.5 0 0,0 12,8.5V11H10V14H12V21H15V14H18V11H15V9A1,1 0 0,1 16,8H18V5Z"></path></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" class="feather feather-linkedin" fill="#0076b6"><path 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"></path></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" class="feather feather-vk" fill="#4a76a8"><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,3M17.24,14.03C16.06,12.94 16.22,13.11 17.64,11.22C18.5,10.07 18.85,9.37 18.74,9.07C18.63,8.79 18,8.86 18,8.86L15.89,8.88C15.89,8.88 15.73,8.85 15.62,8.92C15.5,9 15.43,9.15 15.43,9.15C15.43,9.15 15.09,10.04 14.65,10.8C13.71,12.39 13.33,12.47 13.18,12.38C12.83,12.15 12.91,11.45 12.91,10.95C12.91,9.41 13.15,8.76 12.46,8.6C12.23,8.54 12.06,8.5 11.47,8.5C10.72,8.5 10.08,8.5 9.72,8.68C9.5,8.8 9.29,9.06 9.41,9.07C9.55,9.09 9.86,9.16 10.03,9.39C10.25,9.68 10.24,10.34 10.24,10.34C10.24,10.34 10.36,12.16 9.95,12.39C9.66,12.54 9.27,12.22 8.44,10.78C8,10.04 7.68,9.22 7.68,9.22L7.5,9L7.19,8.85H5.18C5.18,8.85 4.88,8.85 4.77,9C4.67,9.1 4.76,9.32 4.76,9.32C4.76,9.32 6.33,12.96 8.11,14.8C9.74,16.5 11.59,16.31 11.59,16.31H12.43C12.43,16.31 12.68,16.36 12.81,16.23C12.93,16.1 12.93,15.94 12.93,15.94C12.93,15.94 12.91,14.81 13.43,14.65C13.95,14.5 14.61,15.73 15.31,16.22C15.84,16.58 16.24,16.5 16.24,16.5L18.12,16.47C18.12,16.47 19.1,16.41 18.63,15.64C18.6,15.58 18.36,15.07 17.24,14.03Z" /></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" class="feather feather-instagram" fill="#3f729b"><path 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">
					<label class="mt-0" for="invite_your_frineds"><?php echo $wo['lang']['search_for_posts']; ?></label>
					<input type="text" class="search-for-posts" onkeyup="Wo_SearchForPosts(this.value);" />
				</div>
			</div>
        <?php } ?>

        <?php if(!empty($wo['user_profile']['about'])) {  ?>
			<div class="page-margin wow_content">
				<div class="wo_page_hdng pag_neg_padd">
					<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="M21,6V8H3V6H21M3,18H12V16H3V18M3,13H21V11H3V13Z"></path></svg></span> <?php echo $wo['lang']['about']; ?>
					</div>
				</div>
				<p class="page-margin"><?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">
				<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="M21,6V8H3V6H21M3,18H12V16H3V18M3,13H21V11H3V13Z"></path></svg></span> <?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" style="margin-bottom: 5px;">
						<div class="wo_page_hdng_innr">
							<span><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24"><path fill="currentColor" d="M12,18H6V14H12M21,14V12L20,7H4L3,12V14H4V20H14V14H18V20H20V14M20,4H4V6H20V4Z"></path></svg></span> <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">&nbsp;&nbsp;&nbsp;
				<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-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"><?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>&nbsp;&nbsp;
						<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>&nbsp;&nbsp;
							<span class="round-check">
								<input type="checkbox" id="hybrid" name="workplaces[]" value="hybrid">
								<label for="hybrid"><?php echo $wo['lang']['hybrid']; ?></label>
							</span>&nbsp;&nbsp;
							<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>&nbsp;&nbsp;
							<span class="round-check">
								<input type="checkbox" id="contract" name="job_type[]" value="contract">
								<label for="contract"><?php echo $wo['lang']['contract']; ?></label>
							</span>&nbsp;&nbsp;
							<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>&nbsp;&nbsp;
							<span class="round-check">
								<input type="checkbox" id="internship" name="job_type[]" value="internship">
								<label for="internship"><?php echo $wo['lang']['internship']; ?></label>
							</span>&nbsp;&nbsp;
							<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>&nbsp;&nbsp;
							<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>&nbsp;&nbsp;
							<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>&nbsp;&nbsp;
							<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>&nbsp;&nbsp;
							<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>&nbsp;&nbsp;
							<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>&nbsp;&nbsp;
							<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 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>