Файл: apwa/cache/tpl_mobile_overall_header.html.php
Строк: 101
<?php if (!defined('IN_PHPBB')) exit; ?><!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo (isset($this->_rootref['S_USER_LANG'])) ? $this->_rootref['S_USER_LANG'] : ''; ?>">
<head>
<?php echo (isset($this->_rootref['SEO_BASE_HREF'])) ? $this->_rootref['SEO_BASE_HREF'] : ''; ?>
<?php if ($this->_rootref['SEO_CANONICAL_URL']) { ?><link rel="canonical" href="<?php echo (isset($this->_rootref['SEO_CANONICAL_URL'])) ? $this->_rootref['SEO_CANONICAL_URL'] : ''; ?>" /><?php } if ($this->_rootref['U_CANONICAL']) { ?><link rel="canonical" href="<?php echo (isset($this->_rootref['U_CANONICAL'])) ? $this->_rootref['U_CANONICAL'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_CANONICAL'])) ? $this->_rootref['L_CANONICAL'] : ((isset($user->lang['CANONICAL'])) ? $user->lang['CANONICAL'] : '{ CANONICAL }')); ?>" /><?php } ?>
<meta http-equiv="content-type" content="application/vnd.wap.xhtml+xml; charset=<?php echo (isset($this->_rootref['S_CONTENT_ENCODING'])) ? $this->_rootref['S_CONTENT_ENCODING'] : ''; ?>" />
<meta http-equiv="content-language" content="<?php echo (isset($this->_rootref['S_USER_LANG'])) ? $this->_rootref['S_USER_LANG'] : ''; ?>" />
<meta http-equiv="content-style-type" content="text/css" />
<meta name="viewport" content="width=device-width" />
<meta name="description" content="<?php echo (isset($this->_rootref['DESCRIPTION'])) ? $this->_rootref['DESCRIPTION'] : ''; ?>" />
<?php echo (isset($this->_rootref['META'])) ? $this->_rootref['META'] : ''; ?>
<title><?php if ($this->_rootref['PAGE_TITLE']) { echo (isset($this->_rootref['PAGE_TITLE'])) ? $this->_rootref['PAGE_TITLE'] : ''; } else if ($this->_rootref['S_IN_MCP']) { echo ((isset($this->_rootref['L_MCP'])) ? $this->_rootref['L_MCP'] : ((isset($user->lang['MCP'])) ? $user->lang['MCP'] : '{ MCP }')); } else if ($this->_rootref['S_IN_UCP']) { echo ((isset($this->_rootref['L_UCP'])) ? $this->_rootref['L_UCP'] : ((isset($user->lang['UCP'])) ? $user->lang['UCP'] : '{ UCP }')); } else { echo (isset($this->_rootref['SITENAME'])) ? $this->_rootref['SITENAME'] : ''; } ?></title>
<link rel="stylesheet" href="<?php if ($this->_rootref['T_STYLESHET_LINK_WAP']) { echo (isset($this->_rootref['T_STYLESHET_LINK_WAP'])) ? $this->_rootref['T_STYLESHET_LINK_WAP'] : ''; } else { echo (isset($this->_rootref['T_STYLESHEET_LINK'])) ? $this->_rootref['T_STYLESHEET_LINK'] : ''; } ?>" type="text/css" />
<link rel="stylesheet" href="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''; ?>/css/stylesheet.css" type="text/css" />
<?php if (! $this->_rootref['S_USER_LOGGED_IN'] || $this->_rootref['S_IN_UCP']) { ?>
<link rel="stylesheet" href="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''; ?>/css/socbuttons.css" type="text/css" />
<?php } if ($this->_rootref['S_USER_PM_POPUP'] && $this->_rootref['S_NEW_PM']) { ?>
<script type="text/javascript">
// <![CDATA[
var url = '<?php echo (isset($this->_rootref['UA_POPUP_PM'])) ? $this->_rootref['UA_POPUP_PM'] : ''; ?>';
window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'resizable=yes,scrollbars=yes');
// ]]>
</script>
<?php } ?>
</head>
<body class="section-<?php echo (isset($this->_rootref['SCRIPT_NAME'])) ? $this->_rootref['SCRIPT_NAME'] : ''; ?> <?php echo (isset($this->_rootref['S_CONTENT_DIRECTION'])) ? $this->_rootref['S_CONTENT_DIRECTION'] : ''; ?>">
<div id="wrap">
<?php if (! $this->_rootref['S_USER_LOGGED_IN'] && $this->_rootref['ADS_9']) { echo (isset($this->_rootref['ADS_9'])) ? $this->_rootref['ADS_9'] : ''; ?><br style="clear:both" /><?php } ?>
<div id="head">
<?php if ($this->_rootref['SCRIPT_NAME'] == ('forum')) { echo (isset($this->_rootref['SITE_LOGO_IMG'])) ? $this->_rootref['SITE_LOGO_IMG'] : ''; } ?>
<div class="cat">
<?php if ($this->_rootref['S_USER_LOGGED_IN'] && ! $this->_rootref['S_IS_BOT']) { ?>
<a href="<?php echo (isset($this->_rootref['U_PRIVATEMSGS'])) ? $this->_rootref['U_PRIVATEMSGS'] : ''; ?>" class="lt"><img src="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''; ?>/images/icon_mini_messages.gif" alt="<?php echo (isset($this->_rootref['S_USER_NEW_PRIVMSG'])) ? $this->_rootref['S_USER_NEW_PRIVMSG'] : ''; ?>" title="<?php echo (isset($this->_rootref['PRIVATE_MESSAGE_INFO'])) ? $this->_rootref['PRIVATE_MESSAGE_INFO'] : ''; ?>"/> <?php echo (isset($this->_rootref['S_USER_NEW_PRIVMSG'])) ? $this->_rootref['S_USER_NEW_PRIVMSG'] : ''; ?></a>
<?php } if ($this->_rootref['SCRIPT_NAME'] == ('forum')) { ?>
<a href="<?php echo (isset($this->_rootref['U_VIEWONLINE'])) ? $this->_rootref['U_VIEWONLINE'] : ''; ?>" class="gensmall">Online: <?php echo (isset($this->_rootref['S_ONLINE'])) ? $this->_rootref['S_ONLINE'] : ''; ?></a>
<?php } else { if ($this->_rootref['SCRIPT_NAME'] == ('index')) { echo (isset($this->_rootref['SITE_DESCRIPTION'])) ? $this->_rootref['SITE_DESCRIPTION'] : ''; } else { ?><a href="/"><?php echo (isset($this->_rootref['SITENAME'])) ? $this->_rootref['SITENAME'] : ''; ?></a> « <a href="<?php echo (isset($this->_rootref['U_INDEX'])) ? $this->_rootref['U_INDEX'] : ''; ?>"><?php echo ((isset($this->_rootref['L_INDEX'])) ? $this->_rootref['L_INDEX'] : ((isset($user->lang['INDEX'])) ? $user->lang['INDEX'] : '{ INDEX }')); ?></a><?php } } ?>
</div>
<?php if ($this->_rootref['SCRIPT_NAME'] == ('viewtopic')) { $_navlinks_count = (isset($this->_tpldata['navlinks'])) ? sizeof($this->_tpldata['navlinks']) : 0;if ($_navlinks_count) {for ($_navlinks_i = 0; $_navlinks_i < $_navlinks_count; ++$_navlinks_i){$_navlinks_val = &$this->_tpldata['navlinks'][$_navlinks_i]; if ($_navlinks_val['S_ROW_COUNT'] > 0) { ?> « <?php } ?><a href="<?php echo $_navlinks_val['U_VIEW_FORUM']; ?>"><?php echo $_navlinks_val['FORUM_NAME']; ?></a>
<?php }} } ?>
</div>
<?php if ($this->_rootref['S_BOARD_DISABLED'] && $this->_rootref['S_USER_LOGGED_IN'] && ( $this->_rootref['U_MCP'] || $this->_rootref['U_ACP'] )) { ?>
<div class="row1"><span class="error"><?php echo ((isset($this->_rootref['L_INFORMATION'])) ? $this->_rootref['L_INFORMATION'] : ((isset($user->lang['INFORMATION'])) ? $user->lang['INFORMATION'] : '{ INFORMATION }')); ?>: <?php echo ((isset($this->_rootref['L_BOARD_DISABLED'])) ? $this->_rootref['L_BOARD_DISABLED'] : ((isset($user->lang['BOARD_DISABLED'])) ? $user->lang['BOARD_DISABLED'] : '{ BOARD_DISABLED }')); ?></span></div>
<?php } if (! $this->_rootref['S_USER_LOGGED_IN'] && ! $this->_rootref['S_ADMIN_AUTH']) { ?>
<table width="100%" cellpadding="1">
<tr>
<?php if (! $this->_rootref['S_REGISTRATION'] && $this->_rootref['S_REGISTER_ENABLED']) { ?>
<td><a href="<?php echo (isset($this->_rootref['U_REGISTER'])) ? $this->_rootref['U_REGISTER'] : ''; ?>" class="buttom"><img src="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''; ?>/images/icon_mini_login.gif" alt=""/> <?php echo ((isset($this->_rootref['L_REGISTER'])) ? $this->_rootref['L_REGISTER'] : ((isset($user->lang['REGISTER'])) ? $user->lang['REGISTER'] : '{ REGISTER }')); ?></a></td>
<?php } if (! $this->_rootref['S_DISPLAY_FULL_LOGIN']) { ?>
<td align="right">
<a href="<?php echo (isset($this->_rootref['U_LOGIN_LOGOUT'])) ? $this->_rootref['U_LOGIN_LOGOUT'] : ''; ?>" class="buttom"><img src="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''; ?>/images/icon_mini_profile.gif" alt=""/> <?php echo ((isset($this->_rootref['L_LOGIN_LOGOUT'])) ? $this->_rootref['L_LOGIN_LOGOUT'] : ((isset($user->lang['LOGIN_LOGOUT'])) ? $user->lang['LOGIN_LOGOUT'] : '{ LOGIN_LOGOUT }')); ?></a></td>
<?php } ?>
</tr>
</table>
<?php } if ($this->_rootref['ADS_10']) { echo (isset($this->_rootref['ADS_10'])) ? $this->_rootref['ADS_10'] : ''; ?><br class="clear" /><?php } ?>
<div id="page">