<?php include('admin/setari.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

$vanzator = $_GET['mag'];
	if ($vanzator != ''){$vanzator1 = ', '.ucfirst(trim($vanzator));}else {$vanzator1 = '';}
		$vanzator = str_ireplace(array('-', '+'), ' ', $vanzator1);	

if($_GET['titlu'] == ''){$_GET['titlu'] = $_GET['cauta'];} 
$titlu = str_ireplace(array('-', '+'), ' ', $_GET['titlu']);	
$titlu1 = str_ireplace(array('-', '+'), ', ', $_GET['titlu']);	
if ($titlu1 != ''){$titlu1 = ', '.ucfirst(trim($titlu1));}else{$titlu1 = '';}
if ($titlu != ''){$titlu = ', '.ucfirst(trim($titlu));}else{$titlu = '';}

if($_GET['mag'] != '' ) 
	{$link = 'http://'.$_SERVER['SERVER_NAME'].'/oferte-reduceri-promotii-'.$_GET['mag'].'.html';}
if($_GET['produs'] != '' ) 
	{$link = 'http://'.$_SERVER['SERVER_NAME'].'/'.$_GET['mag'].'-oferte-reduceri-promotii-'.$_GET['titlu'].'-'.$_GET['produs'].'.html';}
if($_GET['pag'] != '' and $_GET['mag'] !='')
	{$link = 'http://'.$_SERVER['SERVER_NAME'].'/index.php?mag='.$_GET['mag'].'&pag='.$_GET['pag'].'';}
if($_GET['pag'] != '' and $_GET['cauta'] !='')
	{$link = 'http://'.$_SERVER['SERVER_NAME'].'/index.php?cauta='.$_GET['cauta'].'&pag='.$_GET['pag'].'';}
 if($_GET['cauta'] != '' and $_GET['submit'] != '')
	{$link = 'http://'.$_SERVER['SERVER_NAME'].'/index.php?cauta='.$_GET['cauta'].'&submit='.$_GET['submit'].'';}  
         
?> 
<HTML> 
	<HEAD>
		<TITLE>Promotie<?php echo ucwords($vanzator).''.ucwords($titlu); ?>, Oferta, Reducere, Black Friday, <?php echo $an_curent; ?></TITLE>
			<META NAME="Keywords" CONTENT="oferte<?php echo strtolower($vanzator).''.strtolower($titlu1); ?>, reducere, promotie, black friday, <?php echo $an_curent; ?> " />
			<META NAME="Description" CONTENT="Oferta, Black Friday, Reducere, Promotie<?php echo $vanzator.''.ucwords($titlu1).', '.$an_curent; ?>" />  
			<link rel="canonical" href="<?php echo $link; ?>" />
			<meta name="google-site-verification" content="A1Q97ML78_h4xceQkqfTZ2x0Uck6d3v8_69aNefcWLo" />
			<meta http-equiv="content-type" content="text/html; charset=utf-8" />
			<meta http-equiv="content-language" content="ro" />
			<meta name="generator" content="Bluefish 2.2.7" >
			<meta name="author" content="Stefan Florin" >
			<meta name = "revisit-after" content = "1 day" /> 
			<meta name = "rating" content = "general" /> 
			<meta name="Robots" content="All" />
			<meta name="expires" content="never" />
			<meta name="distribution" content="Global" />
			<meta name="GOOGLEBOT" content="INDEX, FOLLOW" />
			<meta name="Identifier-URL" content="http://e-comert.info" />

			<link rel="stylesheet" href="../style.css"  type="text/css" media="screen" />
			<link href = 'http://fonts.googleapis.com/css?family=kranky' rel='stylesheet' type='text/css'>
			<link href = 'http://fonts.googleapis.com/css?family=rye' rel='stylesheet' type='text/css' />
			<link href = 'http://fonts.googleapis.com/css?family=questrial' rel='stylesheet' type='text/css' />
			<link href="https://fonts.googleapis.com/css?family=raleway" rel="stylesheet">  
	</head>  
	<body>
<!-- ===== start social widget ===== -->
 <!-- Go to www.addthis.com/dashboard to customize your tools -->
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-57d4950f0b51a8a1"></script>

<!-- ===== end social widget ===== -->
		<table class="all" >
			<tr>
				<td id="header" colspan="3" ><?php include "header.php"; ?>	</td>
			</tr> 
			<tr>
				<td id="menuorizontal" colspan="3" id="td"><?php include "menu_orizontal.php"; ?></td>
			</tr>
			<tr>
				<td id="stanga"><?php include "stanga.php"; ?></td>
				<td id="centru"><?php include "dinamic.php"; ?></td>
		<?php if($_SESSION['logat'] != 'Da'){
			echo'<td id="dreapta">'; include "dreapta.php"; echo'</td>';} 
		?>
			</tr>
			<tr>
				<td id="paginare" colspan="3"><?php include "paginare.php"; ?></td>
			</tr>
			<tr>
				<td id="footer" colspan="3"><?php include "footer.php"; ?></td>
			</tr>
		</table> 
	</BODY>
</HTML>
