Autor Zpráva
joachim
Profil
Při zpracování BB značek došlo k samovolnému sežrání celého příspěvku. Pardon.



Ahoj, přesunul jsem web na jiný server u mého poskytovatele a od té doby mám spoustu chyb v PHP, například toto:

[Sun Mar 12 16:12:34 2017] [warn] [client 212.96.174.159] mod_fcgid: stderr: PHP Notice: Undefined index: id in /var/www/vhosts/funtaxi.cz/httpdocs/index.php on line 11, referer: www.funtaxi.cz/index.php?SID&id=foto
[Sun Mar 12 16:12:35 2017] [warn] [client 212.96.174.159] mod_fcgid: stderr: PHP Notice: Undefined index: id in /var/www/vhosts/funtaxi.cz/httpdocs/index.php on line 11, referer: www.funtaxi.cz/index.php?SID&id=forum
[Sun Mar 12 16:12:35 2017] [warn] [client 212.96.174.159] mod_fcgid: stderr: PHP Notice: Undefined variable: im in /var/www/vhosts/funtaxi.cz/httpdocs/galerie_thumbnail_galerie.php on line 6, referer: www.funtaxi.cz/index.php?SID&id=partneri
[Sun Mar 12 16:12:35 2017] [warn] [client 212.96.174.159] mod_fcgid: stderr: PHP Warning: getimagesize(): Filename cannot be empty in /var/www/vhosts/funtaxi.cz/httpdocs/galerie_thumbnail_galerie.php on line 6, referer: www.funtaxi.cz/index.php?SID&id=partneri
[Sun Mar 12 16:12:35 2017] [warn] [client 212.96.174.159] mod_fcgid: stderr: PHP Warning: imagecreatetruecolor(): Invalid image dimensions in /var/www/vhosts/funtaxi.cz/httpdocs/galerie_thumbnail_galerie.php on line 11, referer: www.funtaxi.cz/index.php?SID&id=partneri
[Sun Mar 12 16:12:35 2017] [warn] [client 212.96.174.159] mod_fcgid: stderr: PHP Notice: Undefined variable: im in /var/www/vhosts/funtaxi.cz/httpdocs/galerie_thumbnail_galerie.php on line 6, referer: www.funtaxi.cz/index.php?SID&id=partneri

tady je kód indexu

<?
Session_start();
$SN = Session_name("autorizace");

$_SESSION['SID'];
$_SESSION['prihlaseny'];
$_SESSION['idprihlaseneho'];
$_SESSION['jmeno'];
$_SESSION['admin'];
$_SESSION['heslo'];
$_SESSION['id'];
if (!isset($id)) $id = -1;

if (!isset($admin)) $admin = '';

?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=WINDOWS-1250" />
<meta name="Description" content="FUN TAXI Hustopeče" />
<meta name="robots" content="all, follow"/>
<meta name="author" content="FUN TAXI Hustopeče Janošek " />
<meta name="keywords" content="taxi,viden,letiste,BVV,hustopeče,superb,octavia,škoda,víno,sklípek,Morava,jižní Morava,přeprava,burčák,taxislužba,expres,zásilky,taxi šakvice, taxi kurdějov, taxi velké pavlovice, 
taxi velké němčice, taxi strachotín, taxi popice, taxi starovice, taxi starovičky, taxi zaječí, taxi diváky, taxi Horní Bojanovice, taxi Němčičky, přeprava osob"/>

<link rel="stylesheet" href="styles/default.css" type="text/css" media="screen" />
<link rel="stylesheet" href="styles/print.css" type="text/css" media="print" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<TITLE>FUN TAXI Hustopeče - přeprava osob, již 18 let vozíme vaše zadečky</TITLE>
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/cs_CZ/all.js#xfbml=1&appId=110315525708408";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script type="text/javascript" language="JavaScript" src="images/buttons/over_picture.js"></script>
<script type="text/javascript" src="lightbox/js/prototype.js"></script>
<script type="text/javascript" src="lightbox/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="lightbox/js/lightbox.js"></script>
<body>

<script type="text/javascript" language="JavaScript"> 
<!--
    op_register("cenik","images/buttons/cenik_normal.png","images/buttons/cenik_over.png");
          op_register("forum","images/buttons/forum_normal.png","images/buttons/forum_over.png");
          op_register("foto","images/buttons/foto_normal.png","images/buttons/foto_over.png");
          op_register("funtomas","images/buttons/funtomas_normal.png","images/buttons/funtomas_over.png");
        op_register("onas","images/buttons/onas_normal.png","images/buttons/onas_over.png");
            op_register("partneri","images/buttons/partneri_normal.png","images/buttons/partneri_over.png");
                op_register("zabava","images/buttons/zabava_normal.png","images/buttons/zabava_over.png");
// -->
</script>
<? 
//nastavení vzhledu


if ($id == "forum"){$banner2 = "url(\"images/banner_forum.jpg\")";}
else {$banner2 = "url(\"images/banner2.jpg\")";} 

if ($id == "cenik"){$banner2 = "url(\"images/banner_cenik.jpg\")";}

//admin page

if ($admin =="1") {$banner2 = "url(\"club/images/banner_club.gif\")";}
 else {$banner1 = "url(\"images/banner1.gif\")";}  //banner1.jpg

 if ($admin =="1") {$banner1 = "url(\"club/images/banner1_club.gif\")";}
 else {$banner1 = "url(\"images/banner1.gif\")";}  //banner.jpg
 
?>


<STYLE>

<!--body 
{background: #9999ff;
margin: 0px; 
padding: 0px;} 



#hlavni {
width: 888px;
margin: 0 auto;padding-top: 10px; 
border: 0px solid black;}
#head {
height: 170px;
width: 888 px;
text-align: right;
background-image: <? echo $banner1; ?> ;}
#banner {
height: 221px;
padding:0px 15px 0 20px ;
background-image:<? echo $banner2; ?> ;}
    #leftbanner {height: 190px;
                 float: left;
                }
                 
    #rightbanner {width: 500px;
                  border: 0px solid black;
                  height: 190px;
                  float: right;}


#okraj {
height: 26px;
width: 888 px;
background-image: url("images/okraj.gif");}
#obsah {
width: 888 px;
height: auto;
padding:5px 25px 0px 25px ;
border: 0px solid black;
background-image: url("images/pozadi.gif");}


#fotky {
width:750px;

text-align: center;    
border-width: 0px;
border-style: solid;
border-color: black;
}

#leftfotky {
 float: left;
height: auto;
width: 310px;
padding-left:55px;
border-width: 0px;
border-style: solid;
border-color: black;
                }
                
#rightfotky {
 float: right;
height: auto;
width: 310px;
border-width: 0px;
border-style: solid;
border-color: black;
                }
