"; echo ""; echo "
"; $files = glob("purgatory/*.*"); if (is_array($files) && count($files) > 0) { require_once 'DirectoryItems1.php'; $directory = 'purgatory'; require 'db/db_psymag.inc.php'; $db = mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DB) or die ('Unable to connect. Check your connection parameters.'); mysql_set_charset ('utf8',$db); mysql_select_db(MYSQL_DB, $db) or die(mysql_error($db)); $di = new DirectoryItems1($directory); $di->imagesOnly(); $di->naturalCaseInsensitiveOrder(); $filearray = $di->getFileArray(); foreach ($filearray as $key => $value){ $pathG = preg_split('{[_]}', $value); $title_art = $pathG[0]; $path = preg_split('/\d/', $title_art); $art = $path[0]; $title_en = $pathG[1]; $title_de = $pathG[2]; $title_ru = $pathG[3]; if($art == 'Animation') { $end = 'gif'; } else { $end = 'jpg'; } $check = mysql_query ("SELECT COUNT(*) FROM gallery WHERE title_art='$title_art'"); $existing = mysql_fetch_row($check); if($existing[0]==1) { $y = 1; } else { $sql = "INSERT INTO gallery (art, title_art, title_en, title_de, title_ru, end) VALUES ('" . $art ."', '" . $title_art ."', '" . $title_en ."', '" . $title_de . "', '" . $title_ru . "', '" . $end . "')"; mysql_query($sql, $db) or die(mysql_error($db)); } } foreach ( $files as $file ) { $file_to_go = str_replace("purgatory/", "gallery/", $file); rename($file, $file_to_go); } } ?>

Psymaginary - Grafic with psycological implication. Psymaginary - Grafik mit psychologischem Sinne. Psymaginary - Графика с психологическим подтекстом

 

 

 

 

Grafic with psychological implication

 

 

 

Grafik mit psychologischem
Sinne

Web Hosting 

©Web-Design and Grafics. Alexander L. Krupenin, Irina M. Krokhina 2010-2018
Jedes Website-Design und alle Grafiken sind urheberrechtlich geschützt. Дизайн всех веб-страниц и вся графика защищены авторскими правами.
© Psymaginary Alexander L. Krupenin, Irina M. Krokhina 2010

imagesOnly(); $di->naturalCaseInsensitiveOrder(); echo ' '; $filearray = $di->getFileArray(); $path = ""; $size = 20; foreach ($filearray as $key => $value){ // $path = "{$di->getDirectoryName()}/$key"; $path = "$directory/".$key; $pathG=preg_split('{[_ / :]}', $value); $pathn[0] = $pathG[0]; $pathn[1] = $pathG[1]; $pathn[2] = $pathG[2]; /*errors in getthumb or in class will result in broken links - error will not display*/ echo ""; } echo '
 
'; ?>

 

"; echo ""; echo ""; ob_end_flush(); // The ob_gzhandler one header('Content-Length: '.ob_get_length()); ob_end_flush(); // The main one ?>
000webhost logo