Your IP : 216.73.217.77


Current Path : /home/users/unlimited/www/facebook.codeskitter.site/themes/sunshine/layout/home/
Upload File :
Current File : /home/users/unlimited/www/facebook.codeskitter.site/themes/sunshine/layout/home/content.phtml

<div class="page-margin">
	<div class="row">
		<div class="col-md-2 leftcol"><?php if($wo['loggedin']){echo Wo_LoadPage("sidebar/left-sidebar"); }elseif($wo['config']['directory_system']){ ?><div class="post_prnt"><?php echo Wo_LoadPage("directory/left-sidebar"); ?></div><?php } ?></div>
		<div class="col-md-7 middlecol">
			<?php if ($wo['config']['user_status'] == 1 && $wo['loggedin']) { ?>
				<div class="wow_content user-status-home wow_home_stories">
					<ul class="status-list">
						<?php if ($wo['config']['can_use_story']) { ?>
						<li class="create_new">
							<a class="avatar" href="<?php echo Wo_SeoLink('index.php?link1=create-status'); ?>" data-ajax="?link1=create-status">
								<img src="<?php echo $wo['user']['avatar'];?>" alt="<?php echo $wo['user']['name'];?>">
								<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z" /></svg>
							</a>
							<p title="<?php echo $wo['lang']['create_story'] ?>"><a href="<?php echo Wo_SeoLink('index.php?link1=create-status'); ?>" data-ajax="?link1=create-status"><?php echo $wo['user']['name'];?></a></p>
						</li>
					  <?php } ?>
						<?php
							if ($wo['config']['user_status'] == 1) {
								$get_user_status = Wo_GetFriendsStatus(array('limit' => 4));
								if (!empty($get_user_status)) {
						?>
						<?php
							foreach ($get_user_status as $key => $wo['user_status']) {
								echo Wo_LoadPage('home/user-status');
							}
							}
						?>
						<?php } ?>
						<?php if (!empty($get_user_status) && count($get_user_status) > 3) { ?>
							<li class="view-more-stories">
								<a class="avatar" href="<?php echo Wo_SeoLink('index.php?link1=more-status'); ?>">
									<div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21.47,4.35L20.13,3.79V12.82L22.56,6.96C22.97,5.94 22.5,4.77 21.47,4.35M1.97,8.05L6.93,20C7.24,20.77 7.97,21.24 8.74,21.26C9,21.26 9.27,21.21 9.53,21.1L16.9,18.05C17.65,17.74 18.11,17 18.13,16.26C18.14,16 18.09,15.71 18,15.45L13,3.5C12.71,2.73 11.97,2.26 11.19,2.25C10.93,2.25 10.67,2.31 10.42,2.4L3.06,5.45C2.04,5.87 1.55,7.04 1.97,8.05M18.12,4.25A2,2 0 0,0 16.12,2.25H14.67L18.12,10.59" /></svg></div>
								</a>
								<p><a href="<?php echo Wo_SeoLink('index.php?link1=more-status'); ?>"><?php echo $wo['lang']['see_all'] ?></a></p>
							</li>
						<?php } ?>
					</ul>
				</div>
			<?php
				}
				if (Wo_IsThereAnnouncement() === true) {
				$announcement = Wo_GetHomeAnnouncements();
			?>
			<div class="home-announcement">
				<div class="alert wow_content">
					<span class="close announcements-option" data-toggle="tooltip" onclick="Wo_ViewAnnouncement(<?php echo $announcement['id']; ?>);" title="<?php echo $wo['lang']['hide'];?>">
						<i class="fa fa-remove"></i>
					</span>
					<?php echo $announcement['text']; ?>
				</div>
			</div>
			<!-- .home-announcement -->
			<?php
				}
				if($wo['loggedin'] == true) {
						echo Wo_LoadPage('story/publisher-box');
				}
			?>

			<?php if (Wo_IsMobile() == true) { ?>
			<?php if ($wo['config']['order_posts_by'] == 0) { ?>
				<div class="wow_content order-by">
					<div class="dropdown">
						<?php echo $wo['lang']['store_posts_by'] ?>: <a class="dropdown-toggle" type="button" data-toggle="dropdown">
						<span class="order-text"><?php echo ($wo['user']['order_posts_by'] == 0) ? $wo['lang']['all'] : $wo['lang']['people_i_follow']; ?></span>
						<span class="caret"></span></a>
						<ul class="dropdown-menu post_order_feed">
							<li>
								<a href="javascript:void(0);" onclick="Wo_StorePosts(0);">
									<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M2 14H8V20H2M16 8H10V10H16M2 10H8V4H2M10 4V6H22V4M10 20H16V18H10M10 16H22V14H10"></path></svg>
									&nbsp;&nbsp;&nbsp;
									<div>
										<b><?php echo $wo['lang']['all'] ?></b>
										<p><?php echo $wo['lang']['all_tx'] ?></p>
									</div>
								</a>
							</li>
							<li>
								<a href="javascript:void(0);" onclick="Wo_StorePosts(1);">
									<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" 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>
									&nbsp;&nbsp;&nbsp;
									<div>
										<b><?php echo $wo['lang']['people_i_follow'] ?></b>
										<p><?php echo $wo['lang']['people_i_follow_tx'] ?></p>
									</div>
								</a>
							</li>
						</ul>
					</div>
				</div>
			<?php } ?>
			<?php } ?>

			<?php if ($wo['config']['afternoon_system'] == 1) { ?>
			<div class="alert alert-dismissible greetalert hidden" role="alert">
				<button type="button" class="close" data-dismiss="alert" aria-label="Close" onclick="setCookie('day_status', '1', 3);">
					<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 6l-12 12" /><path d="M6 6l12 12" /></svg>
				</button>
				<div id="daynightmsg"></div>
			</div>
			<?php } ?>

			<?php if ($wo['page'] == 'home' && in_array($wo['config']['website_mode'], array('facebook','linkedin'))) { ?>
				<div id="scroll_filter_click"></div>
				<ul class="list-group filterby" id="filterby-post">
					<li class="list-group-item hidden" contenteditable="false">Filter by</li>
					<li class="list-group-item avtive filter-by-li filter_negative_clr" onclick="Wo_FilterPostBy('all');" dir="auto">
						<svg width="22" height="20" viewBox="0 0 22 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.20312 6.70026H19.798" class="icon_main" stroke-width="1.5"/><path d="M1.88539 6.84875C2.55805 4.13983 4.70602 2.04534 7.43056 1.44162L7.88443 1.34105C9.9366 0.886317 12.0634 0.886317 14.1156 1.34105L14.5694 1.44162C17.294 2.04534 19.442 4.13984 20.1146 6.84875C20.6285 8.91815 20.6285 11.0819 20.1146 13.1512C19.442 15.8602 17.294 17.9547 14.5694 18.5584L14.1156 18.659C12.0634 19.1137 9.9366 19.1137 7.88443 18.659L7.43056 18.5584C4.70601 17.9547 2.55805 15.8602 1.88539 13.1513C1.37154 11.0819 1.37154 8.91815 1.88539 6.84875Z" class="icon_main" stroke-width="1.5"/><path d="M20.1146 13.1512C20.6285 11.0819 20.6285 8.91815 20.1146 6.84875C19.442 4.13984 17.294 2.04534 14.5694 1.44162L14.1156 1.34105C12.0634 0.886317 9.9366 0.886317 7.88443 1.34105L7.43056 1.44162C4.70602 2.04534 2.55805 4.13983 1.88539 6.84875C1.37154 8.91815 1.37154 11.0819 1.88539 13.1513C2.55805 15.8602 4.70601 17.9547 7.43056 18.5584L7.88443 18.659" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/><path d="M6 10L10 10" class="icon_main" stroke-width="1.5" stroke-linecap="round"/></svg>
					</li>
					<li class="list-group-item filter-by-li" onclick="Wo_FilterPostBy('text');" dir="auto">
						<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.35288 12.8117L2.08229 12.6372L1.35288 12.8117ZM1.35288 6.83297L2.08229 7.00752L1.35288 6.83297ZM18.6471 6.83298L17.9177 7.00752L18.6471 6.83298ZM18.6471 12.8117L17.9177 12.6372L18.6471 12.8117ZM13.0496 18.2988L12.8815 17.5679L13.0496 18.2988ZM6.95044 18.2988L6.78237 19.0297L6.95044 18.2988ZM6.95043 1.34591L7.1185 2.07684L6.95043 1.34591ZM13.0496 1.34591L12.8815 2.07684L13.0496 1.34591ZM2.08229 12.6372C1.63924 10.7857 1.63924 8.85901 2.08229 7.00752L0.62347 6.65843C0.12551 8.73941 0.12551 10.9053 0.62347 12.9863L2.08229 12.6372ZM17.9177 7.00752C18.3608 8.85901 18.3608 10.7857 17.9177 12.6372L19.3765 12.9863C19.8745 10.9053 19.8745 8.73941 19.3765 6.65844L17.9177 7.00752ZM12.8815 17.5679C10.9863 18.0036 9.01372 18.0036 7.1185 17.5679L6.78237 19.0297C8.89879 19.5164 11.1012 19.5164 13.2176 19.0297L12.8815 17.5679ZM7.1185 2.07684C9.01372 1.64105 10.9863 1.64105 12.8815 2.07684L13.2176 0.614985C11.1012 0.128338 8.89879 0.128339 6.78237 0.614985L7.1185 2.07684ZM7.1185 17.5679C4.61229 16.9916 2.66599 15.0765 2.08229 12.6372L0.62347 12.9863C1.34276 15.9922 3.73374 18.3287 6.78237 19.0297L7.1185 17.5679ZM13.2176 19.0297C16.2663 18.3287 18.6572 15.9922 19.3765 12.9863L17.9177 12.6372C17.334 15.0765 15.3877 16.9916 12.8815 17.5679L13.2176 19.0297ZM12.8815 2.07684C15.3877 2.65311 17.334 4.56823 17.9177 7.00752L19.3765 6.65844C18.6572 3.65253 16.2663 1.31598 13.2176 0.614985L12.8815 2.07684ZM6.78237 0.614985C3.73373 1.31598 1.34276 3.65252 0.62347 6.65843L2.08229 7.00752C2.66599 4.56823 4.61228 2.65311 7.1185 2.07684L6.78237 0.614985ZM12.8305 19C12.8305 17.5363 12.8322 16.5154 12.9378 15.7451C13.0403 14.998 13.2278 14.5993 13.5196 14.3132L12.4696 13.242C11.8474 13.852 11.5778 14.6223 11.4518 15.5413C11.3289 16.4372 11.3305 17.5795 11.3305 19H12.8305ZM18.3222 12.1316C16.8718 12.1316 15.7101 12.13 14.7998 12.25C13.8695 12.3726 13.0897 12.6341 12.4696 13.242L13.5196 14.3132C13.8135 14.0251 14.2264 13.8385 14.9958 13.7371C15.7852 13.6331 16.8302 13.6316 18.3222 13.6316V12.1316Z" class="icon_main_fill"/><path d="M1.35288 12.8117L2.08229 12.6372L1.35288 12.8117ZM1.35288 6.83297L2.08229 7.00752L1.35288 6.83297ZM18.6471 6.83298L17.9177 7.00752L18.6471 6.83298ZM18.6471 12.8117L17.9177 12.6372L18.6471 12.8117ZM13.0496 18.2988L12.8815 17.5679L13.0496 18.2988ZM6.95044 18.2988L6.78237 19.0297L6.95044 18.2988ZM6.95043 1.34591L7.1185 2.07684L6.95043 1.34591ZM13.0496 1.34591L12.8815 2.07684L13.0496 1.34591ZM2.08229 12.6372C1.63924 10.7857 1.63924 8.85901 2.08229 7.00752L0.62347 6.65843C0.12551 8.73941 0.12551 10.9053 0.62347 12.9863L2.08229 12.6372ZM17.9177 7.00752C18.3608 8.85901 18.3608 10.7857 17.9177 12.6372L19.3765 12.9863C19.8745 10.9053 19.8745 8.73941 19.3765 6.65844L17.9177 7.00752ZM12.8815 17.5679C10.9863 18.0036 9.01372 18.0036 7.1185 17.5679L6.78237 19.0297C8.89879 19.5164 11.1012 19.5164 13.2176 19.0297L12.8815 17.5679ZM7.1185 2.07684C9.01372 1.64105 10.9863 1.64105 12.8815 2.07684L13.2176 0.614985C11.1012 0.128338 8.89879 0.128339 6.78237 0.614985L7.1185 2.07684ZM7.1185 17.5679C4.61229 16.9916 2.66599 15.0765 2.08229 12.6372L0.62347 12.9863C1.34276 15.9922 3.73374 18.3287 6.78237 19.0297L7.1185 17.5679ZM13.2176 19.0297C16.2663 18.3287 18.6572 15.9922 19.3765 12.9863L17.9177 12.6372C17.334 15.0765 15.3877 16.9916 12.8815 17.5679L13.2176 19.0297ZM12.8815 2.07684C15.3877 2.65311 17.334 4.56823 17.9177 7.00752L19.3765 6.65844C18.6572 3.65253 16.2663 1.31598 13.2176 0.614985L12.8815 2.07684ZM6.78237 0.614985C3.73373 1.31598 1.34276 3.65252 0.62347 6.65843L2.08229 7.00752C2.66599 4.56823 4.61228 2.65311 7.1185 2.07684L6.78237 0.614985Z" fill="currentColor"/><path d="M7 7H10M7 10H12" class="icon_main" stroke-width="1.5" stroke-linecap="round"/></svg>
					</li>
					<li class="list-group-item filter-by-li" onclick="Wo_FilterPostBy('photos');" dir="auto">
						<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="11" y="5" width="4" height="4" rx="2" class="icon_main" stroke-width="1.5"/><path d="M2.71809 15.2014L4.45698 13.4625C6.08199 11.8375 8.71665 11.8375 10.3417 13.4625L12.0805 15.2014M12.0805 15.2014L12.7849 14.497C14.0825 13.1994 16.2143 13.2961 17.3891 14.7059L17.802 15.2014M12.0805 15.2014L14.6812 17.802M1.35288 13.0496C0.882374 11.0437 0.882374 8.95626 1.35288 6.95043C2.00437 4.17301 4.17301 2.00437 6.95043 1.35288C8.95626 0.882375 11.0437 0.882374 13.0496 1.35288C15.827 2.00437 17.9956 4.17301 18.6471 6.95044C19.1176 8.95626 19.1176 11.0437 18.6471 13.0496C17.9956 15.827 15.827 17.9956 13.0496 18.6471C11.0437 19.1176 8.95626 19.1176 6.95044 18.6471C4.17301 17.9956 2.00437 15.827 1.35288 13.0496Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>
					</li>
					<li class="list-group-item filter-by-li"  onclick="Wo_FilterPostBy('video');" dir="auto">
						<svg width="24" height="16" viewBox="0 0 24 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7 4H3" class="icon_main" stroke-width="1.5" stroke-linecap="round"/><path d="M7 12L4 12" class="icon_main" stroke-width="1.5" stroke-linecap="round"/><path d="M5 8H1" class="icon_main" stroke-width="1.5" stroke-linecap="round"/><path d="M18 8.75C18.4142 8.75 18.75 8.41421 18.75 8C18.75 7.58579 18.4142 7.25 18 7.25V8.75ZM13 8.75H18V7.25H13V8.75Z" class="icon_main_fill"/><path d="M21.5392 5.64505L12.8369 1.288C10.7427 0.23952 8.41866 2.22704 9.13127 4.45698L10.1705 7.70896C10.2339 7.90733 10.2338 8.12053 10.1702 8.31882L9.13677 11.5403C8.42185 13.7689 10.7426 15.7589 12.8379 14.7138L21.5356 10.3756C23.4865 9.40256 23.4886 6.62109 21.5392 5.64505Z" stroke="currentColor" stroke-width="1.5"/></svg>
					</li>
					<li class="list-group-item filter-by-li" onclick="Wo_FilterPostBy('music');" dir="auto">
						<svg width="16" height="20" viewBox="0 0 16 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.75 9.45306C15.75 9.03885 15.4142 8.70306 15 8.70306C14.5858 8.70306 14.25 9.03885 14.25 9.45306H15.75ZM1.75 9.45306C1.75 9.03885 1.41421 8.70306 1 8.70306C0.585786 8.70306 0.25 9.03885 0.25 9.45306H1.75ZM7.25 19C7.25 19.4142 7.58579 19.75 8 19.75C8.41421 19.75 8.75 19.4142 8.75 19H7.25ZM14.25 9.45306C14.25 13.1821 11.4107 16.1284 8 16.1284V17.6284C12.3213 17.6284 15.75 13.9259 15.75 9.45306H14.25ZM8 16.1284C4.58929 16.1284 1.75 13.1821 1.75 9.45306H0.25C0.25 13.9259 3.67872 17.6284 8 17.6284V16.1284ZM7.25 16.8784V19H8.75V16.8784H7.25Z" fill="currentColor"/><path d="M8.45001 13.6323L8.55647 14.3747L8.55648 14.3747L8.45001 13.6323ZM7.55926 13.6323L7.66572 12.8899H7.66572L7.55926 13.6323ZM7.55259 1.03274L7.44457 0.290562L7.55259 1.03274ZM8.45668 1.03274L8.5647 0.290562H8.5647L8.45668 1.03274ZM3.88008 9.91268L3.13809 10.022L3.88008 9.91268ZM3.88027 4.75693L3.13829 4.64758L3.88027 4.75693ZM12.1266 4.77402L12.8687 4.66576L12.1266 4.77402ZM12.1268 9.8956L11.3846 9.78734L12.1268 9.8956ZM8.54978 13.618L8.44332 12.8756L8.44331 12.8756L8.54978 13.618ZM8.55343 1.04682L8.44541 1.789H8.44541L8.55343 1.04682ZM7.44044 1.04907L7.54846 1.79125L7.44044 1.04907ZM7.4441 13.6158L7.33764 14.3582H7.33764L7.4441 13.6158ZM7.54846 1.79125L7.66061 1.77492L7.44457 0.290562L7.33242 0.306886L7.54846 1.79125ZM8.34866 1.77492L8.44541 1.789L8.66145 0.304644L8.5647 0.290562L8.34866 1.77492ZM8.44331 12.8756L8.34354 12.8899L8.55648 14.3747L8.65624 14.3604L8.44331 12.8756ZM7.66572 12.8899L7.55056 12.8734L7.33764 14.3582L7.4528 14.3747L7.66572 12.8899ZM8.34355 12.8899C8.11859 12.9221 7.89068 12.9221 7.66572 12.8899L7.4528 14.3747C7.81899 14.4272 8.19029 14.4272 8.55647 14.3747L8.34355 12.8899ZM7.66061 1.77492C7.88893 1.74169 8.12034 1.74169 8.34866 1.77492L8.5647 0.290562C8.1931 0.236479 7.81617 0.236479 7.44457 0.290562L7.66061 1.77492ZM4.62206 9.80333C4.38107 8.16812 4.38124 6.5016 4.62226 4.86628L3.13829 4.64758C2.87592 6.4278 2.87571 8.2417 3.13809 10.022L4.62206 9.80333ZM11.3844 4.88228C11.6215 6.50721 11.6217 8.16253 11.3846 9.78734L12.8689 10.0039C13.1269 8.23535 13.1267 6.43416 12.8687 4.66576L11.3844 4.88228ZM11.3846 9.78734C11.1451 11.4291 9.92649 12.6629 8.44332 12.8756L8.65623 14.3604C10.8489 14.046 12.5412 12.2505 12.8689 10.0039L11.3846 9.78734ZM12.8687 4.66576C12.5413 2.42095 10.8522 0.623499 8.66145 0.304644L8.44541 1.789C9.92762 2.00473 11.145 3.24066 11.3844 4.88228L12.8687 4.66576ZM4.62226 4.86628C4.86285 3.23377 6.07433 2.0058 7.54846 1.79125L7.33242 0.306886C5.15066 0.624428 3.46766 2.41269 3.13829 4.64758L4.62226 4.86628ZM3.13809 10.022C3.46773 12.2587 5.15401 14.0451 7.33764 14.3582L7.55056 12.8734C6.07546 12.6618 4.86268 11.436 4.62206 9.80333L3.13809 10.022Z" class="icon_main_fill"/></svg>
					</li>
					<?php if ($wo['config']['fileSharing'] == 1) { ?>
					<li class="list-group-item filter-by-li" onclick="Wo_FilterPostBy('files');" dir="auto">
						<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.68687 7.06852C2.31315 4.39862 4.39783 2.31394 7.06773 1.68767C8.9959 1.23538 11.0026 1.23538 12.9307 1.68767C15.6006 2.31394 17.6853 4.39862 18.3116 7.06852C18.7639 8.99669 18.7639 11.0034 18.3116 12.9315C17.6853 15.6014 15.6006 17.6861 12.9307 18.3124C11.0026 18.7647 8.9959 18.7647 7.06773 18.3124C4.39783 17.6861 2.31315 15.6014 1.68687 12.9315C1.23458 11.0034 1.23458 8.99669 1.68687 7.06852Z" stroke="currentColor" stroke-width="1.5"/><path d="M7 7H11M7 13H10M7 10H13" class="icon_main" stroke-width="1.5" stroke-linecap="round"/></svg>
					</li>
					<?php } ?>
					<?php if ($wo['config']['google_map'] == 1 || $wo['config']['yandex_map'] == 1) { ?>
					<li class="list-group-item filter-by-li" onclick="Wo_FilterPostBy('maps');" dir="auto">
						<svg width="18" height="20" viewBox="0 0 18 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17 9.17548C17 13.6907 13.4183 19 9 19C4.58172 19 1 13.6907 1 9.17548C1 4.66029 4.58172 1 9 1C13.4183 1 17 4.66029 17 9.17548Z" stroke="currentColor" stroke-width="1.5"/><path d="M6.5 8.5C6.5 7.11929 7.61929 6 9 6C10.3807 6 11.5 7.11929 11.5 8.5C11.5 9.88071 10.3807 11 9 11C7.61929 11 6.5 9.88071 6.5 8.5Z" class="icon_main" stroke-width="1.5"/></svg>
					</li>
					<?php } ?>
				</ul>
			<?php } ?>

			<div class="btn btn-main btn-active posts-count" onclick="Wo_GetNewPosts();"></div>
			<div class="posts_load">
				<div id="posts-laoded">
					<div class="wo_loading_post">
						<div class="wo_post_skel_head">
							<div class="skel skel_avatar"></div>
							<div>
								<div class="skel skel_noti_name"></div>
								<div class="skel skel_noti_time"></div>
							</div>
						</div>
						<div class="wo_post_skel_body">
							<div class="skel skel_desc"></div>
							<div class="skel skel_desc"></div>
							<div class="skel skel_desc"></div>
						</div>
						<div class="wo_post_skel_foot">
							<div class="skel skel_action"></div>
							<div class="skel skel_action"></div>
							<div class="skel skel_action"></div>
						</div>
					</div>
					<div class="wo_loading_post">
						<div class="wo_post_skel_head">
							<div class="skel skel_avatar"></div>
							<div>
								<div class="skel skel_noti_name"></div>
								<div class="skel skel_noti_time"></div>
							</div>
						</div>
						<div class="wo_post_skel_body">
							<div class="skel skel_desc"></div>
							<div class="skel skel_desc"></div>
							<div class="skel skel_desc"></div>
						</div>
						<div class="wo_post_skel_foot">
							<div class="skel skel_action"></div>
							<div class="skel skel_action"></div>
							<div class="skel skel_action"></div>
						</div>
					</div>
				</div>
			</div>
			<!-- #posts -->
		</div>
		<!-- .col-md-8 -->
		<?php echo Wo_LoadPage('sidebar/content'); ?>
	</div>
