aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/policy/parent
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/www/policy/parent')
-rw-r--r--mayor-orig/www/policy/parent/naplo/diakValaszto-pre.php34
-rw-r--r--mayor-orig/www/policy/parent/naplo/diakValaszto.php8
l---------mayor-orig/www/policy/parent/naplo/hirnok1
-rw-r--r--mayor-orig/www/policy/parent/naplo/naplo-pre.php5
-rw-r--r--mayor-orig/www/policy/parent/naplo/naplo.php0
-rw-r--r--mayor-orig/www/policy/parent/portal/portal/portal-pre.php16
-rw-r--r--mayor-orig/www/policy/parent/portal/portal/portal.php16
-rw-r--r--mayor-orig/www/policy/parent/portal/portal/portal_demo.classic.php47
8 files changed, 0 insertions, 127 deletions
diff --git a/mayor-orig/www/policy/parent/naplo/diakValaszto-pre.php b/mayor-orig/www/policy/parent/naplo/diakValaszto-pre.php
deleted file mode 100644
index 90fa6df3..00000000
--- a/mayor-orig/www/policy/parent/naplo/diakValaszto-pre.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-
- if (_RIGHTS_OK !== true) die();
- require_once('include/modules/naplo/share/szulo.php');
-
- $diakId = readVariable($_POST['diakId'],'id',null);
- $SZULODIAKJAI = getSzuloDiakjai();
-
- if (!is_array($SZULODIAKJAI) || count($SZULODIAKJAI)==0) {
- $_SESSION['alert'][] = ':!E12:nincs_egy_diakja_se:'._USERACCOUNT.':'._POLICY;
- }
- if ($action == 'valaszt') {
- for ($i=0; $i<count($SZULODIAKJAI); $i++) {
- if ($SZULODIAKJAI[$i]['diakId']==$diakId) {
- updateSessionParentDiakId($diakId) ;
-// setcookie(_SESSIONID.'-diakIdOk', true, 0, '/');
- $_SESSION['szuloDiakIdOk']=true;
- if ($DEFAULT_PSF['parent']['f'] != 'diakValaszto' || $DEFAULT_PSF['parent']['page'] != 'naplo')
- header('Location: '.location('index.php?page='.$DEFAULT_PSF['parent']['page'].'&sub='.$DEFAULT_PSF['parent']['sub'].'&f='.$DEFAULT_PSF['parent']['f']));
- elseif ($DEFAULT_PSF['parent']['f'] == 'diakValaszto')
- header('Refresh:0'); // a konstans előbb definiálódik
- break;
- }
- }
- //----
- } elseif (count($SZULODIAKJAI)==1) {
- updateSessionParentDiakId($SZULODIAKJAI[0]['diakId']) ;
-// setcookie(_SESSIONID.'-diakIdOk', true, 0, '/');
- $_SESSION['szuloDiakIdOk']=true;
- if ($DEFAULT_PSF['parent']['f'] != 'diakValaszto' || $DEFAULT_PSF['parent']['page'] != 'naplo')
- header('Location: '.location('index.php?page='.$DEFAULT_PSF['parent']['page'].'&sub='.$DEFAULT_PSF['parent']['sub'].'&f='.$DEFAULT_PSF['parent']['f']));
- }
-
-?>
diff --git a/mayor-orig/www/policy/parent/naplo/diakValaszto.php b/mayor-orig/www/policy/parent/naplo/diakValaszto.php
deleted file mode 100644
index b64ee30c..00000000
--- a/mayor-orig/www/policy/parent/naplo/diakValaszto.php
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-
- if (_RIGHTS_OK !== true) die();
- global $SZULODIAKJAI;
-
- putDiakValasztoForm($SZULODIAKJAI);
-
-?>
diff --git a/mayor-orig/www/policy/parent/naplo/hirnok b/mayor-orig/www/policy/parent/naplo/hirnok
deleted file mode 120000
index 56d56cc8..00000000
--- a/mayor-orig/www/policy/parent/naplo/hirnok
+++ /dev/null
@@ -1 +0,0 @@
-../../private/naplo/hirnok \ No newline at end of file
diff --git a/mayor-orig/www/policy/parent/naplo/naplo-pre.php b/mayor-orig/www/policy/parent/naplo/naplo-pre.php
deleted file mode 100644
index bec91f25..00000000
--- a/mayor-orig/www/policy/parent/naplo/naplo-pre.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-
- header('Location: '.location('index.php?page=naplo&sub=osztalyozo&f=diak'));
-
-?> \ No newline at end of file
diff --git a/mayor-orig/www/policy/parent/naplo/naplo.php b/mayor-orig/www/policy/parent/naplo/naplo.php
deleted file mode 100644
index e69de29b..00000000
--- a/mayor-orig/www/policy/parent/naplo/naplo.php
+++ /dev/null
diff --git a/mayor-orig/www/policy/parent/portal/portal/portal-pre.php b/mayor-orig/www/policy/parent/portal/portal/portal-pre.php
deleted file mode 100644
index f30cdaab..00000000
--- a/mayor-orig/www/policy/parent/portal/portal/portal-pre.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
- if ($_SESSION['szuloDiakIdOk'] != true) {
- header('Location: '.location('index.php?page=naplo&f=diakValaszto'));
- }
-
- require_once('include/modules/portal/share/hirek.php');
- require_once('include/modules/portal/share/nevnap.php');
- require_once('include/modules/portal/share/kerdoiv.php');
-
- $ADAT['hirek'] = getHirek(array('tolDt'=>date('Y-m-d H:i:s'), 'igDt'=>date('Y-m-d H:i:s'),'flag'=>array(1),'class'=>array(6)));
-
- require('skin/classic/module-portal/html/share/doboz.phtml');
- require('skin/classic/module-portal/html/share/hirek.phtml');
-
-?>
diff --git a/mayor-orig/www/policy/parent/portal/portal/portal.php b/mayor-orig/www/policy/parent/portal/portal/portal.php
deleted file mode 100644
index ef2fcd3f..00000000
--- a/mayor-orig/www/policy/parent/portal/portal/portal.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
- global $skin;
-
- /* $skinnek lennie kell */
- if (defined('_POLICY') && defined('__PORTAL_CODE') && file_exists('policy/'._POLICY.'/portal/portal/portal_'.__PORTAL_CODE.'.'.$skin.'.php') ) {
- require('policy/'._POLICY.'/portal/portal/portal_'.__PORTAL_CODE.'.'.$skin.'.php');
- } elseif (file_exists('policy/'._POLICY.'/portal/portal/portal_'.demo.'.'.$skin.'.php')) {
- require('policy/'._POLICY.'/portal/portal/portal_'.demo.'.'.$skin.'.php');
- } elseif (file_exists('policy/'._POLICY.'/portal/portal/portal_'.demo.'.'._DEFAULT_SKIN.'.php')) {
- require('policy/'._POLICY.'/portal/portal/portal_'.demo.'.'._DEFAULT_SKIN.'.php');
- }
-
-
-
-?>
diff --git a/mayor-orig/www/policy/parent/portal/portal/portal_demo.classic.php b/mayor-orig/www/policy/parent/portal/portal/portal_demo.classic.php
deleted file mode 100644
index c48052fd..00000000
--- a/mayor-orig/www/policy/parent/portal/portal/portal_demo.classic.php
+++ /dev/null
@@ -1,47 +0,0 @@
-<?php
-
- global $ADAT,$vmPost,$AUTH;
-
- $LINKEK['inside'] = array(
- array('href'=>href('index.php?page=naplo&sub=osztalyozo&f=diak'),'szoveg' => 'Osztályozó napló'),
- array('href'=>href('index.php?page=naplo&sub=hianyzas&f=diak'),'szoveg' => 'Hiányzások'),
- array('href'=>href('index.php?page=naplo&sub=uzeno&f=uzeno'),'szoveg' => 'Üzenő'),
- array('href'=>href('index.php?page=naplo&sub=hirnok&f=hirnok'),'szoveg' => 'Hírnök'),
- );
-
- echo '<table class="portalMain">';
- echo '<tr><td class="bal">';
-
- putDoboz('Napló',genLinkek($LINKEK['inside']),array('header-color'=>'cornflowerblue'));
- putDoboz('Bejegyzések',ajaxUpdaterForm('bejegyzesek','index.php?page=naplo&sub=bejegyzesek&f=info',array(),'post',true),
- array('header-color'=>'rgb(150,100,150)'));
-
- echo '</td>';
- echo '<td class="kozep">';
-
- echo ajaxUpdaterForm('intezmenyNev','index.php?page=naplo&sub=tools&f=intezmenyNev',array(),'post',true);
- echo '<script type="text/javascript">includeCSS(\'/skin/classic/module-naplo/css/naplo.css\')</script>';
- echo '<script type="text/javascript">includeCSS(\'/skin/classic/module-naplo/css/hirnok/hirnok.css\')</script>';
- echo ajaxUpdaterForm('hirnok','index.php?page=naplo&sub=hirnok&f=hirnok',array(),'post',true);
- putHirek($ADAT);
-
- echo '<script type="text/javascript">includeCSS(\'/skin/classic/module-naplo/css/uzeno/uzeno.css\')</script>';
- echo ajaxUpdaterForm('uzenoKozep','index.php?page=naplo&sub=uzeno&f=uzeno',array(),'post',true);
-
- echo '</td>';
- echo '<td class="jobb">';
-
- echo '<script type="text/javascript">includeCSS(\'/skin/ajax/module-naplo/css/tanev/orarend.css\')</script>';
- $_refStamp = mktime(date('H')+8,0,0,date('m'), date('d'), date('Y'));
- $dt = date('Y-m-d', $_refStamp);
- putDoboz('Órarend '.str_replace('-','.',$dt).'.',ajaxUpdaterForm('orarend','index.php?page=naplo&sub=tanev&f=orarend',array('dt' => $dt),'post',true)
- ,array('header-color'=>'#f06'));
-
-// putDoboz('Hangya',ajaxUpdaterForm('hangya','index.php?page=naplo&sub=hibabejelento&f=admin',array(),'post',true),
-// array('header-color'=>'rgb(150,100,150)'));
-
- echo '</td>';
- echo '</tr>';
- echo '</table>';
-
-?>