aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/policy/private/naplo/hibabejelento
diff options
context:
space:
mode:
authorM.Gergo2019-03-08 21:20:34 +0100
committerM.Gergo2019-03-08 21:20:34 +0100
commitf51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0 (patch)
treee13e60e4b94a3b58f1e2bfbe271102c8f04b67bd /mayor-orig/www/policy/private/naplo/hibabejelento
parentc76a004b0135786f2742283f8d5f917106f58bd8 (diff)
downloadmayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.tar.gz
mayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.zip
további rendrakás
Diffstat (limited to 'mayor-orig/www/policy/private/naplo/hibabejelento')
-rw-r--r--mayor-orig/www/policy/private/naplo/hibabejelento/admin-pre.php80
-rw-r--r--mayor-orig/www/policy/private/naplo/hibabejelento/admin.php16
-rw-r--r--mayor-orig/www/policy/private/naplo/hibabejelento/hibabejelento-pre.php24
-rw-r--r--mayor-orig/www/policy/private/naplo/hibabejelento/hibabejelento.php10
4 files changed, 0 insertions, 130 deletions
diff --git a/mayor-orig/www/policy/private/naplo/hibabejelento/admin-pre.php b/mayor-orig/www/policy/private/naplo/hibabejelento/admin-pre.php
deleted file mode 100644
index 60de869a..00000000
--- a/mayor-orig/www/policy/private/naplo/hibabejelento/admin-pre.php
+++ /dev/null
@@ -1,80 +0,0 @@
-<?php
-
- if (_RIGHTS_OK !== true) die();
-
- require_once('include/modules/naplo/share/intezmenyek.php');
- require_once('include/modules/naplo/share/kerelem.php');
-
- $_telephelyIdDefault = (isset($_POST['telephelyId'])?null:__TELEPHELYID);
- $telephelyId = readVariable($_POST['telephelyId'],'id', $_telephelyIdDefault);
- $kerelemId = readVariable($_POST['kerelemId'],'id',readVariable($_GET['kerelemId'],'id'));
- $tolDt = readVariable($_POST['tolDt'],'date',date('Y-m-d'));
-
- if ($action == 'hibabejelentes') {
- $ADAT['txt'] = readVariable($_POST['txt'], 'string');
- $ADAT['kategoria'] = readVariable($_POST['kategoria'],'string','', $KERELEM_TAG);
- $ADAT['telephelyId'] = $telephelyId;
- if ( $ADAT['txt'] != '' && ($kerelemId = hibabejelentes($ADAT)) ) $_SESSION['alert'][] ='info:success:'.$kerelemId;
- }
-
- if ((is_array($hibaAdmin) && in_array(_USERACCOUNT,$hibaAdmin)) || (!is_array($hibaAdmin) && (__VEZETOSEG || __NAPLOADMIN))) {
- define('__HIBAADMIN',true);
- } else {
- define('__HIBAADMIN',false);
- }
- if (__HIBAADMIN === TRUE) {
-
- if ($action == 'hibaAdminRogzites') {
- $_ADAT['kerelemId'] = $kerelemId;
- $_ADAT['kerelemTelephelyId'] = $_ADAT['telephelyId'] = $telephelyId;
- $_ADAT['valasz'] = readVariable($_POST['valasz'],'string');
- $_ADAT['jovahagy'] = readVariable($_POST['jovahagy'],'string');
- $_ADAT['nemHagyJova'] = readVariable($_POST['nemHagyJova'],'string');
- $_ADAT['lezar'] = readVariable($_POST['lezar'],'string');
- $_ADAT['kategoria'] = readVariable($_POST['kategoria'],'string','', $KERELEM_TAG);
- hibaAdminRogzites($_ADAT);
-
- //if ($_ADAT['lezar'])
- unset($kerelemId);
- unset($_ADAT);
- }
-
- // Összes lezáratlan kérelem lekérdezése
- if ($kerelemId>0) {
- $Kerelmek = getKerelmek('',$kerelemId,$tolDt);
- } else {
- $Kerelmek = getKerelmek($telephelyId,null,$tolDt);
- }
- } else {
- if ($action == 'hibaAdminRogzites') {
- $_ADAT['kerelemId'] = $kerelemId;
- $_ADAT['kerelemTelephelyId'] = $_ADAT['telephelyId'] = $telephelyId;
- $_ADAT['valasz'] = readVariable($_POST['valasz'],'string');
- $_ADAT['kategoria'] = readVariable($_POST['kategoria'],'string','', $KERELEM_TAG);
- hibaAdminRogzites($_ADAT);
-
- //if ($_ADAT['lezar'])
- unset($kerelemId);
- unset($_ADAT);
- }
- // Saját kérelmek lekérdezése
- $Kerelmek = getSajatKerelmek($telephelyId);
- }
-
- $TELEPHELY = getTelephelyek();
-
-// $TOOL['kerelemStat'] = array('tipus'=>'cella', 'paramName'=>'telephelyId', 'post'=>array());
- $TOOL['datumSelect'] = array(
- 'tipus'=>'cella', 'post'=>array('telephelyId'),
- 'paramName' => 'tolDt', 'hanyNaponta' => 1,
- 'tolDt' => date('Y-m-d', strtotime('last Monday', strtotime($_TANEV['kezdesDt']))),
- 'igDt' => date('Y-m-d'),
- );
- $TOOL['telephelySelect'] = array('tipus'=>'cella', 'paramName'=>'telephelyId', 'post'=>array());
- $TOOL['vissza'] = array('tipus'=>'vissza','paramName'=>'','icon'=>'inbox','post'=>array('telephelyId'));
- if ($kerelemId!='') {
- $TOOL['vissza']['icon'] = 'arrow-left';
- }
- getToolParameters();
-
-?>
diff --git a/mayor-orig/www/policy/private/naplo/hibabejelento/admin.php b/mayor-orig/www/policy/private/naplo/hibabejelento/admin.php
deleted file mode 100644
index f34d5eed..00000000
--- a/mayor-orig/www/policy/private/naplo/hibabejelento/admin.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
- if (_RIGHTS_OK !== true) die();
-
- global $Kerelmek,$telephelyId,$TELEPHELY;
-
- if ($skin=='classic') putHibabejelento($telephelyId);
-
- if (is_array($Kerelmek) && count($Kerelmek)>0) {
- if ($_GET['view']==2){
- putKerelmekValasszal($Kerelmek,$telephelyId,$TELEPHELY);
- } else {
- putKerelmek($Kerelmek,$telephelyId,$TELEPHELY);
- }
- }
-?>
diff --git a/mayor-orig/www/policy/private/naplo/hibabejelento/hibabejelento-pre.php b/mayor-orig/www/policy/private/naplo/hibabejelento/hibabejelento-pre.php
deleted file mode 100644
index da2f215e..00000000
--- a/mayor-orig/www/policy/private/naplo/hibabejelento/hibabejelento-pre.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
- if (_RIGHTS_OK !== true) die();
-
- require_once('include/modules/naplo/share/kerelem.php');
- $telephelyId = readVariable($_POST['telephelyId'],'id',__TELEPHELYID);
- $kerelemId = readVariable($_GET['kerelemId'],'id');
-
- if ($action == 'hibabejelentes') {
-
- $ADAT['telephelyId'] = readVariable($_POST['kerelemTelephelyId'], 'id', $telephelyId);
- $ADAT['txt'] = readVariable($_POST['txt'], 'string');
- $ADAT['kategoria'] = readVariable($_POST['kategoria'],'string','', $KERELEM_TAG);
- if ( $ADAT['txt'] != '' && ($kerelemId = hibabejelentes($ADAT)) ) $_SESSION['alert'][] ='info:success:'.$kerelemId;
-
- }
-
- if ($kerelemId>0) $Kerelmek = getKerelmek('',$kerelemId);
-
-// $TOOL['kerelemStat'] = array('tipus'=>'cella', 'paramName'=>'telephelyId', 'post'=>array());
- $TOOL['telephelySelect'] = array('tipus'=>'cella', 'paramName'=>'telephelyId', 'post'=>array());
- getToolParameters();
-
-?>
diff --git a/mayor-orig/www/policy/private/naplo/hibabejelento/hibabejelento.php b/mayor-orig/www/policy/private/naplo/hibabejelento/hibabejelento.php
deleted file mode 100644
index dffac292..00000000
--- a/mayor-orig/www/policy/private/naplo/hibabejelento/hibabejelento.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-
- if (_RIGHTS_OK !== true) die();
-
- global $telephelyId;
-
- putHibabejelento($telephelyId);
-
-
-?>