Exemple #1
0
 public static function template_create(&$templateName, array &$params, XenForo_Template_Abstract $template)
 {
     if (defined('WIDGET_FRAMEWORK_LOADED')) {
         WidgetFramework_Core::getInstance()->prepareWidgetsFor($templateName, $params, $template);
         WidgetFramework_Core::getInstance()->prepareWidgetsForHooksIn($templateName, $params, $template);
         if ($templateName === 'PAGE_CONTAINER') {
             $template->preloadTemplate('wf_hook_moderator_bar');
             $template->preloadTemplate('wf_revealer');
             if (WidgetFramework_Option::get('indexNodeId')) {
                 // preload our links template for performance
                 $template->preloadTemplate('wf_home_navtab_links');
             }
             WidgetFramework_Template_Extended::WidgetFramework_setPageContainer($template);
             if (isset($params['contentTemplate']) and $params['contentTemplate'] === 'wf_widget_page_index' and empty($params['selectedTabId'])) {
                 // make sure a navtab is selected if user is viewing our (as index) widget page
                 if (!XenForo_Template_Helper_Core::styleProperty('wf_homeNavTab')) {
                     // oh, our "Home" navtab has been disable...
                     // try something from $params['tabs'] OR $params['extraTabs']
                     if (isset($params['tabs']) and isset($params['extraTabs'])) {
                         WidgetFramework_Helper_Index::setNavtabSelected($params['tabs'], $params['extraTabs']);
                     }
                 }
             }
         }
     }
 }
Exemple #2
0
 /**
  * Helper function to add mood display into hook.
  *
  * @param XenForo_Template_Abstract
  * @param string Needle to hook on to (empty for pure pre/append)
  * @param string Contents of the hook block
  * @param array User of the mood to be displayed
  * @param string Style property to check (null to disable check)
  * @param boolean Set to true to prepend, false to append
  * @param string Override mood display template
  *
  * @return void
  */
 protected static function _addMoodDisplay(XenForo_Template_Abstract $template, $needle, &$contents, $user, $styleProperty = NULL, $prepend = TRUE, $templateName = NULL)
 {
     // check style property
     if (isset($styleProperty) and XenForo_Template_Helper_Core::styleProperty($styleProperty) == FALSE) {
         return;
     }
     // generate the mood template
     $moodDisplay = self::_getMoodTemplate($template, $user, $templateName);
     // pure prepend/append
     if (empty($needle)) {
         // do a bit of flip-flopping
         if ($prepend) {
             $contents = $moodDisplay . $contents;
         } else {
             $contents = $contents . $moodDisplay;
         }
         return;
     }
     // do more flip-flopping!
     if ($prepend) {
         $replace = $moodDisplay . $needle;
     } else {
         $replace = $needle . $moodDisplay;
     }
     // add it to the master template
     $contents = str_replace($needle, $replace, $contents);
 }
 /**
  * Returns the default gender-specific avatar URL
  *
  * @param string $size (s,m,l)
  *
  * @return string
  */
 protected static function _getDefaultAvatarUrl(array $socialForum, $size)
 {
     if (XenForo_Application::get('options')->th_socialGroups_useCreatorAvatar && $socialForum['user_id']) {
         $user = XenForo_Model::create('XenForo_Model_User')->getUserById($socialForum['user_id']);
         if ($user) {
             return XenForo_Template_Helper_Core::getAvatarUrl($user, $size);
         }
     }
     if (!($imagePath = XenForo_Template_Helper_Core::styleProperty('imagePath'))) {
         $imagePath = 'styles/default';
     }
     return "{$imagePath}/xenforo/avatars/avatar_{$size}.png";
 }
 public function actionIndex()
 {
     $code = $this->_input->filterSingle('code', XenForo_Input::STRING);
     $mask = $this->_getMaskOrError($code, array('join' => ThemeHouse_ImageRestrict_Model_Mask::FETCH_POST));
     $maskModel = $this->_getMaskModel();
     if (!$maskModel->canViewStuffInPost($mask)) {
         if (!($imagePath = XenForo_Template_Helper_Core::styleProperty('imagePath'))) {
             $imagePath = 'styles/default';
         }
         $mask['url'] = $imagePath . '/xenforo/icons/moderated.png';
     }
     return $this->responseRedirect(XenForo_ControllerResponse_Redirect::SUCCESS, $mask['url']);
 }
