From f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Fri, 8 Mar 2019 21:20:34 +0100 Subject: további rendrakás --- .../www/policy/parent/portal/portal/portal-pre.php | 16 ++++++ .../www/policy/parent/portal/portal/portal.php | 16 ++++++ .../parent/portal/portal/portal_demo.classic.php | 47 +++++++++++++++++ .../www/policy/private/portal/hirek/egyhir-pre.php | 42 +++++++++++++++ .../www/policy/private/portal/hirek/egyhir.php | 5 ++ .../www/policy/private/portal/hirek/hirek-pre.php | 8 +++ .../www/policy/private/portal/hirek/hirek.php | 7 +++ .../policy/private/portal/hirek/hirekAdmin-pre.php | 11 ++++ .../www/policy/private/portal/hirek/hirekAdmin.php | 5 ++ .../private/portal/kerdoiv/kerdoivAdmin-pre.php | 17 +++++++ .../policy/private/portal/kerdoiv/kerdoivAdmin.php | 7 +++ .../www/policy/private/portal/portal-pre.php | 5 ++ .../www/policy/private/portal/portal.php | 0 .../policy/private/portal/portal/portal-pre.php | 41 +++++++++++++++ .../www/policy/private/portal/portal/portal.php | 14 +++++ .../private/portal/portal/portal_demo.classic.php | 59 ++++++++++++++++++++++ .../private/portal/portal/portal_demo.pda.php | 3 ++ .../www/policy/public/portal/portal/hir-pre.php | 24 +++++++++ .../www/policy/public/portal/portal/hir.php | 11 ++++ .../www/policy/public/portal/portal/portal-pre.php | 37 ++++++++++++++ .../www/policy/public/portal/portal/portal.php | 37 ++++++++++++++ .../public/portal/portal/portal_demo.classic.php | 43 ++++++++++++++++ .../public/portal/portal/portal_demo.pda.php | 29 +++++++++++ 23 files changed, 484 insertions(+) create mode 100644 mayor-orig/mayor-portal/www/policy/parent/portal/portal/portal-pre.php create mode 100644 mayor-orig/mayor-portal/www/policy/parent/portal/portal/portal.php create mode 100644 mayor-orig/mayor-portal/www/policy/parent/portal/portal/portal_demo.classic.php create mode 100644 mayor-orig/mayor-portal/www/policy/private/portal/hirek/egyhir-pre.php create mode 100644 mayor-orig/mayor-portal/www/policy/private/portal/hirek/egyhir.php create mode 100644 mayor-orig/mayor-portal/www/policy/private/portal/hirek/hirek-pre.php create mode 100644 mayor-orig/mayor-portal/www/policy/private/portal/hirek/hirek.php create mode 100644 mayor-orig/mayor-portal/www/policy/private/portal/hirek/hirekAdmin-pre.php create mode 100644 mayor-orig/mayor-portal/www/policy/private/portal/hirek/hirekAdmin.php create mode 100644 mayor-orig/mayor-portal/www/policy/private/portal/kerdoiv/kerdoivAdmin-pre.php create mode 100644 mayor-orig/mayor-portal/www/policy/private/portal/kerdoiv/kerdoivAdmin.php create mode 100644 mayor-orig/mayor-portal/www/policy/private/portal/portal-pre.php create mode 100644 mayor-orig/mayor-portal/www/policy/private/portal/portal.php create mode 100644 mayor-orig/mayor-portal/www/policy/private/portal/portal/portal-pre.php create mode 100644 mayor-orig/mayor-portal/www/policy/private/portal/portal/portal.php create mode 100644 mayor-orig/mayor-portal/www/policy/private/portal/portal/portal_demo.classic.php create mode 100644 mayor-orig/mayor-portal/www/policy/private/portal/portal/portal_demo.pda.php create mode 100644 mayor-orig/mayor-portal/www/policy/public/portal/portal/hir-pre.php create mode 100644 mayor-orig/mayor-portal/www/policy/public/portal/portal/hir.php create mode 100644 mayor-orig/mayor-portal/www/policy/public/portal/portal/portal-pre.php create mode 100644 mayor-orig/mayor-portal/www/policy/public/portal/portal/portal.php create mode 100644 mayor-orig/mayor-portal/www/policy/public/portal/portal/portal_demo.classic.php create mode 100644 mayor-orig/mayor-portal/www/policy/public/portal/portal/portal_demo.pda.php (limited to 'mayor-orig/mayor-portal/www/policy') diff --git a/mayor-orig/mayor-portal/www/policy/parent/portal/portal/portal-pre.php b/mayor-orig/mayor-portal/www/policy/parent/portal/portal/portal-pre.php new file mode 100644 index 00000000..f30cdaab --- /dev/null +++ b/mayor-orig/mayor-portal/www/policy/parent/portal/portal/portal-pre.php @@ -0,0 +1,16 @@ +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/mayor-portal/www/policy/parent/portal/portal/portal.php b/mayor-orig/mayor-portal/www/policy/parent/portal/portal/portal.php new file mode 100644 index 00000000..ef2fcd3f --- /dev/null +++ b/mayor-orig/mayor-portal/www/policy/parent/portal/portal/portal.php @@ -0,0 +1,16 @@ + diff --git a/mayor-orig/mayor-portal/www/policy/parent/portal/portal/portal_demo.classic.php b/mayor-orig/mayor-portal/www/policy/parent/portal/portal/portal_demo.classic.php new file mode 100644 index 00000000..c48052fd --- /dev/null +++ b/mayor-orig/mayor-portal/www/policy/parent/portal/portal/portal_demo.classic.php @@ -0,0 +1,47 @@ +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 '
'; + + 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 ' | '; + echo ''; + + echo ajaxUpdaterForm('intezmenyNev','index.php?page=naplo&sub=tools&f=intezmenyNev',array(),'post',true); + echo ''; + echo ''; + echo ajaxUpdaterForm('hirnok','index.php?page=naplo&sub=hirnok&f=hirnok',array(),'post',true); + putHirek($ADAT); + + echo ''; + echo ajaxUpdaterForm('uzenoKozep','index.php?page=naplo&sub=uzeno&f=uzeno',array(),'post',true); + + echo ' | '; + echo ''; + + echo ''; + $_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 ' | '; + echo '
'; + + // putDoboz('Napló',genLinkek($LINKEK['inside']),array('header-color'=>'#778877')); + putDoboz('Születésnaposok :)',ajaxUpdaterForm('szulinap','index.php?page=naplo&sub=&f=szulinap',array(),'post',true), + array('header-color'=>'rgb(100,100,150)')); +// putDoboz('Hiányzók',ajaxUpdaterForm('hianyzok','index.php?page=naplo&sub=hianyzas&f=info',array(),'post',true), +// array('header-color'=>'rgb(100,150,150)')); + if (in_array('diák',$AUTH['my']['categories'])) + putDoboz('Bejegyzések',ajaxUpdaterForm('bejegyzesek','index.php?page=naplo&sub=bejegyzesek&f=info',array(),'post',true), + array('header-color'=>'rgb(150,100,150)')); + + echo ' | '; + echo ''; + + echo ajaxUpdaterForm('intezmenyNev','index.php?page=naplo&sub=tools&f=intezmenyNev',array(),'post',true); + echo ''; + echo ''; + echo ajaxUpdaterForm('hangya2','index.php?page=naplo&sub=hibabejelento&f=admin&view=2',array(),'post',true); + echo ajaxUpdaterForm('hirnok','index.php?page=naplo&sub=hirnok&f=hirnok',array(),'post',true); + //echo ajaxUpdaterForm('naploHaladasi','index.php?page=naplo',array(),'post',true); + //echo ajaxUpdaterForm('hangya2','index.php?page=naplo&sub=hibabejelento&f=admin&view=2',array(),'post',true); + +// echo ''; +// echo ajaxUpdaterForm('uzenoKozep','index.php?page=naplo&sub=uzeno&f=uzeno',array(),'post',true); + + putHirek($ADAT); + + echo ' | '; + echo ''; + + if (is_array($ADAT['kerdoiv']['kerdes']) && count($ADAT['kerdoiv']['kerdes']) > 0) + putDoboz('Kérdőív', genKerdoiv($ADAT['kerdoiv']), array('header-color'=>'rgb(140,160,120)')); + + echo ''; + $_refStamp = mktime(date('H')+8,0,0,date('m'), date('d'), date('Y')); + $dt = date('Y-m-d', $_refStamp); + putDoboz('Órarend '.$dt,ajaxUpdaterForm('orarend','index.php?page=naplo&sub=orarend&f=orarend',array('dt' => $dt),'post',true) + ,array('header-link'=>href('index.php?page=naplo&sub=orarend&f=orarend'),'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 ' | '; + echo '
'; + + putDoboz('MaYoR-じしょ',$TXT['japszotar'],array('header-color'=>'#bb0088')); + + echo ' | '; + echo ''; + + putHirek($ADAT); + + echo ' | '; + echo '';
+
+ putDoboz('Névnapok','Ma: '.$ADAT['nevnap']['ma'].' Holnap: '.$ADAT['nevnap']['holnap'],array('header-color'=>'rgb(138,128,238)')); + + + if (is_array($ADAT['kerdoiv']['kerdes']) && count($ADAT['kerdoiv']['kerdes']) > 0) + putDoboz('Kérdőív', genKerdoiv($ADAT['kerdoiv']), array('header-color'=>'rgb(238,82,38)')); + + echo ' | ';
+ echo '