#end {
height: 280px;
width: 884 px;
padding:0px 10px 0px 380px ;
background-image: url("images/pata2016.gif");
clear: both;} 

--></STYLE>

</HEAD>


<div id="hlavni"> <div align="right"><img src="images/heart_small.gif" alt="" />&nbsp;<a class=small href="index.php?id=forum_viki">Viki Janošek</a>&nbsp;&nbsp;&nbsp;&nbsp;</div>


<div id="head"><span class="svatek"><br /><br /><br /><br />Dnes má svátek <script
        src="java_tatousek_cz.js" type="text/javascript"></script>,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
        blahopřejeme&nbsp;!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><br /><br />
        <? //<a class=admin href=skype:funtaxi?chat> 
           // <img src=http://mystatus.skype.com/smallicon/funtaxi style=border:none width=16 height=16 title="Skype FUN TAXI" >&nbsp;Skype</a>
           //&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />?>
        
        </div>
        
        
        
<div id="banner"><br />


<div id="leftbanner">

<?  $normalnizobrazeni = "
<a href=http://www.funtaxi.cz/index.php?SID&id=cenik >
<img name=cenik src=images/buttons/cenik_normal.png border=0  onMouseOver=op_set_over('cenik');
  onMouseOut=op_set_normal('cenik'); width=126 height=23 border=0></a><br />
<a href=index.php?SID&id=foto ><img name=foto src=images/buttons/foto_normal.png border=0
  onMouseOver=op_set_over('foto');
  onMouseOut=op_set_normal('foto');  width=126 height=23 border=0></a>  <br />
  <a href=index.php?SID&id=forum ><img name=forum src=images/buttons/forum_normal.png border=0
  onMouseOver=op_set_over('forum');
  onMouseOut=op_set_normal('forum'); width=126 height=23 border=0></a><br />
  <a href=http://www.funtaxi.cz/club/index.php?SID&id=uvod ><img name=funtomas src=images/buttons/funtomas_normal.png border=0
  onMouseOver=op_set_over('funtomas');
  onMouseOut=op_set_normal('funtomas'); width=126 height=23 border=0></a><br />
  <a href=index.php?SID&id=onas ><img name=onas src=images/buttons/onas_normal.png border=0
  onMouseOver=op_set_over('onas');
  onMouseOut=op_set_normal('onas'); width=126 height=23 border=0></a><br />
  <a href=index.php?SID&id=partneri ><img name=partneri src=images/buttons/partneri_normal.png border=0
  onMouseOver=op_set_over('partneri');
  onMouseOut=op_set_normal('partneri'); width=126 height=23 border=0></a><br />
  <a href=index.php?SID&id=zabava ><img name=zabava src=images/buttons/zabava_normal.png border=0
  onMouseOver=op_set_over('zabava');
  onMouseOut=op_set_normal('zabava'); width=126 height=23 border=0></a><img src=images/blankblue.gif />
  <a href=index.php?SID&id=uvod title=\"Na hlavní stránku\" border=0><img src=images/home.gif border=0/></a> ";

if ($admin !="1") {echo $normalnizobrazeni ;}
  else {
  echo "<br><br /><br /><br />";
  echo " 
<a class=admin href=index.php?SID&id=galerie_newphoto>New photo</a><br>
<a class=admin href=index.php?SID&id=galerie_edit>Edit photo</a><br>
<a class=admin href=index.php?SID&id=galerie_newkategorie>New kategorie</a><br>
<a class=admin href=index.php?SID&id=vysledky_ze_sms>SMS report</a><br>
<a class=admin href=index.php?SID&id=dashboard>FUNtomas club - stav kódů</a><br>
<a class=admin href=index.php?SID&id=clenove>FUNtomas club - seznam členů</a><br>
<a class=admin href=index.php?SID&id=autorizace&lo=true>Log out</a><br />
"; }?>
    
    
</div>
<div id="rightbanner"><br><br><br><br>
<? 
if ($admin =="1")
{
echo "<span class=svatek>Hi Joachim<br>YOUR IP: $REMOTE_ADDR
</span></b> ";}
?>
</div>



  
  
</div>
<div id="okraj"></div>

<div id="obsah">

<?$filename = $id . ".php"; 
                            
    if (File_Exists ($filename)):include $filename;
    else:include "uvod.php";
    endif;
    echo "<br /><br />";
    //include "pata.php";
    ?>



</div>


<?
session_start();
$sn = session_name("autorizace");

$_session['sid'];
$_session['prihlaseny'];
$_session['idprihlaseneho'];
$_session['jmeno'];
$_session['admin'];
$_session['heslo'];
$_session['id'];
if (!isset($id)) $id = -1;

if (!isset($admin)) $admin = '';

?>


<!doctype html public "-//w3c//dtd xhtml 1.1//en"
"http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250" />
<meta name="description" content="fun taxi hustopeče" />
<meta name="robots" content="all, follow"/>
<meta name="author" content="fun taxi hustopeče janošek " />
<meta name="keywords" content="taxi,viden,letiste,bvv,hustopeče,superb,octavia,škoda,víno,sklípek,morava,jižní morava,přeprava,burčák,taxislužba,expres,zásilky,taxi šakvice, taxi kurdějov, taxi velké pavlovice, 
taxi velké němčice, taxi strachotín, taxi popice, taxi starovice, taxi starovičky, taxi zaječí, taxi diváky, taxi horní bojanovice, taxi němčičky, přeprava osob"/>

<link rel="stylesheet" href="styles/default.css" type="text/css" media="screen" />
<link rel="stylesheet" href="styles/print.css" type="text/css" media="print" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<title>fun taxi hustopeče - přeprava osob, již 18 let vozíme vaše zadečky</title>
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getelementsbytagname(s)[0];
  if (d.getelementbyid(id)) return;
  js = d.createelement(s); js.id = id;
  js.src = "//connect.facebook.net/cs_cz/all.js#xfbml=1&appid=110315525708408";
  fjs.parentnode.insertbefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script type="text/javascript" language="javascript" src="images/buttons/over_picture.js"></script>
<script type="text/javascript" src="lightbox/js/prototype.js"></script>
<script type="text/javascript" src="lightbox/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="lightbox/js/lightbox.js"></script>
<body>

<script type="text/javascript" language="javascript"> 
<!--
    op_register("cenik","images/buttons/cenik_normal.png","images/buttons/cenik_over.png");
          op_register("forum","images/buttons/forum_normal.png","images/buttons/forum_over.png");
          op_register("foto","images/buttons/foto_normal.png","images/buttons/foto_over.png");
          op_register("funtomas","images/buttons/funtomas_normal.png","images/buttons/funtomas_over.png");
        op_register("onas","images/buttons/onas_normal.png","images/buttons/onas_over.png");
            op_register("partneri","images/buttons/partneri_normal.png","images/buttons/partneri_over.png");
                op_register("zabava","images/buttons/zabava_normal.png","images/buttons/zabava_over.png");
// -->
</script>
<? 
//nastavení vzhledu


if ($id == "forum"){$banner2 = "url(\"images/banner_forum.jpg\")";}
else {$banner2 = "url(\"images/banner2.jpg\")";} 

if ($id == "cenik"){$banner2 = "url(\"images/banner_cenik.jpg\")";}

//admin page

if ($admin =="1") {$banner2 = "url(\"club/images/banner_club.gif\")";}
 else {$banner1 = "url(\"images/banner1.gif\")";}  //banner1.jpg

 if ($admin =="1") {$banner1 = "url(\"club/images/banner1_club.gif\")";}
 else {$banner1 = "url(\"images/banner1.gif\")";}  //banner.jpg
 
?>


<style>

<!--body 
{background: #9999ff;
margin: 0px; 
padding: 0px;} 



#hlavni {
width: 888px;
margin: 0 auto;padding-top: 10px; 
border: 0px solid black;}
#head {
height: 170px;
width: 888 px;
text-align: right;
background-image: <? echo $banner1; ?> ;}
#banner {
height: 221px;
padding:0px 15px 0 20px ;
background-image:<? echo $banner2; ?> ;}
    #leftbanner {height: 190px;
                 float: left;
                }
                 
    #rightbanner {width: 500px;
                  border: 0px solid black;
                  height: 190px;
                  float: right;}