Exemple #5
0
 public static function goToTop(&$templateName, array &$params, XenForo_Template_Abstract $template)
 {
     switch ($templateName) {
         case 'PAGE_CONTAINER':
             //Init
             $visitor = XenForo_Visitor::getInstance();
             $GttBrowser = '';
             // Type: Normal/Mini/(None)
             $GttType = XenForo_Template_Helper_Core::styleProperty('gototopType');
             $typeMobile = XenForo_Template_Helper_Core::styleProperty('gototopTypeMobile');
             $typeTablet = XenForo_Template_Helper_Core::styleProperty('gototopTypeTablet');
             //External Addon
             if (class_exists('Sedo_DetectBrowser_Listener_Visitor') && isset($visitor->getBrowser)) {
                 //Check if mobile and not tablet
                 if ($visitor->getBrowser['isMobile'] && !$visitor->getBrowser['isTablet']) {
                     if ($typeMobile == 'none') {
                         break;
                     }
                     $GttType = $typeMobile;
                 }
                 //Check if tablet
                 if ($visitor->getBrowser['isTablet']) {
                     if (in_array($typeTablet, array('none', 'error'))) {
                         break;
                     }
                     $GttType = $typeTablet;
                 }
                 //Check if IE6
                 if ($visitor->getBrowser['IEis'] == 6) {
                     $GttBrowser = 'IE';
                 }
             } else {
                 //XenForo Mobile
                 if (XenForo_Visitor::isBrowsingWith('mobile')) {
                     if ($typeMobile == 'none') {
                         break;
                     }
                     $GttType = $typeMobile;
                 }
                 //IE6 self function
                 $checkIE6 = self::isBadIE('target', '1-6');
                 if ($checkIE6 === true) {
                     $GttBrowser = 'IE';
                 }
             }
             $extraParams['goToTop'] = array('type' => $GttType, 'browser' => $GttBrowser);
             $params += $extraParams;
             break;
     }
 }
Exemple #6
0
 public static function MceIntegration($mceConfigObj)
 {
     if (is_array($mceConfigObj)) {
         return false;
     }
     $xenOptions = XenForo_Application::get('options');
     if ($mceConfigObj->buttonIsEnabled('tags_highlighter')) {
         $hlParams = array('adv_hl_norm' => array('open' => XenForo_Template_Helper_Core::styleProperty('adv_highlight_normal_tags_open'), 'options' => XenForo_Template_Helper_Core::styleProperty('adv_highlight_normal_tags_options'), 'close' => XenForo_Template_Helper_Core::styleProperty('adv_highlight_normal_tags_close')), 'adv_hl_spe' => array('open' => XenForo_Template_Helper_Core::styleProperty('adv_highlight_special_tags_open'), 'options' => XenForo_Template_Helper_Core::styleProperty('adv_highlight_special_tags_options'), 'close' => XenForo_Template_Helper_Core::styleProperty('adv_highlight_special_tags_close'), 'content' => XenForo_Template_Helper_Core::styleProperty('adv_highlight_special_tags_content')), 'adv_hl_tag_separator' => XenForo_Template_Helper_Core::styleProperty('adv_highlight_tag_options_separator'));
         $mceConfigObj->addMcePlugin('xenadvhl');
         $mceConfigObj->addBulkMceParams($hlParams);
     }
     if ($xenOptions->sedo_bbm_adv_tinyquattro_menu_integration) {
         $menuItems = array('bbm_sedo_bimg', 'bbm_sedo_slides', '|', 'bbm_sedo_article', 'bbm_sedo_fieldset', 'bbm_sedo_encadre', 'bbm_sedo_spoilerbb', '|', 'bbm_sedo_latex', 'bbm_sedo_gview', 'bbm_sedo_picasa');
         $mceConfigObj->addMenu('adv_insert', 'insert', 'Advanced Insert', $menuItems);
         $mceConfigObj->addMenuItem('tags_highlighter', 'view', '@view_1', true);
     }
     //Zend_Debug::dump($mceConfigObj->getMenusGrid());
     //Zend_Debug::dump($mceConfigObj->getAvailableButtons());
 }
