ilk fotoğrafta görünen kısmı 2. fotoğrafta görünen yerle değiştirmek istiyorum ama bir türlü beceremedim yardımlarınız için şimdiden teşekkür ederim
yenerberktas
opencart header sorunu |
5 Mesajlar | 1.714 Okunma |
<script></script>
<script></script>
<script></script>
<script>" type="text/javascript"></script>
/******************************************************
* @package SO Theme Framework for Opencart 2.0.x
* @author http://www.magentech.com
* @license GNU General Public License
* @copyright(C) 2008-2015 Magentech.com. All rights reserved.
*******************************************************/
global $config, $loader, $registry, $db, $session,$soconfig_general2;
$store_id = $config->get('config_store_id');
$lang = $config->get('config_language_id');
$template = $config->get('config_template');
$loader->model('custom/general');
$model = $registry->get('model_custom_general');
$layout_id = $model->getCurrentLayout();
if ($store_id == 0) {
$soconfig_general = $config->get('soconfig_general');
$soconfig_layout = $config->get('soconfig_layout');
$soconfig_fonts = $config->get('soconfig_fonts');
$soconfig_products = $config->get('soconfig_products');
$soconfig_custom = $config->get('soconfig_custom');
$soconfig_cssfile = $config->get('soconfig_cssfile');
$soconfig_jsfile = $config->get('soconfig_jsfile');
$soconfig_contentbg = $config->get('soconfig_contentbg');
$soconfig_toppanel = $config->get('soconfig_toppanel');
} else {
$soconfig_general = $config->get('soconfig_general_store');
$soconfig_layout = $config->get('soconfig_layout_store');
$soconfig_fonts = $config->get('soconfig_fonts_store');
$soconfig_products = $config->get('soconfig_products_store');
$soconfig_custom = $config->get('soconfig_custom_store');
$soconfig_cssfile = $config->get('soconfig_cssfile_store');
$soconfig_jsfile = $config->get('soconfig_jsfile_store');
/* GENERAL */
$text_general = array(
'themelayout',
'themecolor',
'layouts',
'scroll_animation',
'logo_position',
'searchbox',
'toppanel_status',
'toppanel_type',
'soconfig_toppanel',
'phone_status',
'welcome_message_status',
'wishlist_status',
'checkout_status',
'lang_status',
'socials_status',
'menu_align',
'homebutton',
'servicesMenu',
'menu_style',
'brands_status',
'brands_display_style',
'custom_link1_right_status',
'custom_link1_right_url',
'custom_link1_right_target',
'link_account_status',
'link_contact_status',
'custom_block1_status',
'custom_block2_status',
);
foreach ($text_general as $text) {
if (isset($soconfig_general[$store_id][$text])){$soconfig_general[$text] = $soconfig_general[$store_id][$text];}
}
for ($i = 1; $i <= 5; $i++){
if (isset($soconfig_general[$store_id]["custom_link".$i."_status"])) {$soconfig_general["custom_link".$i."_status"] = $soconfig_general[$store_id]["custom_link".$i."_status"];}
if (isset($soconfig_general[$store_id]["custom_link".$i."_url"])) {$soconfig_general["custom_link".$i."_url"] = $soconfig_general[$store_id]["custom_link".$i."_url"];}
if (isset($soconfig_general[$store_id]["custom_link".$i."_target"])) {$soconfig_general["custom_link".$i."_target"] = $soconfig_general[$store_id]["custom_link".$i."_target"];}
if (isset($soconfig_general[$lang][$store_id]["custom_link".$i."_title"])) {$soconfig_general[$lang]["custom_link".$i."_title"] = $soconfig_general[$lang][$store_id]["custom_link".$i."_title"];}
}
if (isset($soconfig_general[$lang][$store_id]["contact_number"])) {$soconfig_general[$lang]["contact_number"] = $soconfig_general[$lang][$store_id]["contact_number"];}
if (isset($soconfig_general[$lang][$store_id]["welcome_message"])) {$soconfig_general[$lang]["welcome_message"] = $soconfig_general[$lang][$store_id]["welcome_message"];}
if (isset($soconfig_general[$lang][$store_id]["menu_categories_title"])) {$soconfig_general[$lang]["menu_categories_title"] = $soconfig_general[$lang][$store_id]["menu_categories_title"];}
if (isset($soconfig_general[$lang][$store_id]["menu_brands_title"])) {$soconfig_general[$lang]["menu_brands_title"] = $soconfig_general[$lang][$store_id]["menu_brands_title"];}
if (isset($soconfig_general[$lang][$store_id]["custom_link1_right_title"])) {$soconfig_general[$lang]["custom_link1_right_title"] = $soconfig_general[$lang][$store_id]["custom_link1_right_title"];}
if (isset($soconfig_general[$lang][$store_id]["custom_block1_title"])) {$soconfig_general[$lang]["custom_block1_title"] = $soconfig_general[$lang][$store_id]["custom_block1_title"];}
if (isset($soconfig_general[$lang][$store_id]["custom_block1_content"])) {$soconfig_general[$lang]["custom_block1_content"] = $soconfig_general[$lang][$store_id]["custom_block1_content"];}
if (isset($soconfig_general[$lang][$store_id]["custom_block2_title"])) {$soconfig_general[$lang]["custom_block2_title"] = $soconfig_general[$lang][$store_id]["custom_block2_title"];}
if (isset($soconfig_general[$lang][$store_id]["custom_block2_content"])) {$soconfig_general[$lang]["custom_block2_content"] = $soconfig_general[$lang][$store_id]["custom_block2_content"];}
$soconfig_toppanel = $soconfig_general['soconfig_toppanel'];
/* LAYOUT */
$text_layout = array(
'layoutstyle',
'general_bgcolor',
'pattern',
'soconfig_contentbg',
'content_bg_mode',
'content_attachment',
);
foreach ($text_layout as $text) {
if (isset($soconfig_layout[$store_id][$text])) {$soconfig_layout[$text] = $soconfig_layout[$store_id][$text];}
}
$soconfig_contentbg = $soconfig_layout['soconfig_contentbg'];
/* FONTS */
$text_fonts = array(
'body_status',
'normal_body',
'url_body',
'family_body',
'selector_body',
'menu_status',
'normal_menu',
'url_menu',
'family_menu',
'selector_menu',
'heading_status',
'normal_heading',
'url_heading',
'family_heading',
'selector_heading',
);
foreach ($text_fonts as $text) {
if (isset($soconfig_fonts[$store_id][$text])) {$soconfig_fonts[$text] = $soconfig_fonts[$store_id][$text];}
}
}
/*Variables*/
$responsive = $soconfig_general['layouts'] ;
$header_type = $soconfig_general['logo_position'];
if (isset($soconfig_general['menu_type'])) $menu_type = $soconfig_general['menu_type'];
else $menu_type = 1;
?>
.css" rel="stylesheet">
foreach ($soconfig_cssfile as $file_css) { ?>
// Begin Google Fonts
if(isset($soconfig_fonts)):
foreach ($soconfig_fonts as $font => $selector_fonts) {
if(strpos($font,'selector')!==false){
$selctor_array= explode('selector_', $font);
$font_array = end($selctor_array);
?>
}
}
endif;
// End Google Fonts
?>
<script></script>
<script></script>
<script>get('config_template'); ?>/js/libs.js"></script>
<script></script>
<script>get('config_template'); ?>/js/common.js"></script>
<script>get('config_template'); ?>/js/so.custom.js"></script>
<script>get('config_template'); ?>/js/jquery.unveil.js"></script>
<script>get('config_template'); ?>/js/toppanel.js"></script>
<script>get('config_template'); ?>/js/owl.carousel.js"></script>
<script>"></script>
foreach ($soconfig_jsfile as $file_js) { ?>
<script>"></script>
<script></script>
//Render a class Body
$cls_body = $class .' ';
$cls_body .= $direction.' ' ;
$cls_body .= (($responsive) ? 'res'.'':'no-res').' ';
$cls_body .='layout-'.(isset($layout_id) ? $layout_id : 'maintenance').' ';
if( $soconfig_layout["layoutstyle"] !='full' && $soconfig_contentbg=='' && $soconfig_layout["pattern"] !='none' ){
$cls_body .='pattern-'. $soconfig_layout["pattern"];
}else{ $cls_body .=' no_msie';}
$cls_wrapper = 'wrapper-'.$soconfig_layout["layoutstyle"];
?>
if (trim($content_menu)) :?>
if (trim($content_menu)) :?>
if (!isset($soconfig_products['product_catalog_mode']) || $soconfig_products['product_catalog_mode'] != 1) :
echo $cart;
endif;
?>
$str = strip_tags($content_block1);
$str = preg_replace('/\s(?=\s)/', '', $str);
$str = preg_replace('/[\n\r\t]/', '', $str);
$str = str_replace(' ', '', $str);
$str = trim($str, "\xC2\xA0\n");
if (isset($str) && !empty($str)): ?>