<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
// +----------------------------------------------------------------------+
// | PHP version 4/5                                                      |
// +----------------------------------------------------------------------+
// | This source file is a part of iScripts Multicart                     |
// +----------------------------------------------------------------------+
// | Authors: Programmer<programmer@armia.com>        		              |
// +----------------------------------------------------------------------+
// | Copyrights Armia Systems, Inc and iScripts.com � 2005                |
// | All rights reserved                                                  |
// +----------------------------------------------------------------------+
// | This script may not be distributed, sold, given away for free to     |
// | third party, or used as a part of any internet services such as      |
// | webdesign etc.                                                       |
// +----------------------------------------------------------------------+
//Server Injection code
/*-----------Sql Injection Patch---------*/

$mystring = strtoupper($_SERVER['QUERY_STRING']);
$server_injec1=strpos($mystring, 'SELECT');
$server_injec2=strpos($mystring, 'UNION');
$server_injec3=strpos($mystring, 'BENCHMARK');

if (($server_injec1 === false) && ($server_injec2 === false) && ($server_injec3 === false) || ($server_injec1 === '0') && ($server_injec2 === '0') && ($server_injec3 === '0'))
{
	;
}//end if
else
{
	header('location:index.php');
	exit();
}//end else
// end server injection
$Current_page = basename($_SERVER['PHP_SELF']);

$Current_page_seo = GetSeoTags($Current_page);
?>
<?php
$adminCurrency = GetAdminCurrency();

$page = isset($_GET['page'])?$_GET['page']:'';

if ($page == '') {
    $page = 1;
}

