function content_55d575210864a3_07868057($_smarty_tpl) { if (!is_callable('smarty_function_cycle')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_libraries/smarty3/plugins/function.cycle.php'; } if (!is_callable('smarty_function_online_now')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.online_now.php'; } if (!is_callable('smarty_function_text')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php'; } if (!is_callable('smarty_function_format_date')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.format_date.php'; } if (!is_callable('smarty_function_decorator')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.decorator.php'; } if (!empty($_smarty_tpl->tpl_vars['list']->value)) { ?> <div class="ow_user_list ow_full ow_stdmargin"> <?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['item']->_loop = false; $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $_smarty_tpl->tpl_vars['item']->total = $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['item']->iteration = 0; $_smarty_tpl->tpl_vars['item']->index = -1; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['iteration'] = 0; foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) { $_smarty_tpl->tpl_vars['item']->_loop = true; $_smarty_tpl->tpl_vars['item']->iteration++; $_smarty_tpl->tpl_vars['item']->index++; $_smarty_tpl->tpl_vars['item']->first = $_smarty_tpl->tpl_vars['item']->index === 0; $_smarty_tpl->tpl_vars['item']->last = $_smarty_tpl->tpl_vars['item']->iteration === $_smarty_tpl->tpl_vars['item']->total; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['first'] = $_smarty_tpl->tpl_vars['item']->first; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['iteration']++; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['last'] = $_smarty_tpl->tpl_vars['item']->last; ?> <?php $_smarty_tpl->tpl_vars['dto'] = new Smarty_variable($_smarty_tpl->tpl_vars['item']->value['dto'], null, 0); ?> <?php $_smarty_tpl->tpl_vars['id'] = new Smarty_variable($_smarty_tpl->tpl_vars['dto']->value->id, null, 0); ?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['user_list']['first']) { ?> <div class="clearfix <?php echo smarty_function_cycle(array('name' => "rows", 'values' => "ow_alt2, ow_alt1"), $_smarty_tpl); ?> "> <?php } ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', "_fields", null); ob_start(); ?> <?php if (!empty($_smarty_tpl->tpl_vars['fields']->value)) { ?> <?php $_smarty_tpl->tpl_vars["field"] = new Smarty_Variable(); $_smarty_tpl->tpl_vars["field"]->_loop = false; $_from = $_smarty_tpl->tpl_vars['fields']->value[$_smarty_tpl->tpl_vars['id']->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars["field"]->key => $_smarty_tpl->tpl_vars["field"]->value) { $_smarty_tpl->tpl_vars["field"]->_loop = true; ?> <?php echo $_smarty_tpl->tpl_vars['field']->value['label']; echo $_smarty_tpl->tpl_vars['field']->value['value']; ?> <br /> <?php } ?> <?php } ?> <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', "activity", null); ob_start(); ?> <?php if (!empty($_smarty_tpl->tpl_vars['showPresenceList']->value) && !empty($_smarty_tpl->tpl_vars['showPresenceList']->value[$_smarty_tpl->tpl_vars['id']->value]) && $_smarty_tpl->tpl_vars['showPresenceList']->value[$_smarty_tpl->tpl_vars['id']->value]) { ?> <?php if ($_smarty_tpl->tpl_vars['onlineInfo']->value) { ?> <?php if (!empty($_smarty_tpl->tpl_vars['onlineInfo']->value) && $_smarty_tpl->tpl_vars['onlineInfo']->value[$_smarty_tpl->tpl_vars['id']->value] || empty($_smarty_tpl->tpl_vars['onlineInfo']->value)) { echo smarty_function_online_now(array('userId' => $_smarty_tpl->tpl_vars['dto']->value->id), $_smarty_tpl); } else { echo smarty_function_text(array('key' => "base+user_list_activity"), $_smarty_tpl); ?> : <span class="ow_remark"><?php echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['dto']->value->activityStamp), $_smarty_tpl); ?> </span><?php } ?> <?php } ?> <?php } ?> <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <?php $_smarty_tpl->tpl_vars["username"] = new Smarty_variable($_smarty_tpl->tpl_vars['usernameList']->value[$_smarty_tpl->tpl_vars['id']->value], null, 0); ?> <?php $_smarty_tpl->tpl_vars["name"] = new Smarty_variable($_smarty_tpl->tpl_vars['displayNameList']->value[$_smarty_tpl->tpl_vars['id']->value], null, 0); ?> <?php echo smarty_function_decorator(array('name' => "user_list_item", 'avatar' => $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['id']->value], 'username' => $_smarty_tpl->tpl_vars['username']->value, 'displayName' => $_smarty_tpl->tpl_vars['name']->value, 'contextMenu' => $_smarty_tpl->tpl_vars['contextMenuList']->value[$_smarty_tpl->tpl_vars['id']->value], 'fields' => $_smarty_tpl->tpl_vars['_fields']->value, 'activity' => $_smarty_tpl->tpl_vars['activity']->value, 'set_class' => 'ow_item_set3'), $_smarty_tpl); ?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['user_list']['iteration'] % 3 == 0 && !$_smarty_tpl->getVariable('smarty')->value['foreach']['user_list']['last']) { ?> </div> <div class="clearfix <?php echo smarty_function_cycle(array('name' => "rows", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl); ?> "> <?php } ?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['user_list']['last']) { ?> </div> <?php } ?> <?php } ?> </div> <center><?php echo $_smarty_tpl->tpl_vars['paging']->value; ?> </center> <?php } else { ?> <center><?php echo smarty_function_text(array('key' => "base+user_no_users"), $_smarty_tpl); ?> </center> <?php } }
function content_548e56be0a1295_27119754($_smarty_tpl) { if (!is_callable('smarty_block_style')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.php'; } if (!is_callable('smarty_block_script')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.script.php'; } if (!is_callable('smarty_function_text')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php'; } if (!is_callable('smarty_function_online_now')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.online_now.php'; } $_smarty_tpl->smarty->_tag_stack[] = array('style', array()); $_block_repeat = true; echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> .ow_avatar_console .ow_avatar_label { bottom: 5px; right: 5px; -moz-border-radius: 3px; -webkit-border-radius: 3px; } #avatar_console_image { background-repeat: no-repeat; background-position: center center; position:relative; width: 100%; } <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_style(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php if ($_smarty_tpl->tpl_vars['owner']->value || $_smarty_tpl->tpl_vars['moderation']->value) { ?> <?php $_smarty_tpl->smarty->_tag_stack[] = array('script', array()); $_block_repeat = true; echo smarty_block_script(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> (function(){ $("#avatar-console").hover( function(){ $("#avatar-change").fadeIn("fast"); $("#avatar-approve").fadeIn("fast"); }, function(){ $("#avatar-change").fadeOut("fast"); $("#avatar-approve").fadeOut("fast"); } ); }()); <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_script(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php } ?> <div class="ow_avatar_console ow_center" id="avatar-console"> <div id="avatar_console_image" style="height: <?php echo $_smarty_tpl->tpl_vars['avatarSize']->value; ?> px; background-image: url(<?php echo $_smarty_tpl->tpl_vars['avatar']->value; ?> );"> <div class="ow_avatar_pending_approval" style="<?php if (!$_smarty_tpl->tpl_vars['hasAvatar']->value || $_smarty_tpl->tpl_vars['isModerator']->value || !$_smarty_tpl->tpl_vars['owner']->value || !$_smarty_tpl->tpl_vars['isModerator']->value && !empty($_smarty_tpl->tpl_vars['avatarDto']->value) && $_smarty_tpl->tpl_vars['avatarDto']->value->status == 'active') { ?> display:none;<?php } else { } ?> position: absolute; top: 0; right: 0; left: 0; bottom: 0; background-color: rgba(0,0,0,0.6); color: #fff; padding: 8px;"><?php echo smarty_function_text(array('key' => 'base+avatar_pending_approval'), $_smarty_tpl); ?> </div> <?php if ($_smarty_tpl->tpl_vars['owner']->value) { ?> <div class="ow_avatar_button ow_avatar_change" id="avatar-change" style="display: none"> <a class="ow_lbutton" href="javascript://"><?php echo smarty_function_text(array('key' => 'base+avatar_change'), $_smarty_tpl); ?> </a> </div> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['moderation']->value) { ?> <div class="ow_avatar_button ow_avatar_change" id="avatar-approve" style="display: none"> <a class="ow_lbutton" href="javascript://"><?php echo smarty_function_text(array('key' => 'base+approve'), $_smarty_tpl); ?> </a> </div> <?php } ?> <?php if (isset($_smarty_tpl->tpl_vars['role']->value['label'])) { ?> <span class="ow_avatar_label <?php if ($_smarty_tpl->tpl_vars['isUserOnline']->value) { ?> avatar_console_label<?php } ?> "<?php if (isset($_smarty_tpl->tpl_vars['role']->value['custom'])) { ?> style="background-color: <?php echo $_smarty_tpl->tpl_vars['role']->value['custom']; ?> "<?php } ?> ><?php echo $_smarty_tpl->tpl_vars['role']->value['label']; ?> </span><?php } ?> </div> <div class="user_online_wrap"><?php if ($_smarty_tpl->tpl_vars['isUserOnline']->value) { echo smarty_function_online_now(array('userId' => $_smarty_tpl->tpl_vars['userId']->value), $_smarty_tpl); } ?> </div> </div><?php }
function content_55b238c2164c27_01637478($_smarty_tpl) { if (!is_callable('smarty_function_decorator')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.decorator.php'; } if (!is_callable('smarty_block_script')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.script.php'; } if (!is_callable('smarty_function_text')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php'; } if (!is_callable('smarty_function_online_now')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.online_now.php'; } if (!is_callable('smarty_function_format_date')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.format_date.php'; } ?> <div class="ow_btn_delimiter ow_right"> <?php if ($_smarty_tpl->tpl_vars['isAuthenticated']->value) { ?> <?php if (!empty($_smarty_tpl->tpl_vars['canUpload']->value)) { ?> <?php echo smarty_function_decorator(array('name' => "button", 'class' => "ow_ic_add", 'id' => "add-new-photo-album", 'langLabel' => "photo+create_album"), $_smarty_tpl); ?> <?php $_smarty_tpl->smarty->_tag_stack[] = array('script', array()); $_block_repeat = true; echo smarty_block_script(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> jQuery(function() { var content = $(document.getElementById('add-new-photo-album-content')); var albumName = new OwTextField('add-new-photo-album-name', 'add-new-photo-album-name', OW.getLanguageText('photo', 'album_name')); var albumDesc = new OwTextArea('add-new-photo-album-desc', 'add-new-photo-album-desc', OW.getLanguageText('photo', 'album_desc')); $('#add-new-photo-album').on('click', function() { var fb = new OW_FloatBox( { $title: OW.getLanguageText('photo', 'create_album'), $contents: content, width: 500 }); fb.bind('show', function() { $('input.ow_ic_submit', content).off().on('click', function() { var value = albumName.getValue().trim(); if ( value.length === 0 ) { $('span.ow_error', content).show(); $(albumName.input).focus(); return; } else if ( value === OW.getLanguageText('photo', 'newsfeed_album') ) { OW.error(OW.getLanguageText('photo', 'newsfeed_album_error_msg')); $('span.ow_error', content).show(); $(albumName.input).focus(); return; } fb.close(); var ajaxUploadPhotoFB = OW.ajaxFloatBox("PHOTO_CMP_AjaxUpload", [0, albumName.getValue(), albumDesc.getValue()], { title: OW.getLanguageText('photo', 'upload_photos'), width: "746px" }); ajaxUploadPhotoFB.bind("close", function() { if ( ajaxPhotoUploader.isHasData() ) { return confirm(OW.getLanguageText('photo', 'close_alert')); } }); }); }); fb.bind('close', function() { $('span.ow_error', content).hide(); }); }); }); <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_script(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php } else { ?> <?php echo smarty_function_decorator(array('name' => "button", 'class' => "ow_ic_add", 'id' => "add-new-photo-album", 'langLabel' => "photo+create_album", 'onclick' => (string) $_smarty_tpl->tpl_vars['url']->value . "();"), $_smarty_tpl); ?> <?php } ?> <?php echo smarty_function_decorator(array('name' => "button", 'class' => "ow_ic_add", 'id' => "btn-add-new-photo", 'langLabel' => "photo+upload_photos", 'onclick' => (string) $_smarty_tpl->tpl_vars['url']->value . "();"), $_smarty_tpl); ?> <?php } ?> <div class="ow_hidden"> <div id="add-new-photo-album-content"> <div style="margin-bottom: 16px;"> <div class="ow_smallmargin"> <input id="add-new-photo-album-name" type="text" value="<?php echo smarty_function_text(array('key' => "photo+album_name"), $_smarty_tpl); ?> " class="invitation"> <span class="ow_error" style="color: #FF0000; display: none"><?php echo smarty_function_text(array('key' => 'base+form_validator_required_error_message'), $_smarty_tpl); ?> </span> </div> <textarea id="add-new-photo-album-desc" class="invitation"><?php echo smarty_function_text(array('key' => 'photo+album_desc'), $_smarty_tpl); ?> </textarea> </div> <div style="margin-bottom: 8px;" class="clearfix"> <div class="ow_right"> <span class="ow_button"> <span class=" ow_ic_submit ow_positive"> <input type="button" class="ow_ic_submit ow_positive" value="<?php echo smarty_function_text(array('key' => 'photo+add_photos'), $_smarty_tpl); ?> "> </span> </span> </div> </div> </div> </div> </div> <?php if (!empty($_smarty_tpl->tpl_vars['photoMenu']->value)) { ?> <?php echo $_smarty_tpl->tpl_vars['photoMenu']->value; ?> <?php } ?> <?php if (!empty($_smarty_tpl->tpl_vars['user']->value)) { ?> <div class="clearfix" style="margin-bottom: 12px;"> <div class="ow_user_list_picture"> <?php echo smarty_function_decorator(array('name' => 'avatar_item', 'data' => $_smarty_tpl->tpl_vars['avatar']->value), $_smarty_tpl); ?> </div> <div class="ow_user_list_data"> <a href="<?php echo $_smarty_tpl->tpl_vars['avatar']->value['url']; ?> "><?php echo $_smarty_tpl->tpl_vars['avatar']->value['title']; ?> </a> <div class="ow_small"> <?php if (!empty($_smarty_tpl->tpl_vars['onlineStatus']->value)) { ?> <?php echo smarty_function_online_now(array('userId' => $_smarty_tpl->tpl_vars['user']->value->id), $_smarty_tpl); ?> <?php } elseif ($_smarty_tpl->tpl_vars['user']->value->activityStamp) { ?> <?php echo smarty_function_text(array('key' => "base+user_list_activity"), $_smarty_tpl); ?> : <span class="ow_remark"><?php echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['user']->value->activityStamp), $_smarty_tpl); ?> </span> <?php } ?> </div> </div> </div> <?php } ?> <?php echo $_smarty_tpl->tpl_vars['subMenu']->value; ?> <?php }
function content_55520ad7c9b1b1_22598786($_smarty_tpl) { if (!is_callable('smarty_block_style')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.style.php'; } if (!is_callable('smarty_function_text')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php'; } if (!is_callable('smarty_function_online_now')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.online_now.php'; } $_smarty_tpl->smarty->_tag_stack[] = array('style', array()); $_block_repeat = true; echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <?php if (!empty($_smarty_tpl->tpl_vars['user']->value['avatar'])) { ?> .ow_profile_gallery_avatar_image { background-image: url(<?php echo $_smarty_tpl->tpl_vars['user']->value['avatar']; ?> ); } <?php } ?> <?php if ($_smarty_tpl->tpl_vars['photos']->value) { ?> .pcgallery_photo1 { background-image: url(<?php echo $_smarty_tpl->tpl_vars['photos']->value[0]['src']; ?> ); } .pcgallery_photo2 { background-image: url(<?php echo $_smarty_tpl->tpl_vars['photos']->value[1]['src']; ?> ); } .pcgallery_photo3 { background-image: url(<?php echo $_smarty_tpl->tpl_vars['photos']->value[2]['src']; ?> ); } .pcgallery_photo4 { background-image: url(<?php echo $_smarty_tpl->tpl_vars['photos']->value[3]['src']; ?> ); } .pcgallery_photo5 { background-image: url(<?php echo $_smarty_tpl->tpl_vars['photos']->value[4]['src']; ?> ); } .pcgallery_photo6 { background-image: url(<?php echo $_smarty_tpl->tpl_vars['photos']->value[5]['src']; ?> ); } .pcgallery_photo7 { background-image: url(<?php echo $_smarty_tpl->tpl_vars['photos']->value[6]['src']; ?> ); } <?php } ?> .ow_profile_gallery_place:hover .ow_profile_gallery_btn { /*display: block;*/ } .ow_profile_gallery_btn { /*display: none;*/ } .pcg_avatar_approve { display: none; } .ow_avatar_console:hover .pcg_avatar_approve { display: block; } <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_style(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <div class="ow_profile_gallery_wrap ow_stdmargin" id="<?php echo $_smarty_tpl->tpl_vars['uniqId']->value; ?> "> <div class="ow_profile_gallery_place"> <div class="ow_profile_gallery <?php if ($_smarty_tpl->tpl_vars['empty']->value) { ?> ow_profile_gallery_empty<?php } ?> clearfix"> <?php if ($_smarty_tpl->tpl_vars['empty']->value) { ?> <?php if ($_smarty_tpl->tpl_vars['permissions']->value['selfMode']) { ?> <div class="ow_profile_gallery_txt"> <?php echo smarty_function_text(array('key' => "pcgallery+not_enough_photo_tip", 'id' => "pcgallery-add-photo-btn"), $_smarty_tpl); ?> </div> <?php } ?> <?php } else { ?> <div class="ow_profile_gallery_item_vert"> <div class="ow_profile_gallery_item ow_border"> <div class="ow_profile_gallery_item_image pcgallery_photo2 pcg-image" data-order="1" data-pid="<?php echo $_smarty_tpl->tpl_vars['photos']->value[1]['id']; ?> "></div> <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" /> </div> <div class="ow_profile_gallery_item ow_border"> <div class="ow_profile_gallery_item_image pcgallery_photo3 pcg-image" data-order="2" data-pid="<?php echo $_smarty_tpl->tpl_vars['photos']->value[2]['id']; ?> " ></div> <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" /> </div> </div> <div class="ow_profile_gallery_item_vert ow_profile_gallery_item_big"> <div class="ow_profile_gallery_item ow_border"> <div class="ow_profile_gallery_item_image pcgallery_photo1 pcg-image" data-order="3" data-pid="<?php echo $_smarty_tpl->tpl_vars['photos']->value[0]['id']; ?> "></div> <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" /> </div> </div> <div class="ow_profile_gallery_item_vert"> <div class="ow_profile_gallery_item ow_border"> <div class="ow_profile_gallery_item_image pcgallery_photo4 pcg-image" data-order="4" data-pid="<?php echo $_smarty_tpl->tpl_vars['photos']->value[3]['id']; ?> "></div> <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" /> </div> <div class="ow_profile_gallery_item ow_border"> <div class="ow_profile_gallery_item_image pcgallery_photo5 pcg-image" data-order="5" data-pid="<?php echo $_smarty_tpl->tpl_vars['photos']->value[4]['id']; ?> "></div> <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" /> </div> </div> <div class="ow_profile_gallery_item_vert"> <div class="ow_profile_gallery_item ow_border"> <div class="ow_profile_gallery_item_image pcgallery_photo6 pcg-image" data-order="6" data-pid="<?php echo $_smarty_tpl->tpl_vars['photos']->value[5]['id']; ?> "></div> <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" /> </div> <div class="ow_profile_gallery_item ow_border"> <div class="ow_profile_gallery_item_image pcgallery_photo7 pcg-image" data-order="7" data-pid="<?php echo $_smarty_tpl->tpl_vars['photos']->value[6]['id']; ?> "></div> <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" /> </div> </div> <?php } ?> </div> <?php if (!$_smarty_tpl->tpl_vars['empty']->value && $_smarty_tpl->tpl_vars['permissions']->value['changeSettings']) { ?> <div class="ow_profile_gallery_btn"> <a class="ow_lbutton" id="pcgallery-settings-btn" href="javascript://"><?php echo smarty_function_text(array('key' => 'pcgallery+settings_btn_label'), $_smarty_tpl); ?> </a> </div> <?php } ?> </div> <div class="ow_profile_gallery_cont_wrap ow_border"> <div class="ow_profile_gallery_cont clearfix"> <div class="ow_profile_gallery_avatar"> <div class="ow_avatar_console ow_border ow_profile_gallery_avatar_console ow_bg_color"> <div class="ow_profile_gallery_avatar_image" data-outlet="avatar"> <?php if ($_smarty_tpl->tpl_vars['avatarApproval']->value) { ?> <div data-outlet="approve-overlay" style="position: absolute; top: 0; right: 0; left: 0; bottom: 0; background-color: rgba(0,0,0,0.6); color: #fff; padding: 8px;"><?php echo smarty_function_text(array('key' => 'base+avatar_pending_approval'), $_smarty_tpl); ?> </div> <?php } ?> <?php if (isset($_smarty_tpl->tpl_vars['user']->value['role']['label'])) { ?> <span class="ow_avatar_label"<?php if (isset($_smarty_tpl->tpl_vars['user']->value['role']['custom'])) { ?> style="background-color: <?php echo $_smarty_tpl->tpl_vars['user']->value['role']['custom']; ?> "<?php } ?> > <?php echo $_smarty_tpl->tpl_vars['user']->value['role']['label']; ?> </span> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['permissions']->value['changeAvatar']) { ?> <div class="ow_profile_gallery_avatar_change"> <a data-outlet="avatar-change" href="javascript://" class="ow_lbutton"><?php echo smarty_function_text(array('key' => "base+avatar_change"), $_smarty_tpl); ?> </a> </div> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['avatarApproval']->value && $_smarty_tpl->tpl_vars['permissions']->value['approveAvatar']) { ?> <div class="ow_avatar_button ow_avatar_change pcg_avatar_approve" data-outlet="approve-avatar-w" > <a data-outlet="approve-avatar" class="ow_lbutton" href="javascript://"><?php echo smarty_function_text(array('key' => 'base+approve'), $_smarty_tpl); ?> </a> </div> <?php } ?> <div class="user_online_wrap"><?php if ($_smarty_tpl->tpl_vars['user']->value['isOnline']) { echo smarty_function_online_now(array('userId' => $_smarty_tpl->tpl_vars['user']->value['id']), $_smarty_tpl); } ?> </div> </div> </div> </div> <div class="ow_profile_gallery_toolbox clearfix"> <span class="ow_profile_gallery_display_name ow_smallmargin"> <?php echo $_smarty_tpl->tpl_vars['user']->value['displayName']; ?> </span> <div class="ow_profile_gallery_action_toolbar clearfix"> <?php echo $_smarty_tpl->tpl_vars['actionToolbar']->value; ?> </div> </div> </div> </div> </div><?php }
function content_548e5339616c33_23647792($_smarty_tpl) { if (!is_callable('smarty_block_style')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.php'; } if (!is_callable('smarty_function_online_now')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.online_now.php'; } ?> <?php $_smarty_tpl->smarty->_tag_stack[] = array('style', array()); $_block_repeat = true; echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> #<?php echo $_smarty_tpl->tpl_vars['uniqId']->value; ?> .uhint-avatar-image { background-image: url(<?php echo $_smarty_tpl->tpl_vars['user']->value['avatar']; ?> ); } <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_style(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <div id="<?php echo $_smarty_tpl->tpl_vars['uniqId']->value; ?> " class="uhint-wrap <?php if (empty($_smarty_tpl->tpl_vars['cover']->value)) { ?> uhint-no-cover<?php } else { ?> uhint-has-cover<?php } ?> "> <div class="uhint-body"> <div class="uhb-head ow_border" <?php if (!empty($_smarty_tpl->tpl_vars['cover']->value)) { ?> style="height: <?php echo $_smarty_tpl->tpl_vars['cover']->value['height']; ?> px;"<?php } ?> > <?php if (!empty($_smarty_tpl->tpl_vars['cover']->value)) { ?> <img class="uhint-cover-img" src="<?php echo $_smarty_tpl->tpl_vars['cover']->value['url']; ?> " style="<?php echo $_smarty_tpl->tpl_vars['cover']->value['imageCss']; ?> " /> <?php } ?> <div class="uhb-head-text-wrap <?php if (!empty($_smarty_tpl->tpl_vars['info']->value['line0'])) { ?> uhbht-extra-line<?php } ?> "> <div class="uhb-head-text"> <a href="<?php echo $_smarty_tpl->tpl_vars['user']->value['url']; ?> " class="uhbht-title"> <?php echo $_smarty_tpl->tpl_vars['user']->value['displayName']; ?> </a> <?php if (!empty($_smarty_tpl->tpl_vars['info']->value['line0'])) { ?> <div class="uhbht-info-line hb-info-line0 ow_small <?php if (empty($_smarty_tpl->tpl_vars['cover']->value)) { ?> ow_remark<?php } ?> "><?php echo $_smarty_tpl->tpl_vars['info']->value['line0']; ?> </div> <?php } ?> </div> </div> </div> <div class="uhb-info clearfix"> <div class="uhint-avatar ow_avatar_console ow_bg_color ow_border"> <div class="uhint-avatar-image"> <?php if (isset($_smarty_tpl->tpl_vars['user']->value['role']['label'])) { ?> <span class="ow_avatar_label"<?php if (isset($_smarty_tpl->tpl_vars['user']->value['role']['custom'])) { ?> style="background-color: <?php echo $_smarty_tpl->tpl_vars['user']->value['role']['custom']; ?> "<?php } ?> > <?php echo $_smarty_tpl->tpl_vars['user']->value['role']['label']; ?> </span> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['user']->value['isOnline']) { echo smarty_function_online_now(array('userId' => $_smarty_tpl->tpl_vars['user']->value['id']), $_smarty_tpl); } ?> <?php if (!empty($_smarty_tpl->tpl_vars['user']->value['fgift'])) { ?> <a href="<?php echo $_smarty_tpl->tpl_vars['user']->value['fgift']['url']; ?> " class="hint-fgift"> <img src="<?php echo $_smarty_tpl->tpl_vars['user']->value['fgift']['src']; ?> " /> </a> <?php } ?> </div> </div> <div class="hb-info-content"> <div class="hb-info-line hb-info-line1"> <?php echo $_smarty_tpl->tpl_vars['info']->value['line1']; ?> </div> <div class="hb-info-line hb-info-line2"><?php echo $_smarty_tpl->tpl_vars['info']->value['line2']; ?> </div> </div> </div> </div> <?php if (!empty($_smarty_tpl->tpl_vars['buttons']->value)) { ?> <div class="uhint-foot ow_border"> <ul class="ow_bl clearfix"> <?php $_smarty_tpl->tpl_vars["button"] = new Smarty_Variable(); $_smarty_tpl->tpl_vars["button"]->_loop = false; $_from = $_smarty_tpl->tpl_vars['buttons']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars["button"]->key => $_smarty_tpl->tpl_vars["button"]->value) { $_smarty_tpl->tpl_vars["button"]->_loop = true; ?> <li><a <?php echo $_smarty_tpl->tpl_vars['button']->value['attrs']; ?> ><?php echo $_smarty_tpl->tpl_vars['button']->value['label']; ?> </a></li> <?php } ?> </ul> </div> <?php } ?> </div><?php }
function content_548e850b443bf1_34834572($_smarty_tpl) { if (!is_callable('smarty_function_cycle')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_libraries\\smarty3\\plugins\\function.cycle.php'; } if (!is_callable('smarty_function_question_value_lang')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.question_value_lang.php'; } if (!is_callable('smarty_function_age')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.age.php'; } if (!is_callable('smarty_function_online_now')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.online_now.php'; } if (!is_callable('smarty_function_format_date')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.format_date.php'; } if (!is_callable('smarty_function_url_for')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.url_for.php'; } if (!is_callable('smarty_function_text')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php'; } if (!is_callable('smarty_function_decorator')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php'; } if (!empty($_smarty_tpl->tpl_vars['menu']->value)) { echo $_smarty_tpl->tpl_vars['menu']->value; } if (!empty($_smarty_tpl->tpl_vars['list']->value)) { ?> <div class="ow_user_list ow_full ow_stdmargin"> <?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['item']->_loop = false; $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $_smarty_tpl->tpl_vars['item']->total = $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['item']->iteration = 0; $_smarty_tpl->tpl_vars['item']->index = -1; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['iteration'] = 0; foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) { $_smarty_tpl->tpl_vars['item']->_loop = true; $_smarty_tpl->tpl_vars['item']->iteration++; $_smarty_tpl->tpl_vars['item']->index++; $_smarty_tpl->tpl_vars['item']->first = $_smarty_tpl->tpl_vars['item']->index === 0; $_smarty_tpl->tpl_vars['item']->last = $_smarty_tpl->tpl_vars['item']->iteration === $_smarty_tpl->tpl_vars['item']->total; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['first'] = $_smarty_tpl->tpl_vars['item']->first; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['iteration']++; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['last'] = $_smarty_tpl->tpl_vars['item']->last; ?> <?php $_smarty_tpl->tpl_vars['dto'] = new Smarty_variable($_smarty_tpl->tpl_vars['item']->value['dto'], null, 0); ?> <?php $_smarty_tpl->tpl_vars['id'] = new Smarty_variable($_smarty_tpl->tpl_vars['dto']->value->id, null, 0); ?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['user_list']['first']) { ?> <div class="clearfix <?php echo smarty_function_cycle(array('name' => "rows", 'values' => "ow_alt2, ow_alt1"), $_smarty_tpl); ?> "> <?php } ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', "fields", null); ob_start(); ?> <?php if (!empty($_smarty_tpl->tpl_vars['questionList']->value[$_smarty_tpl->tpl_vars['id']->value]['sex'])) { echo smarty_function_question_value_lang(array('name' => 'sex', 'value' => $_smarty_tpl->tpl_vars['questionList']->value[$_smarty_tpl->tpl_vars['id']->value]['sex']), $_smarty_tpl); } ?> <?php if (!empty($_smarty_tpl->tpl_vars['questionList']->value[$_smarty_tpl->tpl_vars['id']->value]['birthdate'])) { echo smarty_function_age(array('dateTime' => $_smarty_tpl->tpl_vars['questionList']->value[$_smarty_tpl->tpl_vars['id']->value]['birthdate']), $_smarty_tpl); } ?> <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', "activity", null); ob_start(); ?> <?php if (empty($_smarty_tpl->tpl_vars['onlineInfo']->value) || empty($_smarty_tpl->tpl_vars['onlineInfo']->value[$_smarty_tpl->tpl_vars['id']->value])) { ?> <?php } else { ?> <?php if (!empty($_smarty_tpl->tpl_vars['onlineInfo']->value) && $_smarty_tpl->tpl_vars['onlineInfo']->value[$_smarty_tpl->tpl_vars['id']->value]) { echo smarty_function_online_now(array('userId' => $_smarty_tpl->tpl_vars['dto']->value->id), $_smarty_tpl); } else { ?> Activity: <?php echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['dto']->value->activityStamp), $_smarty_tpl); } ?> <?php } ?> <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'toolbar', null); ob_start(); ?> <?php if ($_smarty_tpl->tpl_vars['case']->value == 'sent-requests') { ?> <div class=" ow_tiny" style="margin-left: 53px;"> <a href="<?php echo smarty_function_url_for(array('for' => "FRIENDS_CTRL_Action:cancel:[id=>" . (string) $_smarty_tpl->tpl_vars['id']->value . "]"), $_smarty_tpl); ?> "><?php echo smarty_function_text(array('key' => 'friends+cancel_request'), $_smarty_tpl); ?> </a> </div> <?php } elseif ($_smarty_tpl->tpl_vars['case']->value == 'got-requests') { ?> <div class="ow_tiny" style="margin-left: 53px;"> <a href="<?php echo smarty_function_url_for(array('for' => "FRIENDS_CTRL_Action:accept:[id=>" . (string) $_smarty_tpl->tpl_vars['id']->value . "]"), $_smarty_tpl); ?> "><?php echo smarty_function_text(array('key' => 'friends+accept_request'), $_smarty_tpl); ?> </a> · <a href="<?php echo smarty_function_url_for(array('for' => "FRIENDS_CTRL_Action:ignore:[id=>" . (string) $_smarty_tpl->tpl_vars['id']->value . "]"), $_smarty_tpl); ?> "><?php echo smarty_function_text(array('key' => 'friends+ignore_request'), $_smarty_tpl); ?> </a> </div> <?php } ?> <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <?php echo smarty_function_decorator(array('name' => "user_list_item", 'toolbar' => $_smarty_tpl->tpl_vars['toolbar']->value, 'avatar' => $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['id']->value], 'userUrl' => $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['id']->value]['url'], 'displayName' => $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['id']->value]['title'], 'fields' => $_smarty_tpl->tpl_vars['fields']->value, 'activity' => $_smarty_tpl->tpl_vars['activity']->value, 'set_class' => 'ow_item_set3'), $_smarty_tpl); ?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['user_list']['iteration'] % 3 == 0 && !$_smarty_tpl->getVariable('smarty')->value['foreach']['user_list']['last']) { ?> </div> <div class="clearfix <?php echo smarty_function_cycle(array('name' => "rows", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl); ?> "> <?php } ?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['user_list']['last']) { ?> </div> <?php } ?> <?php } ?> </div> <?php echo $_smarty_tpl->tpl_vars['paging']->value; ?> <?php } else { ?> <center><?php echo smarty_function_text(array('key' => "base+user_no_users"), $_smarty_tpl); ?> </center> <?php } }