<?php
if ($this->security()) {
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=' . ((isset($this->_tpldata['.'][0]['ENCODING'])) ? $this->_tpldata['.'][0]['ENCODING'] : '') . '" />
' . ((isset($this->_tpldata['.'][0]['META'])) ? $this->_tpldata['.'][0]['META'] : '') . '
<title>' . ((isset($this->_tpldata['.'][0]['PAGE_TITLE'])) ? $this->_tpldata['.'][0]['PAGE_TITLE'] : '') . '</title>
<style type="text/css">
form { display: inline; }
img { vertical-align: middle; border: 0px; }
BODY { font-family: ' . ((isset($this->_tpldata['.'][0]['T_FONTFACE1'])) ? $this->_tpldata['.'][0]['T_FONTFACE1'] : '') . '; font-size: ' . ((isset($this->_tpldata['.'][0]['T_FONTSIZE2'])) ? $this->_tpldata['.'][0]['T_FONTSIZE2'] : '') . 'px; color: #' . ((isset($this->_tpldata['.'][0]['T_FONTCOLOR1'])) ? $this->_tpldata['.'][0]['T_FONTCOLOR1'] : '') . '; margin-left: 1%; margin-right: 1%; margin-top: 1%; background-color: #' . ((isset($this->_tpldata['.'][0]['T_BODY_BACKGROUND'])) ? $this->_tpldata['.'][0]['T_BODY_BACKGROUND'] : '') . '; }
TABLE { border-top: ' . ((isset($this->_tpldata['.'][0]['T_TABLE_BORDER_WIDTH'])) ? $this->_tpldata['.'][0]['T_TABLE_BORDER_WIDTH'] : '') . 'px; border-right: ' . ((isset($this->_tpldata['.'][0]['T_TABLE_BORDER_WIDTH'])) ? $this->_tpldata['.'][0]['T_TABLE_BORDER_WIDTH'] : '') . 'px; border-bottom: ' . ((isset($this->_tpldata['.'][0]['T_TABLE_BORDER_WIDTH'])) ? $this->_tpldata['.'][0]['T_TABLE_BORDER_WIDTH'] : '') . 'px; border-left: ' . ((isset($this->_tpldata['.'][0]['T_TABLE_BORDER_WIDTH'])) ? $this->_tpldata['.'][0]['T_TABLE_BORDER_WIDTH'] : '') . 'px; border-color: #' . ((isset($this->_tpldata['.'][0]['T_TABLE_BORDER_COLOR'])) ? $this->_tpldata['.'][0]['T_TABLE_BORDER_COLOR'] : '') . '; border-style: ' . ((isset($this->_tpldata['.'][0]['T_TABLE_BORDER_STYLE'])) ? $this->_tpldata['.'][0]['T_TABLE_BORDER_STYLE'] : '') . '; }
TABLE.borderless { border-style: none; }
th { font-weight: bold; color: #' . ((isset($this->_tpldata['.'][0]['T_HEADER_LINK'])) ? $this->_tpldata['.'][0]['T_HEADER_LINK'] : '') . '; background-color: #' . ((isset($this->_tpldata['.'][0]['T_TH_COLOR1'])) ? $this->_tpldata['.'][0]['T_TH_COLOR1'] : '') . '; white-space: nowrap; }
tr, td { font-family: ' . ((isset($this->_tpldata['.'][0]['T_FONTFACE1'])) ? $this->_tpldata['.'][0]['T_FONTFACE1'] : '') . '; font-size: ' . ((isset($this->_tpldata['.'][0]['T_FONTSIZE2'])) ? $this->_tpldata['.'][0]['T_FONTSIZE2'] : '') . 'px; color: #' . ((isset($this->_tpldata['.'][0]['T_FONTCOLOR1'])) ? $this->_tpldata['.'][0]['T_FONTCOLOR1'] : '') . '; }
a:link, a:visited, a:active { text-decoration: ' . ((isset($this->_tpldata['.'][0]['T_BODY_LINK_STYLE'])) ? $this->_tpldata['.'][0]['T_BODY_LINK_STYLE'] : '') . '; color: #' . ((isset($this->_tpldata['.'][0]['T_BODY_LINK'])) ? $this->_tpldata['.'][0]['T_BODY_LINK'] : '') . '; }
a:hover { text-decoration: ' . ((isset($this->_tpldata['.'][0]['T_BODY_HLINK_STYLE'])) ? $this->_tpldata['.'][0]['T_BODY_HLINK_STYLE'] : '') . '; color: #' . ((isset($this->_tpldata['.'][0]['T_BODY_HLINK'])) ? $this->_tpldata['.'][0]['T_BODY_HLINK'] : '') . '; }
th a:link, th a:visited, th a:active { text-decoration: ' . ((isset($this->_tpldata['.'][0]['T_HEADER_LINK_STYLE'])) ? $this->_tpldata['.'][0]['T_HEADER_LINK_STYLE'] : '') . '; color: #' . ((isset($this->_tpldata['.'][0]['T_HEADER_LINK'])) ? $this->_tpldata['.'][0]['T_HEADER_LINK'] : '') . '; font-weight: bold; }
th a:hover { text-decoration: ' . ((isset($this->_tpldata['.'][0]['T_HEADER_HLINK_STYLE'])) ? $this->_tpldata['.'][0]['T_HEADER_HLINK_STYLE'] : '') . '; color: #' . ((isset($this->_tpldata['.'][0]['T_HEADER_HLINK'])) ? $this->_tpldata['.'][0]['T_HEADER_HLINK'] : '') . '; font-weight: bold; }
th.smalltitle { font-weight: bold; color: #' . ((isset($this->_tpldata['.'][0]['T_HEADER_LINK'])) ? $this->_tpldata['.'][0]['T_HEADER_LINK'] : '') . '; background-color: #' . ((isset($this->_tpldata['.'][0]['T_TH_COLOR1'])) ? $this->_tpldata['.'][0]['T_TH_COLOR1'] : '') . '; white-space: nowrap; font-size: ' . ((isset($this->_tpldata['.'][0]['T_FONTSIZE1'])) ? $this->_tpldata['.'][0]['T_FONTSIZE1'] : '') . 'px; }
th.smalltitle a:link, th.smalltitle a:visited, th.smalltitle a:active { text-decoration: ' . ((isset($this->_tpldata['.'][0]['T_HEADER_LINK_STYLE'])) ? $this->_tpldata['.'][0]['T_HEADER_LINK_STYLE'] : '') . '; color: #' . ((isset($this->_tpldata['.'][0]['T_HEADER_LINK'])) ? $this->_tpldata['.'][0]['T_HEADER_LINK'] : '') . '; font-weight: bold; font-size: ' . ((isset($this->_tpldata['.'][0]['T_FONTSIZE1'])) ? $this->_tpldata['.'][0]['T_FONTSIZE1'] : '') . 'px; }
th.smalltitle a:hover { color: #' . ((isset($this->_tpldata['.'][0]['T_HEADER_HLINK'])) ? $this->_tpldata['.'][0]['T_HEADER_HLINK'] : '') . '; font-weight: bold; font-size: ' . ((isset($this->_tpldata['.'][0]['T_FONTSIZE1'])) ? $this->_tpldata['.'][0]['T_FONTSIZE1'] : '') . 'px; text-decoration: ' . ((isset($this->_tpldata['.'][0]['T_HEADER_HLINK_STYLE'])) ? $this->_tpldata['.'][0]['T_HEADER_HLINK_STYLE'] : '') . '; }
th.footer { color: #' . ((isset($this->_tpldata['.'][0]['T_HEADER_LINK'])) ? $this->_tpldata['.'][0]['T_HEADER_LINK'] : '') . '; text-align: right; background-color: #' . ((isset($this->_tpldata['.'][0]['T_TH_COLOR1'])) ? $this->_tpldata['.'][0]['T_TH_COLOR1'] : '') . '; white-space: nowrap; font-weight: normal; }
th.footer a:link, th.footer a:visited, th.footer a:active { color: #' . ((isset($this->_tpldata['.'][0]['T_HEADER_LINK'])) ? $this->_tpldata['.'][0]['T_HEADER_LINK'] : '') . '; text-decoration: ' . ((isset($this->_tpldata['.'][0]['T_HEADER_LINK_STYLE'])) ? $this->_tpldata['.'][0]['T_HEADER_LINK_STYLE'] : '') . '; font-weight: normal; }
th.footer a:hover { color: #' . ((isset($this->_tpldata['.'][0]['T_HEADER_HLINK'])) ? $this->_tpldata['.'][0]['T_HEADER_HLINK'] : '') . '; text-decoration: ' . ((isset($this->_tpldata['.'][0]['T_HEADER_HLINK_STYLE'])) ? $this->_tpldata['.'][0]['T_HEADER_HLINK_STYLE'] : '') . '; font-weight: normal; }
.row1 { background-color: #' . ((isset($this->_tpldata['.'][0]['T_TR_COLOR1'])) ? $this->_tpldata['.'][0]['T_TR_COLOR1'] : '') . '; }
.row2 { background-color: #' . ((isset($this->_tpldata['.'][0]['T_TR_COLOR2'])) ? $this->_tpldata['.'][0]['T_TR_COLOR2'] : '') . '; }
.quote1 { background-color: #' . ((isset($this->_tpldata['.'][0]['T_TR_COLOR2'])) ? $this->_tpldata['.'][0]['T_TR_COLOR2'] : '') . '; font-size: ' . ((isset($this->_tpldata['.'][0]['T_FONTSIZE2'])) ? $this->_tpldata['.'][0]['T_FONTSIZE2'] : '') . 'px; line-height: 125%; }
.quote2 { background-color: #' . . ((isset($this->_tpldata['.'][0]['T_TR_COLOR1'])) ? $this->_tpldata['.'][0]['T_TR_COLOR1'] : '') . '; font-size: ' . ((isset($this->_tpldata['.'][0]['T_FONTSIZE2'])) ? $this->_tpldata['.'][0]['T_FONTSIZE2'] : '') . 'px; line-height: 125%; }
.positive { color: #' . ((isset($this->_tpldata['.'][0]['T_FONTCOLOR_POS'])) ? $this->_tpldata['.'][0]['T_FONTCOLOR_POS'] : '') . '; }
.negative { color: #' . ((isset($this->_tpldata['.'][0]['T_FONTCOLOR_NEG'])) ? $this->_tpldata['.'][0]['T_FONTCOLOR_NEG'] : '') . '; }
.neutral { color: #' . ((isset($this->_tpldata['.'][0]['T_FONTCOLOR1'])) ? $this->_tpldata['.'][0]['T_FONTCOLOR1'] : '') . '; }
.maintitle { font-size: 18px; font-weight: bold; color: #' . ((isset($this->_tpldata['.'][0]['T_FONTCOLOR2'])) ? $this->_tpldata['.'][0]['T_FONTCOLOR2'] : '') . '; }
.subtitle { font-size: 12px; color: #' . ((isset($this->_tpldata['.'][0]['T_FONTCOLOR2'])) ? $this->_tpldata['.'][0]['T_FONTCOLOR2'] : '') . '; }
.menu { font-size: ' . ((isset($this->_tpldata['.'][0]['T_FONTSIZE1'])) ? $this->_tpldata['.'][0]['T_FONTSIZE1'] : '') . 'px; color: #' . ((isset($this->_tpldata['.'][0]['T_FONTCOLOR2'])) ? $this->_tpldata['.'][0]['T_FONTCOLOR2'] : '') . '; }
Sorry about that. 🙂 There is all the lines for the header file. I think I accidenly threw in a . in the begining of line 48. I will post a new one with just a few lines above 48 and it'self. Thank you again. 😮