</div>
<!-- .page-margin -->

<?php
if ($wo['loggedin'] && $wo['user']['social_login'] == 1) {
  echo Wo_LoadPage('modals/create-password');
}
?>

<script type="text/javascript">

$(function() {
    loadposts();
});


// $(document).on('click', '.story-image-wrapper', function(event) {
//   event.preventDefault();
//   $value = $(this).parents(".story-container").attr('data-status-id');
//   $.post(Wo_Ajax_Requests_File() + '?f=story_view', {id: $value}, function(data, textStatus, xhr) {

//   });
// });

/* Standard syntax */
document.addEventListener("fullscreenchange", function() {
  $('video').toggleClass('active-player');
});

/* Firefox */
document.addEventListener("mozfullscreenchange", function() {
  $('video').toggleClass('active-player');
});

/* Chrome, Safari and Opera */
document.addEventListener("webkitfullscreenchange", function() {
  $('video').toggleClass('active-player');
});

/* IE / Edge */
document.addEventListener("msfullscreenchange", function() {
  $('video').toggleClass('active-player');
});


function loadposts() {
	$("#posts-laoded").load(Wo_Ajax_Requests_File() + '?f=load_posts', function enter() {
		Wo_FinishBar();
		window.fbAsyncInit = function() {
		  FB.init({
			appId      : '374255706379985',
			xfbml      : true,
			version    : 'v3.2'
		  });
		};
	  	$(".post-description p, .product-description").each(function(index, el) {
	  		ReadMoreText(this);
	  	});
	  	$(".post-commet-textarea .textarea").triggeredAutocomplete({
	       hidden: '#hidden_inputbox_comment',
	       source: Wo_Ajax_Requests_File() + "?f=mention",
	       trigger: "@"
	    });
	  	$(".comment-reply textarea").triggeredAutocomplete({
	       hidden: '#hidden_inputbox_comment_reply',
	       source: Wo_Ajax_Requests_File() + "?f=mention",
	       trigger: "@"
	    });
	    $('#load-more-posts').show();

	});
}
  <?php if ($wo['loggedin'] && $wo['user']['social_login'] == 1) { ?>
  $(window).on("load", function (e) {
       $('#create-password').modal('show');
    });
  $(function() {
    var create_password_container = $('#create-password');
    $('form.create-password').ajaxForm({
      url: Wo_Ajax_Requests_File() + '?f=update_new_logged_user_details',
      beforeSend: function() {
        Wo_progressIconLoader($('form.create-password').find('button'));
      },
      success: function(data) {
        if (data.status == 200) {
          create_password_container.find('.error-container').html("<div class='alert alert-success'>" + data.message + "</div>");
           $('#update-username').attr('href', data.url);
           setTimeout(function() {
            $('#create-password').modal('hide');
           }, 1500);
        } else {
          var errors = data.errors.join("<br>");
          create_password_container.find('.error-container').html("<div class='alert alert-danger'>" + errors + "</div>");
        }
        Wo_progressIconLoader($('form.create-password').find('button'));
      }
    });
  });

<?php } ?>

