<?php
/* --------------------------------------------------------------
gm_meta.php 2017-05-29
Gambio GmbH
http://www.gambio.de
Copyright (c) 2017 Gambio GmbH
Released under the GNU General Public License (Version 2)
[http://www.gnu.org/licenses/gpl-2.0.html]
IMPORTANT! THIS FILE IS DEPRECATED AND WILL BE REPLACED IN THE FUTURE.
MODIFY IT ONLY FOR FIXES. DO NOT APPEND IT WITH NEW FEATURES, USE THE
NEW GX-ENGINE LIBRARIES INSTEAD.
--------------------------------------------------------------
based on:
(c) 2000-2001 The Exchange Project
(c) 2002-2003 osCommerce coding standards (a typical file) www.oscommerce.com
(c) 2003 nextcommerce (start.php,1.5 2004/03/17); www.nextcommerce.org
(c) 2003 XT-Commerce - community made shopping http://www.xt-commerce.com ($Id: start.php 1235 2005-09-21 19:11:43Z mz $)
Released under the GNU General Public License
--------------------------------------------------------------*/
require('includes/application_top.php');
AdminMenuControl::connect_with_page('gm_seo_boost.php');
include(DIR_FS_CATALOG . 'gm/inc/gm_check_upload.inc.php');
$adminMenuLang = MainFactory::create('LanguageTextManager', 'admin_menu', $_SESSION['languages_id']);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="x-ua-compatible" content="IE=edge">
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_SESSION['language_charset']; ?>">
<title><?php echo TITLE; ?></title>
<link rel="stylesheet" type="text/css" href="<?php echo DIR_WS_ADMIN; ?>html/assets/styles/legacy/stylesheet.css">
</head>
<body topmargin="0" leftmargin="0" bgcolor="#FFFFFF">
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<table border="0" width="100%" cellspacing="2" cellpadding="2">
<tr>
<td class="columnLeft2" width="<?php echo BOX_WIDTH; ?>" valign="top">
<table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft">
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
</table>
</td>
<td class="boxCenter" width="100%" valign="top">
<table border="0" width="100%" cellspacing="0" cellpadding="0" class="breakpoint-small">
<tr>
<td>
<div class="pageHeading" style="background-image:url(html/assets/images/legacy/gm_icons/gambio.png)">
SEO
</div>
<table>
<tr>
<td class="dataTableHeadingContent">
<?php echo $adminMenuLang->get_text('BOX_GM_META'); ?>
</td>
<td class="dataTableHeadingContent">
<a href="robots_download.php">
<?php echo $adminMenuLang->get_text('BOX_ROBOTS'); ?>
</a>
</td>
<td class="dataTableHeadingContent">
<a href="gm_sitemap.php">
<?php echo $adminMenuLang->get_text('BOX_GM_SITEMAP'); ?>
</a>
</td>
<td class="dataTableHeadingContent">
<?php
echo '<a href="' . xtc_href_link('admin.php', 'do=StaticSeoUrl') . '">'
. $adminMenuLang->get_text('BOX_STATIC_SEO_URLS') . '</a>';
?>
</td>
<td class="dataTableHeadingContent">
<a href="<?= xtc_href_link('admin.php', 'do=TrackingCodes') ?>">
<?php echo $adminMenuLang->get_text('BOX_GM_ANALYTICS'); ?>
</a>
</td>
</tr>
</table>
<div class="gx-container">
<div class="ui-tabs">
<div class="tab-headline-wrapper" style="position: static; top: 0;">
<?php
// Meta Tags
$class = ((isset($_GET['action']) && $_GET['action'] === 'gm_meta') || !isset($_GET['action']))
? 'active' : '';
$href = xtc_href_link('gm_meta.php', 'action=gm_meta');
echo '<a class="' . $class . '" href="' . $href . '">'
. MENU_TITLE_GM_META .
'</a>';
// New Meta Tags
$class = (isset($_GET['action']) && $_GET['action'] === 'gm_meta_new')
? 'active' : '';
$href = xtc_href_link('gm_meta.php', 'action=gm_meta_new');
echo '<a class="' . $class . '" href="' . $href . '">'
. MENU_TITLE_GM_META_NEW .
'</a>';
// Meta Tags Options
$class = (isset($_GET['action']) && $_GET['action'] === 'gm_meta_options')
? 'active' : '';
$href = xtc_href_link('gm_meta.php', 'action=gm_meta_options');
echo '<a class="' . $class . '" href="' . $href . '">'
. MENU_TITLE_GM_META_OPTIONS .
'</a>';
?>
</div>
<div class="tab-content-wrapper" style="padding: 0;">
<div>
<?php include(DIR_FS_ADMIN . 'gm_meta_action.php'); ?>
</div>
</div>
</div>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
