Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions _SQL/prepare.inc.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?
@extract($_REQUEST, EXTR_SKIP);
$version_upd = $_REQUEST['version_upd'] ?? null;
$sql = $_REQUEST['sql'] ?? null;
$this_file_name = 'zmeny_'.$version_upd.'.sql.php';

require_once ('connect.inc.php');
Expand All @@ -16,4 +17,4 @@

if(isset($sql))
unset($sql);
?>
?>
2 changes: 1 addition & 1 deletion _SQL/zmeny.sql.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?
@extract($_REQUEST, EXTR_SKIP);
$action = $_REQUEST['action'] ?? null;

$zmeny_list = array();
function AddZmenyFile($version)
Expand Down
4 changes: 2 additions & 2 deletions adm_reset_ft.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php /* adminova stranka - editace clena */
define("__HIDE_TEST__", "_KeAr_PHP_WEB_");

@extract($_REQUEST, EXTR_SKIP);
$accept = $_REQUEST['accept'] ?? null;

require_once("./cfg/_colors.php");
require_once ("./connect.inc.php");
Expand Down Expand Up @@ -59,4 +59,4 @@
</CENTER>
<?
HTML_Footer();
?>
?>
3 changes: 2 additions & 1 deletion ads_oris_si_sync.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?php
define("__HIDE_TEST__", "_KeAr_PHP_WEB_");

@extract($_REQUEST, EXTR_SKIP);
$oris_id = $_REQUEST['oris_id'] ?? null;
$id = $_REQUEST['id'] ?? null;

require_once ("./connect.inc.php");
require_once ("./sess.inc.php");
Expand Down
7 changes: 6 additions & 1 deletion api/race.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,12 @@
raise_and_die("$key is not set");
}
}
extract($required_data);
$category = $required_data['category'];
$note = $required_data['note'];
$note_internal = $required_data['note_internal'];
$transport = $required_data['transport'];
$sedadlel = $required_data['sedadlel'];
$accommodation = $required_data['accommodation'];

$transport = $transport ? 1 : 0;
$accommodation = $accommodation ? 1 : 0;
Expand Down
4 changes: 2 additions & 2 deletions categ_predef.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<? define("__HIDE_TEST__", "_KeAr_PHP_WEB_"); ?>
<?
@extract($_REQUEST, EXTR_SKIP);


require_once ("./connect.inc.php");
require_once ("./sess.inc.php");
Expand Down Expand Up @@ -78,4 +78,4 @@ function confirm_delete() {

<?
HTML_Footer();
?>
?>
4 changes: 2 additions & 2 deletions categ_predef_edit.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
define("__HIDE_TEST__", "_KeAr_PHP_WEB_");

@extract($_REQUEST, EXTR_SKIP);
$id = $_REQUEST['id'] ?? null;

require_once ("connect.inc.php");
require_once ("sess.inc.php");
Expand Down Expand Up @@ -49,4 +49,4 @@

<?
HTML_Footer();
?>
?>
7 changes: 5 additions & 2 deletions claim.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<?php /* zobrazeni reklamace pro platbu */
define("__HIDE_TEST__", "_KeAr_PHP_WEB_");

@extract($_REQUEST, EXTR_SKIP);
$payment_id = $_REQUEST['payment_id'] ?? null;
$submit = $_REQUEST['submit'] ?? null;
$close = $_REQUEST['close'] ?? null;
$claim_text = $_REQUEST['claim_text'] ?? null;

$payment_id = (IsSet($payment_id) && is_numeric($payment_id)) ? (int)$payment_id : 0;

Expand Down Expand Up @@ -107,4 +110,4 @@
textarea#claim_text {
width: 100%;
}
</style>
</style>
2 changes: 1 addition & 1 deletion error.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<? define("__HIDE_TEST__", "_KeAr_PHP_WEB_"); ?>
<?
@extract($_REQUEST, EXTR_SKIP);
$code = $_REQUEST['code'] ?? null;

require_once("./cfg/_cfg.php");
require_once ("./sess.inc.php");
Expand Down
4 changes: 2 additions & 2 deletions export_directory.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<? define("__HIDE_TEST__", "_KeAr_PHP_WEB_"); ?>
<?php
@extract($_REQUEST, EXTR_SKIP);