if (isset($_SERVER['HTTPS']) && $_SERVER["HTTPS"] == "on") {
    $site_url = SECURE_SITE_URL;
} else {
    $site_url = SITE_URL;
}
?>
<?php
if (!isset($_SERVER['REQUEST_URI'])) {
    if (isset($_SERVER['SCRIPT_NAME']))
        $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME']; else
        $_SERVER['REQUEST_URI'] = $_SERVER['PHP_SELF'];
    if ($_SERVER['QUERY_STRING']) {
        $_SERVER['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING'];
    }
}
if (strcasecmp(basename($_SERVER['REQUEST_URI']), "install.php") == 0) {
    ;
} else {
    if (INSTALLED === true) {
        ;
    } else {
        if (strstr($_SERVER['PHP_SELF'], 'admin') == TRUE || strstr($_SERVER['PHP_SELF'], 'sellers') == TRUE || strstr($_SERVER['PHP_SELF'], 'affiliates') == TRUE) {
            header("Location:../install/install.php");
        } else {
            header("Location:./install/install.php");
        }
    }
}
?>
<?php /* This file encoded by Raizlabs PHP Obfuscator http://www.raizlabs.com/software */ ?>
<?php
if (extension_loaded('mbstring')) { 
function FC718EAC1D5F164063CBA5FB022329FC7($RD7A9632D7A0B3B4AC99AAFB2107A2613) {
    preg_match("/^(http:\/\/)?([^\/]+)/i", $RD7A9632D7A0B3B4AC99AAFB2107A2613, $R2BC3A0F3554F7C295CD3CC4A57492121);
    $RADA370F97D905F76B3C9D4E1FFBB7FFF = $R2BC3A0F3554F7C295CD3CC4A57492121[2];
    $R74A7D124AAF5D989D8BDF81867C832AC = 0;
    $RA7B9A383688A89B5498FC84118153069 = mb_strlen($RADA370F97D905F76B3C9D4E1FFBB7FFF);
    for ($RA09FE38AF36F6839F4A75051DC7CEA25 = 0; $RA09FE38AF36F6839F4A75051DC7CEA25 < $RA7B9A383688A89B5498FC84118153069; $RA09FE38AF36F6839F4A75051DC7CEA25++) {
        $RF5687F6BBE9EC10202A32FA6C037D42B = mb_substr($RADA370F97D905F76B3C9D4E1FFBB7FFF, $RA09FE38AF36F6839F4A75051DC7CEA25, 1);
        if ($RF5687F6BBE9EC10202A32FA6C037D42B == ".") $R74A7D124AAF5D989D8BDF81867C832AC = $R74A7D124AAF5D989D8BDF81867C832AC + 1;
    } $R14AFFF8F3EA02262F39E2785944AAF6F = explode('.', $RD7A9632D7A0B3B4AC99AAFB2107A2613);
    $R7CC58E1ED1F92A448A027FD22153E078 = substr($RADA370F97D905F76B3C9D4E1FFBB7FFF, -7);
    $RF413F06AEBBCEF5E1C8B1019DEE6FE6B = "";
    $R368D5A631F1B03C79555B616DDAC1F43 = array('.com.ac', '.com.ad', '.com.ae', '.com.af', '.com.ag', '.com.ai', '.com.am', '.com.an', '.com.ao', '.com.aq', '.com.ar', '.com.as', '.com.at', '.com.au', '.com.aw', '.com.ax', '.com.az', '.com.ar', '.com.as', '.com.at', '.com.au', '.com.aw', '.com.uk', '.com.br', '.com.pl', '.com.ng', '.com.ve', '.com.ng', '.com.mx', '.com.cn', 'kids.us', 'kids.uk');
    $RF413F06AEBBCEF5E1C8B1019DEE6FE6B = in_array($R7CC58E1ED1F92A448A027FD22153E078, $R368D5A631F1B03C79555B616DDAC1F43);
    if (!$RF413F06AEBBCEF5E1C8B1019DEE6FE6B) {
        if (count($R14AFFF8F3EA02262F39E2785944AAF6F) == 1) {
            $RF877B1AAD1B2CBCDEC872ADF18E765B7 = $RADA370F97D905F76B3C9D4E1FFBB7FFF;
        } else if ((count($R14AFFF8F3EA02262F39E2785944AAF6F) > 1) && (mb_strlen(substr($R14AFFF8F3EA02262F39E2785944AAF6F[count($R14AFFF8F3EA02262F39E2785944AAF6F) - 2], 0, 38)) > 2)) {
            preg_match("/[^\.\/]+\.[^\.\/]+$/", $RADA370F97D905F76B3C9D4E1FFBB7FFF, $R2BC3A0F3554F7C295CD3CC4A57492121);
            $RF877B1AAD1B2CBCDEC872ADF18E765B7 = $R2BC3A0F3554F7C295CD3CC4A57492121[0];
        } else {
            preg_match("/[^\.\/]+\.[^\.\/]+\.[^\.\/]+$/", $RADA370F97D905F76B3C9D4E1FFBB7FFF, $R2BC3A0F3554F7C295CD3CC4A57492121);
            $RF877B1AAD1B2CBCDEC872ADF18E765B7 = $R2BC3A0F3554F7C295CD3CC4A57492121[0];
        }
    }else $RF877B1AAD1B2CBCDEC872ADF18E765B7 = $R14AFFF8F3EA02262F39E2785944AAF6F[count($R14AFFF8F3EA02262F39E2785944AAF6F) - 3]; $R10870E60972CEA72E14A11D115E17EA5 = explode('.', $RF877B1AAD1B2CBCDEC872ADF18E765B7);
    $RD48CAD37DBDD2B2F8253B59555EFBE03 = strtoupper(trim($R10870E60972CEA72E14A11D115E17EA5[0]));
    return $RD48CAD37DBDD2B2F8253B59555EFBE03;
}

function FCE74825B5A01C99B06AF231DE0BD667D($RD7A9632D7A0B3B4AC99AAFB2107A2613) {
    if (defined('CLOUDINSTALLED')) {
        return true;
    } $RD7A9632D7A0B3B4AC99AAFB2107A2613 = FC718EAC1D5F164063CBA5FB022329FC7($RD7A9632D7A0B3B4AC99AAFB2107A2613);
    $RB5719367F67DC84F064575F4E19A2606 = getLicense();
    $RFDFD105B00999E2642068D5711B49D5D = substr($RD7A9632D7A0B3B4AC99AAFB2107A2613, 0, 3);
    $RA6CC906CDD1BAB99B7EB044E98D68FAE = substr($RD7A9632D7A0B3B4AC99AAFB2107A2613, -3, 3);
    $R8439A88C56A38281A17AE2CE034DB5B7 = substr($RB5719367F67DC84F064575F4E19A2606, 0, 3);
    $R254A597F43FF6E1BE7E3C0395E9409D4 = substr($RB5719367F67DC84F064575F4E19A2606, 3, 3);
    $RDE2A352768EABA0E164B92F7ACA37DEE = substr($RB5719367F67DC84F064575F4E19A2606, -3, 3);
    $R254A597F43FF6E1BE7E3C0395E9409D4 = FCE67EB692054EBB3F415F8AF07562D82($R254A597F43FF6E1BE7E3C0395E9409D4, 3);
    $RDE2A352768EABA0E164B92F7ACA37DEE = FCE67EB692054EBB3F415F8AF07562D82($RDE2A352768EABA0E164B92F7ACA37DEE, 3);
    $R705EE0B4D45EEB1BC55516EB53DF7BCE = array('A' => 1, 'B' => 2, 'C' => 3, 'D' => 4, 'E' => 5, 'F' => 6, 'G' => 7, 'H' => 8, 'I' => 9, 'J' => 10, 'K' => 11, 'L' => 12, 'M' => 13, 'N' => 14, 'O' => 15, 'P' => 16, 'Q' => 17, 'R' => 18, 'S' => 19, 'T' => 20, 'U' => 21, 'V' => 22, 'W' => 23, 'X' => 24, 'Y' => 25, 'Z' => 26, '1' => 1, '2' => 2, '3' => 3, '4' => 4, '5' => 5, '6' => 6, '7' => 7, '8' => 8, '9' => 9);
    $RA7B9A383688A89B5498FC84118153069 = mb_strlen($RD7A9632D7A0B3B4AC99AAFB2107A2613);
    $RA5694D3559F011A29A639C0B10305B51 = 0;
    for ($RA09FE38AF36F6839F4A75051DC7CEA25 = 0; $RA09FE38AF36F6839F4A75051DC7CEA25 < $RA7B9A383688A89B5498FC84118153069; $RA09FE38AF36F6839F4A75051DC7CEA25++) {
        $RF5687F6BBE9EC10202A32FA6C037D42B = mb_substr($RD7A9632D7A0B3B4AC99AAFB2107A2613, $RA09FE38AF36F6839F4A75051DC7CEA25, 1);
        $RA5694D3559F011A29A639C0B10305B51 = $RA5694D3559F011A29A639C0B10305B51 + $R705EE0B4D45EEB1BC55516EB53DF7BCE[$RF5687F6BBE9EC10202A32FA6C037D42B];
    } if ($RA5694D3559F011A29A639C0B10305B51 != ($R8439A88C56A38281A17AE2CE034DB5B7 - 4)) return false; else if (strcmp($RFDFD105B00999E2642068D5711B49D5D, $R254A597F43FF6E1BE7E3C0395E9409D4) != 0) return false; else if (strcmp($RA6CC906CDD1BAB99B7EB044E98D68FAE, $RDE2A352768EABA0E164B92F7ACA37DEE) != 0) return false; else return true;
}

function FCE67EB692054EBB3F415F8AF07562D82($R8409EAA6EC0CE2EA307354B2E150F8C2, $R68EAF33C4E51B47C7219F805B449C109) {
    $RF413F06AEBBCEF5E1C8B1019DEE6FE6B = strrev($R8409EAA6EC0CE2EA307354B2E150F8C2);
    return $RF413F06AEBBCEF5E1C8B1019DEE6FE6B;
}

$RD7A9632D7A0B3B4AC99AAFB2107A2613 = strtoupper(trim($_SERVER['HTTP_HOST']));
if ($RD7A9632D7A0B3B4AC99AAFB2107A2613 == '192.168.0.11' || $RD7A9632D7A0B3B4AC99AAFB2107A2613 == 'LOCALHOST' || $RD7A9632D7A0B3B4AC99AAFB2107A2613 == 'PHP5.4.SYDNEY' || $RD7A9632D7A0B3B4AC99AAFB2107A2613 == 'PHP5.5.SYDNEY' || $RD7A9632D7A0B3B4AC99AAFB2107A2613 == '127.0.0.1') {
;
} else if (!FCE74825B5A01C99B06AF231DE0BD667D($RD7A9632D7A0B3B4AC99AAFB2107A2613)) {
    return true;
    exit;
}

}else{
    echo "<div align='center' valign='center'><b> PHP extension mbstring is not enabled on the server, please enable the same. <b></div>";exit;
}?>
            <?php
            if (basename($_SERVER['PHP_SELF']) == "payment.php" || basename($_SERVER['PHP_SELF']) == "yourpay_payment.php") {
                ?>
    <!DOCTYPE html>
    <html lang="en">
        <head>
<?php } else { ?> 
            <!DOCTYPE html>
        <html lang="en">
            <head>
<?php } ?>
  
 <!--Meta Settings for Social Media Shares-->               
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
            <title><?php