<?php if (Wo_IsMobile() == true) { ?>
function Wo_StorePosts(type) {
  if (type > 1) {
     return false;
  }
  if (type == 0) {
    $('.order-text').text('<?php echo $wo['lang']['all'] ?>');
  } else {
    $('.order-text').text('<?php echo $wo['lang']['people_i_follow'] ?>');
  }
  $('#posts-laoded').html('<div class="wo_loading_post"><div class="wo_loading_post_child"></div></div>');
  $.get(Wo_Ajax_Requests_File() + '?f=update_order_by', {type:type}, function (data) {
    if (data.status == 200) {
      loadposts();
    }
  });
}
<?php } ?>

function Wo_ViewAnnouncement(id) {
    var announcement_container = $('.home-announcement');
    $.get(Wo_Ajax_Requests_File() + '?f=update_announcement_views', {id:id}, function (data) {
      if (data.status == 200) {
          announcement_container.slideUp(200, function () {
            $(this).remove();
          });
      }
    });
}

function setCookie(cname, cvalue, exdays) {
    var d = new Date();
    d.setTime(d.getTime() + (exdays*60*60*1000));
    var expires = "expires="+ d;
    document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
}

function getCookieValue(a) {
    var b = document.cookie.match('(^|;)\\s*' + a + '\\s*=\\s*([^;]+)');
    return b ? b.pop() : '';
}
<?php if ($wo['loggedin']) { ?>
$(function () {
    var is_day_enabled = getCookieValue('day_status');
    var myDate = new Date();
    var hrs = myDate.getHours();
    var greet;
    var color;
	var quote;
    if (hrs < 12) {
        greet = "<?php echo $wo['lang']['good_morning']?>" + ', <?php echo $wo['user']['name']?> <img src="<?php echo $wo['config']['theme_url'];?>/img/park.png"/>';
        color = '#7FC583';
		quote = "<?php echo $wo['lang']['good_morning_quote']?>";
    } else if (hrs >= 12 && hrs <= 18) {
        greet = "<?php echo $wo['lang']['good_afternoon']?>" + ', <?php echo $wo['user']['name']?> <img src="<?php echo $wo['config']['theme_url'];?>/img/desert.png"/>';
        color = '#ffc107';
		quote = "<?php echo $wo['lang']['good_afternoon_quote']?>";
    } else if (hrs >= 18 && hrs <= 24) {
        greet = "<?php echo $wo['lang']['good_evening']?>"+', <?php echo $wo['user']['name']?> <img src="<?php echo $wo['config']['theme_url'];?>/img/sea.png"/>';
        color = '#FF4F70';
		quote = "<?php echo $wo['lang']['good_evening_quote']?>";
    }
    if (is_day_enabled != 1) {
      setTimeout(function () {
        $('.greetalert').css('border-color', color );
        $('#daynightmsg').html('<div class="small-texts">' + greet + '</div><p>' + quote + '</p>');
        $('.greetalert').removeClass('hidden');
      }, 100);
    }
});
<?php } ?>
</script>