#okraj {
height: 26px;
width: 888 px;
background-image: url("images/okraj.gif");}
#obsah {
width: 888 px;
height: auto;
padding:5px 25px 0px 25px ;
border: 0px solid black;
background-image: url("images/pozadi.gif");}


#fotky {
width:750px;

text-align: center;    
border-width: 0px;
border-style: solid;
border-color: black;
}

#leftfotky {
 float: left;
height: auto;
width: 310px;
padding-left:55px;
border-width: 0px;
border-style: solid;
border-color: black;
                }
                
#rightfotky {
 float: right;
height: auto;
width: 310px;
border-width: 0px;
border-style: solid;
border-color: black;
                }
#end {
height: 280px;
width: 884 px;
padding:0px 10px 0px 380px ;
background-image: url("images/pata2016.gif");
clear: both;} 

--></style>

</head>


<div id="hlavni"> <div align="right"><img src="images/heart_small.gif" alt="" />&nbsp;<a class=small href="index.php?id=forum_viki">viki janošek</a>&nbsp;&nbsp;&nbsp;&nbsp;</div>


<div id="head"><span class="svatek"><br /><br /><br /><br />dnes má svátek <script
        src="java_tatousek_cz.js" type="text/javascript"></script>,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
        blahopřejeme&nbsp;!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><br /><br />
        <? //<a class=admin href=skype:funtaxi?chat> 
           // <img src=http://mystatus.skype.com/smallicon/funtaxi style=border:none width=16 height=16 title="skype fun taxi" >&nbsp;skype</a>
           //&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />?>
        
        </div>
        
        
        
<div id="banner"><br />


<div id="leftbanner">

<?  $normalnizobrazeni = "
<a href=http://www.funtaxi.cz/index.php?sid&id=cenik >
<img name=cenik src=images/buttons/cenik_normal.png border=0  onmouseover=op_set_over('cenik');
  onmouseout=op_set_normal('cenik'); width=126 height=23 border=0></a><br />
<a href=index.php?sid&id=foto ><img name=foto src=images/buttons/foto_normal.png border=0
  onmouseover=op_set_over('foto');
  onmouseout=op_set_normal('foto');  width=126 height=23 border=0></a>  <br />
  <a href=index.php?sid&id=forum ><img name=forum src=images/buttons/forum_normal.png border=0
  onmouseover=op_set_over('forum');
  onmouseout=op_set_normal('forum'); width=126 height=23 border=0></a><br />
  <a href=http://www.funtaxi.cz/club/index.php?sid&id=uvod ><img name=funtomas src=images/buttons/funtomas_normal.png border=0
  onmouseover=op_set_over('funtomas');
  onmouseout=op_set_normal('funtomas'); width=126 height=23 border=0></a><br />
  <a href=index.php?sid&id=onas ><img name=onas src=images/buttons/onas_normal.png border=0
  onmouseover=op_set_over('onas');
  onmouseout=op_set_normal('onas'); width=126 height=23 border=0></a><br />
  <a href=index.php?sid&id=partneri ><img name=partneri src=images/buttons/partneri_normal.png border=0
  onmouseover=op_set_over('partneri');
  onmouseout=op_set_normal('partneri'); width=126 height=23 border=0></a><br />
  <a href=index.php?sid&id=zabava ><img name=zabava src=images/buttons/zabava_normal.png border=0
  onmouseover=op_set_over('zabava');
  onmouseout=op_set_normal('zabava'); width=126 height=23 border=0></a><img src=images/blankblue.gif />
  <a href=index.php?sid&id=uvod title=\"na hlavní stránku\" border=0><img src=images/home.gif border=0/></a> ";

