HEX
Server: Apache/2.4.25 (Debian)
System: Linux server17 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User: web37 (1062)
PHP: 7.4.30
Disabled: show_source, highlight_file, apache_child_terminate, apache_get_modules, apache_note, apache_setenv, virtual, dl, disk_total_space, posix_getpwnam, posix_getpwuid, posix_mkfifo, posix_mknod, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_nice, openlog, syslog, pfsockopen
Upload Files
File: /var/www/web37/htdocs/lovetalk/admin/templates/cart/charts-select.php
<script>
function updateChart() {
	location.href = $("#chart-type").val() +
				   "&chart_digital=" + ($("#chart-digital-products").prop("checked") ? "true" : "false") +
				   "&chart_physical=" + ($("#chart-physical-products").prop("checked") ? "true" : "false");
}
</script>
<select id="chart-type" onchange="updateChart()" class="border-mute border background-transparent">
	<option value="?plot_type=noncumulative"<?php echo $plotType == 'noncumulative' ? " selected" : "" ?>>1 - <?php echo l10n('cart_plot_noncumulative', 'Non cumulative amounts') ?></option>
	<option value="?plot_type=cumulative"<?php echo $plotType == 'cumulative' ? " selected" : "" ?>>2 - <?php echo l10n('cart_plot_cumulative', 'Cumulative amounts') ?></option>
	<option value="?plot_type=products"<?php echo $plotType == 'products' ? " selected" : "" ?>>3 - <?php echo l10n('cart_plot_productscount', 'Products count') ?></option>
</select>
<div class="checkboxes">
	<div>
		<input type="checkbox" onchange="updateChart()" id="chart-digital-products" <?php if ($includeDigital) echo "checked" ?>>
		<label for="chart-digital-products"><?php echo l10n('cart_plot_digital_products', 'Digital Products') ?></label>
	</div>
	<div>
		<input type="checkbox" onchange="updateChart()" id="chart-physical-products"<?php if ($includePhysical) echo "checked" ?>>
		<label for="chart-physical-products"><?php echo l10n('cart_plot_physical_products', 'Physical Products') ?></label>
	</div>
</div>