foreach ($config_array as $k => $v) {
    if (preg_match('/^.*\\.ini$/', $v['PATH_LAYOUTS_CONFIG_FILE'])) {
        $storefront_list[] = $v['SITE_URL'];
    }
}
?>
<SCRIPT LANGUAGE="JavaScript">
<!--

	function clearInstance(instance)
	{
		jQuery('#i-'+instance).html('<img src="images/ajax/snake.gif">');
		jQuery.post('jquery_ajax_handler.php',
			{'asc_action': 'ClearInstanceAjax', 'instance':instance},
                         function(msg){ showToastMsg('success','','<?php 
xMsg("SYS", "MSG_CACHE_CLEARED");
?>
',''); });
	}

    function updateStoreStatus()
    {
        update_store_url = '<?php 
$rqst = new Request();
$rqst->setView(CURRENT_REQUEST_URL);
$rqst->setAction('UpdateGeneralSettings');
$rqst->setKey(SYSCONFIG_STORE_ONLINE, $store_status ? 1 : 0);
$rqst->setKey('local', 'Y');
echo $rqst->getURL();
?>
';
| unless specifically noted otherwise.
| =============================================
| This source code is released under the Avactis License Agreement.
| The latest version of this license can be found here:
| http://www.avactis.com/license.php
|
| By using this software, you acknowledge having read this license agreement
| and agree to be bound thereby.
|
 ***********************************************************************/
?>
<div class="portlet box blue-hoki">
	<div class="portlet-title">
		<div class="caption bold uppercase">
			<i class="fa fa-gears"></i><?php 
xMsg('SYS', 'SHIP_METH_PAGE_NAME');
?>
		</div>
	</div>
	<div class="portlet-body">
		<!--starting portlet -tab --->
		<div class=" portlet-tabs">
			<ul class="nav nav-tabs">
				<li class="active"><a data-toggle="tab" href="#general_settings_tab"><?php 
xmsg('SYS', 'OVERVIEW');
?>
</a></li>
				<li class=""><a data-toggle="tab" href="#edit_shipping_settings_tab"><?php 
xmsg('SCC', 'LABEL_EDIT_SETTINGS');
?>
</a></li>
?>
</a></li>
        <li><a href="<?php 
echo $store;
?>
activation.php" target="css_editor_storefront"><?php 
xMsg('LF', 'LF_PAGE_ACTIVATION');
?>
</a></li>
    </ul>
    <p><?php 
xMsg('LF', 'LF_ATTENTION_UNREG_TEXT');
?>
</p>
    <h3><?php 
xMsg('LF', 'LF_GO_URL_TITLE');
?>
</h3>
    <div class="button_go"></div><div class="url"><input type="text" /></div>
</div>

</div>
</div>

</div>

<div id="rulesDebug"></div>

<script language="JavaScript">
$(function() {
	window.setTimeout(function() {
| The latest version of this license can be found here:
| http://www.avactis.com/license.php
|
| By using this software, you acknowledge having read this license agreement
| and agree to be bound thereby.
|
 ***********************************************************************/
require_once '../admin.php';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">

<html>
	<head>
		<title><?php 
xMsg('SYS', 'ORDERS_PACKING_SLIP');
?>
</title>
		<link rel='stylesheet' href='styles/style.invoice.css' type='text/css'/>
		<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
		<script type="text/javascript" src="js/avactis-jquery_post_extend.js"></script>
		<script type="text/javascript" src="js/jquery-migrate-1.1.1.min.js"></script>


		<!--[if lt IE 7]>
		<style type="text/css">
		.transparent_block {
		  background-image: none;
		  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/halftranspixel.png', sizingMethod='scale');
		}
		</style>
| The latest version of this license can be found here:
| http://www.avactis.com/license.php
|
| By using this software, you acknowledge having read this license agreement
| and agree to be bound thereby.
|
 ***********************************************************************/
require_once '../admin.php';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">

<html>
	<head>
		<title><?php 
xMsg('SYS', 'ORDERS_INVOICE');
?>
</title>
		<link rel='stylesheet' href='styles/style.invoice.css' type='text/css'/>
		<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
		<script type="text/javascript" src="js/avactis-jquery_post_extend.js"></script>
		<script type="text/javascript" src="js/jquery-migrate-1.1.1.min.js"></script>


		<!--[if lt IE 7]>
		<style type="text/css">
		.transparent_block {
		  background-image: none;
		  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/halftranspixel.png', sizingMethod='scale');
		}
		</style>