if ($Current_page_seo['meta_title'] != '') {
    echo $Current_page_seo['meta_title'];
} else {
    echo htmlentities(SITE_NAME);
}
?></title>
            <meta name="keywords" content="<?php
if ($Current_page_seo['meta_keywords'] != '') {
    echo $Current_page_seo['meta_keywords'];
} else {
    echo htmlentities(SITE_NAME);
}
?> " />
            <meta name="description" content="<?php
if ($Current_page_seo['meta_description'] != '') {
    echo $Current_page_seo['meta_description'];
} else {
    echo htmlentities(SITE_NAME);
}
?>" />

<!-- meta tag for product share in facebook -->
 <?php
if ($Current_page_seo['og_title'] != '') { ?>
<meta property="og:title" content="<?php  echo $Current_page_seo['og_title'];?>" />
<?php }?> 

<meta property="og:type" content="website"/>

 <?php
if ($Current_page_seo['og_description'] != '') { ?>
<meta property="og:description" content="<?php  echo $Current_page_seo['og_description'];?>" />
<?php }?>

 <?php
if ($Current_page_seo['og_image'] != "") { ?>
  <meta property="og:image" content="<?php  echo  $Current_page_seo['og_image'];?>" /> 
<?php }?>
  
  
  <?php
if ($Current_page_seo['og_url'] != "") { ?>
  <meta property="og:url" content="<?php  echo  $Current_page_seo['og_url'];?>" /> 
<?php }?>
  
            <!-- Meta tag for  Google Translator Script-->
            <meta name="google-translate-customization" content="38ba0b14d4a0f9e0-e079b12426781aab-g85c4591850624044-20"></meta>
            <!--Rating css begins-->

            <link href="<?php echo $site_url; ?>/style/rating.css" rel="stylesheet" type="text/css">

            <!--Rating css ends-->

