Location: PHPKode > projects > SiteX > themes/Streamline/header.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><?PHP echo $sxSetup['SiteName']; if (strlen($sxTitleAddendum) > 0) echo ' - ' . $sxTitleAddendum; ?></title>
<?PHP echoMETA($page,htmlspecialchars(strip_tags($sxMetaAddendum))); ?> 

<link rel="stylesheet" type="text/css" href="<?PHP echo $sxSetup['Url']; ?>/includes/colorpicker/colorpicker.css" />
<!-- RSS feed autodiscovery -->
<link rel="alternate" type="application/rss+xml" title="<?PHP echo $sxSetup['Url']; ?> RSS Feed" href="content/rss.xml" />

<?PHP sxBatchUploader(); ?>
<?PHP sxAlbumUseLightbox(); ?>

<style type="text/css">
/* ************************
GENERAL HTML STYLES
************************* */
html {
	min-height: 100%;
	margin-bottom: 1px;
}
body,td,th {
	color: <?PHP echo $sxTheme['ColorText']; ?>;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
}
body {
	background-color: <?PHP echo $sxTheme['ColorBackground']; ?>;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
a:link {
	color: <?PHP echo $sxTheme['ColorLinks']; ?>;
}
a:visited {
	color: <?PHP echo $sxTheme['ColorLinksVisited']; ?>;
}
a:hover {
	color: <?PHP echo $sxTheme['ColorLinksHover']; ?>;
}
a:link img {
	border: 1px solid <?PHP echo $sxTheme['ColorLinks']; ?>;
}
a:visited img {
	border: 1px solid <?PHP echo $sxTheme['ColorLinksVisited']; ?>;
	}
a:hover img {
	border: 1px solid <?PHP echo $sxTheme['ColorLinksHover']; ?>;
	}
input, select, textarea {
	line-height: 12px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
}
h1 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
}
legend {
	color: <?PHP echo $sxTheme['ColorPrimary']; ?>;
	font-weight: bold;
}
ul {
margin: 2px;
list-style: square; 
margin-left: 20px;
padding-left: 0;
}
/* ************************
SITEX CORE STYLES
************************* */

a.tableColumn:link {
       color: <?PHP echo $sxTheme['ColorTextTable']; ?>;
       text-decoration: underline;
}
a.tableColumn:visited {
       color: <?PHP echo $sxTheme['ColorTextTable']; ?>;
       text-decoration: underline;
}
a.tableColumn:hover {
       color: <?PHP echo $sxTheme['ColorTextTable']; ?>;
       text-decoration: none;
}
.noscript {
	font-size: 11px;
	color: red;
	text-align: center;
	padding-bottom:15px;
}
.sitename {
	font-size: 18px;
	font-weight: bold;
	color: <?PHP echo $sxTheme['ColorSiteName']; ?>;
	padding: 15px;
}
.slogan {
color: <?PHP echo $sxTheme['ColorSiteName']; ?>;
padding-left: 5px;
font-size: 14px;
font-style: italic;
}
.navigation {
	font-weight: bold;
	text-decoration: none;
	color: <?PHP echo $sxTheme['ColorTextSecondary']; ?>;
}
a.navigation:link {
	color: <?PHP echo $sxTheme['ColorTextSecondary']; ?>;
	text-decoration: none;
}
a.navigation:visited {
	color: <?PHP echo $sxTheme['ColorTextSecondary']; ?>;
	text-decoration: none;
}
a.navigation:hover {
	color: <?PHP echo $sxTheme['ColorTextSecondary']; ?>;
	text-decoration: none;
}
.textSecondary {
	color: <?PHP echo $sxTheme['ColorTextSecondary']; ?>;
}
.login {
	width: 100px;
}
.lastupdated {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-style: italic;
	color: #666666;
}
/* gallery layout styles */
.sxGalleryThumb {
  <?php if ($sxThemeConfig['GalleryThumbBox'] == 1) { ?>
  	height: <?PHP echo $sxSetup['GalleryMaxDimensionThumb']+2; ?>px;
  	width: <?PHP echo $sxSetup['GalleryMaxDimensionThumb']+2; ?>px;
  <?php } ?>	
	text-align: center;
}
.sxAlbumThumb {
  <?php if ($sxThemeConfig['GalleryAlbumThumbBox'] == 1) { ?>
  	height: <?PHP echo $sxSetup['GalleryMaxDimensionThumb']+2; ?>px;
  	width: <?PHP echo $sxSetup['GalleryMaxDimensionThumb']+2; ?>px;
  <?php } ?>
	text-align: center;		
}
.sxGalleryThumbnailContainer {
  margin:5px;
  padding: 5px;
  <?php if ($sxThemeConfig['GalleryThumbBox'] == 1) { ?>
  border: 1px solid <?PHP echo $sxTheme['ColorPrimary']; ?>;
  padding: 10px;
  background: <?PHP echo $sxTheme['ColorBackground']; ?>;
  <?php } ?>
}
.sxAlbumThumbnailContainer {
  margin:5px;
  padding: 5px;
  <?php if ($sxThemeConfig['GalleryAlbumThumbBox'] == 1) { ?>
  border: 1px solid <?PHP echo $sxTheme['ColorPrimary']; ?>;
  padding: 10px;
  background: <?PHP echo $sxTheme['ColorBackground']; ?>;
  <?php } ?>
}
.sxPhotoContainer {
  <?php if ($sxThemeConfig['GalleryPhotoBox'] == 1) { ?>
  	height: <?PHP echo $sxSetup['GalleryMaxDimensionPhoto']+2; ?>px;
  	width: <?PHP echo $sxSetup['GalleryMaxDimensionPhoto']+2; ?>px;
  <?php } ?>	
	text-align: center;
}
/* sets photo.php photo style properties
see theme config $sxThemeConfig['PhotoCenter']
 */
