@RTHuR
OpenCart-TR
- Katılım
- 22 Nis 2010
- Mesajlar
- 48
- Tepkime puanı
- 0
- Puanları
- 0
arkadalkar benim sitede arama bölümünün oldugu yer internet explorerde düzgün gösteriyor mozilla firefoxta neden yana doğru kayıyor yardımcı olabilirmisiniz sabahtan bei uğrasıyorum kafam catladı düzelmedi anlayan arkadaşlar ilgilenirse cok memnun bahtiyar olurum alta resimerini eklicem ve kodunu eklicem
Resim 1 İE
Resim 1 Mozilla
Resim 1 İE
Resim 1 Mozilla
Kod:
<?php echo '<?xml version="1.0" encoding="UTF-8"?>' . "\n"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>" xml:lang="<?php echo $lang; ?>">
<head>
<title><?php echo $title; ?></title>
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
<base href="<?php echo $base; ?>" />
<?php if ($icon) { ?>
<link href="image/<?php echo $icon; ?>" rel="icon" />
<?php } ?>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/systeams/stylesheet/stylesheet.css" />
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/systeams/stylesheet/ie6.css" />
<script type="text/javascript" src="catalog/view/javascript/unitpngfix/unitpngfix.js"></script>
<![endif]-->
<script type="text/javascript" src="catalog/view/javascript/jquery/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="catalog/view/javascript/jquery/thickbox/thickbox-compressed.js"></script>
<link rel="stylesheet" type="text/css" href="catalog/view/javascript/jquery/thickbox/thickbox.css" />
<script type="text/javascript" src="catalog/view/javascript/jquery/tab.js"></script>
</head>
<body>
<div id="container">
<div id="header">
<div class="div1">
<div class="div2"><a href="<?php echo $home; ?>">
<img src="catalog/view/theme/systeams/image/logom.jpg" title="<?php echo $store; ?>" alt="<?php echo $store; ?>" /></a></div>
</div>
<div class="div4">
<div class="div5"><a href="<?php echo $home; ?>"><img src="catalog/view/theme/systeams/image/m1.gif" alt="" class="icon" /></a><a href="<?php echo $special; ?>"><img src="catalog/view/theme/systeams/image/m2.gif" alt="" class="icon" /></a>
</div>
<div class="div6"><a href="<?php echo $special; ?>"><img src="catalog/view/theme/systeams/image/m3.gif" alt="" class="icon" /></a><a href="<?php echo $contact; ?>"><img src="catalog/view/theme/systeams/image/m4.gif" alt="" class="icon" /></a><a href="<?php echo $cart; ?>"><img src="catalog/view/theme/systeams/image/m5.gif" alt="" class="icon" /></a></div>
</div> <div align="center">
<div align="right">
<table border="0" width="976" id="table1" cellspacing="0" cellpadding="0" height="28" background="catalog/view/theme/systeams/image/t2.gif">
<!-- MSTableType="layout" -->
<tr>
<td height="100%" width="100%">
<div class="center">
<div id="search">
<div class="div9">
<div align="right">
<?php if ($keyword) { ?>
<input type="text" value="<?php echo $keyword; ?>" />
<?php } else { ?>
<input type="text" value="<?php echo $text_keyword; ?>" id="filter_keyword" onclick="this.value = '';" onkeydown="this.style.color = '#000000'" style="color: #999;" />
<?php } ?>
<select id="filter_category_id">
<option value="0"><?php echo $text_category; ?></option>
<?php foreach ($categories as $category) { ?>
<?php if ($category['category_id'] == $category_id) { ?>
<option value="<?php echo $category['category_id']; ?>" selected="selected"><?php echo $category['name']; ?></option>
<?php } else { ?>
<option value="<?php echo $category['category_id']; ?>"><?php echo $category['name']; ?></option>
<?php } ?>
<?php } ?>
</select>
<span class="div10"> <a onclick="moduleSearch();" class="button"><span><?php echo $button_go; ?></span></a> <a href="<?php echo str_replace('&', '&', $advanced); ?>"><?php echo $text_advanced; ?></a></span></div>
</div>
<div class="div10"></div>
</div>
</div>
</tr>
</table>
</div>
</div>
</div>
<br>
<script type="text/javascript"><!--
function getURLVar(urlVarName) {
var urlHalves = String(document.location).toLowerCase().split('?');
var urlVarValue = '';
if (urlHalves[1]) {
var urlVars = urlHalves[1].split('&');
for (var i = 0; i <= (urlVars.length); i++) {
if (urlVars[i]) {
var urlVarPair = urlVars[i].split('=');
if (urlVarPair[0] && urlVarPair[0] == urlVarName.toLowerCase()) {
urlVarValue = urlVarPair[1];
}
}
}
}
return urlVarValue;
}
$(document).ready(function() {
route = getURLVar('route');
if (!route) {
$('#tab_home').addClass('selected');
} else {
part = route.split('/');
if (route == 'common/home') {
$('#tab_home').addClass('selected');
} else if (route == 'account/login') {
$('#tab_login').addClass('selected');
} else if (part[0] == 'account') {
$('#tab_account').addClass('selected');
} else if (route == 'checkout/cart') {
$('#tab_cart').addClass('selected');
} else if (part[0] == 'checkout') {
$('#tab_checkout').addClass('selected');
} else {
$('#tab_home').addClass('selected');
}
}
});
//--></script>
<script type="text/javascript"><!--
$('#search input').keydown(function(e) {
if (e.keyCode == 13) {
moduleSearch();
}
});
function moduleSearch() {
url = 'index.php?route=product/search';
var filter_keyword = $('#filter_keyword').attr('value')
if (filter_keyword) {
url += '&keyword=' + encodeURIComponent(filter_keyword);
}
var filter_category_id = $('#filter_category_id').attr('value');
if (filter_category_id) {
url += '&category_id=' + filter_category_id;
}
location = url;
}
//--></script>
<script type="text/javascript"><!--
$('.switcher').bind('click', function() {
$(this).find('.option').slideToggle('fast');
});
$('.switcher').bind('mouseleave', function() {
$(this).find('.option').slideUp('fast');
});
//--></script>