require_once('./cfg/_colors.php');
require_once ('./connect.inc.php');
Expand Down Expand Up @@ -37,4 +37,4 @@
</form>
<?
HTML_Footer();
?>
?>
7 changes: 5 additions & 2 deletions export_directory_exc.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<? define("__HIDE_TEST__", "_KeAr_PHP_WEB_"); ?>
<?
@extract($_REQUEST, EXTR_SKIP);
$par1 = $_REQUEST['par1'] ?? null;
$par2 = $_REQUEST['par2'] ?? null;
$par3 = $_REQUEST['par3'] ?? null;
$oris = $_REQUEST['oris'] ?? null;

require_once ('./connect.inc.php');
require_once ('./sess.inc.php');
Expand Down Expand Up @@ -72,4 +75,4 @@
}
echo($users->generate_users());
}
?>
?>
4 changes: 2 additions & 2 deletions fin_directory_export_exc.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<? define("__HIDE_TEST__", "_KeAr_PHP_WEB_"); ?>
<?
@extract($_REQUEST, EXTR_SKIP);


require_once ('./connect.inc.php');
require_once ('./sess.inc.php');
Expand Down Expand Up @@ -37,4 +37,4 @@
}
echo($users->generate_csv($arr_labels, $arr_fields));

?>
?>
2 changes: 1 addition & 1 deletion fin_payrule_del_exc.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php /* definice plateb - mazani */
@extract($_REQUEST);
$id = $_REQUEST['id'] ?? null;

require_once ("connect.inc.php");
require_once ("sess.inc.php");
Expand Down
2 changes: 1 addition & 1 deletion fin_payrule_edit.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
define("__HIDE_TEST__", "_KeAr_PHP_WEB_");

@extract($_REQUEST);


require_once ("connect.inc.php");
require_once ("sess.inc.php");
Expand Down
2 changes: 1 addition & 1 deletion fin_payrule_edit_exc.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
define("__HIDE_TEST__", "_KeAr_PHP_WEB_");
@extract($_REQUEST);


require_once ('connect.inc.php');
require_once ('sess.inc.php');
Expand Down
4 changes: 2 additions & 2 deletions fin_type_edit.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
define("__HIDE_TEST__", "_KeAr_PHP_WEB_");

@extract($_REQUEST, EXTR_SKIP);
$id = $_REQUEST['id'] ?? null;

require_once ("connect.inc.php");
require_once ("sess.inc.php");
Expand Down Expand Up @@ -51,4 +51,4 @@

<?
HTML_Footer();
?>
?>
6 changes: 4 additions & 2 deletions fin_type_edit_exc.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<? define("__HIDE_TEST__", "_KeAr_PHP_WEB_"); ?>
<?php /* finance - editace (pridavani) typu prispevku */
@extract($_REQUEST, EXTR_SKIP);
$nazev = $_REQUEST['nazev'] ?? null;
$popis = $_REQUEST['popis'] ?? null;
$update = $_REQUEST['update'] ?? null;

require_once ('connect.inc.php');
require_once ('sess.inc.php');
Expand Down Expand Up @@ -50,4 +52,4 @@
header('location: '.$g_baseadr.'error.php?code=21');
exit;
}
?>
?>
5 changes: 3 additions & 2 deletions find_reg.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?php /* adminova stranka - editace clena */
define("__HIDE_TEST__", "_KeAr_PHP_WEB_");

@extract($_REQUEST, EXTR_SKIP);
$reg = $_REQUEST['reg'] ?? null;
$year = $_REQUEST['year'] ?? null;

require_once("./cfg/_colors.php");
require_once ("./connect.inc.php");
Expand Down Expand Up @@ -127,4 +128,4 @@

<?
HTML_Footer();
?>
?>
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<? define("__HIDE_TEST__", "_KeAr_PHP_WEB_"); ?>
<?
@extract($_REQUEST, EXTR_SKIP);


$id = (IsSet($_GET['id']) && is_numeric($_GET['id'])) ? (int)$_GET['id'] : 0;
$subid = (IsSet($_GET['subid']) && is_numeric($_GET['subid'])) ? (int)$_GET['subid'] : 0;
Expand Down
4 changes: 2 additions & 2 deletions mng_edit.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<? define("__HIDE_TEST__", "_KeAr_PHP_WEB_"); ?>
<?php
@extract($_REQUEST, EXTR_SKIP);
$id = $_REQUEST['id'] ?? null;

require_once('./cfg/_colors.php');
require_once ('./connect.inc.php');
Expand Down Expand Up @@ -83,4 +83,4 @@ function check_mng(vstup)

