<?php
if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false) {
echo 'Strona nie wspiera <b>Internet Explorer</b>!';
}
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
<title>Strona Główna » Sebastian Bobrowski :: Portfolio</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="template/images/favicon.png" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="template/css/style.css"/>
<!-- LIGHTBOX POCZĄTEK -->
<!-- Add jQuery library -->
<script type="text/javascript" src="template/lib/jquery-1.8.2.min.js"></script>
<!-- Add mousewheel plugin (this is optional) -->
<script type="text/javascript" src="template/lib/jquery.mousewheel-3.0.6.pack.js"></script>
<!-- Add fancyBox main JS and CSS files -->
<script type="text/javascript" src="template/source/jquery.fancybox.js?v=2.1.2"></script>
<link rel="stylesheet" type="text/css" href="template/source/jquery.fancybox.css?v=2.1.2" media="screen" />
<!-- Add Button helper (this is optional) -->
<link rel="stylesheet" type="text/css" href="template/source/helpers/jquery.fancybox-buttons.css?v=1.0.5" />
<script type="text/javascript" src="template/source/helpers/jquery.fancybox-buttons.js?v=1.0.5"></script>
<!-- Add Thumbnail helper (this is optional) -->
<link rel="stylesheet" type="text/css" href="template/source/helpers/jquery.fancybox-thumbs.css?v=1.0.7" />
<script type="text/javascript" src="template/source/helpers/jquery.fancybox-thumbs.js?v=1.0.7"></script>
<!-- Add Media helper (this is optional) -->
<script type="text/javascript" src="template/source/helpers/jquery.fancybox-media.js?v=1.0.4"></script>
<script type="text/javascript">
$(document).ready(function() {
/*
* Simple image gallery. Uses default settings
*/
$('.fancybox').fancybox();
/*
* Different effects
*/
// Change title type, overlay closing speed
$(".fancybox-effects-a").fancybox({
helpers: {
title : {
type : 'outside'
},
overlay : {
speedOut : 0
}
}
});
// Disable opening and closing animations, change title type
$(".fancybox-effects-b").fancybox({
openEffect : 'none',
closeEffect : 'none',
helpers : {
title : {
type : 'over'
}
}
});
// Set custom style, close if clicked, change title type and overlay color
$(".fancybox-effects-c").fancybox({
wrapCSS : 'fancybox-custom',
closeClick : true,
openEffect : 'none',
helpers : {
title : {
type : 'inside'
},
overlay : {
css : {
'background' : 'rgba(238,238,238,0.85)'
}
}
}
});
// Remove padding, set opening and closing animations, close if clicked and disable overlay
$(".fancybox-effects-d").fancybox({
padding: 0,
openEffect : 'elastic',
openSpeed : 150,
closeEffect : 'elastic',
closeSpeed : 150,
closeClick : true,
helpers : {
overlay : null
}
});
/*
* Button helper. Disable animations, hide close button, change title type and content
*/
$('.fancybox-buttons').fancybox({
openEffect : 'none',
closeEffect : 'none',
prevEffect : 'none',
nextEffect : 'none',
closeBtn : false,
helpers : {
title : {
type : 'inside'
},
buttons : {}
},
afterLoad : function() {
this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
}
});
/*
* Thumbnail helper. Disable animations, hide close button, arrows and slide to next gallery item if clicked
*/
$('.fancybox-thumbs').fancybox({
prevEffect : 'none',
nextEffect : 'none',
closeBtn : false,
arrows : false,
nextClick : true,
helpers : {
thumbs : {
width : 50,
height : 50
}
}
});
/*
* Media helper. Group items, disable animations, hide arrows, enable media and button helpers.
*/
$('.fancybox-media')
.attr('rel', 'media-gallery')
.fancybox({
openEffect : 'none',
closeEffect : 'none',
prevEffect : 'none',
nextEffect : 'none',
arrows : false,
helpers : {
media : {},
buttons : {}
}
});
/*
* Open manually
*/
$("#fancybox-manual-a").click(function() {
$.fancybox.open('1_b.jpg');
});
$("#fancybox-manual-b").click(function() {
$.fancybox.open({
href : 'iframe.html',
type : 'iframe',
padding : 5
});
});
$("#fancybox-manual-c").click(function() {
$.fancybox.open([
{
href : '1_b.jpg',
title : 'My title'
}, {
href : '2_b.jpg',
title : '2nd title'
}, {
href : '3_b.jpg'
}
], {
helpers : {
thumbs : {
width: 75,
height: 50
}
}
});
});
});
</script>
<style type="text/css">
.fancybox-custom .fancybox-skin {
box-shadow: 0 0 50px #222;
}
</style>
<!-- LIGHTBOX KONIEC -->
<!--
<style type="text/css">
@font-face {
font-family: "Myriad";
src: url('socures/MyriadPro-Regular.otf');
}
#tooltip{
position:absolute;
display:none;
background:#111;
padding:5px;
opacity: 0.50;
border: 1px solid #555;
color: #fff;
font-family: "Myriad";
font-size: 15px;
border-radius: 4px;
box-shadow: 0 0 5px #000;
}
</style>
<script type="text/javascript">
onl=window.onload||Function;
onload=function(){
onl();
for(var i=0,d,D=document,E=D.documentElement,B=D.body,span;d=D.getElementsByTagName('*')[i++];){
if(d.getAttribute('title')){
d.old=d.title;
d.removeAttribute('title');
d.onmouseover=function(e){
var t=this;
this.t=setTimeout(
function(){
with(span.style){
display='inline';
top=t.offsetTop+t.offsetHeight+20+'px'
left=t.offsetLeft+20+'px'
}
span.firstChild.nodeValue=t.old;
}, 300)//tutaj ustawiamy zwłokę po ktrórej wyświetli się tooltip, w milisekundach!
};
d.onmouseout=function(){
clearTimeout(this.t);
span.style.display='none';
}
}
}
/* tworzenie tooltipa */
span=D.createElement('span');
span.id='tooltip';
span.appendChild(D.createTextNode('test'));
D.body.appendChild(span);
}
</script>
-->
</head>
<body>
<div id="head">
<div class="logo"><a href="index.php"><img src="template/images/logo.png"></a></div>
<div class="socials">
<a href="#" target="_blank" title="Facebook.com"><img src="template/images/facebook.png"></a>
<a href="#" target="_blank" title="Twitter.com"><img src="template/images/twitter.png"></a>
<a class="fancybox" href="#email" title="Napisz do mnie!"><img src="template/images/email.png"></a>
</div>
</div>
<div id="email" style="width:400px;display: none;">
<div class="email">
<p>Twój e-mail:<br><input type="tex"></p>
<p>Temat:<br><input type="tex"></p>
<p>Treść:<br><textarea></textarea></p>
<p><input type="submit" value="Wyślij »"></p>
</div>
</div>
<?php
$id = $_GET['p'];
include 'modules/'.$id.'.php';
} else {
include 'modules/home.php';
}
?>
<div class="bottom"></div>
<div class="footer">
<div id="copy">Copyright © 2012 <b>SebastianBobrowski.com</b><br>Wszelkie prawa zastrzeżone.</div><div id="copy2"><a href="?p=acp">» PANEL KONTROLNY</a></div>
</div>
</body>
</html>