if ($admin !="1") {echo $normalnizobrazeni ;}
  else {
  echo "<br><br /><br /><br />";
  echo " 
<a class=admin href=index.php?sid&id=galerie_newphoto>new photo</a><br>
<a class=admin href=index.php?sid&id=galerie_edit>edit photo</a><br>
<a class=admin href=index.php?sid&id=galerie_newkategorie>new kategorie</a><br>
<a class=admin href=index.php?sid&id=vysledky_ze_sms>sms report</a><br>
<a class=admin href=index.php?sid&id=dashboard>funtomas club - stav kódů</a><br>
<a class=admin href=index.php?sid&id=clenove>funtomas club - seznam členů</a><br>
<a class=admin href=index.php?sid&id=autorizace&lo=true>log out</a><br />
"; }?>
    
    
</div>
<div id="rightbanner"><br><br><br><br>
<? 
if ($admin =="1")
{
echo "<span class=svatek>hi joachim<br>your ip: $remote_addr
</span></b> ";}
?>
</div>



  
  
</div>
<div id="okraj"></div>

<div id="obsah">

<?$filename = $id . ".php"; 
                            
    if (file_exists ($filename)):include $filename;
    else:include "uvod.php";
    endif;
    echo "<br /><br />";
    //include "pata.php";
    ?>



</div>


<?
session_start();
$sn = session_name("autorizace");

$_session['sid'];
$_session['prihlaseny'];
$_session['idprihlaseneho'];
$_session['jmeno'];
$_session['admin'];
$_session['heslo'];
$_session['id'];
if (!isset($id)) $id = -1;

if (!isset($admin)) $admin = '';

?>


<!doctype html public "-//w3c//dtd xhtml 1.1//en"
"http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250" />
<meta name="description" content="fun taxi hustopeče" />
<meta name="robots" content="all, follow"/>
<meta name="author" content="fun taxi hustopeče janošek " />
<meta name="keywords" content="taxi,viden,letiste,bvv,hustopeče,superb,octavia,škoda,víno,sklípek,morava,jižní morava,přeprava,burčák,taxislužba,expres,zásilky,taxi šakvice, taxi kurdějov, taxi velké pavlovice, 
taxi velké němčice, taxi strachotín, taxi popice, taxi starovice, taxi starovičky, taxi zaječí, taxi diváky, taxi horní bojanovice, taxi němčičky, přeprava osob"/>

<link rel="stylesheet" href="styles/default.css" type="text/css" media="screen" />
<link rel="stylesheet" href="styles/print.css" type="text/css" media="print" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<title>fun taxi hustopeče - přeprava osob, již 18 let vozíme vaše zadečky</title>
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getelementsbytagname(s)[0];
  if (d.getelementbyid(id)) return;
  js = d.createelement(s); js.id = id;
  js.src = "//connect.facebook.net/cs_cz/all.js#xfbml=1&appid=110315525708408";
  fjs.parentnode.insertbefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script type="text/javascript" language="javascript" src="images/buttons/over_picture.js"></script>
<script type="text/javascript" src="lightbox/js/prototype.js"></script>
<script type="text/javascript" src="lightbox/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="lightbox/js/lightbox.js"></script>
<body>

<script type="text/javascript" language="javascript"> 
<!--
    op_register("cenik","images/buttons/cenik_normal.png","images/buttons/cenik_over.png");
          op_register("forum","images/buttons/forum_normal.png","images/buttons/forum_over.png");
          op_register("foto","images/buttons/foto_normal.png","images/buttons/foto_over.png");
          op_register("funtomas","images/buttons/funtomas_normal.png","images/buttons/funtomas_over.png");
        op_register("onas","images/buttons/onas_normal.png","images/buttons/onas_over.png");
            op_register("partneri","images/buttons/partneri_normal.png","images/buttons/partneri_over.png");
                op_register("zabava","images/buttons/zabava_normal.png","images/buttons/zabava_over.png");
// -->
</script>
<? 
//nastavení vzhledu


if ($id == "forum"){$banner2 = "url(\"images/banner_forum.jpg\")";}
else {$banner2 = "url(\"images/banner2.jpg\")";} 

if ($id == "cenik"){$banner2 = "url(\"images/banner_cenik.jpg\")";}

//admin page

if ($admin =="1") {$banner2 = "url(\"club/images/banner_club.gif\")";}
 else {$banner1 = "url(\"images/banner1.gif\")";}  //banner1.jpg

 if ($admin =="1") {$banner1 = "url(\"club/images/banner1_club.gif\")";}
 else {$banner1 = "url(\"images/banner1.gif\")";}  //banner.jpg
 
?>


<style>

<!--body 
{background: #9999ff;
margin: 0px; 
padding: 0px;} 



#hlavni {
width: 888px;
margin: 0 auto;padding-top: 10px; 
border: 0px solid black;}
#head {
height: 170px;
width: 888 px;
text-align: right;
background-image: <? echo $banner1; ?> ;}
#banner {
height: 221px;
padding:0px 15px 0 20px ;
background-image:<? echo $banner2; ?> ;}
    #leftbanner {height: 190px;
                 float: left;
                }
                 
    #rightbanner {width: 500px;
                  border: 0px solid black;
                  height: 190px;
                  float: right;}


#okraj {
height: 26px;
width: 888 px;
background-image: url("images/okraj.gif");}
#obsah {
width: 888 px;
height: auto;
padding:5px 25px 0px 25px ;
border: 0px solid black;
background-image: url("images/pozadi.gif");}


#fotky {
width:750px;

text-align: center;    
border-width: 0px;
border-style: solid;
border-color: black;
}

#leftfotky {
 float: left;
height: auto;
width: 310px;
padding-left:55px;
border-width: 0px;
border-style: solid;
border-color: black;
                }
                
#rightfotky {
 float: right;
height: auto;
width: 310px;
border-width: 0px;
border-style: solid;
border-color: black;
                }
#end {
height: 280px;
width: 884 px;
padding:0px 10px 0px 380px ;
background-image: url("images/pata2016.gif");
clear: both;} 

--></style>

</head>


<div id="hlavni"> <div align="right"><img src="images/heart_small.gif" alt="" />&nbsp;<a class=small href="index.php?id=forum_viki">viki janošek</a>&nbsp;&nbsp;&nbsp;&nbsp;</div>


<div id="head"><span class="svatek"><br /><br /><br /><br />dnes má svátek <script
        src="java_tatousek_cz.js" type="text/javascript"></script>,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
        blahopřejeme&nbsp;!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><br /><br />
        <? //<a class=admin href=skype:funtaxi?chat> 
           // <img src=http://mystatus.skype.com/smallicon/funtaxi style=border:none width=16 height=16 title="skype fun taxi" >&nbsp;skype</a>
           //&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />?>
        
        </div>
        
        
        
<div id="banner"><br />


<div id="leftbanner">

<?  $normalnizobrazeni = "
<a href=http://www.funtaxi.cz/index.php?sid&id=cenik >
<img name=cenik src=images/buttons/cenik_normal.png border=0  onmouseover=op_set_over('cenik');
  onmouseout=op_set_normal('cenik'); width=126 height=23 border=0></a><br />
<a href=index.php?sid&id=foto ><img name=foto src=images/buttons/foto_normal.png border=0
  onmouseover=op_set_over('foto');
  onmouseout=op_set_normal('foto');  width=126 height=23 border=0></a>  <br />
  <a href=index.php?sid&id=forum ><img name=forum src=images/buttons/forum_normal.png border=0
  onmouseover=op_set_over('forum');
  onmouseout=op_set_normal('forum'); width=126 height=23 border=0></a><br />
  <a href=http://www.funtaxi.cz/club/index.php?sid&id=uvod ><img name=funtomas src=images/buttons/funtomas_normal.png border=0
  onmouseover=op_set_over('funtomas');
  onmouseout=op_set_normal('funtomas'); width=126 height=23 border=0></a><br />
  <a href=index.php?sid&id=onas ><img name=onas src=images/buttons/onas_normal.png border=0
  onmouseover=op_set_over('onas');
  onmouseout=op_set_normal('onas'); width=126 height=23 border=0></a><br />
  <a href=index.php?sid&id=partneri ><img name=partneri src=images/buttons/partneri_normal.png border=0
  onmouseover=op_set_over('partneri');
  onmouseout=op_set_normal('partneri'); width=126 height=23 border=0></a><br />
  <a href=index.php?sid&id=zabava ><img name=zabava src=images/buttons/zabava_normal.png border=0
  onmouseover=op_set_over('zabava');
  onmouseout=op_set_normal('zabava'); width=126 height=23 border=0></a><img src=images/blankblue.gif />
  <a href=index.php?sid&id=uvod title=\"na hlavní stránku\" border=0><img src=images/home.gif border=0/></a> ";