<form action="' . htmlspecialchars($requestPaths['requestUri'], ENT_QUOTES, 'UTF-8') . '" method="post" onsubmit="AdvLatexDialog.submit(); return false;" class="section">
<h1 class="heading">' . 'Latex Insertion Panel' . '</h1>
<div id="formbox">
	<div class="secondaryContent">
		' . 'Title:' . ' <input id="ctrl_title" name="title" type="text" class="textCtrl" style="width:' . XenForo_Template_Helper_Core::styleProperty('adv_template_normaltitlefield_width') . '" value="' . 'Auto' . '" />
		<span class="advtopextra">' . 'Width:' . ' <input id="ctrl_width" name="width" type="text" class="textCtrl" style="width:' . XenForo_Template_Helper_Core::styleProperty('adv_template_widthfield_width') . '" value="' . 'Auto' . '" /> <input id="ctrl_widthtype" name="widthtype" type="text" class="textCtrl" style="width:15px" readonly="true" value="%" /></span>
		<span class="advtopextra">' . 'Block align:' . '
			<select name="type" id="ctrl_blockalign" class="textCtrl">
				<option value="bleft">' . 'Normal left' . '</option>
				<option value="bcenter">' . 'Normal center' . '</option>
				<option value="bright">' . 'Normal right' . '</option>
				<option value="fleft">' . 'Float left' . '</option>
				<option value="fright">' . 'Float right' . '</option>
			</select>
		</span>
		<div id="cmd_height" class="advtopextra">' . 'Height:' . ' <input id="ctrl_height" name="height" type="text" class="textCtrl" style="width:' . XenForo_Template_Helper_Core::styleProperty('adv_template_widthfield_width') . '" value="' . 'Auto' . '" /> <span id="heightpx">px</span></div>
	</div>
	<div class="primaryContent">
		' . 'Type your latex code here' . '
		<textarea name="text" id="ctrl_text" style="display: block; width: 98%; height: 98px; resize: none" class="textCtrl caption mceFocus"></textarea>
	</div>
	<div id="trigger_help" class="subHeading">' . 'Basic Commands (click here)' . '</div>
	<div id="help_content">
		<div class="primaryContent">
			<table class="latex_helper">
				<tr id="op_desc">
					<td class="cmd">' . 'Command' . '</td>
					<td class="desc">' . 'Description' . '</td>
					<td class="example">' . 'Example' . '</td>
					<td class="img">' . 'Display' . '</td>
				</tr>
        $__compilerVar8 .= '
				<div class="plusone shareControl">
					<div class="g-plusone" data-size="medium" data-count="true" data-href="' . htmlspecialchars($__compilerVar5, ENT_QUOTES, 'UTF-8') . '"></div>
				</div>
			';
    }
    $__compilerVar8 .= '
			';
    if ($xenOptions['facebookLike']) {
        $__compilerVar8 .= '
				<div class="facebookLike shareControl">
					';
        $__extraData['facebookSdk'] = '';
        $__extraData['facebookSdk'] .= '1';
        $__compilerVar8 .= '
					<fb:like href="' . htmlspecialchars($__compilerVar5, ENT_QUOTES, 'UTF-8') . '" show_faces="true" width="400" action="' . htmlspecialchars($xenOptions['facebookLikeAction'], ENT_QUOTES, 'UTF-8') . '" font="trebuchet ms" colorscheme="' . XenForo_Template_Helper_Core::styleProperty('fbColorScheme') . '"></fb:like>
				</div>
			';
    }
    $__compilerVar8 .= '
			';
    $__compilerVar7 .= $this->callTemplateHook('share_page_options', $__compilerVar8, array());
    unset($__compilerVar8);
    $__compilerVar7 .= '
		';
    if (trim($__compilerVar7) !== '') {
        $__compilerVar6 .= '
	';
        $this->addRequiredExternal('css', 'share_page');
        $__compilerVar6 .= '
.photosSidebar li .info {
	position: absolute; 
	left: 0; 
	margin-bottom: 5px; 
	padding: 5px 10px; 
	background-color: rgba(0, 0, 0, 0.5); 
	top: 0; 
	color: #FFF;
	width: 100%;
}
.photosSidebar li .info a.username {
	color: #FFF;
	font-weight: bold;
}

.sonnb_XenGallery_WidgetRenderer_Photo h3{
	' . XenForo_Template_Helper_Core::styleProperty('sidebarBlockHeading') . ';
}

.photosSidebar.scrollable {
	margin: 0 20px;
	overflow: hidden;
	position: relative;
	display: block;
}

.photosSidebar.scrollable ul{
	width: 20000em;
	position: absolute;
	top: 0;
}';
Exemple #10
0
    if (XenForo_Template_Helper_Core::styleProperty('messageShowHomepage') and $post['homepage']) {
        $__compilerVar44 .= '
					<dl class="pairsJustified">
						<dt>' . 'Web' . ':</dt>
						<dd><a href="' . XenForo_Template_Helper_Core::string('censor', array('0' => htmlspecialchars($post['homepage'], ENT_QUOTES, 'UTF-8'), '1' => '-')) . '" rel="nofollow" target="_blank" itemprop="url">' . XenForo_Template_Helper_Core::string('censor', array('0' => htmlspecialchars($post['homepage'], ENT_QUOTES, 'UTF-8'))) . '</a></dd>
					</dl>
				';
    }
    $__compilerVar44 .= '
							
			';
    $__compilerVar43 .= $this->callTemplateHook('message_user_info_extra', $__compilerVar44, array('user' => $post, 'isQuickReply' => $isQuickReply));
    unset($__compilerVar44);
    $__compilerVar43 .= '			
			';
    if (XenForo_Template_Helper_Core::styleProperty('messageShowCustomFields') and $post['customFields']) {
        $__compilerVar43 .= '
			';
        $__compilerVar45 = '';
        $__compilerVar45 .= '
			
				';
        foreach ($userFieldsInfo as $fieldId => $fieldInfo) {
            $__compilerVar45 .= '
					';
            if ($fieldInfo['viewable_message'] and ($fieldInfo['display_group'] != 'contact' or $post['allow_view_identities'] == 'everyone' or $post['allow_view_identities'] == 'members' and $visitor['user_id'])) {
                $__compilerVar45 .= '
						';
                $__compilerVar46 = '';
                $__compilerVar46 .= XenForo_Template_Helper_Core::callHelper('userFieldValue', array('0' => $fieldInfo, '1' => $post, '2' => $post['customFields'][$fieldId]));
                if (trim($__compilerVar46) !== '') {
	';
$this->addRequiredExternal('css', 'editor_dialog');
$__output .= '
	';
$this->addRequiredExternal('css', 'editor_dialog_advenc');
$__output .= '
</head>
<body id="adv_enc">

<form action="' . htmlspecialchars($requestPaths['requestUri'], ENT_QUOTES, 'UTF-8') . '" method="post" onsubmit="AdvEncDialog.submit(); return false;" class="section">
<h1 class="heading">' . 'Text Box Insertion Panel' . '</h1>
<div id="formbox">
	<div style="width:100%" class="secondaryContent">
		' . 'Title:' . ' <input id="ctrl_title" name="title" type="text" class="textCtrl" style="width:' . XenForo_Template_Helper_Core::styleProperty('adv_template_normaltitlefield_width') . '" value="' . 'Auto' . '" />
		' . 'Width:' . ' <input id="ctrl_width" name="width" type="text" class="textCtrl" style="width:' . XenForo_Template_Helper_Core::styleProperty('adv_template_widthfield_width') . '" value="' . 'Auto' . '" /> <input id="ctrl_widthtype" name="widthtype" type="text" class="textCtrl" style="width:15px" readonly="true" value="%" />
	</div>
	<div class="primaryContent">
		<ul id="selectlist">
		<li>
			<ul id="skins">
				<li class="active"><div id="skin1">' . 'Skin 1' . '</div></li>
				<li><div id="skin2">' . 'Skin 2' . '</div></li>
			</ul>
			<input id="ctrl_skin" name="skin" type="hidden" value="skin1" />
		</li>
		<li>
			<ul id="float">
				<li><div id="fleft">' . 'Float left' . '</div></li>
				<li class="active"><div id="fright">' . 'Float right' . '</div></li>
			</ul>
Exemple #12
0
    $__compilerVar15 .= '
	';
    if ($doodle['link']) {
        $__compilerVar15 .= '
	<a href="' . htmlspecialchars($doodle['link'], ENT_QUOTES, 'UTF-8') . '"><img src="' . htmlspecialchars($doodle['image'], ENT_QUOTES, 'UTF-8') . '" alt="' . htmlspecialchars($doodle['holiday'], ENT_QUOTES, 'UTF-8') . '" title="' . htmlspecialchars($doodle['holiday'], ENT_QUOTES, 'UTF-8') . '" /></a>
	';
    } else {
        $__compilerVar15 .= '
	<img src="' . htmlspecialchars($doodle['image'], ENT_QUOTES, 'UTF-8') . '" alt="' . htmlspecialchars($doodle['holiday'], ENT_QUOTES, 'UTF-8') . '" title="' . htmlspecialchars($doodle['holiday'], ENT_QUOTES, 'UTF-8') . '" />
	';
    }
    $__compilerVar15 .= '
';
} else {
    $__compilerVar15 .= '
	<img src="' . XenForo_Template_Helper_Core::styleProperty('headerLogoPath') . '" alt="' . htmlspecialchars($xenOptions['boardTitle'], ENT_QUOTES, 'UTF-8') . '" />
';
}
$__compilerVar15 .= '
			</a></div>
			';
$__compilerVar12 .= $this->callTemplateHook('header_logo', $__compilerVar15, array());
unset($__compilerVar15);
$__compilerVar12 .= '
			<span class="helper"></span>
	
</div>';
$__compilerVar11 .= $__compilerVar12;
unset($__compilerVar12);
$__compilerVar11 .= '
	';
$__compilerVar8 .= '

			';
if (XenForo_Template_Helper_Core::styleProperty('wf_threads_fullForum')) {
    $__compilerVar8 .= '
				<span class="user">' . 'trong diễn đàn' . ' <a href="' . XenForo_Template_Helper_Core::link('forums', $thread['forum'], array()) . '">' . htmlspecialchars($thread['forum']['title'], ENT_QUOTES, 'UTF-8') . '</a></span>';
    if (XenForo_Template_Helper_Core::styleProperty('wf_threads_fullDate')) {
        $__compilerVar8 .= '<span class="divider">,</span>';
    }
    $__compilerVar8 .= '
			';
}
$__compilerVar8 .= '

			';
if (XenForo_Template_Helper_Core::styleProperty('wf_threads_fullDate')) {
    $__compilerVar8 .= '
				<a href="' . $link . '">' . XenForo_Template_Helper_Core::callHelper('datetimehtml', array($thread['post_date'], array('time' => '$thread.post_date'))) . '</a>
			';
}
$__compilerVar8 .= '

			';
$__compilerVar7 .= $this->callTemplateHook('wf_widget_threads_thread_full_info_main', $__compilerVar8, array('thread' => $thread));
unset($__compilerVar8);
$__compilerVar7 .= '
		';
if (trim($__compilerVar7) !== '') {
    $__output .= '
	<div class="main">
		' . $__compilerVar7 . '
<?php

if (!class_exists('XenForo_Application', false)) {
    die;
}
$__output = '';
$__output .= '.modm_ajaxchat_username { font-weight: bold;}

.modm_ajaxchat_timestamp { color: ' . XenForo_Template_Helper_Core::styleProperty('mutedTextColor') . '; font-style: italic; padding: 0 7px 0 3px;}

.modm_ajaxchat_message {}';
<div class="slide_likebox">
    <div style="color: rgb(255, 255, 255); padding: 8px 5px 0pt 50px;">
        <div class="FB_Loader"></div>
        <span>
            <iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fthongtin.congnghe.moinhat&amp;width=198&amp;height=368&amp;colorscheme=light&amp;show_faces=true&amp;border_color=white&amp;stream=false&amp;header=false&amp;appId=450679131640420" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:198px; height:368px;" allowtransparency="true"></iframe>
        </span>
    </div>
</div>
';
$__compilerVar150 = '';
$__compilerVar150 .= '

';
if ($visitor['show_notification_popup']) {
    $__compilerVar150 .= '
	';
    $this->addRequiredExternal('css', 'gfnnotify');
    $__compilerVar150 .= '
	';
    $this->addRequiredExternal('js', 'js/gfnnotify/notification.js');
    $__compilerVar150 .= '
	
	<div id="GFNNotification" data-url="' . XenForo_Template_Helper_Core::link('gfnnotify/get-notifications', false, array()) . '" data-timer="' . XenForo_Template_Helper_Core::styleProperty('notificationOpenTimer') . '" data-interval="' . XenForo_Template_Helper_Core::styleProperty('notificationInterval') . '" data-mark-read="' . XenForo_Template_Helper_Core::link('gfnnotify/mark-read', false, array()) . '"></div>
';
}
$__output .= $__compilerVar150;
unset($__compilerVar150);
$__output .= '
</body>
</html>';
    die;
}
$__output = '';
$__extraData['title'] = '';
$__extraData['title'] .= 'Create Thread';
$__output .= '
';
if ($loadJavaScript) {
    $__output .= '
<script src="js/xenforo/similarthreads.js"></script>
';
}
$__output .= '

';
if ($forum['description'] and XenForo_Template_Helper_Core::styleProperty('threadListDescriptions')) {
    $__output .= '
	';
    $__extraData['pageDescription'] = array('class' => 'baseHtml');
    $__extraData['pageDescription']['content'] = '';
    $__extraData['pageDescription']['content'] .= $forum['description'];
    $__output .= '
';
}
$__output .= '

';
$__extraData['navigation'] = array();
$__extraData['navigation'] = XenForo_Template_Helper_Core::appendBreadCrumbs($__extraData['navigation'], $nodeBreadCrumbs);
$__output .= '
	margin-left: 6px;
	margin-top: 0;
}
#MyGalleryMenu .menuColumns,
.galleryExplore .menuColumns,
#GalleryCategories .menuColumns {
	overflow: hidden;
	padding: 2px;
}

.galleryExplore .menuColumns,
#MyGalleryMenu .menuColumns {
	padding: 0;
}
#GalleryCategories {
	width: 240px;
}
#GalleryCategories ul {
	padding: 0;
	border-bottom: 0 none;
}
#GalleryCategories ul a {
	
}