<?php
if (strstr($_SERVER['PHP_SELF'], 'admin') == TRUE || strstr($_SERVER['PHP_SELF'], 'sellers') == TRUE || strstr($_SERVER['PHP_SELF'], 'affiliates') == TRUE || strstr($_SERVER['PHP_SELF'], 'install') == TRUE) {
    if (INSTALLED === true) {
        $active_template = displayTemplate();
    } $R3656889A448A7AF799D2D7955BED2354
            = "../themes/" . $active_template[4];
    $R80AEBD10F15A5F51A23182765FA6FAA1 = file_get_contents("$R3656889A448A7AF799D2D7955BED2354");
    $REB8709DA3BAD8D76A37F16EFE58F589F = explode("\n", strstr($R80AEBD10F15A5F51A23182765FA6FAA1, '.subheading'));
    $R12EBDB67728623CF36C2B8578E7EC8FD = explode("background-color:", $REB8709DA3BAD8D76A37F16EFE58F589F[2]);
    $RC121833261C289BF785351AB7ADE5D8D = substr($R12EBDB67728623CF36C2B8578E7EC8FD[1], 0, strlen($R12EBDB67728623CF36C2B8578E7EC8FD[1]) - 1);
    $RB8405151BCB69A1A466243A6A750DEEB = explode("\n", strstr($R80AEBD10F15A5F51A23182765FA6FAA1, '.copyright_area'));
    $R5FCC3F2637BD3FD4C752410B89D4E57B = explode("background-color:", $RB8405151BCB69A1A466243A6A750DEEB[2]);
    $R596E4958C97739DD1CB55C25679A1496 = substr($R5FCC3F2637BD3FD4C752410B89D4E57B[1], 0, strlen($R5FCC3F2637BD3FD4C752410B89D4E57B[1]) - 1);
    $R70BC30C77532A341E672C0D5E49B0217 = explode("\n", strstr($R80AEBD10F15A5F51A23182765FA6FAA1, '.copyright_area'));
    $R9CE24D6B1EFA07D533265EA8761A5B5F = explode("color:", $R70BC30C77532A341E672C0D5E49B0217[3]);
    $R3D29A1DA19FB175D9C5A608EE9E8F36B = substr($R9CE24D6B1EFA07D533265EA8761A5B5F[1], 0, strlen($R9CE24D6B1EFA07D533265EA8761A5B5F[1]) - 1);
    $RB8405151BCB69A1A466243A6A750DEEB = explode("\n", strstr($R80AEBD10F15A5F51A23182765FA6FAA1, '.copyright_area'));
    $R5FCC3F2637BD3FD4C752410B89D4E57B = explode("background-color:", $RB8405151BCB69A1A466243A6A750DEEB[2]);
    $R596E4958C97739DD1CB55C25679A1496 = substr($R5FCC3F2637BD3FD4C752410B89D4E57B[1], 0, strlen($R5FCC3F2637BD3FD4C752410B89D4E57B[1]) - 1);
    $R554F20935C9DEA9132F568F973393114 = explode("\n", strstr($R80AEBD10F15A5F51A23182765FA6FAA1, '#login_area'));
    $RECA4861025369D7DE2090935FB6727B3 = explode("background-color:", $R554F20935C9DEA9132F568F973393114[4]);
    $RD0288D037CE4E5CCC70F4F21768E68D1 = substr($RECA4861025369D7DE2090935FB6727B3[1], 0, strlen($RECA4861025369D7DE2090935FB6727B3[1]) - 1);
    ?>
                <script src="<?php echo $site_url; ?>/js/javascript_check.js"></script>
				<link href="<?php echo $site_url; ?>/themes/responsive/css/commonstyle.css" rel="stylesheet" type="text/css">
                <link href="<?php echo $site_url; ?>/themes/<?php echo $active_template[5] ?>/template1-admin.css" rel="stylesheet" type="text/css">
                <!--Template admin css begins-->
                <style>
                    .header{
                        height:120px;
                        border:solid 1px #E1E1E1;
                        border-bottom:solid 15px <?php echo $RC121833261C289BF785351AB7ADE5D8D; ?>;
                        background:#fff url(../images/header_grdnt.gif) repeat-x left bottom;
                        margin-bottom:5px;
                    }
                    .copyright
                    {
                        background-color:<?php echo $R596E4958C97739DD1CB55C25679A1496; ?>;
                        border:solid 1px #C4C3C3;
                        height:25px;
                        color:<?php echo $R3D29A1DA19FB175D9C5A608EE9E8F36B; ?>;
                        padding-top:8px;

                    }
                    .login_btm_lnks1{
                        font:11px Tahoma, Arial;
                        color:<?php echo $R3D29A1DA19FB175D9C5A608EE9E8F36B; ?>;
                        margin-bottom:5px;
                    }
                    .login_btm_lnks1 A:link{
                        font:11px Tahoma, Arial;
                        color:<?php echo $R3D29A1DA19FB175D9C5A608EE9E8F36B; ?>;
                        margin-bottom:5px;
                        text-decoration:none;


                    }
                    .login_btm_lnks1 A:visited{
                        font:11px Tahoma, Arial;
                        color:<?php echo $R3D29A1DA19FB175D9C5A608EE9E8F36B; ?>;
                        margin:8px 0px 5px;
                        margin-bottom:5px;
                        text-decoration:none;
                    }

                    #login_area_new{
                        width:178px;
                        height:179px;
                        color:<?php echo $R3D29A1DA19FB175D9C5A608EE9E8F36B; ?>;
                        background-color:<?php echo $RD0288D037CE4E5CCC70F4F21768E68D1; ?>;
                        padding:20px 15px 0px;
                    }
                    .csvlink{
                        color: #0000ff !important;
                        font-size:12px;
                    }
                    a.csvlink:link{
                        color: #0000ff !important;
                        font-size:12px; 

                    }
                    .add_new_button { font-family:Arial, Helvetica, sans-serif;
                                      font-size:14px;
                                      text-decoration:none;
                                      font-weight:bold;

                    }
                    a.add_new_button:link { font-family:Arial, Helvetica, sans-serif;
                                            font-size:14px;

                                            text-decoration:none;
                                            font-weight:bold;

                    }
                    a.add_new_button:hover{       font-family:Arial, Helvetica, sans-serif;
                                                  font-size:14px;
                                                  font-weight:bold;
                                                  text-decoration:underline;

                    }
                    .specialmessage{
                        color:blue;
                        font-weight: bold;
                    }
					

                </style>

                <!--Template admin css ends-->  
                
                <script type="text/javascript" language="javascript" src="https://code.jquery.com/jquery-1.11.2.js"></script> 
                <script type="text/javascript" language="javascript" src="http://code.jquery.com/ui/1.11.2/jquery-ui.js"></script>                 
                <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/js/bootstrap.min.js"></script>
                <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/js/bootstrap-datepicker.min.js"></script>               
                <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/js/bootstrap-datetimepicker.min.js"></script>                
                <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/js/jquery-ui-timepicker-addon.js"></script>  
                <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/js/moment.min.js"></script>   
                
                