if ($admin !="1") {echo $normalnizobrazeni ;}
  else {
  echo "<br><br /><br /><br />";
  echo " 
<a class=admin href=index.php?sid&id=galerie_newphoto>new photo</a><br>
<a class=admin href=index.php?sid&id=galerie_edit>edit photo</a><br>
<a class=admin href=index.php?sid&id=galerie_newkategorie>new kategorie</a><br>
<a class=admin href=index.php?sid&id=vysledky_ze_sms>sms report</a><br>
<a class=admin href=index.php?sid&id=dashboard>funtomas club - stav kódů</a><br>
<a class=admin href=index.php?sid&id=clenove>funtomas club - seznam členů</a><br>
<a class=admin href=index.php?sid&id=autorizace&lo=true>log out</a><br />
"; }?>
    
    
</div>
<div id="rightbanner"><br><br><br><br>
<? 
if ($admin =="1")
{
echo "<span class=svatek>hi joachim<br>your ip: $remote_addr
</span></b> ";}
?>
</div>



  
  
</div>
<div id="okraj"></div>

<div id="obsah">

<?$filename = $id . ".php"; 
                            
    if (file_exists ($filename)):include $filename;
    else:include "uvod.php";
    endif;
    echo "<br /><br />";
    //include "pata.php";
    ?>



</div>


tady je kód indexu

<?
session_start();
$sn = session_name("autorizace");

$_session['sid'];
$_session['prihlaseny'];
$_session['idprihlaseneho'];
$_session['jmeno'];
$_session['admin'];
$_session['heslo'];
$_session['id'];
if (!isset($id)) $id = -1;

if (!isset($admin)) $admin = '';

?>


<!doctype html public "-//w3c//dtd xhtml 1.1//en"
"http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250" />
<meta name="description" content="fun taxi hustopeče" />
<meta name="robots" content="all, follow"/>
<meta name="author" content="fun taxi hustopeče janošek " />
<meta name="keywords" content="taxi,viden,letiste,bvv,hustopeče,superb,octavia,škoda,víno,sklípek,morava,jižní morava,přeprava,burčák,taxislužba,expres,zásilky,taxi šakvice, taxi kurdějov, taxi velké pavlovice, 
taxi velké němčice, taxi strachotín, taxi popice, taxi starovice, taxi starovičky, taxi zaječí, taxi diváky, taxi horní bojanovice, taxi němčičky, přeprava osob"/>

<link rel="stylesheet" href="styles/default.css" type="text/css" media="screen" />
<link rel="stylesheet" href="styles/print.css" type="text/css" media="print" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<title>fun taxi hustopeče - přeprava osob, již 18 let vozíme vaše zadečky</title>
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getelementsbytagname(s)[0];
  if (d.getelementbyid(id)) return;
  js = d.createelement(s); js.id = id;
  js.src = "//connect.facebook.net/cs_cz/all.js#xfbml=1&appid=110315525708408";
  fjs.parentnode.insertbefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script type="text/javascript" language="javascript" src="images/buttons/over_picture.js"></script>
<script type="text/javascript" src="lightbox/js/prototype.js"></script>
<script type="text/javascript" src="lightbox/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="lightbox/js/lightbox.js"></script>
<body>

<script type="text/javascript" language="javascript"> 
<!--
    op_register("cenik","images/buttons/cenik_normal.png","images/buttons/cenik_over.png");
          op_register("forum","images/buttons/forum_normal.png","images/buttons/forum_over.png");
          op_register("foto","images/buttons/foto_normal.png","images/buttons/foto_over.png");
          op_register("funtomas","images/buttons/funtomas_normal.png","images/buttons/funtomas_over.png");
        op_register("onas","images/buttons/onas_normal.png","images/buttons/onas_over.png");
            op_register("partneri","images/buttons/partneri_normal.png","images/buttons/partneri_over.png");
                op_register("zabava","images/buttons/zabava_normal.png","images/buttons/zabava_over.png");
// -->
</script>
<? 
//nastavení vzhledu


if ($id == "forum"){$banner2 = "url(\"images/banner_forum.jpg\")";}
else {$banner2 = "url(\"images/banner2.jpg\")";} 

if ($id == "cenik"){$banner2 = "url(\"images/banner_cenik.jpg\")";}

//admin page

if ($admin =="1") {$banner2 = "url(\"club/images/banner_club.gif\")";}
 else {$banner1 = "url(\"images/banner1.gif\")";}  //banner1.jpg

 if ($admin =="1") {$banner1 = "url(\"club/images/banner1_club.gif\")";}
 else {$banner1 = "url(\"images/banner1.gif\")";}  //banner.jpg
 
?>


<style>

<!--body 
{background: #9999ff;
margin: 0px; 
padding: 0px;} 



#hlavni {
width: 888px;
margin: 0 auto;padding-top: 10px; 
border: 0px solid black;}
#head {
height: 170px;
width: 888 px;
text-align: right;
background-image: <? echo $banner1; ?> ;}
#banner {
height: 221px;
padding:0px 15px 0 20px ;
background-image:<? echo $banner2; ?> ;}
    #leftbanner {height: 190px;
                 float: left;
                }
                 
    #rightbanner {width: 500px;
                  border: 0px solid black;
                  height: 190px;
                  float: right;}


#okraj {
height: 26px;
width: 888 px;
background-image: url("images/okraj.gif");}
#obsah {
width: 888 px;
height: auto;
padding:5px 25px 0px 25px ;
border: 0px solid black;
background-image: url("images/pozadi.gif");}


#fotky {
width:750px;

text-align: center;    
border-width: 0px;
border-style: solid;
border-color: black;
}

#leftfotky {
 float: left;
height: auto;
width: 310px;
padding-left:55px;
border-width: 0px;
border-style: solid;
border-color: black;
                }
                
#rightfotky {
 float: right;
height: auto;
width: 310px;
border-width: 0px;
border-style: solid;
border-color: black;
                }
#end {
height: 280px;
width: 884 px;
padding:0px 10px 0px 380px ;
background-image: url("images/pata2016.gif");
clear: both;} 

--></style>

</head>