#GalleryCategories.navPopup a:hover, 
.galleryExplore.navPopup a:hover,
#GalleryCategories.navPopup .listItemText a:hover,
.galleryExplore.navPopup .listItemText a:hover {
	' . XenForo_Template_Helper_Core::styleProperty('blockLinksListItemHover') . '
}';
{
	margin-left: 32px;
	padding: 0 5px;
}

.alerts h3
{
	display: inline;
}

.alerts h3 .subject
{
	font-weight: bold;
}

.alerts .timeRow
{
	font-size: 11px;
	margin-top: 5px;
}
	
	.alerts .newIcon,
	.alertsPopup .newIcon
	{
		display: inline-block;
		vertical-align: baseline;
		margin-left: 2px;
		width: 11px;
		height: 11px;
		background: url(\'' . XenForo_Template_Helper_Core::styleProperty('imagePath') . '/xenforo/xenforo-ui-sprite.png\') no-repeat -144px -40px;
	}';
		</div>
		';
    if ($widget['options']['enable_scrollable']) {
        $__output .= '
			<a class="next browse right" style="height: ' . ($widget['options']['thumbnail_height'] + 18) / 2 . 'px; padding-top: ' . ($widget['options']['thumbnail_height'] - 18) / 2 . 'px; "><span></span></a>
		';
    }
    $__output .= '
	</div>
';
}
unset($__compilerVar3);
$__output .= '

