system img -> files changes

This commit is contained in:
Ulf Gebhardt 2014-05-19 04:01:32 +02:00
parent 83a8b83c3a
commit 9e3a2fd952
54 changed files with 12 additions and 12 deletions

View File

@ -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';

View File

@ -1,3 +1,3 @@
<?php
\SYSTEM\autoload::registerFolder(dirname(__FILE__),'');
require_once dirname(__FILE__).'/register_img.php';
require_once dirname(__FILE__).'/register_files.php';

View File

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

View File

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View File

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

View File

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 85 KiB

View File

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 84 KiB

View File

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

Before

Width:  |  Height:  |  Size: 1004 KiB

After

Width:  |  Height:  |  Size: 1004 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

Before

Width:  |  Height:  |  Size: 972 KiB

After

Width:  |  Height:  |  Size: 972 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 972 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

View File

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 84 KiB

View File

Before

Width:  |  Height:  |  Size: 181 KiB

After

Width:  |  Height:  |  Size: 181 KiB

View File

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 164 KiB

View File

Before

Width:  |  Height:  |  Size: 931 KiB

After

Width:  |  Height:  |  Size: 931 KiB

View File

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View File

Before

Width:  |  Height:  |  Size: 131 KiB

After

Width:  |  Height:  |  Size: 131 KiB

View 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');

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1015 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

View File

@ -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');

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}