{$head} {**} {**} {**} {if $user->isGuest()} {elseif $user->isInvalid()} {/if} {if $controller eq 'post' && isset($cPost)} {if $hubbub->data.hubbub_closed eq 0} {if $selectedFiles|count gt 0} {foreach from=$selectedFiles item=cFile} {if $cFile->data.file_origin eq 'upload' && in_array($cFile->data['file_extension'], File::$allowedImageExtensions)} {/if} {/foreach} {elseif is_object($hubbub->shareLogoFile)} {/if} {* *} {**} {**} {/if} {elseif $controller eq 'blogpost' && isset($cPost)} {if $hubbub->data.hubbub_closed eq 0} {if $selectedFiles|count gt 0} {foreach from=$selectedFiles item=cFile} {if $cFile->data.file_origin eq 'upload' && in_array($cFile->data['file_extension'], File::$allowedImageExtensions)} {/if} {/foreach} {elseif is_object($hubbub->shareLogoFile)} {/if} {**} {**} {/if} {elseif $controller eq 'category' && isset($overviewCategory)} {if $hubbub->data.hubbub_closed eq 0} {if $overviewCategoryFile->data.file_origin eq 'upload' && $overviewCategoryFile->data.file_id ne 0} {elseif is_object($hubbub->shareLogoFile)} {/if} {**} {**} {/if} {else} {if $hubbub->data.hubbub_closed eq 0} {if $selectedNavPage->pageData.metaDescription} {else} {/if} {if is_object($hubbub->shareLogoFile)} {/if} {**} {**} {/if} {if $selectedNavPage->pageData.metaDescription} {else} {/if} {/if} {* SOCIAL SUBSCRIBE STUFF *} {if $hubbub->hubbub_arrOptions.googleplusAllowFollow || $hubbub->hubbub_arrOptions.youtubeAllowFollow} {/if} {* END SOCIAL SUBSCRIBE STUFF *} {if $user->incompleteOnboarding() && ($controller eq 'hubbub' || $controller eq 'category' || $controller eq 'page') && !$smarty.session.hideonboard && $outputDevice ne 'mobile'} {/if} {if $hubbub->hubbub_arrOptions.loginTimeout eq 1 && $user->data.user_id ne 0} {/if} {if isset($containerWidth)} {/if} {if $vars.hostSpecific.geoDomain ne ''} {* *} {/if} {* FACEBOOK *} {if $hubbub->hubbub_arrOptions.facebookAllowFollow}
{/if} {* END FACEBOOK *}
{if count($debugList)>0 || count($qLog)>0}
Debug log (X)
{foreach from=$debugList item=cDebug}
{$cDebug|nl2br}
{/foreach} {assign var="total" value=0} {foreach from=$qLog item=cQLog}
{$cQLog.query}
({$cQLog.time|string_format:"%f"} secs) {assign var="total" value="`$total+$cQLog.time`"}
{/foreach}

Total SQL {$total|string_format:"%f"} ({$qLog|@count} queries)

{assign var=endTime value=microtime()} {assign var="totaltotal" value="`$vars.time.startTime+$endTime`"}

Total page {$totaltotal|string_format:"%f"}

{/if} {if $hideTaskBarCompletely ne true}{include file=Template::get('taskBar/taskBar.html')}{/if}
{$inner} {if !$hideFooter} {/if}
{if $hubbub->hubbub_arrOptions.loginTimeout eq 1 && $user->data.user_id ne 0} {/if} {if $hubbub->data.hubbub_closed eq 0} {/if} {$footerCode}