| Server IP : 85.158.181.41 / Your IP : 216.73.217.12 Web Server : Apache System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64 User : moncbefd ( 1024) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/moncbefd/www.moneta.at/admin/includes/gm/gm_counter/ |
Upload File : |
<?php
/* --------------------------------------------------------------
gm_counter_form.php 2018-06-15
Gambio GmbH
http://www.gambio.de
Copyright (c) 2018 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.
--------------------------------------------------------------
*/
defined('_VALID_XTC') or die('Direct Access to this location is not allowed.');
?>
<?php if($_GET['action'] == 'gm_counter_visitor') : ?>
<div class="gx-container add-margin-top-24">
<div class="control-group grid">
<label class="control-label col-sm-3">
<?php echo TITLE_CONF_START_DATE;?>
</label>
<div class="span4">
<input readonly name="start-date" id="start-date" class="date-pick dp-applied cursor-pointer">
</div>
</div>
<div class="control-group grid">
<label class="control-label col-sm-3">
<?php echo TITLE_CONF_END_DATE;?>
</label>
<div class="span4">
<input readonly name="end-date" id="end-date" class="date-pick dp-applied cursor-pointer">
</div>
</div>
</div>
<div class="bottom-save-bar-content">
<input class="btn btn-primary pull-right" type="button" value="<?php echo BUTTON_REFRESH;?>" onClick="<?php echo 'gm_get_content(\'' . xtc_href_link('gm_counter_action.php', 'action=gm_counter_visitor&subpage=' . htmlentities_wrapper($_GET['subpage']) . ''); ?>', 'gm_counter_visitor', '<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_box_submenu_visitor'); ?>', '', false)">
</div>
<?php elseif($_GET['action'] == 'gm_counter_pages'): ?>
<br />
<table border="0" width="100%" cellspacing="0" cellpadding="2" class="normalize-table">
<tr>
<td>
<div class="gx-container">
<div class="control-group grid">
<div class="span4">
<label><?php echo TITLE_PAGE_TYP; ?></label>
</div>
<div class="span4">
<select id="gm_type">
<option value="all"><?php echo TITLE_ALL; ?></option>
<option value="prd"><?php echo TITLE_PRD; ?></option>
<option value="cat"><?php echo TITLE_CAT; ?></option>
<option value="content"><?php echo TITLE_CONTENT; ?></option>
</select>
</div>
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="gx-container">
<div class="control-group grid">
<div class="span4">
<label><?php echo TITLE_COUNT; ?></label>
</div>
<div class="span4">
<input id="gm_count">
</div>
</div>
</div>
</td>
</tr>
<tr>
<td class="main bottom-save-bar-content" valign="top">
<input class="btn btn-primary pull-right" type="button" value="<?php echo BUTTON_REFRESH;?>"
onClick="gm_get_content('<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_counter_pages&subpage=' . htmlentities_wrapper($_GET['subpage']) . ''); ?>', 'gm_counter_pages', '<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_box_submenu_pages&subpage=' . htmlentities_wrapper($_GET['subpage']) . ''); ?>');">
</td>
</tr>
</table>
<?php elseif($_GET['action'] == 'gm_counter_user'): ?>
<br />
<table border="0" width="100%" cellspacing="0" cellpadding="2" class="normalize-table">
<tr>
<td>
<div class="gx-container">
<div class="control-group grid">
<div class="span4">
<label><?php echo TITLE_COUNT; ?></label>
</div>
<div class="span4">
<input id="gm_count">
</div>
</div>
</div>
</td>
</tr>
<tr>
<td class="main bottom-save-bar-content" valign="top" colspan="2">
<input class="btn btn-primary pull-right" type="button" value="<?php echo BUTTON_REFRESH;?>"
onClick="gm_get_content('<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_counter_user&subpage=' . htmlentities_wrapper($_GET['subpage']) . ''); ?>', 'gm_counter_user', '<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_box_submenu_user&subpage=' . htmlentities_wrapper($_GET['subpage']) . ''); ?>');">
</td>
</tr>
</table>
<?php elseif($_GET['action'] == 'gm_counter_search'): ?>
<br />
<table border="0" width="100%" cellspacing="0" cellpadding="2" class="normalize-table">
<tr>
<td>
<div class="gx-container">
<div class="control-group grid">
<div class="span4">
<label><?php echo TITLE_COUNT; ?></label>
</div>
<div class="span4">
<input id="gm_count">
</div>
</div>
</div>
</td>
</tr>
<tr>
<td class="main bottom-save-bar-content" valign="top" colspan="2">
<input class="btn btn-primary pull-right" type="button" value="<?php echo BUTTON_REFRESH;?>"
onClick="gm_get_content('<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_counter_search&subpage=' . htmlentities_wrapper($_GET['subpage']) . ''); ?>', 'gm_counter_search', '<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_box_submenu_search&subpage=' . htmlentities_wrapper($_GET['subpage']) . ''); ?>');">
</td>
</tr>
</table>
<?php endif; ?>