<div id="hlavni"> <div align="right"><img src="images/heart_small.gif" alt="" />&nbsp;<a class=small href="index.php?id=forum_viki">viki janošek</a>&nbsp;&nbsp;&nbsp;&nbsp;</div>


<div id="head"><span class="svatek"><br /><br /><br /><br />dnes má svátek <script
        src="java_tatousek_cz.js" type="text/javascript"></script>,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
        blahopřejeme&nbsp;!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><br /><br />
        <? //<a class=admin href=skype:funtaxi?chat> 
           // <img src=http://mystatus.skype.com/smallicon/funtaxi style=border:none width=16 height=16 title="skype fun taxi" >&nbsp;skype</a>
           //&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />?>
        
        </div>
        
        
        
<div id="banner"><br />


<div id="leftbanner">

<?  $normalnizobrazeni = "
<a href=http://www.funtaxi.cz/index.php?sid&id=cenik >
<img name=cenik src=images/buttons/cenik_normal.png border=0  onmouseover=op_set_over('cenik');
  onmouseout=op_set_normal('cenik'); width=126 height=23 border=0></a><br />
<a href=index.php?sid&id=foto ><img name=foto src=images/buttons/foto_normal.png border=0
  onmouseover=op_set_over('foto');
  onmouseout=op_set_normal('foto');  width=126 height=23 border=0></a>  <br />
  <a href=index.php?sid&id=forum ><img name=forum src=images/buttons/forum_normal.png border=0
  onmouseover=op_set_over('forum');
  onmouseout=op_set_normal('forum'); width=126 height=23 border=0></a><br />
  <a href=http://www.funtaxi.cz/club/index.php?sid&id=uvod ><img name=funtomas src=images/buttons/funtomas_normal.png border=0
  onmouseover=op_set_over('funtomas');
  onmouseout=op_set_normal('funtomas'); width=126 height=23 border=0></a><br />
  <a href=index.php?sid&id=onas ><img name=onas src=images/buttons/onas_normal.png border=0
  onmouseover=op_set_over('onas');
  onmouseout=op_set_normal('onas'); width=126 height=23 border=0></a><br />
  <a href=index.php?sid&id=partneri ><img name=partneri src=images/buttons/partneri_normal.png border=0
  onmouseover=op_set_over('partneri');
  onmouseout=op_set_normal('partneri'); width=126 height=23 border=0></a><br />
  <a href=index.php?sid&id=zabava ><img name=zabava src=images/buttons/zabava_normal.png border=0
  onmouseover=op_set_over('zabava');
  onmouseout=op_set_normal('zabava'); width=126 height=23 border=0></a><img src=images/blankblue.gif />
  <a href=index.php?sid&id=uvod title=\"na hlavní stránku\" border=0><img src=images/home.gif border=0/></a> ";

if ($admin !="1") {echo $normalnizobrazeni ;}
  else {
  echo "<br><br /><br /><br />";
  echo " 
<a class=admin href=index.php?sid&id=galerie_newphoto>new photo</a><br>
<a class=admin href=index.php?sid&id=galerie_edit>edit photo</a><br>
<a class=admin href=index.php?sid&id=galerie_newkategorie>new kategorie</a><br>
<a class=admin href=index.php?sid&id=vysledky_ze_sms>sms report</a><br>
<a class=admin href=index.php?sid&id=dashboard>funtomas club - stav kódů</a><br>
<a class=admin href=index.php?sid&id=clenove>funtomas club - seznam členů</a><br>
<a class=admin href=index.php?sid&id=autorizace&lo=true>log out</a><br />
"; }?>
    
    
</div>
<div id="rightbanner"><br><br><br><br>
<? 
if ($admin =="1")
{
echo "<span class=svatek>hi joachim<br>your ip: $remote_addr
</span></b> ";}
?>
</div>



  
  
</div>
<div id="okraj"></div>

<div id="obsah">

<?$filename = $id . ".php"; 
                            
    if (file_exists ($filename)):include $filename;
    else:include "uvod.php";
    endif;
    echo "<br /><br />";
    //include "pata.php";
    ?>



</div>


tady je kód indexu

<?
session_start();
$sn = session_name("autorizace");

$_session['sid'];
$_session['prihlaseny'];
$_session['idprihlaseneho'];
$_session['jmeno'];
$_session['admin'];
$_session['heslo'];
$_session['id'];
if (!isset($id)) $id = -1;

if (!isset($admin)) $admin = '';

?>


<!doctype html public "-//w3c//dtd xhtml 1.1//en"
"http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250" />
<meta name="description" content="fun taxi hustopeče" />
<meta name="robots" content="all, follow"/>
<meta name="author" content="fun taxi hustopeče janošek " />
<meta name="keywords" content="taxi,viden,letiste,bvv,hustopeče,superb,octavia,škoda,víno,sklípek,morava,jižní morava,přeprava,burčák,taxislužba,expres,zásilky,taxi šakvice, taxi kurdějov, taxi velké pavlovice, 
taxi velké němčice, taxi strachotín, taxi popice, taxi starovice, taxi starovičky, taxi zaječí, taxi diváky, taxi horní bojanovice, taxi němčičky, přeprava osob"/>

<link rel="stylesheet" href="styles/default.css" type="text/css" media="screen" />
<link rel="stylesheet" href="styles/print.css" type="text/css" media="print" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<title>fun taxi hustopeče - přeprava osob, již 18 let vozíme vaše zadečky</title>
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getelementsbytagname(s)[0];
  if (d.getelementbyid(id)) return;
  js = d.createelement(s); js.id = id;
  js.src = "//connect.facebook.net/cs_cz/all.js#xfbml=1&appid=110315525708408";
  fjs.parentnode.insertbefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script type="text/javascript" language="javascript" src="images/buttons/over_picture.js"></script>
<script type="text/javascript" src="lightbox/js/prototype.js"></script>
<script type="text/javascript" src="lightbox/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="lightbox/js/lightbox.js"></script>
<body>

<script type="text/javascript" language="javascript"> 
<!--
    op_register("cenik","images/buttons/cenik_normal.png","images/buttons/cenik_over.png");
          op_register("forum","images/buttons/forum_normal.png","images/buttons/forum_over.png");
          op_register("foto","images/buttons/foto_normal.png","images/buttons/foto_over.png");
          op_register("funtomas","images/buttons/funtomas_normal.png","images/buttons/funtomas_over.png");
        op_register("onas","images/buttons/onas_normal.png","images/buttons/onas_over.png");
            op_register("partneri","images/buttons/partneri_normal.png","images/buttons/partneri_over.png");
                op_register("zabava","images/buttons/zabava_normal.png","images/buttons/zabava_over.png");
// -->
</script>
<? 
//nastavení vzhledu


if ($id == "forum"){$banner2 = "url(\"images/banner_forum.jpg\")";}
else {$banner2 = "url(\"images/banner2.jpg\")";} 

if ($id == "cenik"){$banner2 = "url(\"images/banner_cenik.jpg\")";}

//admin page

if ($admin =="1") {$banner2 = "url(\"club/images/banner_club.gif\")";}
 else {$banner1 = "url(\"images/banner1.gif\")";}  //banner1.jpg

 if ($admin =="1") {$banner1 = "url(\"club/images/banner1_club.gif\")";}
 else {$banner1 = "url(\"images/banner1.gif\")";}  //banner.jpg
 
?>


<style>

<!--body 
{background: #9999ff;
margin: 0px; 
padding: 0px;} 



#hlavni {
width: 888px;
margin: 0 auto;padding-top: 10px; 
border: 0px solid black;}
#head {
height: 170px;
width: 888 px;
text-align: right;
background-image: <? echo $banner1; ?> ;}
#banner {
height: 221px;
padding:0px 15px 0 20px ;
background-image:<? echo $banner2; ?> ;}
    #leftbanner {height: 190px;
                 float: left;
                }
                 
    #rightbanner {width: 500px;
                  border: 0px solid black;
                  height: 190px;
                  float: right;}