.sxScaledPhoto {
  margin:5px;
  padding: 5px;
  display: table-cell;
  vertical-align: middle;
  position:relative;
  top:-1px;
  left:-1px;
  <?php if ($sxThemeConfig['GalleryPhotoBox'] == 1) { ?>
  border: 1px solid <?PHP echo $sxTheme['ColorPrimary']; ?>;
  padding: 10px;
  background: <?PHP echo $sxTheme['ColorBackground']; ?>;
  <?php } ?>
}
.pageTurns {
	padding-top:8px;
	padding-bottom:8px;
	padding-left:10px;
	padding-right:10px;
	text-align:center;
	font-size:10px;
}
.sxGalleryLayout{

}
.sxAlbumDescription {
	margin-top: 7px;
	text-align: left;
}
.sxPhotoDescription {

}
.galleryData {
	font-size: 11px;
	color: <?PHP echo $sxTheme['ColorTextTable']; ?>;
	background-color: <?PHP echo $sxTheme['ColorTable']; ?>;
	background-position: center;
	text-align: center;
	padding: 5px;
}
/* end gallery layout styles */

.tableColumn {
	font-size: 11px;
	color: <?PHP echo $sxTheme['ColorTextTable']; ?>;
	background-color: <?PHP echo $sxTheme['ColorTable']; ?>;
	background-position: center;
	text-align: left;
}
.message {
	font-size: 11px;
	color: #777777;
	text-align: center;
	padding-bottom:15px;
}
.sxAdminWarning {
	color: #000000;
	text-align: center;
	padding:4px;
	background: #FEFFE0;
	margin-top: -8px;
}
.sxAdminWarning a {
	color: #000000;
	text-decoration: underline;
}
.sxWarningTitle {
font-weight: bold;
text-align: center;
}
.bodyWrapper {
	padding-left:25px;
	padding-right:25px;
	background-color:<?PHP echo $sxTheme['ColorBackground']; ?>;
}
.journalReadmore {
	text-align:right;
}
.journalDate {
    color: #999999;
    font-weight: bold;
    text-decoration:none;
}
.journalControls {
    font-size: 10px;
    font-weight: bold;
    padding-top: 5px;
    text-align: left;
}
.journalAdd {
    font-size: 11px;
    font-weight: bold;
    padding-top: 5px; 
    padding-bottom: 5px;
    text-align: right;
}
.journalHead {

}
.journalTitle {
    font-size: 11px;
    font-weight: bold;
}
.journalBy {
    font-size: 10px;
    font-weight: normal;
    margin-right: 4px;
    text-align: right;
}
.journalEntry {
padding-top: 5px;
overflow: auto;
}
.journalComments {
padding-bottom:10px;
text-align: right;
}
.commentBy {
    font-size: 10px;
    font-weight: normal;
    margin-left: 4px;
    text-align: left
}
.eventDate {
	color: #999999;
	font-weight: bold;
	padding-top: 15px;
}
.eventNameLong {
	color: <?PHP echo $sxTheme['ColorLinks']; ?>;
	font-weight: bold;
	font-size: 13px;
}
.eventDescription {
	padding-top: 10px;
	padding-bottom: 10px;
}
.eventAdminLinks {
	padding-bottom: 15px;
}
.shadowText {
	color: #999999;
}
.td_background {
	background-color:<?PHP echo $sxTheme['ColorBackground']; ?>;
}
.td_primary {
	background-color:<?PHP echo $sxTheme['ColorPrimary']; ?>;
}
.td_secondary {
	background-color:<?PHP echo $sxTheme['ColorSecondary']; ?>;
}
.loggedInInfo {
	padding: 5px;
	color: <?PHP echo $sxTheme['ColorSiteName']; ?>;
}
.accountLinks {
	color: <?PHP echo $sxTheme['ColorSiteName']; ?>;
	text-decoration:underline;
}
.footerText {
	color: <?PHP echo $sxTheme['ColorTextSecondary']; ?>;
	font-size: 10px;
}
.loginBoxLinks {
	font-size: 10px;
}
.postedBy {
	font-size: 11px;
	font-weight: bold;
}
.eventTodayColor {
	background-color: <?PHP echo $sxTheme['ColorTable']; ?>;
}
.eventOffdayColor {
	background-color: <?PHP echo $sxTheme['ColorBackground']; ?>;
}
.eventCalendar {
	background-color: <?PHP echo $sxTheme['ColorTextSecondary']; ?>;
}
.sxTdItem {
	font-weight: bold;
	text-align: right;
	vertical-align: top;
	padding-top:8px;
	padding-right:5px;
}
.sxSection {
	font-size: 10px;
	margin-top: 20px;
	margin-bottom: 20px;
	padding-top: 5px;
	border-top-style:solid;
	border-top-width:1px;
	border-top-color: <?PHP echo $sxTheme['ColorText']; ?>;
}
.sxSmallText {
	font-size: 10px;
	font-weight: normal;
}
.sxLargeText {
	font-size: 16px;
	font-weight: bold;
}
.sxTextHighlight{
background: yellow;
color: black;
}
a.sxTextHighlight: link, visited, hover {
background: yellow;
color: black;
text-decoration: underline;
}
.pageContent {
padding-bottom: 10px;
}
.sxTableColorText {
	color: <?PHP echo $sxTheme['ColorTextTable']; ?>;
}
.sxTdTableRow {
	background-color: <?PHP echo $sxTheme['ColorTableRow']; ?>;
}
.sxAutolink {
	width:565px;
	text-align:center;
	background:#EFEFDE;
	padding:5px;
	color:#000000;
}
.sxMainMode {
width:400px;
padding:4px;
margin-left: auto;
margin-right: auto;
background: #FFFFFF;
color: red;
font-size: 11px;
text-align: center;
border: 1px solid #c0c0c0;
}
.sxMainMode a {
color: red;
text-decoration: underline;
}
.sxCommentsTable {
	border-color: <?PHP echo $sxTheme['ColorTable']; ?>;
	border-style:solid;
	border-width: 3px;
}
.sxCommentsTableHeader {
	color: <?PHP echo $sxTheme['ColorTextTable']; ?>;
	background: <?PHP echo $sxTheme['ColorTable']; ?>;
	padding: 5px;
	
}

