system img -> files changes
@ -7,4 +7,4 @@ require_once dirname(__FILE__).'/dbd/autoload.inc.php';
|
||||
|
||||
require_once dirname(__FILE__).'/api/autoload.inc.php';
|
||||
|
||||
require_once dirname(__FILE__).'/img/autoload.inc.php';
|
||||
require_once dirname(__FILE__).'/files/autoload.inc.php';
|
||||
@ -1,3 +1,3 @@
|
||||
<?php
|
||||
\SYSTEM\autoload::registerFolder(dirname(__FILE__),'');
|
||||
require_once dirname(__FILE__).'/register_img.php';
|
||||
require_once dirname(__FILE__).'/register_files.php';
|
||||
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 85 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 1004 KiB After Width: | Height: | Size: 1004 KiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
BIN
danube/files/impressions/14.JPG
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 972 KiB After Width: | Height: | Size: 972 KiB |
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
BIN
danube/files/impressions/4.JPG
Normal file
|
After Width: | Height: | Size: 972 KiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
BIN
danube/files/impressions/8.JPG
Normal file
|
After Width: | Height: | Size: 6.1 MiB |
BIN
danube/files/impressions/9.JPG
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
BIN
danube/files/impressions/DSCF5500.JPG
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
BIN
danube/files/impressions/DSCF6849.JPG
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
BIN
danube/files/impressions/DSCF6948.JPG
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
danube/files/impressions/DSCF6957.JPG
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
BIN
danube/files/impressions/DSCF8999.JPG
Normal file
|
After Width: | Height: | Size: 6.1 MiB |
BIN
danube/files/impressions/sun.JPG
Normal file
|
After Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 181 KiB After Width: | Height: | Size: 181 KiB |
|
Before Width: | Height: | Size: 164 KiB After Width: | Height: | Size: 164 KiB |
|
Before Width: | Height: | Size: 931 KiB After Width: | Height: | Size: 931 KiB |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 131 KiB After Width: | Height: | Size: 131 KiB |
4
danube/files/register_files.php
Normal file
@ -0,0 +1,4 @@
|
||||
<?php
|
||||
\SYSTEM\FILES\files::registerFolder(dirname(__FILE__).'/certificates/','certificates');
|
||||
\SYSTEM\FILES\files::registerFolder(dirname(__FILE__).'/partners/','partners');
|
||||
\SYSTEM\FILES\files::registerFolder(dirname(__FILE__).'/impressions/','impressions');
|
||||
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 1015 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 1.0 MiB |
@ -1,4 +0,0 @@
|
||||
<?php
|
||||
\SYSTEM\IMG\img::registerFolder(dirname(__FILE__).'/certificates/','certificates','*.jpg');
|
||||
\SYSTEM\IMG\img::registerFolder(dirname(__FILE__).'/partners/','partners','*.jpg');
|
||||
\SYSTEM\IMG\img::registerFolder(dirname(__FILE__).'/impressions/','impressions','*.JPG');
|
||||
@ -11,10 +11,10 @@ class default_certificates extends SYSTEM\PAGE\Page {
|
||||
}
|
||||
|
||||
private function gallery(){
|
||||
$pics = \SYSTEM\IMG\img::get('certificates');
|
||||
$pics = \SYSTEM\FILES\files::get('certificates');
|
||||
$result = '';
|
||||
foreach($pics as $pic){
|
||||
$result .= '<img src="api.php?call=img&cat=certificates&id='.$pic.'" alt="" />';
|
||||
$result .= '<img src="api.php?call=files&cat=certificates&id='.$pic.'" alt="" />';
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
@ -11,10 +11,10 @@ class default_impressions extends SYSTEM\PAGE\Page {
|
||||
}
|
||||
|
||||
private function gallery(){
|
||||
$pics = \SYSTEM\IMG\img::get('impressions');
|
||||
$pics = \SYSTEM\FILES\files::get('impressions');
|
||||
$result = '';
|
||||
foreach($pics as $pic){
|
||||
$result .= '<img src="api.php?call=img&cat=impressions&id='.$pic.'" alt="" />';
|
||||
$result .= '<img src="api.php?call=files&cat=impressions&id='.$pic.'" alt="" />';
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
@ -11,10 +11,10 @@ class default_partners extends SYSTEM\PAGE\Page {
|
||||
}
|
||||
|
||||
private function gallery(){
|
||||
$pics = \SYSTEM\IMG\img::get('partners');
|
||||
$pics = \SYSTEM\FILES\files::get('partners');
|
||||
$result = '';
|
||||
foreach($pics as $pic){
|
||||
$result .= '<img src="api.php?call=img&cat=partners&id='.$pic.'" alt="" />';
|
||||
$result .= '<img src="api.php?call=files&cat=partners&id='.$pic.'" alt="" />';
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||