ob_start(); session_start(); ?>
if(!file_exists('./inc/config.inc.php'))
{
header('Location: install.php');
}
session_name("m2hp");
session_start();
require("./inc/config.inc.php");
require("./inc/rights.inc.php");
require("./inc/functions.inc.php");
$sqlHp = mysql_connect(SQL_HP_HOST, SQL_HP_USER, SQL_HP_PASS);
$sqlServ = mysql_connect(SQL_HOST, SQL_USER, SQL_PASS);
if(!is_resource($sqlServ) OR !is_resource($sqlHp)) {
exit("Verbindung zur Datenbank fehlgeschlagen: Abbruch");
}
require("./inc/head.inc.php");
echo ''; */
?>
Başlık
if(isset($_GET['git']) && !empty($_GET['git']))
{
if(file_exists(realpath('./pages/')."/".$_GET['git'].".php"))
{
include(realpath('./pages/')."/".$_GET['git'].".php");
}
else {
include(realpath('./pages/').'/home.php');
}
} else
{
include(realpath('./pages/').'/home.php');
}
?>
Copyright: 2012-2013 Devrim2.
if ($giris==1)
{
echo'<script>alert("Kullanıcı adı veya şifre yanlış!");history.back();</script>';
}
else
{
}
*/
?>
ob_end_flush(); ?>
Style.CSS
body{margin:0 auto; background:#000;font-family:arial;color:#fff;}
.ortala{margin:0 auto;width:813px;}
#menu{background-image:url(resim/menubg.jpg);width:813px;height:52px;margin-top:15px;z-index:1;}
#menu li{float:left;padding-left:20px;padding-top:16px;list-style:none;}
#menu li:hover{text-shadow: 0 0 4px white, 0 -5px 4px #FFFF33, 2px -10px 6px #FFDD33, -2px -15px 11px #FF8800, 2px -25px 18px #FF2200;z-index:1;}
#back{background-image:url(resim/headbg.jpg);width:813px;height:331px;z-index:2;}
#content{width:813px;margin:0 auto;text-shadow:0 0 30px #fff;filter:dropshadow(color=#fff, offx=0, offy=0);}
.sidebar{float:left;width:223px;text-shadow:0 0 30px #fff;filter:dropshadow(color=#fff, offx=0, offy=0);}
.sdbas{padding-left:12px;padding-top:13px;background:url(resim/sdbas.jpg);width:210px;height:33px;text-shadow:0 0 30px #fff;filter:dropshadow(color=#fff, offx=0, offy=0);}
.sdorta{width:100%;padding-left:5px;padding-right:5px;background:url(resim/sdorta.jpg);width:213px;text-shadow:0 0 30px #fff;filter:dropshadow(color=#fff, offx=0, offy=0);}
.sdson{background:url(resim/sdson.jpg);width:223px;height:11px;margin-top:-7px;text-shadow:0 0 30px #fff;filter:dropshadow(color=#fff, offx=0, offy=0);}
.content{width:559px;float:right;margin-left:31px;text-shadow:0 0 30px #fff;filter:dropshadow(color=#fff, offx=0, offy=0);z-index:1;}
.ctbas{padding-left:12px;padding-top:13px;background:url(resim/ctbas.jpg);width:547px;height:34px;text-shadow:0 0 30px #fff;filter:dropshadow(color=#fff, offx=0, offy=0);}
.ctorta{background:url(resim/ctorta.jpg);width:549px;height:100%;text-shadow:0 0 30px #fff;filter:dropshadow(color=#fff, offx=0, offy=0);padding-left:5px;padding-right:5px;}
.ctson{background:url(resim/ctson.jpg);width:559px;height:9px;text-shadow:0 0 30px #fff;filter:dropshadow(color=#fff, offx=0, offy=0);}
#back2{background-image:url(resim/altbg.jpg);width:813px;height:307px;}
#foot{background:url(resim/foot.png) repeat-x; height:169px;padding-top:110px;text-shadow:0 0 30px #fff;filter:dropshadow(color=#fff, offx=0, offy=0);}