<?php echo $header; ?>

<?php 

// Default values

if(empty($lagon_background_color)) $lagon_background_color ="FBFBFB";


if(empty($lagon_lighttext_color)) $lagon_lighttext_color ="777777";

if(empty($lagon_links_color)) $lagon_links_color ="333333";
if(empty($lagon_featured_addtocart)) $lagon_featured_addtocart ="CCCCCC";
if(empty($lagon_featured_addtocart_hover)) $lagon_featured_addtocart_hover ="C11B1B";
if(empty($lagon_latest_addtocart)) $lagon_latest_addtocart ="C11B1B";
if(empty($lagon_latest_addtocart_hover)) $lagon_latest_addtocart_hover ="503B2D";



if(empty($lagon_all_addtocart)) $lagon_all_addtocart ="202020";
if(empty($lagon_all_addtocart_shadow)) $lagon_all_addtocart_shadow ="686868";
if(empty($lagon_all_addtocart_border)) $lagon_all_addtocart_border ="202020";
if(empty($lagon_all_addtocart_hover)) $lagon_all_addtocart_hover ="c4c4c4";
if(empty($lagon_all_addtocart_shadow_hover)) $lagon_all_addtocart_shadow_hover ="ededed";
if(empty($lagon_all_addtocart_border_hover)) $lagon_all_addtocart_border_hover ="c4c4c4";




if(empty($lagon_all_addtocart)) $lagon_all_addtocart ="C11B1B";
if(empty($lagon_all_addtocart_hover)) $lagon_all_addtocart_hover ="503B2D";


if(empty($lagon_cart_text_color)) $lagon_cart_text_color ="FFFFFF";

if(empty($lagon_latest_button_color)) $lagon_latest_button_color ="FFFFFF";
if(empty($lagon_footer_info_link_color)) $lagon_footer_info_link_color ="66C65C";






if(empty($lagon_all_buttons_color)) $lagon_all_buttons_color ="FFFFFF";



//--------------------------------------------------------------------------------------------------------- header
if(empty($lagon_thickbar_color)) $lagon_thickbar_color ="f9dd3b";
if(empty($lagon_top_text_color)) $lagon_top_text_color ="000000";

//--------------------------------------------------------------------------------------------------------- search
if(empty($lagon_search_btn)) $lagon_search_btn ="3dade2";
if(empty($lagon_search_btn_hover)) $lagon_search_btn_hover ="000000";

//--------------------------------------------------------------------------------------------------------- hotline
if(empty($lagon_hotline_title)) $lagon_hotline_title ="000000";
if(empty($lagon_hotline_number)) $lagon_hotline_number ="3dade2";

//--------------------------------------------------------------------------------------------------------- cart
if(empty($lagon_cart_color)) $lagon_cart_color ="000000";

//--------------------------------------------------------------------------------------------------------- menu
if(empty($lagon_menu_background_first)) $lagon_menu_background_first ="4b4b4b";
if(empty($lagon_menu_background_last)) $lagon_menu_background_last ="000000";
if(empty($lagon_menu_color)) $lagon_menu_color ="ffffff";
if(empty($lagon_menu_color_hover)) $lagon_menu_color_hover ="3dade2";
if(empty($lagon_sub_menu_link)) $lagon_sub_menu_link ="000000";
if(empty($lagon_sub_menu_link_hover)) $lagon_sub_menu_link_hover ="3dade2";
if(empty($lagon_menu_bg_links_hover)) $lagon_menu_bg_links_hover ="ffae00";

//--------------------------------------------------------------------------------------------------------- carousel
if(empty($lagon_carousel_background_first)) $lagon_carousel_background_first ="4b4b4b";
if(empty($lagon_carousel_background_last)) $lagon_carousel_background_last ="000000";
if(empty($lagon_carousel_v)) $lagon_carousel_v ="000000";

//--------------------------------------------------------------------------------------------------------- category
if(empty($lagon_category_heading_bg_first)) $lagon_category_heading_bg_first ="4b4b4b";
if(empty($lagon_category_heading_bg_last)) $lagon_category_heading_bg_last ="000000";
if(empty($lagon_category_heading_color)) $lagon_category_heading_color ="ffffff";
if(empty($lagon_category_link_color)) $lagon_category_link_color ="000000";
if(empty($lagon_category_link_color_hover)) $lagon_category_link_color_hover ="787878";

//---------------------------------------------------------------------------------------------------------- Box
if(empty($lagon_heading_color)) $lagon_heading_color ="3dade2";
if(empty($lagon_heading_bg)) $lagon_heading_bg ="ffffff";
if(empty($lagon_box_bg)) $lagon_box_bg ="ffffff";
if(empty($lagon_box_shadow)) $lagon_box_shadow ="eeeeee";

//---------------------------------------------------------------------------------------------------------- product
if(empty($lagon_prod_box_bg)) $lagon_prod_box_bg ="ffffff";
if(empty($lagon_prod_box_border)) $lagon_prod_box_border ="eeeeee";
if(empty($lagon_sale_bg)) $lagon_sale_bg ="3de277";
if(empty($lagon_other_oldprice_color)) $lagon_other_oldprice_color ="f00000";
if(empty($lagon_paginate_bg)) $lagon_paginate_bg ="3dade2";
if(empty($lagon_price_color)) $lagon_price_color ="000000";
if(empty($lagon_product_name_color)) $lagon_product_name_color ="3dade2";


