Просмотр файла inc/header.php

Размер файла: 4.21Kb
<?php

echo '<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="Белый каталог сайтов"/>
<meta name="keywords" content="Белый каталог сайтов"/>
<meta name="author" content="fLipe"/>

<title>'.$pagetitle.'</title>
<style type="text/css">
body{	
font-family: Tahoma;
font-size: small;
background-color: #f9fcff;
color: #2ba1df;
padding: 0px;
border: 1px solid #e2e3e4;
border-radius: 7px;
margin: 2px auto;
max-width: 400px;
}
a{
text-decoration: none;
color: #2683c7;
}
a:hover{
text-decoration: underline;
}
html{background: #494949 url('.URL.'/images/html.png);}

input {
    background-color: #fff;
	width : 98%; 
	font-size : 10pt; 
	padding : 5px; 
    color:#666;
    border:1px solid #ccc;
    border-radius: 5px;
}

input[type="search"] {background: url('.URL.'/images/search.png)no-repeat; width: 130px; height: 30px;padding-left: 3px;border: 0px #fff solid;color: #5b48ab;}
#head{
background: #eaebeb url('.URL.'/images/head.png) repeat-x;
height: 60px;
margin-top: 4px;
}
.head{
float: right;
padding: 7px;
text-align: center;
}
#title{
background: #f5f5f5 url('.URL.'/images/title.png) repeat-x;
padding: 7px;
color: #5b48ab;
font-weight: bold;

text-align: right;
}

.desc{
color: #989898;
margin: 2px;
padding: 4px;
border-left: 1px dotted #989898;
}
.news_komm{
text-align: right;
}
.news_komm a{
color: #6352af;
}
.news_komm a:hover{
color: #989898;
}
#aut{
padding: 9px;
text-align: right;
}
#aut a{
padding: 5px;
color: #fff;
background: #5d49ab url('.URL.'/images/foot.png) repeat-x;
border: 0px #fff solid;
border-radius: 6px;
}
#menu {
border-top:1px solid #ececec;
border-bottom: 1px solid #ececec;
margin: 1px 8px 8px 8px;

}
#menu ul{
list-style-type:none;
margin:0;
padding:0;
}
#menu ul li{
margin-bottom: 1px;
padding-right:10px;
border-bottom:1px solid #d8d8d8;
background: #efeff0 url('.URL.'/images/main.png) repeat-x;
}
#menu ul li:hover{
margin-bottom: 1px;
padding-right:10px;
border-bottom:1px solid #b8ccf4;
background: #efeff0 url('.URL.'/images/main.png) repeat-x;
}

#menu ul li a{
display:block;
padding:8px;
color: #7b65d8;
background: url('.URL.'/images/link.png) no-repeat right center;
}
#menu ul li a:hover{
background-image:url('.URL.'/images/linkh.png);
color: #51a6d8;
text-decoration: none;
}
#menu ul li a span{
color:#252525;
}
#title_a{
padding: 5px;
margin: 5px;
border: 1px solid #d8d8d8;
color: #5b48ab;
font-weight: bold;
}
.tovar {
text-align: right;
margin: 7px;
} 
.tovar a {
padding: 1px;
border: 1px solid #d8d8d8;
}
#s4 , #s3 ,#s2 , #s1 {
margin: 1px;
float: left;
border: 1px solid #b1b1b1;
height: 128px;
width: 23%;
}
#skrinshot{
height: 128px;
margin: 4px;
}
#ads{text-align: right;}
#ads_all{padding: 5px;border: 1px solid #d8d8d8;background: #f3f3f3;margin: 8px;}
#ads_all a{color: #6352af;padding-left: 11px; background: url('.URL.'/images/r.png) no-repeat left center;}
#ads_all a:hover{background: url('.URL.'/images/rh.png) no-repeat left center; color:#777777;}
#foot{
background: #5d49ab url('.URL.'/images/foot.png) repeat-x;
padding: 10px;
color: #b5aae4;
border-top: 1px solid #4a3b8c;
}
#foot a{color: #fff;}

#cop{text-align: right; opacity: 0.9;color:#797979}
#cop a{color: #797979;}

textarea {
	border:1px solid #ccc;
	border-radius: 5px;
}

input {
    background-color: #fff;
	max-width : 80%; 
	font-size : 10pt; 
	padding : 5px; 
    color:#666;
    border:1px solid #ccc;
    border-radius: 5px;
}
.error {
	background-color: #F08080;
	border-left: 10px solid #A80000;
	color: #000;
	}
.info {
	background-color: #98FB98;
	border-left: 10px solid #00CC00;
	color: #000;
}




</style>
</head>
<body>


<div id="head">
<a href="'.URL.'"><img src="'.URL.'/images/logo.png" alt="" /></a>

</div>
<div id="title">
Белый каталог сайтов
 </div>
';

if (isset($_SESSION['error'])) {
	echo '<div class="error">'.$_SESSION['error'].'</div>';
	$_SESSION['error'] = null;
}
if (isset($_SESSION['info'])) {
	echo '<div class="info">'.$_SESSION['info'].'</div>';
	$_SESSION['info'] = null;
}


?>