LiteSpeed Linux server2.poyrazhosting.com 3.10.0-962.3.2.lve1.5.77.el7.x86_64 #1 SMP Mon Dec 12 07:06:14 EST 2022 x86_64 safemode : OFF MySQL: OFF | Perl: OFF | cURL: ON | WGet: OFF > / home / cuneytsener53 / kurumsal10.snrsoft.com.tr / | Server Ip : 104.21.78.54 |
Filename | /home/cuneytsener53/kurumsal10.snrsoft.com.tr/header.php |
Size | 9.25 kb |
Permission | rw-r--r-- |
Owner | |
Create time | 02-Mar-2025 05:46 |
Last modified | 10-Oct-2022 14:02 |
Last accessed | 04-Apr-2025 13:41 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php
ob_start();
session_start();
require_once 'adminx/system/db.php';
require_once 'adminx/pages/functions.php';
require_once 'func.php';
error_reporting(1);
function GetIP(){
if(getenv("HTTP_CLIENT_IP")) {
$ip = getenv("HTTP_CLIENT_IP");
} elseif(getenv("HTTP_X_FORWARDED_FOR")) {
$ip = getenv("HTTP_X_FORWARDED_FOR");
if (strstr($ip, ',')) {
$tmp = explode (',', $ip);
$ip = trim($tmp[0]);
}
} else {
$ip = getenv("REMOTE_ADDR");
}
return $ip;
}
$ip_adresi = GetIP();
?>
<!DOCTYPE html>
<html dir="ltr" lang="<?php echo $getLangCheck['country_code']; ?>">
<head>
<base href="<?php echo $generalSettingCheck['site_url']; ?>">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<?php
$x = explode("/", $_SERVER['SCRIPT_NAME']);
$urlNumber = count($x);
if ($urlNumber == 3) {
if ($x[2]=="index.php"){
echo '
<title>'.$generalSettingCheck['site_title'].'</title>
<meta name="keywords" content="'.$generalSettingCheck['site_keyw'].'">
<meta name="description" content="'.$generalSettingCheck['site_desc'].'">
';
}else{
require_once 'meta.php';
}
}elseif($urlNumber == 2){
if ($x[1]=="index.php"){
echo '
<title>'.$generalSettingCheck['site_title'].'</title>
<meta name="keywords" content="'.$generalSettingCheck['site_keyw'].'">
<meta name="description" content="'.$generalSettingCheck['site_desc'].'">
';
}else{
require_once 'meta.php';
}
}
?>
<meta name="author" content="<?php echo $generalSettingCheck['site_author']; ?>"/>
<meta name="copyright" content="<?php echo $generalSettingCheck['site_copyright']; ?>">
<meta name="revisit-after" content="2 days">
<meta name="robots" content="index,follow">
<meta name="contact" content="<?php echo $generalSettingCheck['site_email']; ?>">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="google-site-verification" content="<?php echo $generalSettingCheck['site_webmastertools']; ?>"/>
<link href="<?php echo $generalSettingCheck['site_favico']; ?>" rel="icon">
<link
href="http://fonts.googleapis.com/css?family=Raleway:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i%7COpen+Sans:300,300i,400,400i,600,600i,700,700i,800,800i%7CPlayfair+Display:400,400i,700,700i,900,900i"
rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="assets/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="assets/css/animate.css"/>
<link rel="stylesheet" type="text/css" href="assets/css/font-awesome.css"/>
<link rel="stylesheet" type="text/css" href="assets/css/flaticon.css"/>
<link rel="stylesheet" type="text/css" href="assets/css/themify-icons.css"/>
<link rel="stylesheet" type="text/css" href="assets/css/slick.css">
<link rel="stylesheet" type="text/css" href="assets/css/prettyPhoto.css">
<link rel="stylesheet" type="text/css" href="assets/css/shortcodes.css"/>
<link rel="stylesheet" type="text/css" href="assets/css/main.css"/>
<link rel="stylesheet" type="text/css" href="assets/css/megamenu.css"/>
<link rel="stylesheet" type="text/css" href="assets/css/responsive.css"/>
<!-- REVOLUTION LAYERS STYLES -->
<link rel='stylesheet' id='rs-plugin-settings-css' href="assets/revolution/css/rs6.css">
<!-- # flag-icon-css -->
<link rel="stylesheet" href="adminx/assets/css/flag-icon.min.css">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
<script src="assets/js/html5shiv.js"></script>
<script src="assets/js/respond.min.js"></script>
<![endif]-->
<script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo $generalSettingCheck['site_analytics']; ?>"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '<?php echo $generalSettingCheck['site_analytics']; ?>');
</script>
<script src='https://www.google.com/recaptcha/api.js?hl=<?php echo $lang; ?>' async defer></script>
<?= $generalSettingCheck['header_code']; ?>
</head>
<body>
<div class="page">
<header id="masthead" class="header cmt-header-style-01">
<!-- top_bar -->
<div class="top_bar clearfix">
<div class="container">
<div class="row">
<div class="col-xl-12 d-flex flex-row align-items-center">
<div class="top_bar_contact_item">
<div class="top_bar_icon"><i class="fa fa-phone"></i></div><a href="tel:<?= $generalSettingCheck['contact_land_phone'] ?>"><?= $generalSettingCheck['contact_land_phone'] ?></a>
</div>
<div class="top_bar_contact_item">
<ul class="social-icons d-flex">
<?php
while ($langCheck=$langAsk->fetch(PDO::FETCH_ASSOC)){
$langCodeAsk=$db->prepare("SELECT * FROM countries where alpha=:alpha");
$langCodeAsk->execute(array(
'alpha' => $langCheck['country_code']
));
$langCodeCheck=$langCodeAsk->fetch(PDO::FETCH_ASSOC);
?>
<li>
<a href="<?php echo $generalSettingCheck['site_url']; ?>?lang=<?php echo $langCheck['country_code']; ?>">
<i class='flag-icon flag-icon-<?php echo $langCheck['country_code'] ?> mr-2'></i>
</a>
</li>
<?php } ?>
</ul>
</div>
<div class="top_bar_contact_item top_bar_social ml-auto p-0">
<ul class="social-icons d-flex">
<?php
$socialAsk->execute(array(
'status' => 1
));
while ($socialCheck=$socialAsk->fetch(PDO::FETCH_ASSOC)){
?>
<li><a class="tooltip-top" target="_blank" href="<?php echo $socialCheck['link']; ?>" data-tooltip="<?php echo $socialCheck['name']; ?>" title="<?php echo $socialCheck['name']; ?>"><i class="fa <?php echo
$socialCheck['icon']; ?>"></i></a></li>
<?php } ?>
</ul>
</div>
</div>
</div>
</div>
</div>
<div id="site-header-menu" class="site-header-menu">
<div class="site-header-menu-inner cmt-stickable-header">
<div class="container">
<div class="row">
<div class="col">
<div class="site-navigation d-flex flex-row cmt-bgcolor-darkgrey">
<!-- site-branding -->
<div class="site-branding mr-auto pl-15 res-1199-pl-0">
<a class="home-link" href="<?= $generalSettingCheck['site_url'] ?>" title="Ventilation" rel="home">
<img width="183" height="42" id="logo-img" class="img-center" src="<?= $generalSettingCheck['site_logo'] ?>" alt="logo-img">
</a>
</div>
<div class="btn-show-menu-mobile menubar menubar--squeeze">
<span class="menubar-box">
<span class="menubar-inner"></span>
</span>
</div>
<!-- menu -->
<nav class="main-menu menu-mobile" id="menu">
<?php include('datainclude/menu.php') ?>
</nav>
<?php
$moduleAskData=$db->prepare("SELECT * FROM modules where module_id=:module_id");
$moduleAskData->execute(array(
'module_id' => 1
));
$moduleCheckData=$moduleAskData->fetch(PDO::FETCH_ASSOC);
if ($moduleCheckData['status']==1){
?>
<div class="header_extra d-flex flex-row align-items-center justify-content-end">
<div class="header_btn">
<a class="cmt-btn cmt-btn-size-sm cmt-btn-shape-square cmt-btn-style-fill cmt-icon-btn-right cmt-btn-color-skincolor" data-toggle="modal" data-target="#teklif"><i class="fa fa-plus"></i>TEKLÄ°F
AL</a>
</div>
</div><?php }?>
</div>
</div>
</div>
</div>
</div>
</div>
</header>