File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/header.php.tar
var/www/vhosts/uyarreklam.com.tr/httpdocs/wp-includes/theme-compat/header.php 0000644 00000003544 15153231010 0023466 0 ustar 00 <?php
/**
* @package WordPress
* @subpackage Theme_Compat
* @deprecated 3.0.0
*
* This file is here for backward compatibility with old themes and will be removed in a future version.
*/
_deprecated_file(
/* translators: %s: Template name. */
sprintf( __( 'Theme without %s' ), basename( __FILE__ ) ),
'3.0.0',
null,
/* translators: %s: Template name. */
sprintf( __( 'Please include a %s template in your theme.' ), basename( __FILE__ ) )
);
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<link rel="profile" href="https://gmpg.org/xfn/11" />
<meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
<title><?php echo wp_get_document_title(); ?></title>
<link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" type="text/css" media="screen" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php if ( file_exists( get_stylesheet_directory() . '/images/kubrickbgwide.jpg' ) ) { ?>
<style type="text/css" media="screen">
<?php
// Checks to see whether it needs a sidebar.
if ( empty( $withcomments ) && ! is_single() ) {
?>
#page { background: url("<?php bloginfo( 'stylesheet_directory' ); ?>/images/kubrickbg-<?php bloginfo( 'text_direction' ); ?>.jpg") repeat-y top; border: none; }
<?php } else { // No sidebar. ?>
#page { background: url("<?php bloginfo( 'stylesheet_directory' ); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
<?php } ?>
</style>
<?php } ?>
<?php
if ( is_singular() ) {
wp_enqueue_script( 'comment-reply' );
}
?>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="page">
<div id="header" role="banner">
<div id="headerimg">
<h1><a href="<?php echo home_url(); ?>/"><?php bloginfo( 'name' ); ?></a></h1>
<div class="description"><?php bloginfo( 'description' ); ?></div>
</div>
</div>
<hr />
var/www/vhosts/uyarreklam.com.tr/httpdocs/wp-content/themes/vadimarketv4/header.php 0000644 00000016564 15153701763 0024664 0 ustar 00 <!DOCTYPE html>
<html <?php language_attributes(); ?>><head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="<?php echo cs_get_option( 'chrome', '#36b257' ); ?>" />
<title><?php wp_title(''); ?><?php if(wp_title(' ', false)) { echo ' - '; } ?><?php bloginfo('name'); ?></title>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
<script>
<?php $headfont = cs_get_option('headfont'); $textfont = cs_get_option('textfont'); ?>
WebFontConfig = {
google: { families: [ '<?php echo $headfont['family']; ?>:400,600,700:latin,latin-ext&display=swap','<?php echo $textfont['family']; ?>:400,400i,500,600,700:latin,latin-ext&display=swap' ] }
};
(function() {
var wf = document.createElement('script');
wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
wf.type = 'text/javascript';
wf.async = 'true';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(wf, s);
})();
</script>
<link rel="shortcut icon" href="<?php echo cs_get_option( 'favicon' ); ?>" type="image/x-icon" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<!--[if lt IE 9]><script src="<?php echo get_theme_file_uri( '/js/html5.js' ); ?>"></script><![endif]-->
<script src="<?php echo get_theme_file_uri( '/js/jquery.js' ); ?>"></script>
<script src="<?php echo get_theme_file_uri( '/js/slick.min.js' ); ?>"></script>
<?php $headerkod = cs_get_option('headerkod'); if ($headerkod == true) { echo stripslashes($headerkod); } ?>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<header id="head">
<div class="posrL">
<div class="logo-ust">
<div class="container">
<div class="row flex-md-column align-items-md-center flex-lg-row align-items-lg-stretch">
<div class="col-sm-12 col-md-12 col-lg-2 col-xl-2">
<div id="logo" class="d-lg-block d-flex justify-content-center mb-4 mb-lg-0">
<?php
if(is_home() || is_front_page()) :
$tag = "h1"; else : $tag = "span";
endif;
echo "<$tag>";
?>
<a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>">
<img src="<?php echo cs_get_option( 'logo', get_theme_file_uri( '/img/temavlogo.png' ) ); ?>" alt="<?php bloginfo('name'); ?>" />
</a>
<?php
echo "</$tag>";
?>
</div>
</div>
<?php if (!is_page(get_option('woocommerce_myaccount_page_id')) || is_user_logged_in()) { ?>
<div class="col-sm-12 col-md-12 col-lg-5 col-xl-5">
<div class="d-flex posrL w-100 h-100 arama-formu">
<span class="w-100">
<form class="search-form d-flex w-100 h-100" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get" role="search">
<div class="input-group h-100">
<div class="ara-icon d-flex justify-content-center align-items-center posrL h-100 ml-3 pl-1">
<i class="icon-search-1"></i>
</div>
<input class="arama mr-n5 mx-n5" type="search" title="<?php echo __('Ürün Ara','temavadisi'); ?>" name="s" value="" placeholder="<?php echo __('Ürün, kategori ara...','temavadisi'); ?>">
<input type="hidden" name="post_type" value="product" />
<button class="arabuton px-3 px-lg-4 posrL" type="submit"><?php echo __('ARA','temavadisi'); ?></button>
</div>
</form>
</span>
</div>
</div>
<div class="d-none d-lg-block col-sm-5 col-md-5 col-lg-5 col-xl-5">
<div class="d-flex justify-content-end align-items-center h-100">
<div class="hesabim-menu mr-3 posrL">
<?php get_template_part('/parts/hesabim-menu'); ?>
</div>
<div class="sepet-menu h-100">
<?php get_template_part('/parts/sepet'); ?>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
<?php if(cs_get_option('logoalti') == 1) { if (!is_page(get_option('woocommerce_myaccount_page_id')) || is_user_logged_in()) { ?>
<div class="logo-alt d-none d-lg-block">
<div class="container">
<div class="row align-items-center">
<div class="col-12">
<?php
wp_nav_menu( array(
'theme_location' => 'logoaltmenu',
'menu_class' => 'altmenu',
'menu_id' => 'altmenu',
'container' => false,
) );
?>
</div>
</div>
</div>
</div>
<?php } }?>
<?php
echo '<div class="mobil_menu"><a class="mobnav_close" href="#"><i class="icon-cancel-1"></i></a>';
wp_nav_menu( array(
'theme_location' => 'mobilmenu',
'menu_class' => 'mobilmenu',
'container' => false,
'fallback_cb' => 'varsayilan_menulink',
'walker' => new TemaVadisi_Walker_Menu()
) );
echo '</div>';
?>
<div class="mobil_navbar">
<div class="mobil_menuler d-flex justify-content-between align-items-center w-100 px-3 pt-3 pb-0">
<a class="mobil_item" href="<?php bloginfo('url'); ?>"><i class="icon-home"></i><div><?php echo __('Anasayfa','temavadisi'); ?></div></a>
<a class="mobil_item mobnav_bar" href="#"><i class="icon-menu"></i><div><?php echo __('Kategoriler','temavadisi'); ?></div></a>
<?php if(cs_get_option('ortamenu') == 'whatsapp') { ?>
<a class="mobil_item magaza" href="<?php echo $href = 'https://api.whatsapp.com/send?phone='.preg_replace('/[^0-9]/', '', cs_get_option('whatsapp')).'&text=Merhaba+bilgi+almak+istiyordum'; ?>"><i class="<?php echo cs_get_option('ortamenuicon', 'icon-shopping-bag'); ?>"></i></a>
<?php } elseif(cs_get_option('ortamenu') == 'hemenara') { ?>
<a class="mobil_item magaza" href="<?php echo $href = 'tel://'.preg_replace('/[^0-9]/', '', cs_get_option('hemenara')); ?>"><i class="<?php echo cs_get_option('ortamenuicon', 'icon-shopping-bag'); ?>"></i></a>
<?php } else { ?>
<a class="mobil_item magaza" href="#"><i class="<?php echo cs_get_option('ortamenuicon', 'icon-shopping-bag'); ?>"></i></a>
<?php } ?>
<?php global $woocommerce;
$sepetegit = __('Sepete Git', 'temavadisi');
$sepetbos = __('Sepet Boş', 'temavadisi');
$sepeturl = $woocommerce->cart->get_cart_url();
$magazaurl = get_permalink( wc_get_page_id( 'shop' ) );
$sepeturunsayi = $woocommerce->cart->cart_contents_count;
if ($sepeturunsayi == 0) {
$menu_item = '<a href="'. $magazaurl .'" title="'. $sepetbos .'" class="mobil_item">';
} else {
$menu_item = '<a href="'. $sepeturl .'" title="'. $sepetegit .'" class="mobil_item">';
}
$menu_item .= '<i class="icon-basket-1 posrL"><span class="sepetsayi posrA mr-n3 mt-n2"><span>'.$sepeturunsayi.'</span></i><div>'.__('Sepetim', 'temavadisi').'</div>';
$menu_item .= '</a>';
echo $menu_item;
?>
<a class="mobil_item" href="<?php echo get_permalink( get_option('woocommerce_myaccount_page_id') ); ?>"><i class="icon-user-circle-o"></i><div><?php echo __('Hesabım','temavadisi'); ?></div></a>
</div>
</div>
</div>
<?php if (!is_page(get_option('woocommerce_myaccount_page_id')) || is_user_logged_in()) { ?>
<div id="navmenu" class="posrL">
<div class="container">
<div class="row">
<div class="col-12">
<nav class="navbar">
<?php
wp_nav_menu( array(
'theme_location' => 'anamenu',
'menu_class' => 'sf-menu',
'menu_id' => 'anamenu',
'container' => false,
'fallback_cb' => 'varsayilan_menulink',
'walker' => new TemaVadisi_Walker_Menu()
) );
?>
</nav>
</div>
</div>
</div>
</div>
<?php } ?>
</header>