File: /var/www/ilya/data/www/eeggs.ru/wp-content/themes/minyx2Lite/header.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<?php
add_filter( 'jpeg_quality', 'tgm_image_full_quality' );
add_filter( 'wp_editor_set_quality', 'tgm_image_full_quality' );
/**
* Filters the image quality for thumbnails to be at the highest ratio possible.
*
* Supports the new 'wp_editor_set_quality' filter added in WP 3.5.
*
* @since 1.0.0
*
* @param int $quality The default quality (90)
* @return int $quality Amended quality (100)
*/
function tgm_image_full_quality( $quality ) {
return 95;
}
?>
<title>
<?php if ( function_exists('optimal_title') ) : ?>
<?php optimal_title('|'); bloginfo('name'); ?>
<?php else : ?>
<?php if ( is_home() ) : ?>
<?php bloginfo('name'); wp_title('|'); ?> | <?php bloginfo('description'); ?>
<?php else :?>
<?php wp_title(''); ?> | <?php bloginfo('description'); ?> | <?php bloginfo('name'); ?>
<?php endif; ?>
<?php endif; ?>
</title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<meta name="author" content="Spiga" />
<!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<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'); ?>" />
<?php wp_head(); ?>
</head>
<body>
<div id="container">
<ul id="topMnu">
<?php wp_register(); ?>
<li>
<?php wp_loginout(); ?>
</li>
</ul>
<div id="header">
<ul id="menu">
<!--<li <?php if(is_home()) { ?><?php echo 'id="current"';?><?php }?>><a href="<?php echo get_option('home'); ?>/"> <?php _e('Accueil','minyx2Lite')?> </a></li>-->
<?php wp_list_pages('sort_column=menu_order&title_li='.$page_sort)?>
<!--<li id="rss"><a href="<?php bloginfo('rss2_url'); ?>"><?php _e('Entries (RSS)','minyx2Lite')?></a></li>-->
</ul>
<h1><a href="<?php echo get_option('home'); ?>/">
<?php bloginfo('name'); ?>
</a> <small>
<?php bloginfo('description'); ?>
</small></h1>
</div>
<div id="wrapper">