.sxAdminBreadcrumbs {
	font-size: 10px;
	padding-bottom:10px;
}
.sxRandomPhotos img{
height: <?PHP echo $sxThemeConfig['HomepageThumbHeight']; ?>px;
}
.sxPollName {
	padding-top: 5px;
}
.sxPollPercent { 
	position: relative;
	bottom: 2px;
	font-size: 10px;
}
.sxHomepageItemName {
	font-weight: bold;
	padding-top: 5px;
	padding-bottom: 5px;
}

.sxNoborder {
	border: 0px;
}
.sxMiddle {

}
.sxButton {

}
.sxForumPoster {
  text-align:center;
}
.sxAvatar {
padding: 4px;
}
.ContactInfo {
  float: right;
  width: 250px;
}
/* batch upload css */
#batchinfo {

}
#fileQueue {
	width: 400px;
	height: 300px;
	overflow: auto;
	border: 1px solid #E5E5E5;
	margin-bottom: 10px;
	margin-top: 10px;
}
#fileQueueButtons {
	width: 400px;
	height: 25px;
	border: 1px solid #E5E5E5;
	border-left: 0px;
	border-top: 0px;
	border-right: 0px;
	margin-bottom: 10px;
}
.uploadifyQueueItem {
	font: 11px Verdana, Geneva, sans-serif;
	border: 2px solid #E5E5E5;
	background-color: #F5F5F5;
	margin-top: 5px;
	padding: 10px;
	width: 350px;
}
.uploadifyError {
	border: 2px solid #FBCBBC !important;
	background-color: #FDE5DD !important;
}
.uploadifyQueueItem .cancel {
	float: right;
}
.uploadifyProgress {
	background-color: #FFFFFF;
	border-top: 1px solid #808080;
	border-left: 1px solid #808080;
	border-right: 1px solid #C5C5C5;
	border-bottom: 1px solid #C5C5C5;
	margin-top: 10px;
	width: 100%;
}
.uploadifyProgressBar {
	background-color: #0099FF;
	width: 1px;
	height: 3px;
}
/* ************************
THEME STYLES (add your own classes below this)
Prefix class names with theme name e.g. .streamline_myclass
************************* */
</style>
</head>
<?PHP sxGoogleAnalytics(); ?>
<body>
<?PHP sxMaintenanceModeMessage(); ?>
<?PHP if(!$reviewMode){ ?>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr> 
	<td class="td_primary"><?PHP if(getTitlePicture()) { $filenameTitle = getTitlePicture(); ?><img src="<?PHP echo $sxSetup['Url'].'/'; ?>content/title_pictures/<?PHP echo $filenameTitle; ?>" width="<?PHP echo getTitleWidth($filenameTitle); ?>" height="<?PHP echo getTitleHeight($filenameTitle); ?>" alt="<?PHP echo getTitleName($filenameTitle); ?>" />
	<?PHP }elseif($sxTheme['ShowSiteName']){ echo '<span class="sitename">&nbsp;' . $sxSetup['SiteName'] . '&nbsp;:</span>'; } ?><span class="slogan"><?PHP echo $sxSetup['TextHeader']; ?></span></td>
  <td align="right" valign="bottom" class="td_primary">
  <div class="loggedInInfo">
  <?PHP if(loggedIn()){ ?>
  <?PHP echo $sxLang['Welcome']; ?> <strong><?PHP echo $HTTP_SESSION_VARS['username']; ?></strong>
  <?PHP if(userAdmin()){ ?> - <a href="<?PHP echo $sxSetup['Url'].'/admin/'; ?>"><span class="accountLinks"><?PHP echo $sxLang['AdminPanel']; ?></span></a><?PHP } ?>
  <?PHP if(userEditor()){ ?> - <a href="<?PHP echo $sxSetup['Url'].'/admin/editor_index.php'; ?>"><span class="accountLinks"><?PHP echo $sxLang['EditorPanel']; ?></span></a><?PHP } ?>
   - <a href="<?PHP echo $sxSetup['Url'].'/admin/profile.php'; ?>"><span class="accountLinks"><?PHP echo $sxLang['Profile']; ?></span></a>
   - <a href="<?PHP echo $sxSetup['Url'].'/'; ?>logout.php?p=<?PHP echo urlencode("http://{$HTTP_HOST}{$REQUEST_URI}"); ?>"><span class="accountLinks"><?PHP echo $sxLang['Logout']; ?></span></a><br /><br />
  <?PHP } ?>
  <?PHP echo getVisitors().' '.$sxLang['Visitors']; ?>
  </div></td>
 </tr>
 <tr align="right"> 
  <td colspan="2" class="td_secondary"><div style="padding:3px;"><?PHP echoNavigation('horiz'); ?></div></td>
 </tr>
</table>
<br />
<!-- end header --><?PHP } ?>
Return current item: SiteX