';
if (XenForo_Template_Helper_Core::styleProperty('sonnbXG_enableOverlay')) {
    $__output .= '
<script type="text/javascript">
	!function($, window, document, _undefined) {
		XenForo.register(\'.videosSidebar a.thumbnail\', \'XenForo.XenGalleryOverlayToggle\');
	}(jQuery, this, document);
</script>
';
}
$__output .= '

';
if ($widget['options']['enable_scrollable']) {
    $__output .= '
<script type="text/javascript">
	!function($, window, document, _undefined) {
									</ul>
									<input id="slide_align_replaceid" name="slidealignreplaceid" type="hidden" value="left" />
								</li>
								<li class="CMD_Height">' . 'Height:' . ' <input id="slide_height_replaceid" name="slideheightreplaceid" type="text" class="textCtrl" style="width:100px;text-align:center" value="' . 'Full display' . '" /> <span class="heightpx">px</span></li>
								<li class="CMD_Open"><div class="openbox"><input id="slide_open_replaceid" name="slideopenreplaceid" type="checkbox" value="open" /> ' . 'Open?' . '</div></li>
							</ul>
						</div>
						<div class="CMD_Content slide_content"><textarea id="slide_content_replaceid" name="slidecontentreplaceid" style="display: block; width: 98%; height: 15px; resize: none" class="textCtrl"></textarea></div>
					</li>
				</ul>
				<ul id="slides" class="slides_container">
					<li id="slide_1" class="slide">
						<div class="slide_manage"><div id="id_1" class="CMD_Id displayid">1</div></div>
						<div class="slide_title">
							<ul class="title_options">
								<li class="CMD_Title">' . 'Title:' . ' <input id="slide_title_1" name="slidetitle1" type="text" class="textCtrl" style="width:' . XenForo_Template_Helper_Core::styleProperty('adv_template_widthfield_width') . '" value="" /></li>
								<li class="CMD_Align">
									<ul class="align_options">
										<li><div class="align_button align_left align_select_left"></div></li>
										<li><div class="align_button align_center"></div></li>
										<li><div class="align_button align_right"></div></li>
									</ul>
									<input id="slide_align_replaceid" name="slidealignreplaceid" type="hidden" value="left" />
								</li>
								<li class="CMD_Height">' . 'Height:' . ' <input id="slide_height_1" name="slideheight1" type="text" class="textCtrl" style="width:100px;text-align:center" value="' . 'Full display' . '" /> <span class="heightpx">px</span></li>
								<li class="CMD_Open"><div class="openbox"><input id="slide_open_1" name="slideopen1" type="checkbox" value="open" /> ' . 'Open?' . '</div></li>
							</ul>
						</div>
						<div class="CMD_Content slide_content"><textarea id="slide_content_1" name="slidecontent1" style="display: block; width: 98%; height: 15px; resize: none" class="textCtrl mceFocus miuFocus"></textarea></div>
					</li>
				</ul>
		border-bottom: 0;
		text-align: center;
		cursor: pointer;
	}
	
		.Responsive .navigationSideBar .heading span
		{
			' . XenForo_Template_Helper_Core::styleProperty('popupArrowClosed') . '
		}

	.Responsive .navigationSideBar > ul
	{
		display: none;
		position: absolute;
		background: ' . XenForo_Template_Helper_Core::styleProperty('contentBackground') . ';
		border: 1px solid ' . XenForo_Template_Helper_Core::styleProperty('primaryLighterStill') . ';
		box-shadow: 5px 5px 25px rgba(0,0,0, 0.5);
		border-top: none;
		width: 200px;
		box-sizing: border-box;
		z-index: 51;
	}
	
	.Responsive .navigationSideBar > ul.menuVisible
	{
		display: block;
	}

	.Responsive .navigationSideBar .section:last-child li:last-child a
	{
		border-bottom: none;
	bottom: 9px;
	right: 8px;
	font-size: 9px;	
}

.dp-social-base {
	position: relative;
	top: -1px;
}

.socialBar .socialInner {
	padding: 5px;
	height: 20px;
	white-space: nowrap;
	overflow: hidden;
	box-shadow: 0 0 7px ' . XenForo_Template_Helper_Core::styleProperty('primaryLighter') . ';
}

.socialBar s {
	text-decoration: none;
}

.socialBar .buttons {
	position: absolute;
	opacity: 0;
	width: 150px;
	-webkit-transition: all 1s;
	transition: all 1s;
}

.socialBar .tweets {
					title="' . 'Show only threads prefixed by \'' . XenForo_Template_Helper_Core::callHelper('threadPrefix', array('0' => $thread, '1' => 'plain', '2' => '')) . '\'.' . '">' . XenForo_Template_Helper_Core::callHelper('threadPrefix', array('0' => $thread, '1' => 'html', '2' => '')) . '</a>
			';
    } else {
        $__output .= '
				' . XenForo_Template_Helper_Core::callHelper('threadPrefix', array('0' => $thread)) . '
			';
    }
    $__output .= '
		';
}
$__output .= '
		<a href="' . XenForo_Template_Helper_Core::link($thread['isNew'] ? 'threads/unread' : 'threads', $thread, array()) . '" class="' . ($thread['hasPreview'] ? 'PreviewTooltip' : '') . '" 
			data-previewUrl="' . ($thread['hasPreview'] ? XenForo_Template_Helper_Core::link('threads/preview', $thread, array()) : '') . '">
			';
if (XenForo_Template_Helper_Core::styleProperty('VietXfAdvStats_ThreadTitleChars') > 0) {
    $__output .= '
				' . XenForo_Template_Helper_Core::callHelper('wordtrim', array('0' => $thread['title'], '1' => XenForo_Template_Helper_Core::styleProperty('VietXfAdvStats_ThreadTitleChars'))) . '
			';
} else {
    $__output .= '
				' . htmlspecialchars($thread['title'], ENT_QUOTES, 'UTF-8') . '
			';
}
$__output .= '
		</a>
	</div>
	<div class="VietXfAdvStats_SectionItemBlock VietXfAdvStats_SectionItemInfo VietXfAdvStats_ThreadLastPoster">
		' . XenForo_Template_Helper_Core::callHelper('usernamehtml', array($thread, '', true, array())) . '
	</div>
</div>
';
			bottom: 0;
			color: ' . XenForo_Template_Helper_Core::styleProperty('faintTextColor') . ';
			font-size: 13px;
			left: 0;
			padding: 0;
			position: absolute;
			width: 100%;
			display: none;
			padding: 8px 0;
		}
			.photoTag-cpanel a {
				font-weight: bold;
				color: ' . XenForo_Template_Helper_Core::styleProperty('primaryMedium') . ';
			}

