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/public/portal/portal/hir-pre.php | 24 ----- mayor-orig/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 ------ .../www/policy/public/portal/rpc/rpc-pre.php | 104 --------------------- mayor-orig/www/policy/public/portal/start.php | 0 8 files changed, 285 deletions(-) delete mode 100644 mayor-orig/www/policy/public/portal/portal/hir-pre.php delete mode 100644 mayor-orig/www/policy/public/portal/portal/hir.php delete mode 100644 mayor-orig/www/policy/public/portal/portal/portal-pre.php delete mode 100644 mayor-orig/www/policy/public/portal/portal/portal.php delete mode 100644 mayor-orig/www/policy/public/portal/portal/portal_demo.classic.php delete mode 100644 mayor-orig/www/policy/public/portal/portal/portal_demo.pda.php delete mode 100644 mayor-orig/www/policy/public/portal/rpc/rpc-pre.php delete mode 100644 mayor-orig/www/policy/public/portal/start.php (limited to 'mayor-orig/www/policy/public/portal') diff --git a/mayor-orig/www/policy/public/portal/portal/hir-pre.php b/mayor-orig/www/policy/public/portal/portal/hir-pre.php deleted file mode 100644 index 7e88f0f3..00000000 --- a/mayor-orig/www/policy/public/portal/portal/hir-pre.php +++ /dev/null @@ -1,24 +0,0 @@ -=1) { - if (_POLICY=='private') - $FILTER=array('id'=>$hirId); - else - $FILTER=array('id'=>$hirId,'flag'=>array(1),'class'=>array(1)); - - if (defined('__PORTAL_RESTRICT_CID')) - $FILTER['cid'] = explode(',',__PORTAL_RESTRICT_CID); - - $ADAT['hirek'] = getHirek($FILTER); - /* opengraph attributumok */ - $OG = array('title'=>$ADAT['hirek']['szovegek'][0]['cim'],'getparameter'=>'hirId='.$hirId); - if ($ADAT['hirek']['szovegek'][0]['pic']!='') { - $OG['image'] = $ADAT['hirek']['szovegek'][0]['pic']; - } - } - - -?> diff --git a/mayor-orig/www/policy/public/portal/portal/hir.php b/mayor-orig/www/policy/public/portal/portal/hir.php deleted file mode 100644 index 6a7ee860..00000000 --- a/mayor-orig/www/policy/public/portal/portal/hir.php +++ /dev/null @@ -1,11 +0,0 @@ - diff --git a/mayor-orig/www/policy/public/portal/portal/portal-pre.php b/mayor-orig/www/policy/public/portal/portal/portal-pre.php deleted file mode 100644 index d02f5484..00000000 --- a/mayor-orig/www/policy/public/portal/portal/portal-pre.php +++ /dev/null @@ -1,37 +0,0 @@ -=24) {$nap=$nap+1;} - - $ADAT['nevnap']['ma'] = getNevnap($honap,$nap); - $ADAT['nevnap']['holnap'] = getNevnap($honap,$nap+1); - -// $ADAT['nevnap']['ma'] = getNevnap(date('m'),date('d')); -// $ADAT['nevnap']['holnap'] = getNevnap(date('m'),date('d')+1); - - $FILTER=array('tolDt'=>date('Y-m-d H:i:s'), 'igDt'=>date('Y-m-d H:i:s'),'flag'=>array(1),'class'=>array(1)); - if (defined('__PORTAL_RESTRICT_CID')) - $FILTER['cid'] = explode(',',__PORTAL_RESTRICT_CID); - - $ADAT['hirek'] = getHirek($FILTER); - $ADAT['kerdoiv'] = getKerdoiv(_POLICY); - - $kerdoivId = readVariable($_POST['kerdoivId'],'numeric',$ADAT['kerdoiv']['kerdes']['sorszam']); - $vId = readVariable($_POST['vId'],'numeric'); - $szavazotte = szavazotte($kerdoivId); - // Kérdőív - <<<< - if ($action == 'szavaz' && $szavazotte==false) { - szavaz($vId,1,$kerdoivId); - $szavazotte = true; - $_SESSION['kerdoivSzavazott'] = true; - } - $ADAT['kerdoiv'] = getKerdoiv(); - $ADAT['kerdoiv']['szavazott'] = $szavazotte; - // Kérdőív - >>>> - -?> diff --git a/mayor-orig/www/policy/public/portal/portal/portal.php b/mayor-orig/www/policy/public/portal/portal/portal.php deleted file mode 100644 index 96275bf4..00000000 --- a/mayor-orig/www/policy/public/portal/portal/portal.php +++ /dev/null @@ -1,37 +0,0 @@ - diff --git a/mayor-orig/www/policy/public/portal/portal/portal_demo.classic.php b/mayor-orig/www/policy/public/portal/portal/portal_demo.classic.php deleted file mode 100644 index 31aebc95..00000000 --- a/mayor-orig/www/policy/public/portal/portal/portal_demo.classic.php +++ /dev/null @@ -1,43 +0,0 @@ - -
-'; - - - 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 '