diff options
author | M.Gergo | 2019-03-08 23:32:47 +0100 |
---|---|---|
committer | M.Gergo | 2019-03-08 23:32:47 +0100 |
commit | c0f79397dd75e03a7a40303f82926e8187697d07 (patch) | |
tree | e945a10ef6479e0f8720ad9cd4947b6a85b78d6e /mayor-orig/mayor-jatek/www/policy | |
parent | f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0 (diff) | |
download | mayor-c0f79397dd75e03a7a40303f82926e8187697d07.tar.gz mayor-c0f79397dd75e03a7a40303f82926e8187697d07.zip |
Rev: 4455
Diffstat (limited to 'mayor-orig/mayor-jatek/www/policy')
6 files changed, 43 insertions, 0 deletions
diff --git a/mayor-orig/mayor-jatek/www/policy/private/jatek/2048-pre.php b/mayor-orig/mayor-jatek/www/policy/private/jatek/2048-pre.php new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/mayor-orig/mayor-jatek/www/policy/private/jatek/2048-pre.php diff --git a/mayor-orig/mayor-jatek/www/policy/private/jatek/2048.php b/mayor-orig/mayor-jatek/www/policy/private/jatek/2048.php new file mode 100644 index 00000000..e9524d55 --- /dev/null +++ b/mayor-orig/mayor-jatek/www/policy/private/jatek/2048.php @@ -0,0 +1,5 @@ +<?php + + jatek2048(); + +?>
\ No newline at end of file diff --git a/mayor-orig/mayor-jatek/www/policy/private/jatek/egyszam-pre.php b/mayor-orig/mayor-jatek/www/policy/private/jatek/egyszam-pre.php new file mode 100644 index 00000000..67f52d59 --- /dev/null +++ b/mayor-orig/mayor-jatek/www/policy/private/jatek/egyszam-pre.php @@ -0,0 +1,18 @@ +<?php + + + if (!($ADAT['szavazott'] = egyszamSzavazott()) && $action=='szavaz') { + + $het = getEgyszamHet(); + $szam = readVariable($_POST['szam'],'numeric'); + if ($szam>0 && $szam<200) { + egyszamszavaz($het,$szam); + } // különben hibás számra akart szavazni. XSS?? + $ADAT['szavazott'] = true; + + } + + $ADAT['db'] = count(getEgyszamEredmeny(getegyszamHet())); + $ADAT['elozoNyertes'] = getEgyszamNyertes(getegyszamHet()-1); + +?> diff --git a/mayor-orig/mayor-jatek/www/policy/private/jatek/egyszam.php b/mayor-orig/mayor-jatek/www/policy/private/jatek/egyszam.php new file mode 100644 index 00000000..91b217e7 --- /dev/null +++ b/mayor-orig/mayor-jatek/www/policy/private/jatek/egyszam.php @@ -0,0 +1,7 @@ +<?php + + global $ADAT; + + putEgyszamForm($ADAT); + +?> diff --git a/mayor-orig/mayor-jatek/www/policy/private/jatek/jatek-pre.php b/mayor-orig/mayor-jatek/www/policy/private/jatek/jatek-pre.php new file mode 100644 index 00000000..3a66e3ef --- /dev/null +++ b/mayor-orig/mayor-jatek/www/policy/private/jatek/jatek-pre.php @@ -0,0 +1,6 @@ +<?php + + + $ADAT[getegyszamHet()-1]= getEgyszamEredmeny(getegyszamHet()-1); + +?> diff --git a/mayor-orig/mayor-jatek/www/policy/private/jatek/jatek.php b/mayor-orig/mayor-jatek/www/policy/private/jatek/jatek.php new file mode 100644 index 00000000..d7cc96a0 --- /dev/null +++ b/mayor-orig/mayor-jatek/www/policy/private/jatek/jatek.php @@ -0,0 +1,7 @@ +<?php + + global $ADAT; + + putEgyszamTablazat($ADAT); + +?> |