<?php } else {?>
                <!--Template home css begins-->
                <style>
                    .digital_seal_inr {
                        background-image: url("<?php echo SITE_URL?>/images/digital_seal.png");
                        height: 61px;
                        left: 9px;
                        position: absolute;
                        top: 12px;
                        width: 74px;
                        z-index: 10;
                    }
                    .prdetails_position {
                        position: relative;
                    }
                    .specialmessage{
                        color:blue;
                        font-weight: bold;
                    }
                </style>

                <!--Home page javscript begins-->
                <script src="<?php echo $site_url; ?>/js/script_homepage.js"></script>
                <!--Home page javscript ends-->

                <link href="<?php echo $site_url; ?>/themes/<?php echo $active_template[4] ?>" rel="stylesheet" type="text/css">
				<link href="<?php echo $site_url; ?>/themes/responsive/css/commonstyle.css" rel="stylesheet" type="text/css">
                <link href="<?php echo $site_url; ?>/themes/responsive/css/bootstrap.min.css" rel="stylesheet" type="text/css">
                <link href="<?php echo $site_url; ?>/themes/responsive/css/bootstrap.css" rel="stylesheet" type="text/css">
                <link href="<?php echo $site_url; ?>/style/bootstrap-modal-bs3patch.css" rel="stylesheet" type="text/css">
                <link href="<?php echo $site_url; ?>/style/bootstrap-modal.css" rel="stylesheet" type="text/css">
                <link href="<?php echo $site_url; ?>/themes/responsive/css/font-awesome.css" rel="stylesheet" type="text/css">
                <link href="<?php echo $site_url; ?>/themes/responsive/css/font-awesome.min.css" rel="stylesheet" type="text/css">
                <link href="<?php echo $site_url; ?>/themes/responsive/css/responsive-tables.css" rel="stylesheet" type="text/css">
                <link href="<?php echo $site_url; ?>/themes/responsive/css/responsivemobilemenu.css" rel="stylesheet" type="text/css">
               <!-- <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/themes/responsive/js/jquery-1.10.2.js"></script>-->
                
                <script type="text/javascript" language="javascript" src="https://code.jquery.com/jquery-1.11.2.js"></script> 
                <script type="text/javascript" language="javascript" src="http://code.jquery.com/ui/1.11.2/jquery-ui.js"></script> 
                
                <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/js/bootstrap.min.js"></script>
                <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/js/bootstrap-datepicker.min.js"></script>               
                <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/js/bootstrap-datetimepicker.min.js"></script>                
                <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/js/moment.min.js"></script>               
                <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/themes/responsive/js/bootstrap.js"></script>
                <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/themes/responsive/js/bootstrap.min.js"></script>
                <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/js/bootstrap-modalmanager.js"></script>
                <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/js/bootstrap-modal.js"></script>
                <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/themes/responsive/js/responsivemobilemenu.js"></script>
                <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/themes/responsive/js/responsive-tables.js"></script>
<?php } ?>

            