//---------------------------------------------------------------------------------------------------------- general
if(empty($lagon_title_color)) $lagon_title_color ="3dade2";
if(empty($lagon_bodytext_color)) $lagon_bodytext_color ="000000";
if(empty($lagon_links_color)) $lagon_links_color ="FFAE00";


//---------------------------------------------------------------------------------------------------------- footer
if(empty($lagon_footerheaders_color)) $lagon_footerheaders_color ="3dade2";
if(empty($lagon_footer_info_color)) $lagon_footer_info_color ="000000";
if(empty($lagon_footerlinks_color)) $lagon_footerlinks_color ="000000";
if(empty($lagon_contact_bg_icons)) $lagon_contact_bg_icons ="3dade2";
if(empty($lagon_totop)) $lagon_totop ="3dade2";

//---------------------------------------------------------------------------------------------------------- buttons
if(empty($lagon_details_addtocart)) $lagon_details_addtocart ="7dc50d";
if(empty($lagon_details_addtocart_hover)) $lagon_details_addtocart_hover ="000000";
if(empty($lagon_details_button_color)) $lagon_details_button_color ="FFFFFF";

?>

<style type="text/css">
	.customhelp { color: #666; font-size:0.9em; }
	.color { border:1px solid #AAA; }
	.pttrn {width:32px; display: inline-block; text-align: center;}
</style>



<div id="content">
	<div class="breadcrumb">
		<?php foreach ($breadcrumbs as $breadcrumb) { ?>
		<?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
		<?php } ?>
	</div>
	<?php if ($error_warning) { ?>
	<div class="warning"><?php echo $error_warning; ?></div>
	<?php } ?>

<div class="box">

	<div class="heading">
		<h1><img src="view/image/module.png" alt="" /> <?php echo $heading_title; ?></h1>
		<div class="buttons"><a onclick="$('#form').submit();" class="button"><?php echo $button_save; ?></a><a onclick="location = '<?php echo $cancel; ?>';" class="button"><?php echo $button_cancel; ?></a></div>
	</div>

	<div class="content wrapper">
	
    
    <div class="back_ptrn">

	<div class="option_wrap">
		<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="form">
        
    	<div class="heading">
        	<img src="../admin/view/image/logo-option.png" class="logo-option">
            <p>
            	If you have any question or problem, <span class="green" >feel free to open your ticket through our forum : </span><br/>
                <a target="_blank" href="http://support.venzastudio.com">Support Forum</a>
            </p>
            <select name="lagon_status" class="status_select">
				<?php if ($lagon_status) { ?>
				<option value="1" selected="selected"><?php echo $text_enabled; ?></option>
				<option value="0"><?php echo $text_disabled; ?></option>
				<?php } else { ?>
				<option value="1"><?php echo $text_enabled; ?></option>
				<option value="0" selected="selected"><?php echo $text_disabled; ?></option>
				<?php } ?>
			</select>
        </div><!--/heading-->
    
		<div class="clear"></div>
		
		<div id="settings_tabs" class="htabs-custom clearfix depts">
			<a href="#layout_settings" class="bod"><img src="../admin/view/image/bod.png" alt="" > Body</a>
            <a href="#colors_settings" class="colo"><img src="../admin/view/image/colors.png" alt="" > Colors</a>
            <a href="#fonts_settings" class="font"><img src="../admin/view/image/font.png" alt="" > Fonts</a>
            <a href="#buttons_settings" class="butt"><img src="../admin/view/image/buttons.png" alt="" > Buttons</a>
            <a href="#footer2_settings" class="foot"><img src="../admin/view/image/sett.png" alt="" > Custom Options</a>  
		</div>

		<div class="clear"></div>
		
   		<div class="data_right">
        
        <!--**************************************************************************************** Body ***************************-->
		<div id="layout_settings" class="divtab">

			<table class="form">

				<tr><td colspan="2"><h3><?php echo $entry_pattern_sub; ?></h3></td></tr>


 <!--****************************************************************
 ********************************************************************
 
 Body:
 
 *******************************************************************
  *******************************************************************
 -->


				<!--** Choose Pattern **--> 
				<tr>
					<td><?php echo $entry_pattern_overlay; ?></td>
					<td>
						<div>
							<?php for ($i = 1; $i <= 36; $i++) { ?>
								<div class="pttrn"><span class="customhelp"><?php echo $i; ?></span><img src="view/image/patterns/<?php echo $i; ?>.png" alt="pattern <?php echo $i; ?>"></div>
								<?php if(!($i%12)): ?>
									<br />
								<?php endif ?>
							<?php } ?>
						</div><br>
						<select name="lagon_pattern_overlay">
							<option value="none"selected="selected">none</option>
							<?php for ($i = 1; $i <= 36; $i++) { 
									($this->config->get('lagon_pattern_overlay')== $i) ? $currentpat = 'selected' : $currentpat = '';
								?>
								<option value="<?php echo $i; ?>" <?php echo $currentpat; ?>><?php echo $i; ?></option>';
								<?php } ?>
						</select>
						<span class="customhelp"><?php echo $entry_pattern_overlay_help; ?></span>
					</td>
				</tr>
                
                        
                
				<!--** Upload Pattern **-->
				<tr>
					<td><?php echo $entry_custom_pattern; ?> </td>
					<td>
						<input type="hidden" name="lagon_custom_pattern" value="<?php echo $lagon_custom_pattern; ?>" id="lagon_custom_pattern" />
						<img src="<?php echo $lagon_pattern_preview; ?>" id="lagon_pattern_preview" />
						<br /><a onclick="image_upload('lagon_custom_pattern', 'lagon_pattern_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#lagon_pattern_preview').attr('src', '<?php echo $no_image; ?>'); $('#lagon_custom_pattern').attr('value', '');"><?php echo $text_clear; ?></a>
					</td>
				</tr>
                
                
                                          
                <!--** Upload Background Image **-->
				<tr>   
					<td>
						<?php echo $entry_custom_image; ?><br>
						<span class="customhelp"><?php echo $entry_custom_image_help; ?></span>
					</td>
					<td>
						<input type="hidden" name="lagon_custom_image" value="<?php echo $lagon_custom_image; ?>" id="lagon_custom_image" />
						<img src="<?php echo $lagon_image_preview; ?>" alt="" id="lagon_image_preview" />
						<br /><a onclick="image_upload('lagon_custom_image', 'lagon_image_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#lagon_image_preview').attr('src', '<?php echo $no_image; ?>'); $('#lagon_custom_image').attr('value', '');"><?php echo $text_clear; ?></a>
					</td>
				</tr>
                
            	<!--** Main background color **-->
                    <tr>
                        <td><?php echo $entry_background_color; ?></td>
                        <td><input type="text" name="lagon_background_color" value="<?php echo $lagon_background_color; ?>" size="6" class="color {required:false,hash:true}"  /><span class="customhelp"><?php echo $entry_body_help; ?></span></td>
                    </tr>
                    
                    
				</table>
				
			</div><!--/layout_settings-->

			

            
<!--*******************************************************************************************
***********************************************************************************************


 Colors
 
 
 **********************************************************************************************
 *******************************************************************************************-->
 
<div id="colors_settings" class="divtab">
	
    <ul class="tabs-head tabs">
        <li><a href="#top"><?php echo $entry_header_tit; ?></a></li>      
        <li><a href="#menuu"><?php echo $entry_menu_tit; ?></a></li>
        <li><a href="#hotline"><?php echo $entry_hotline_tit; ?></a></li>
        <li><a href="#cart"><?php echo $entry_cart_tit; ?></a></li>
        <li><a href="#search"><?php echo $entry_search_tit; ?></a></li>
        <li><a href="#carousel"><?php echo $entry_carousel_tit; ?></a></li>
        <li><a href="#category"><?php echo $entry_category_tit; ?></a></li>
        <li><a href="#box"><?php echo $entry_box_tit; ?></a></li>
        <li><a href="#product"><?php echo $entry_product_tit; ?></a></li>
        <li><a href="#general"><?php echo $entry_general_tit; ?></a></li>
        <li><a href="#footerr"><?php echo $entry_lagon_entry_footer; ?></a></li>
    </ul>
    
    <div class="tab_container">
    <!--///////////////////////////////////////////////////////////////////////////////// top-->
        <div id="top" class="tab_content">
        	<table class="form">
                <!--** First Theme color **-->
                <tr>
                    <td><?php echo $entry_thickbar_color; ?></td>
                    <td><input type="text" name="lagon_thickbar_color" value="<?php echo $lagon_thickbar_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                
                
                
                <!--** top text color **-->
                <tr>
                    <td><?php echo $entry_lagon_top_text_color; ?></td>
                    <td><input type="text" name="lagon_top_text_color" value="<?php echo $lagon_top_text_color; ?>" size="6" class="color {required:false,hash:true}"  /><span class="customhelp"><?php echo $entry_top_help; ?></span>
                    </td>
                </tr>
            </table>
        </div><!--/content-->
    <!--///////////////////////////////////////////////////////////////////////////////// menu-->
        <div id="menuu" class=" tab_content">
            <table class="form">
            	<!--** Menu background color first **-->
                <tr>
                    <td><?php echo $entry_lagon_menu_background_first; ?></td>
                    <td><input type="text" name="lagon_menu_background_first" value="<?php echo $lagon_menu_background_first; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                
                <!--** Menu background color last **-->
                <tr>
                    <td><?php echo $entry_lagon_menu_background_last; ?></td>
                    <td><input type="text" name="lagon_menu_background_last" value="<?php echo $lagon_menu_background_last; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
            
                <!--** Top menu links color **-->
                <tr>
                    <td><?php echo $entry_menu_color; ?></td>
                    <td><input type="text" name="lagon_menu_color" value="<?php echo $lagon_menu_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
        
                <!--** Top menu links color :hover **-->
                <tr>
                    <td><?php echo $entry_lagon_menu_color_hover; ?></td>
                    <td><input type="text" name="lagon_menu_color_hover" value="<?php echo $lagon_menu_color_hover; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                
                <!--** Menu links background color on hover **-->
                <tr>
                    <td><?php echo $entry_lagon_menu_bg_links_hover; ?></td>
                    <td><input type="text" name="lagon_menu_bg_links_hover" value="<?php echo $lagon_menu_bg_links_hover; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
              
                <!--** Sub menu linnks **-->
                <tr>
                    <td><?php echo $entry_lagon_sub_menu_link; ?></td>
                    <td><input type="text" name="lagon_sub_menu_link" value="<?php echo $lagon_sub_menu_link; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                
                <!--** Sub menu linnks :hover **-->
                <tr>
                    <td><?php echo $entry_lagon_sub_menu_link_hover; ?></td>
                    <td><input type="text" name="lagon_sub_menu_link_hover" value="<?php echo $lagon_sub_menu_link_hover; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
            </table>
        </div><!--/content-->
        
    <!--//////////////////////////////////////////////////////////////////////////////// hotline-->
    	<div id="hotline" class="tab_content">
        	<table class="form">
            	<tr>
                    <td><?php echo $entry_lagon_hotline_title; ?></td>
                    <td><input type="text" name="lagon_hotline_title" value="<?php echo $lagon_hotline_title; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_lagon_hotline_number; ?></td>
                    <td><input type="text" name="lagon_hotline_number" value="<?php echo $lagon_hotline_number; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
            </table>
        </div>    
    <!--///////////////////////////////////////////////////////////////////////////////// cart-->
        <div id="cart" class=" tab_content">
            <table class="form">
            	<tr>
                    <td><?php echo $entry_lagon_cart_color; ?></td>
                    <td><input type="text" name="lagon_cart_color" value="<?php echo $lagon_cart_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
            </table>
        </div><!--/content-->
    <!--///////////////////////////////////////////////////////////////////////////////// search-->
        <div id="search" class=" tab_content">
            <table class="form">
            	<!--** search btn **-->
                <tr>
                    <td><?php echo $entry_lagon_search_btn; ?></td>
                    <td><input type="text" name="lagon_search_btn" value="<?php echo $lagon_search_btn; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                
                <!--** search btn:hover **-->
                <tr>
                    <td><?php echo $entry_lagon_search_btn_hover; ?></td>
                    <td><input type="text" name="lagon_search_btn_hover" value="<?php echo $lagon_search_btn_hover; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
            </table>
        </div><!--/content-->
    <!--///////////////////////////////////////////////////////////////////////////////// carousel-->
        <div id="carousel" class=" tab_content">
        	<table class="form">
                <tr>
                    <td><?php echo $entry_lagon_carousel_background_first; ?></td>
                    <td><input type="text" name="lagon_carousel_background_first" value="<?php echo $lagon_carousel_background_first; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                
                <!--** carousel background color last **-->
                <tr>
                    <td><?php echo $entry_lagon_carousel_background_last; ?></td>
                    <td><input type="text" name="lagon_carousel_background_last" value="<?php echo $lagon_carousel_background_last; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                
                
                <!--** carousel v line **-->
                <tr>
                    <td><?php echo $entry_lagon_carousel_v; ?></td>
                    <td><input type="text" name="lagon_carousel_v" value="<?php echo $lagon_carousel_v; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
            </table>
        </div>
    <!--///////////////////////////////////////////////////////////////////////////////// category-->
        <div id="category" class=" tab_content">
            <table class="form">
            	<!--** category heading bg first **--> 
                <tr>
                    <td><?php echo $entry_lagon_category_heading_bg_first; ?></td>
                    <td><input type="text" name="lagon_category_heading_bg_first" value="<?php echo $lagon_category_heading_bg_first; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
        
                <!--** category heading bg last **--> 
                <tr>
                    <td><?php echo $entry_lagon_category_heading_bg_last; ?></td>
                    <td><input type="text" name="lagon_category_heading_bg_last" value="<?php echo $lagon_category_heading_bg_last; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
         
                <!--** category heading color **--> 
                <tr>
                    <td><?php echo $entry_lagon_category_heading_color; ?></td>
                    <td><input type="text" name="lagon_category_heading_color" value="<?php echo $lagon_category_heading_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                
                <!--** category links color **--> 
                <tr>
                    <td><?php echo $entry_lagon_category_link_color; ?></td>
                    <td><input type="text" name="lagon_category_link_color" value="<?php echo $lagon_category_link_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                
                <!--** category links color on hover **--> 
                <tr>
                    <td><?php echo $entry_lagon_category_link_color_hover; ?></td>
                    <td><input type="text" name="lagon_category_link_color_hover" value="<?php echo $lagon_category_link_color_hover; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
            </table>
        </div><!--/content-->
    <!--///////////////////////////////////////////////////////////////////////////////// box-->
        <div id="box" class=" tab_content">
            <table class="form">
            	<!--** box heading color **--> 
                <tr>
                    <td><?php echo $entry_lagon_heading_color; ?></td>
                    <td><input type="text" name="lagon_heading_color" value="<?php echo $lagon_heading_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                
                 <!--** box heading bg **--> 
                <tr>
                    <td><?php echo $entry_lagon_heading_bg; ?></td>
                    <td><input type="text" name="lagon_heading_bg" value="<?php echo $lagon_heading_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                
                 <!--** box bg **--> 
                <tr>
                    <td><?php echo $entry_lagon_box_bg; ?></td>
                    <td><input type="text" name="lagon_box_bg" value="<?php echo $lagon_box_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                
                 <!--** box shadow **--> 
                <tr>
                    <td><?php echo $entry_lagon_box_shadow; ?></td>
                    <td><input type="text" name="lagon_box_shadow" value="<?php echo $lagon_box_shadow; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
            </table>
        </div><!--/content-->
    <!--///////////////////////////////////////////////////////////////////////////////// product-->
        <div id="product" class=" tab_content">
            <table class="form">
            	<!--** product box bg **--> 
                <tr>
                    <td><?php echo $entry_lagon_prod_box_bg; ?></td>
                    <td><input type="text" name="lagon_prod_box_bg" value="<?php echo $lagon_prod_box_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
               
               
               <!--** product box border **--> 
                <tr>
                    <td><?php echo $entry_lagon_prod_box_border; ?></td>
                    <td><input type="text" name="lagon_prod_box_border" value="<?php echo $lagon_prod_box_border; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
               
               
                <!--** sale bg **--> 
                <tr>
                    <td><?php echo $entry_lagon_sale_bg; ?></td>
                    <td><input type="text" name="lagon_sale_bg" value="<?php echo $lagon_sale_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                
                <!--** sale bg **--> 
                <tr>
                    <td><?php echo $entry_lagon_paginate_bg; ?></td>
                    <td><input type="text" name="lagon_paginate_bg" value="<?php echo $lagon_paginate_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                
                <!--** price color **--> 
                <tr>
                    <td><?php echo $entry_lagon_price_color; ?></td>
                    <td><input type="text" name="lagon_price_color" value="<?php echo $lagon_price_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                
                <!--** old price color **--> 
                <tr>
                    <td><?php echo $entry_lagon_other_oldprice_color; ?></td>
                    <td><input type="text" name="lagon_other_oldprice_color" value="<?php echo $lagon_other_oldprice_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                
                
                <!--** product name color **--> 
                <tr>
                    <td><?php echo $entry_lagon_product_name_color; ?></td>
                    <td><input type="text" name="lagon_product_name_color" value="<?php echo $lagon_product_name_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
            </table>
        </div><!--/content-->
    <!--///////////////////////////////////////////////////////////////////////////////// general-->
        <div id="general" class=" tab_content">
            <table class="form">
            	<!--** Titles color **--> 
                <tr>
                    <td><?php echo $entry_title_color; ?></td>
                    <td><input type="text" name="lagon_title_color" value="<?php echo $lagon_title_color; ?>" size="6" class="color {required:false,hash:true}"  />
                        <span class="customhelp"><?php echo $entry_title_color_help; ?></span></td>
                </tr>
                
                
                <!--** Body text color **-->
                <tr>
                    <td><?php echo $entry_body_color; ?></td>
                    <td><input type="text" name="lagon_bodytext_color" value="<?php echo $lagon_bodytext_color; ?>" size="6" class="color {required:false,hash:true}"  />
                        <span class="customhelp"><?php echo $entry_body_color_help; ?></span></td>
                </tr>
                
                <!--** Other links color **-->
                <tr>
                    <td><?php echo $entry_links_color; ?></td>
                    <td><input type="text" name="lagon_links_color" value="<?php echo $lagon_links_color; ?>" size="6" class="color {required:false,hash:true}"  /></td>
                </tr>
            </table>
        </div><!--/content-->
    <!--///////////////////////////////////////////////////////////////////////////////// footer-->
        <div id="footerr" class=" tab_content">
            <table class="form">
            	<!--** Footer Headers color **-->
                <tr>
                    <td><?php echo $entry_lagon_footerheaders_color; ?></td>
                    <td><input type="text" name="lagon_footerheaders_color" value="<?php echo $lagon_footerheaders_color; ?>" size="6" class="color {required:false,hash:true}"  /><span class="customhelp"><?php echo $entry_lagon_footerheaders_color_help; ?></span>
                    </td>
                </tr>
                   
                <!--** Footer info text color **-->
                <tr>
                    <td><?php echo $entry_lagon_footer_info_color; ?></td>
                    <td><input type="text" name="lagon_footer_info_color" value="<?php echo $lagon_footer_info_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
         
                <!--** Footer links color **-->
                <tr>
                    <td><?php echo $entry_lagon_footerlinks_color; ?></td>
                    <td><input type="text" name="lagon_footerlinks_color" value="<?php echo $lagon_footerlinks_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr> 
                
                <!--** contact bg icons **-->
                <tr>
                    <td><?php echo $entry_lagon_contact_bg_icons; ?></td>
                    <td><input type="text" name="lagon_contact_bg_icons" value="<?php echo $lagon_contact_bg_icons; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr> 
                
                <!--** totop **-->
                <tr>
                    <td><?php echo $entry_lagon_totop; ?></td>
                    <td><input type="text" name="lagon_totop" value="<?php echo $lagon_totop; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr> 
            </table>
        </div><!--/content-->
        
 	</div><!--tab_container-->

</div><!--/colors_settings-->
    
   
<!--*******************************************************************************************
***********************************************************************************************


 Fonts
 
 
 **********************************************************************************************
 *******************************************************************************************-->
 
            <div id="fonts_settings" class="divtab">

            <ul class="tabs-head tabs">
                <li><a href="#titlefont"><?php echo $entry_titles_sub; ?></a></li>
                <li><a href="#bodyfont"><?php echo $entry_body_sub; ?></a></li>
                <li><a href="#buttonfont"><?php echo $entry_buttons_sub; ?></a></li>
            </ul>

			<div class="tab_container">
                <!--///////////////////////////////////////////////////////////////////////////////// title-->
                    <div id="titlefont" class=" tab_content">
						<table class="form">
                            <!--** Title font on link **-->
                            <tr>
                                <td><?php echo $entry_title_font; ?></td>
                                <td>
                                    <input type="text" name="lagon_title_font" value="<?php echo $lagon_title_font; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_help; ?></span>
            
                                </td>
                            </tr>
                            
                            <!--** Title font on css **-->
                            <tr>
                                <td><?php echo $entry_title_font_family; ?></td>
                                <td>
                                    <input type="text" name="lagon_title_font_family" value="<?php echo $lagon_title_font_family; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_family_help; ?></span>
            
                                </td>
                            </tr>
                        </table>
					</div>
                <!--///////////////////////////////////////////////////////////////////////////////// body-->
                    <div id="bodyfont" class=" tab_content">
						<table class="form">
                            <!--** Body font **-->
                            <tr>
                                <td><?php echo $entry_body_font ?></td>
                                <td>
                                    <input type="text" name="lagon_body_font" value="<?php echo $lagon_body_font; ?>" size="6"   />
                                    <span class="customhelp"><?php echo $entry_body_font_help; ?></span>
            
                                </td>
                            </tr>
                            
                            <!--** Body font family **-->
                            <tr>
                                <td><?php echo $entry_body_font_family ?></td>
                                <td>
                                    <input type="text" name="lagon_body_font_family" value="<?php echo $lagon_body_font_family; ?>" size="6"   />
                                    <span class="customhelp"><?php echo $entry_body_font_family_help; ?></span>
            
                                </td>
                            </tr>
                        </table>
					</div>
                <!--///////////////////////////////////////////////////////////////////////////////// buttons-->
                    <div id="buttonfont" class=" tab_content">
						<table class="form">
                            <!--** Button font **-->
                            <tr>
                                <td><?php echo $entry_button_font; ?></td>
                                <td>
                                    <input type="text" name="lagon_button_font" value="<?php echo $lagon_button_font; ?>" size="6"   />
                                    <span class="customhelp"><?php echo $entry_button_font_help; ?></span>
                                </td>
                            </tr>
                            
                            <!--** Button font family **-->
                            <tr>
                                <td><?php echo $entry_button_font_family; ?></td>
                                <td>
                                    <input type="text" name="lagon_button_font_family" value="<?php echo $lagon_button_font_family; ?>" size="6"   />
                                    <span class="customhelp"><?php echo $entry_button_font_family_help; ?></span>
                                </td>
                            </tr>
                        </table>
					</div>
              
            </div>

            </div><!--/fonts_settings-->
            
            
            
            
            
<!--*******************************************************************************************
***********************************************************************************************


 Buttons 
 
 
 **********************************************************************************************
 *******************************************************************************************-->
 
            <div id="buttons_settings" class="divtab">

                <table class="form">
 			
                    <tr><td colspan="2"><h3><?php echo $entry_lagon_entry_Buttons; ?></h3></td></tr>
              
                    <!--** Add to cart **-->
                    <tr>
                        <td><?php echo $entry_lagon_details_addtocart; ?></td>
                        <td><input type="text" name="lagon_details_addtocart" value="<?php echo $lagon_details_addtocart; ?>" size="6" class="color {required:false,hash:true}"  /></td>
                    </tr>
                    
              
                    <!--** Product Details Add to cart : hover **-->
                    <tr>
                        <td><?php echo $entry_lagon_details_addtocart_hover; ?></td>
                        <td><input type="text" name="lagon_details_addtocart_hover" value="<?php echo $lagon_details_addtocart_hover; ?>" size="6" class="color {required:false,hash:true}"  /></td>
                    </tr>
      
                    
                    <!--** Add to cart - color **-->
                    <tr>
                        <td><?php echo $entry_lagon_details_button_color; ?></td>
                        <td><input type="text" name="lagon_details_button_color" value="<?php echo $lagon_details_button_color; ?>" size="6" class="color {required:false,hash:true}"  />
                        </td>
                    </tr>
                                
                    <!--** All other Add to cart **-->
                    <tr>
                        <td><?php echo $entry_lagon_all_addtocart; ?></td>
                        <td><input type="text" name="lagon_all_addtocart" value="<?php echo $lagon_all_addtocart; ?>" size="6" class="color {required:false,hash:true}"  /><span class="customhelp"><?php echo $entry_all_addtocart_button_help; ?></span></td>
                    </tr>
                    
           
                    <!--** All other Add to cart : hover **-->
                    <tr>
                        <td><?php echo $entry_lagon_all_addtocart_hover; ?></td>
                        <td><input type="text" name="lagon_all_addtocart_hover" value="<?php echo $lagon_all_addtocart_hover; ?>" size="6" class="color {required:false,hash:true}"  /><span class="customhelp"><?php echo $entry_all_addtocart_button_hover_help; ?></span></td>
                    </tr>
                    
                    
                    <!--** All other buttons color **-->
                    <tr>
                        <td><?php echo $entry_lagon_all_buttons_color; ?></td>
                        <td><input type="text" name="lagon_all_buttons_color" value="<?php echo $lagon_all_buttons_color; ?>" size="6" class="color {required:false,hash:true}"  /><span class="customhelp"><?php echo $entry_lagon_all_buttons_color_help; ?></span></td>
                    </tr>

                </table>
            
            </div><!--/buttons_settings-->
            
            
            
			
            
<!--*******************************************************************************************
***********************************************************************************************


  Custom Settings 
 
 
 **********************************************************************************************
 *******************************************************************************************-->
 
			<div id="footer2_settings" class="divtab">
			
            
            	<ul class="tabs-head tabs">
                	<li><a href="#timer"><?php echo $entry_lagon_hotline; ?></a></li>
                    <li><a href="#firstblock"><?php echo $entry_lagon_contact; ?></a></li>
                    <li><a href="#secondblock"><?php echo $entry_lagon_entry_footer_top; ?></a></li>
                    <li><a href="#thirdblock"><?php echo $entry_lagon_entry_footer_bottom; ?></a></li>
                    <li><a href="#fourthblock"><?php echo $entry_custom_css; ?></a></li>
                </ul>
            
            	<div class="tab_container">
                	<!--///////////////////////////////////////////////////////////////////////////////// -->
                    <div id="timer" class="tab_content">
                    	<table class="form">
                        	<tr>
                                <td><?php echo $entry_lagon_hotline; ?></td>
                                <td><input type="text" name="lagon_hotline" value="<?php echo $lagon_hotline; ?>" /></td>
                            </tr>
                        </table>
                    </div>
                    
                    <!--///////////////////////////////////////////////////////////////////////////////// -->
                    <div id="firstblock" class="tab_content">
                        <table class="form">
                        	<tr>
                                <td><?php echo $entry_lagon_address; ?></td>
                                <td><input type="text" name="lagon_address" value="<?php echo $lagon_address; ?>" /></td>
                            </tr>
                            
                            <tr>
                                <td><?php echo $entry_lagon_phone; ?></td>
                                <td><input type="text" name="lagon_phone" value="<?php echo $lagon_phone; ?>" /></td>
                            </tr>
                            
                            <tr>
                                <td><?php echo $entry_lagon_phone_second; ?></td>
                                <td><input type="text" name="lagon_phone_second" value="<?php echo $lagon_phone_second; ?>" /></td>
                            </tr>
                            
                            <tr>
                                <td><?php echo $entry_lagon_email; ?></td>
                                <td><input type="text" name="lagon_email" value="<?php echo $lagon_email; ?>" /></td>
                            </tr>
                            
                            <tr>
                                <td><?php echo $entry_lagon_email_second; ?></td>
                                <td><input type="text" name="lagon_email_second" value="<?php echo $lagon_email_second; ?>" /></td>
                            </tr>
                        </table>
                    </div>
                    <!--///////////////////////////////////////////////////////////////////////////////// -->
                    <div id="secondblock" class="tab_content">
                        <table class="form">
                        	<tr>
                                <td><?php echo $entry_facebook_id; ?></td>
                                <td><input type="text" name="lagon_facebook" value="<?php echo $lagon_facebook; ?>" /></td>
                            </tr>
                        </table>
                        <table class="form">
                            <tr>
                                <p style="font-size: 14px; font-weight: bold; color: #333; line-height: 19px;"><?php echo $entry_twitter_info; ?></p>
                            </tr>
                            <tr>
                                <td><?php echo $entry_twitter_username; ?></td>
                                <td><input type="text" name="lagon_twitter" value="<?php echo $lagon_twitter; ?>" /></td>
                            </tr> 
                            
                            <tr>
                                <td><?php echo $entry_twitter_consumer_key; ?></td>
                                <td><input type="text" name="consumer_keyy" value="<?php echo $consumer_keyy; ?>" /></td>
                            </tr> 
                            
                            <tr>
                                <td><?php echo $entry_twitter_consumer_secret; ?></td>
                                <td><input type="text" name="consumer_secrett" value="<?php echo $consumer_secrett; ?>" /></td>
                            </tr> 
                            
                            <tr>
                                <td><?php echo $entry_twitter_access_token; ?></td>
                                <td><input type="text" name="access_token" value="<?php echo $access_token; ?>" /></td>
                            </tr> 
                            
                            <tr>
                                <td><?php echo $entry_twitter_token_secret; ?></td>
                                <td><input type="text" name="token_secret" value="<?php echo $token_secret; ?>" /></td>
                            </tr> 
                        </table>
                    </div>
                    <!--///////////////////////////////////////////////////////////////////////////////// -->
                    <div id="thirdblock" class="tab_content">
                        <table class="form">
                        	<tr>
                                <td><?php echo $entry_facebook_link; ?></td>
                                <td><input type="text" name="lagon_facebook_link" value="<?php echo $lagon_facebook_link; ?>" /></td>
                            </tr>
                            
                            <tr>
                                <td><?php echo $entry_twitter_link; ?></td>
                                <td><input type="text" name="lagon_twitter_link" value="<?php echo $lagon_twitter_link; ?>" /></td>
                            </tr>
                            
                            <tr>
                                <td><?php echo $entry_google_link; ?></td>
                                <td><input type="text" name="lagon_google_link" value="<?php echo $lagon_google_link; ?>" /></td>
                            </tr>
                            
                            <tr>
                                <td><?php echo $entry_youtube_link; ?></td>
                                <td><input type="text" name="lagon_youtube_link" value="<?php echo $lagon_youtube_link; ?>" /></td>
                            </tr>
                            
                            <tr>
                                <td><?php echo $entry_flickr_link; ?></td>
                                <td><input type="text" name="lagon_flickr_link" value="<?php echo $lagon_flickr_link; ?>" /></td>
                            </tr>
                            
                             <tr>
                                <td><?php echo $entry_vimeo_link; ?></td>
                                <td><input type="text" name="lagon_vimeo_link" value="<?php echo $lagon_vimeo_link; ?>" /></td>
                            </tr>
                            
                            <tr>
                                <td><?php echo $entry_rss_link; ?></td>
                                <td><input type="text" name="lagon_rss_link" value="<?php echo $lagon_rss_link; ?>" /></td>
                            </tr>
                        </table>
                    </div>
                    <!--///////////////////////////////////////////////////////////////////////////////// -->
                    <div id="fourthblock" class="tab_content">
                        <table class="form">
                        	<tr>
                                <td>
                                    <textarea name="custom_css" cols="100" rows="50" style="border-radius: 5px 5px 5px 5px; border-color: #fff; padding: 20px; font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;"><?php echo $custom_css; ?></textarea>
                                </td>
                            </tr>
                        </table>
                    </div>

                </div><!--/tab_container-->

			</div><!--/footer_settings-->
	   </div><!--/data_right-->
	</form>
		
	</div>
    </div>
</div><!--back_ptrn-->
</div>

<?php echo $footer; ?>

<script>
// Tabs
//---------------------------------------------
/* <![CDATA[ */
$(document).ready(function(){
	$(".tab_content").hide();
$("ul.tabs").each(function() {
    $(this).find('li:first').addClass("active");
    $(this).next('.tab_container').find('.tab_content:first').show();
});

$("ul.tabs li a").click(function() {
    var cTab = $(this).closest('li');
    cTab.siblings('li').removeClass("active");
    cTab.addClass("active");
    cTab.closest('ul.tabs').nextAll('.tab_container:first').find('.tab_content').hide(); 

    var activeTab = $(this).attr("href"); //Find the href attribute value to identify the active tab + content
    $(activeTab).fadeIn(); //Fade in the active ID content
    return false;
});
});
/* ]]> */
</script>

<script type="text/javascript">

	$('#settings_tabs a').tabs(); 
	$('#footer_settings_tabs a').tabs();

</script>

<script type="text/javascript" src="view/javascript/jscolor/jscolor.js"></script> 

<script type="text/javascript"><!--

$(document).ready(function() {

	$('	#gazal_background_color').ColorPicker({
		onSubmit: function(hsb, hex, rgb, el) {
			$(el).val(hex);
			$(el).ColorPickerHide();
		},
		onBeforeShow: function () {
			$(this).ColorPickerSetColor(this.value);
		}
	})
	.bind('keyup', function(){
		$(this).ColorPickerSetColor(this.value);
	});
	 });

//--></script>

<script type="text/javascript"><!--
function image_upload(field, preview) {
	$('#dialog').remove();
	
	$('#content').prepend('<div id="dialog" style="padding: 3px 0px 0px 0px;"><iframe src="index.php?route=common/filemanager&token=<?php echo $token; ?>&field=' + encodeURIComponent(field) + '" style="padding:0; margin: 0; display: block; width: 100%; height: 100%;" frameborder="no" scrolling="auto"></iframe></div>');
	
	$('#dialog').dialog({
		title: '<?php echo $text_image_manager; ?>',
		close: function (event, ui) {
			if ($('#' + field).attr('value')) {
				$.ajax({
					url: 'index.php?route=common/filemanager/image&token=<?php echo $token; ?>&image=' + encodeURIComponent($('#' + field).val()),
					dataType: 'text',
					success: function(data) {
						$('#' + preview).replaceWith('<img src="' + data + '" alt="" id="' + preview + '" />');
					}
				});
			}
		},	
		bgiframe: false,
		width: 700,
		height: 400,
		resizable: false,
		modal: false
	});
};
//--></script> 

<script>

</script>