#XenForo .pac-container {
	background-color: ' . XenForo_Template_Helper_Core::styleProperty('pageBackground') . ';
	border: 1px solid ' . XenForo_Template_Helper_Core::styleProperty('faintTextColor') . ';
}

.xenOverlay .formOverlay a.button {
	color: ' . XenForo_Template_Helper_Core::styleProperty('contentText') . ';
}

.fieldListContainer {
	margin-top: 10px;
}
.locationContainer,
.cameraContainer {
	margin-top: 10px;
}';
		vertical-align: top;
	}
	
	.searchResult .snippet
	{
		margin-bottom: 2px;
	}
	
		.searchResult .snippet a
		{
			color: ' . XenForo_Template_Helper_Core::styleProperty('contentText') . ';
			text-decoration: none;
			font-size: 11px;
		}

.searchResult.InlineModChecked
{
	' . XenForo_Template_Helper_Core::styleProperty('inlineModChecked') . '
}

.searchWarnings
{
	color: ' . XenForo_Template_Helper_Core::styleProperty('dimmedTextColor') . ';
	font-size: 11px;
}

.sidebar .avatarList.userResults .avatar img
{
	width: auto;
	height: auto;
}';
			<a><i></i>' . htmlspecialchars($photo['view_count'], ENT_QUOTES, 'UTF-8') . '</a>
		</li>
	</ul>