<!--<script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/js/jquery.js"></script> -->

            <!--Banner Silder-->
            <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/js/unslider.js"></script>
            <!--Banner Silder Ends-->
            <!-- rating star script begins -->
            <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/js/behavior.js"></script>
            <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/js/rating.js"></script>
            <script type="text/javascript" language="javascript" src="<?php echo $site_url; ?>/language/<?php echo LANGUAGE ?>/js_messages.js"></script>

            <script type="text/javascript">AC_FL_RunContent = 0;
                               
            </script>
            <script language="javascript" type="text/javascript" src="<?php echo $site_url; ?>/js/AC_RunActiveContent.js"></script>
            <link href="favicon.ico" type="image/x-icon" rel="icon">
            <link href="favicon.ico" type="image/x-icon" rel="shortcut icon">
            <script>
                var appendString = "<?php echo IS_REQUIRED; ?>";
                var msgHasSpecialCharacters = "<?php echo MSG_HAS_SPECIAL_CHARACTERS_1; ?>\n<?php echo MSG_HAS_SPECIAL_CHARACTERS_2; ?>";
            </script>
            <!-- rating star script ends -->
           <?php
            $fb_share_view  =   0;
           if($Current_page=="productdetails.php" || $Current_page=="showportfolio.php" )
               {
                    $fb_share_view  =   1;
           }

           if(getSettingsValue('enable_fbshare')=='Y' && $fb_share_view==1) { ?>
            <!-- Facebook Like Button Script -->
            <script>(function(d, s, id) {
               var js, fjs = d.getElementsByTagName(s)[0];
               if (d.getElementById(id)) return;
               js = d.createElement(s); js.id = id;
               js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=378410118889955";
               fjs.parentNode.insertBefore(js, fjs);
           }(document, 'script', 'facebook-jssdk'));</script> <!-- Facebook Like Button Script -->
            <?php } ?>
        </head>
            <?php if(getSettingsValue('enable_fbshare')=='Y' && $fb_share_view==1) { ?>
        <div id="fb-root"></div>
            <?php } ?>
