<?php include 'sets.php';?>
<?php
$title1="$pageoffers - $siteactivity";
$description1="$sitecompany $pageoffers - $siteactivity";
$keywords1="$pageoffers $sitecompany $siteactivity";
$pid="1";
?>
<!DOCTYPE html>
<html lang="<?php echo $langname ?>">
<head>
<meta charset="utf-8">
<title><?php echo $title1 ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="<?php echo $description1 ?>">
<meta name="keywords" content="<?php echo $keywords1 ?>">
<link rel="canonical" href="<?php echo $canonical ?>contact" />
<?php include 'codes.php';?>
</head>
<body>
<?php include 'menunav.php';?>
<div class="container">
<?php if ($menu1==1) { ?><?php include 'menu1.php';?><?php }?>
<div class="contentstyle">
<div class="pages"><div class="content"><h1><?php echo $pageoffers ?> - <?php echo $sitecompany1 ?></h1></div></div>
<div class="content">
<div class="itemscontent">
<?php
$result1 = $mysqli->query("SELECT id FROM items WHERE offerprice!='0.00' AND lang_id=$lang AND publish='yes'");
$rows = mysqli_num_rows($result1);

include ('includes/pagination.php');

$result2 = $mysqli->query("SELECT * FROM items WHERE offerprice!='0.00' AND lang_id=$lang AND publish='yes' ORDER BY category_id, section_id, priority LIMIT $start,$nritems");
while($row = $result2->fetch_array()) {	
include 'includes/itemq.php';
?><?php include 'includes/itemb.php';?><?php } ?>
</div>
<div class="cleared"><?php echo $txtitems ?></div>
<?php include 'includes/paginate.php';?> 
</div></div>
<?php if ($menu2==1) { ?><?php include 'menu2.php';?><?php }?>
</div>
<?php include 'menudown.php';?>
</body>
</html>