#okraj {
height: 26px;
width: 888 px;
background-image: url("images/okraj.gif");}
#obsah {
width: 888 px;
height: auto;
padding:5px 25px 0px 25px ;
border: 0px solid black;
background-image: url("images/pozadi.gif");}


#fotky {
width:750px;

text-align: center;    
border-width: 0px;
border-style: solid;
border-color: black;
}

#leftfotky {
 float: left;
height: auto;
width: 310px;
padding-left:55px;
border-width: 0px;
border-style: solid;
border-color: black;
                }
                
#rightfotky {
 float: right;
height: auto;
width: 310px;
border-width: 0px;
border-style: solid;
border-color: black;
                }
#end {
height: 280px;
width: 884 px;
padding:0px 10px 0px 380px ;
background-image: url("images/pata2016.gif");
clear: both;} 

--></style>

</head>


<div id="hlavni"> <div align="right"><img src="images/heart_small.gif" alt="" />&nbsp;<a class=small href="index.php?id=forum_viki">viki janošek</a>&nbsp;&nbsp;&nbsp;&nbsp;</div>


<div id="head"><span class="svatek"><br /><br /><br /><br />dnes má svátek <script
        src="java_tatousek_cz.js" type="text/javascript"></script>,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
        blahopřejeme&nbsp;!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><br /><br />
        <? //<a class=admin href=skype:funtaxi?chat> 
           // <img src=http://mystatus.skype.com/smallicon/funtaxi style=border:none width=16 height=16 title="skype fun taxi" >&nbsp;skype</a>
           //&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />?>
        
        </div>
        
        
        
<div id="banner"><br />


<div id="leftbanner">

<?  $normalnizobrazeni = "
<a href=http://www.funtaxi.cz/index.php?sid&id=cenik >
<img name=cenik src=images/buttons/cenik_normal.png border=0  onmouseover=op_set_over('cenik');
  onmouseout=op_set_normal('cenik'); width=126 height=23 border=0></a><br />
<a href=index.php?sid&id=foto ><img name=foto src=images/buttons/foto_normal.png border=0
  onmouseover=op_set_over('foto');
  onmouseout=op_set_normal('foto');  width=126 height=23 border=0></a>  <br />
  <a href=index.php?sid&id=forum ><img name=forum src=images/buttons/forum_normal.png border=0
  onmouseover=op_set_over('forum');
  onmouseout=op_set_normal('forum'); width=126 height=23 border=0></a><br />
  <a href=http://www.funtaxi.cz/club/index.php?sid&id=uvod ><img name=funtomas src=images/buttons/funtomas_normal.png border=0
  onmouseover=op_set_over('funtomas');
  onmouseout=op_set_normal('funtomas'); width=126 height=23 border=0></a><br />
  <a href=index.php?sid&id=onas ><img name=onas src=images/buttons/onas_normal.png border=0
  onmouseover=op_set_over('onas');
  onmouseout=op_set_normal('onas'); width=126 height=23 border=0></a><br />
  <a href=index.php?sid&id=partneri ><img name=partneri src=images/buttons/partneri_normal.png border=0
  onmouseover=op_set_over('partneri');
  onmouseout=op_set_normal('partneri'); width=126 height=23 border=0></a><br />
  <a href=index.php?sid&id=zabava ><img name=zabava src=images/buttons/zabava_normal.png border=0
  onmouseover=op_set_over('zabava');
  onmouseout=op_set_normal('zabava'); width=126 height=23 border=0></a><img src=images/blankblue.gif />
  <a href=index.php?sid&id=uvod title=\"na hlavní stránku\" border=0><img src=images/home.gif border=0/></a> ";