</div>';
        $__compilerVar16 .= $__compilerVar17;
        unset($__compilerVar17);
        $__compilerVar16 .= '
			';
    }
    $__compilerVar16 .= '
			';
    $__output .= $this->callTemplateHook('author_photo_list', $__compilerVar16, array());
    unset($__compilerVar16);
    $__output .= '
			<div id="infscr-loading">
				<img src="' . XenForo_Template_Helper_Core::styleProperty('imagePath') . '/xenforo/widgets/ajaxload.info_FFFFFF_facebook.gif" 
					alt="' . 'Loading Photos' . '......" />
				<div><em>' . 'Loading Photos' . '......</em></div>
			</div>
		';
} else {
    $__output .= '
			<div class="noData">' . '' . htmlspecialchars($user['username'], ENT_QUOTES, 'UTF-8') . ' has not uploaded any photo yet.' . '</div>
		';
}
$__output .= '
	</div>

	';
if ($inlineModOptions) {
    $__output .= '
    if ($xenOptions['rrssb_maxWidthResponsiveMedium']) {
        $__output .= '
        max-width: ' . htmlspecialchars($xenOptions['rrssb_maxWidthResponsiveMedium'], ENT_QUOTES, 'UTF-8') . ';
        ';
    }
    $__output .= '
        ';
    if ($xenOptions['rrssb_minWidthResponsiveMedum']) {
        $__output .= '
        min-width: ' . htmlspecialchars($xenOptions['rrssb_minWidthResponsiveMedum'], ENT_QUOTES, 'UTF-8') . ';
        ';
    }
    $__output .= '
    }
}
@media (max-width:' . XenForo_Template_Helper_Core::styleProperty('maxResponsiveNarrowWidth') . ')
{
    .Responsive .share-container.clearfix {
        ';
    if ($xenOptions['rrssb_maxWidthResponsiveNarrow']) {
        $__output .= '
        max-width: ' . htmlspecialchars($xenOptions['rrssb_maxWidthResponsiveNarrow'], ENT_QUOTES, 'UTF-8') . ';
        ';
    }
    $__output .= '
        ';
    if ($xenOptions['rrssb_minWidthResponsiveNarrow']) {
        $__output .= '
        min-width: ' . htmlspecialchars($xenOptions['rrssb_minWidthResponsiveNarrow'], ENT_QUOTES, 'UTF-8') . ';
        ';
    }
	*zoom : 1;
}

.mce-xen-body #adv_encadre_float li.active
{
	background-color:' . XenForo_Template_Helper_Core::styleProperty('secondaryLightest') . ';
	border:2px solid ' . XenForo_Template_Helper_Core::styleProperty('secondaryLight') . ';
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}

.mce-xen-body #adv_encadre_float li:hover
{
	border:2px solid ' . XenForo_Template_Helper_Core::styleProperty('secondaryLight') . ';
	background:' . XenForo_Template_Helper_Core::styleProperty('secondaryLighter') . ';
}

.mce-xen-body #adv_encadre_float li div
{
	display:block;
	margin-left:auto;
	margin-right:auto;
	width:100px;
	height:25px;
	line-height:25px;
	vertical-align:middle;
}

.mce-xen-body #adv_encadre_float li span
{
.MultiQuoteItem .messageArea
{
	position: relative;
	overflow: hidden;
	padding-bottom: 0;
	border-bottom: none;
}

.MultiQuoteItem .messageText
{
	max-height: 120px;
	overflow: hidden;
}

.MultiQuoteItem .messageGradient
{
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	height: 120px;
	background: -webkit-linear-gradient(top, ' . XenForo_Template_Helper_Core::callHelper('rgba', array('0' => XenForo_Template_Helper_Core::styleProperty('primaryContent.background-color'), '1' => '0')) . ' 70px, ' . XenForo_Template_Helper_Core::callHelper('unrgba', array('0' => XenForo_Template_Helper_Core::styleProperty('primaryContent.background-color'))) . ' 90%);
	background: -moz-linear-gradient(top, ' . XenForo_Template_Helper_Core::callHelper('rgba', array('0' => XenForo_Template_Helper_Core::styleProperty('primaryContent.background-color'), '1' => '0')) . ' 70px, ' . XenForo_Template_Helper_Core::callHelper('unrgba', array('0' => XenForo_Template_Helper_Core::styleProperty('primaryContent.background-color'))) . ' 90%);
	background: -o-linear-gradient(top, ' . XenForo_Template_Helper_Core::callHelper('rgba', array('0' => XenForo_Template_Helper_Core::styleProperty('primaryContent.background-color'), '1' => '0')) . ' 70px, ' . XenForo_Template_Helper_Core::callHelper('unrgba', array('0' => XenForo_Template_Helper_Core::styleProperty('primaryContent.background-color'))) . ' 90%);
	background: linear-gradient(to bottom, ' . XenForo_Template_Helper_Core::callHelper('rgba', array('0' => XenForo_Template_Helper_Core::styleProperty('primaryContent.background-color'), '1' => '0')) . ' 70px, ' . XenForo_Template_Helper_Core::callHelper('unrgba', array('0' => XenForo_Template_Helper_Core::styleProperty('primaryContent.background-color'))) . ' 90%);
}

.MultiQuoteItem.sortable-dragging .messageGradient
{
	display: none;
}';
							data-url="' . htmlspecialchars($url, ENT_QUOTES, 'UTF-8') . '"
							' . ($xenOptions['tweet']['via'] ? 'data-via="' . htmlspecialchars($xenOptions['tweet']['via'], ENT_QUOTES, 'UTF-8') . '"' : '') . '
							' . ($xenOptions['tweet']['related'] ? 'data-related="' . htmlspecialchars($xenOptions['tweet']['related'], ENT_QUOTES, 'UTF-8') . '"' : '') . '>' . 'Tweet' . '</a>
					</div>
				';
}
$__compilerVar4 .= '		
				';
if ($xenOptions['facebookLike']) {
    $__compilerVar4 .= '
					<div class="facebookLike shareControl">
						';
    $__extraData['facebookSdk'] = '';
    $__extraData['facebookSdk'] .= '1';
    $__compilerVar4 .= '
						<fb:like href="' . htmlspecialchars($url, ENT_QUOTES, 'UTF-8') . '" layout="button_count" action="' . htmlspecialchars($xenOptions['facebookLikeAction'], ENT_QUOTES, 'UTF-8') . '" font="trebuchet ms" colorscheme="' . XenForo_Template_Helper_Core::styleProperty('fbColorScheme') . '"></fb:like>
					</div>
				';
}
$__compilerVar4 .= '
				';
if ($xenOptions['plusone']) {
    $__compilerVar4 .= '
					<div class="plusone shareControl">
						<div class="g-plusone" data-size="medium" data-count="true" data-href="' . htmlspecialchars($url, ENT_QUOTES, 'UTF-8') . '"></div>
					</div>
				';
}
$__compilerVar4 .= '	
				';
$__compilerVar3 .= $this->callTemplateHook('sidebar_share_page_options', $__compilerVar4, array());