<?
HTML_Footer();
?>
?>
3 changes: 2 additions & 1 deletion mng_edit_exc.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<? define("__HIDE_TEST__", "_KeAr_PHP_WEB_"); ?>
<?
@extract($_REQUEST, EXTR_SKIP);
$id = $_REQUEST['id'] ?? null;
$mng = $_REQUEST['mng'] ?? null;

require_once ("./connect.inc.php");
require_once ("./sess.inc.php");
Expand Down
4 changes: 2 additions & 2 deletions mng_smng_view.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<? define("__HIDE_TEST__", "_KeAr_PHP_WEB_"); ?>
<?php
@extract($_REQUEST, EXTR_SKIP);
$id = $_REQUEST['id'] ?? null;

require_once("./cfg/_colors.php");
require_once ("./connect.inc.php");
Expand Down Expand Up @@ -78,4 +78,4 @@
</TD></TR></TABLE>
<?
HTML_Footer();
?>
?>
6 changes: 4 additions & 2 deletions mns_user_edit.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<?php /* adminova stranka - editace clena */
define("__HIDE_TEST__", "_KeAr_PHP_WEB_");

@extract($_REQUEST, EXTR_SKIP);
$id = $_REQUEST['id'] ?? null;
$chiefPayFor = $_REQUEST['chiefPayFor'] ?? null;
$chief_pay = $_REQUEST['chief_pay'] ?? null;

require_once ("./connect.inc.php");
require_once ("./sess.inc.php");
Expand Down Expand Up @@ -81,4 +83,4 @@
</TABLE>
<?
HTML_Footer();
?>
?>
4 changes: 2 additions & 2 deletions mns_user_login_edit.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<? define("__HIDE_TEST__", "_KeAr_PHP_WEB_"); ?>
<?
@extract($_REQUEST, EXTR_SKIP);
$id = $_REQUEST['id'] ?? null;

require_once ("./connect.inc.php");
require_once ("./sess.inc.php");
Expand Down Expand Up @@ -109,4 +109,4 @@
</TABLE>
<?
HTML_Footer();
?>
?>
8 changes: 6 additions & 2 deletions news_new_exc.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<? define("__HIDE_TEST__", "_KeAr_PHP_WEB_"); ?>
<?php /* novinky - editace (pridavani) novinek */
@extract($_REQUEST, EXTR_SKIP);
$datum = $_REQUEST['datum'] ?? null;
$text = $_REQUEST['text'] ?? null;
$nadpis = $_REQUEST['nadpis'] ?? null;
$internal = $_REQUEST['internal'] ?? null;
$update = $_REQUEST['update'] ?? null;

require_once ('connect.inc.php');
require_once ('sess.inc.php');
Expand Down Expand Up @@ -54,4 +58,4 @@
header('location: '.$g_baseadr.'error.php?code=31');
exit;
}
?>
?>
4 changes: 2 additions & 2 deletions race_boss.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<? define("__HIDE_TEST__", "_KeAr_PHP_WEB_"); ?>
<?
@extract($_REQUEST, EXTR_SKIP);
$id = $_REQUEST['id'] ?? null;

require_once ("./connect.inc.php");
require_once ("./sess.inc.php");
Expand Down Expand Up @@ -69,4 +69,4 @@

<?
HTML_Footer();
?>
?>
3 changes: 2 additions & 1 deletion race_boss_exc.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<? define("__HIDE_TEST__", "_KeAr_PHP_WEB_"); ?>
<?
@extract($_REQUEST, EXTR_SKIP);
$boss = $_REQUEST['boss'] ?? null;
$id = $_REQUEST['id'] ?? null;

require_once ("./connect.inc.php");
require_once ("./sess.inc.php");
Expand Down
4 changes: 2 additions & 2 deletions race_del_exc.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<? define("__HIDE_TEST__", "_KeAr_PHP_WEB_"); ?>
<?
@extract($_REQUEST, EXTR_SKIP);
$id = $_REQUEST['id'] ?? null;

require_once ("./connect.inc.php");
require_once ("./sess.inc.php");
Expand Down Expand Up @@ -30,4 +30,4 @@
header("location: ".$g_baseadr."error.php?code=21");
exit;
}
?>
?>
3 changes: 2 additions & 1 deletion race_edit.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<? define("__HIDE_TEST__", "_KeAr_PHP_WEB_"); ?>
<?
@extract($_REQUEST, EXTR_SKIP);
$id = $_REQUEST['id'] ?? null;
$ext_id = $_REQUEST['ext_id'] ?? null;

require_once ("./connect.inc.php");
require_once ("./sess.inc.php");
Expand Down
Loading