if ($admin !="1") {echo $normalnizobrazeni ;}
  else {
  echo "<br><br /><br /><br />";
  echo " 
<a class=admin href=index.php?sid&id=galerie_newphoto>new photo</a><br>
<a class=admin href=index.php?sid&id=galerie_edit>edit photo</a><br>
<a class=admin href=index.php?sid&id=galerie_newkategorie>new kategorie</a><br>
<a class=admin href=index.php?sid&id=vysledky_ze_sms>sms report</a><br>
<a class=admin href=index.php?sid&id=dashboard>funtomas club - stav kódů</a><br>
<a class=admin href=index.php?sid&id=clenove>funtomas club - seznam členů</a><br>
<a class=admin href=index.php?sid&id=autorizace&lo=true>log out</a><br />
"; }?>
    
    
</div>
<div id="rightbanner"><br><br><br><br>
<? 
if ($admin =="1")
{
echo "<span class=svatek>hi joachim<br>your ip: $remote_addr
</span></b> ";}
?>
</div>



  
  
</div>
<div id="okraj"></div>

<div id="obsah">

<?$filename = $id . ".php"; 
                            
    if (file_exists ($filename)):include $filename;
    else:include "uvod.php";
    endif;
    echo "<br /><br />";
    //include "pata.php";
    ?>



</div>

[sun mar 12 16:12:35 2017] [warn] [client 212.96.174.159] mod_fcgid: stderr: php notice: undefined variable: im in /var/www/vhosts/funtaxi.cz/httpdocs/galerie_thumbnail_galerie.php on line 6, referer: www.funtaxi.cz/index.php?sid&id=partneri

tady je kód indexu

<?
session_start();
$sn = session_name("autorizace");

$_session['sid'];
$_session['prihlaseny'];
$_session['idprihlaseneho'];
$_session['jmeno'];
$_session['admin'];
$_session['heslo'];
$_session['id'];
if (!isset($id)) $id = -1;

if (!isset($admin)) $admin = '';

?>


<!doctype html public "-//w3c//dtd xhtml 1.1//en"
"http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250" />
<meta name="description" content="fun taxi hustopeče" />
<meta name="robots" content="all, follow"/>
<meta name="author" content="fun taxi hustopeče janošek " />
<meta name="keywords" content="taxi,viden,letiste,bvv,hustopeče,superb,octavia,škoda,víno,sklípek,morava,jižní morava,přeprava,burčák,taxislužba,expres,zásilky,taxi šakvice, taxi kurdějov, taxi velké pavlovice, 
taxi velké němčice, taxi strachotín, taxi popice, taxi starovice, taxi starovičky, taxi zaječí, taxi diváky, taxi horní bojanovice, taxi němčičky, přeprava osob"/>

<link rel="stylesheet" href="styles/default.css" type="text/css" media="screen" />
<link rel="stylesheet" href="styles/print.css" type="text/css" media="print" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<title>fun taxi hustopeče - přeprava osob, již 18 let vozíme vaše zadečky</title>
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getelementsbytagname(s)[0];
  if (d.getelementbyid(id)) return;
  js = d.createelement(s); js.id = id;
  js.src = "//connect.facebook.net/cs_cz/all.js#xfbml=1&appid=110315525708408";
  fjs.parentnode.insertbefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script type="text/javascript" language="javascript" src="images/buttons/over_picture.js"></script>
<script type="text/javascript" src="lightbox/js/prototype.js"></script>
<script type="text/javascript" src="lightbox/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="lightbox/js/lightbox.js"></script>
<body>

<script type="text/javascript" language="javascript"> 
<!--
    op_register("cenik","images/buttons/cenik_normal.png","images/buttons/cenik_over.png");
          op_register("forum","images/buttons/forum_normal.png","images/buttons/forum_over.png");
          op_register("foto","images/buttons/foto_normal.png","images/buttons/foto_over.png");
          op_register("funtomas","images/buttons/funtomas_normal.png","images/buttons/funtomas_over.png");
        op_register("onas","images/buttons/onas_normal.png","images/buttons/onas_over.png");
            op_register("partneri","images/buttons/partneri_normal.png","images/buttons/partneri_over.png");
                op_register("zabava","images/buttons/zabava_normal.png","images/buttons/zabava_over.png");
// -->
</script>
<? 
//nastavení vzhledu


if ($id == "forum"){$banner2 = "url(\"images/banner_forum.jpg\")";}
else {$banner2 = "url(\"images/banner2.jpg\")";} 

if ($id == "cenik"){$banner2 = "url(\"images/banner_cenik.jpg\")";}

//admin page

if ($admin =="1") {$banner2 = "url(\"club/images/banner_club.gif\")";}
 else {$banner1 = "url(\"images/banner1.gif\")";}  //banner1.jpg

 if ($admin =="1") {$banner1 = "url(\"club/images/banner1_club.gif\")";}
 else {$banner1 = "url(\"images/banner1.gif\")";}  //banner.jpg
 
?>


<style>

<!--body 
{background: #9999ff;
margin: 0px; 
padding: 0px;} 



#hlavni {
width: 888px;
margin: 0 auto;padding-top: 10px; 
border: 0px solid black;}
#head {
height: 170px;
width: 888 px;
text-align: right;
background-image: <? echo $banner1; ?> ;}
#banner {
height: 221px;
padding:0px 15px 0 20px ;
background-image:<? echo $banner2; ?> ;}
    #leftbanner {height: 190px;
                 float: left;
                }
                 
    #rightbanner {width: 500px;
                  border: 0px solid black;
                  height: 190px;
                  float: right;}


#okraj {
height: 26px;
width: 888 px;
background-image: url("images/okraj.gif");}
#obsah {
width: 888 px;
height: auto;
padding:5px 25px 0px 25px ;
border: 0px solid black;
background-image: url("images/pozadi.gif");}


#fotky {
width:750px;

text-align: center;    
border-width: 0px;
border-style: solid;
border-color: black;
}

#leftfotky {
 float: left;
height: auto;
width: 310px;
padding-left:55px;
border-width: 0px;
border-style: solid;
border-color: black;
                }
                
#rightfotky {
 float: right;
height: auto;
width: 310px;
border-width: 0px;
border-style: solid;
border-color: black;
                }
#end {
height: 280px;
width: 884 px;
padding:0px 10px 0px 380px ;
background-image: url("images/pata2016.gif");
clear: both;} 

--></style>

</head>


<div id="hlavni"> <div align="right"><img src="images/heart_small.gif" alt="" />&nbsp;<a class=small href="index.php?id=forum_viki">viki janošek</a>&nbsp;&nbsp;&nbsp;&nbsp;</div>


<div id="head"><span class="svatek"><br /><br /><br /><br />dnes má svátek <script
        src="java_tatousek_cz.js" type="text/javascript"></script>,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
        blahopřejeme&nbsp;!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><br /><br />
        <? //<a class=admin href=skype:funtaxi?chat> 
           // <img src=http://mystatus.skype.com/smallicon/funtaxi style=border:none width=16 height=16 title="skype fun taxi" >&nbsp;skype</a>
           //&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />?>
        
        </div>
        
        
        
<div id="banner"><br />


<div id="leftbanner">

<?  $normalnizobrazeni = "
<a href=http://www.funtaxi.cz/index.php?sid&id=cenik >
<img name=cenik src=images/buttons/cenik_normal.png border=0  onmouseover=op_set_over('cenik');
  onmouseout=op_set_normal('cenik'); width=126 height=23 border=0></a><br />
<a href=index.php?sid&id=foto ><img name=foto src=images/buttons/foto_normal.png border=0
  onmouseover=op_set_over('foto');
  onmouseout=op_set_normal('foto');  width=126 height=23 border=0></a>  <br />
  <a href=index.php?sid&id=forum ><img name=forum src=images/buttons/forum_normal.png border=0
  onmouseover=op_set_over('forum');
  onmouseout=op_set_normal('forum'); width=126 height=23 border=0></a><br />
  <a href=http://www.funtaxi.cz/club/index.php?sid&id=uvod ><img name=funtomas src=images/buttons/fu
    
Alphard
Profil
Pro začátek to vypadá na Nejčastější potíže s PHP (FAQ) » Nefungují proměnné z formuláře nebo z URL (vypnuté register globals).

A technicky, nevkládejte sem tak dlouhé kódy, CSS stejně nikoho nezajímá, pak to diskuse zobrazí správně :-)

Vaše odpověď

Mohlo by se hodit


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm: