chdir("../");
$artwork_id = empty($_GET['id']) ? 0 : $_GET['id'];
$artwork_dir = "a".$artwork_id;
?>
Artwork #
Warning: Undefined variable $artwork_id in /web/htdocs/www.the3rdsequence.com/home/artworks/index.php on line 8
- the3rdSequence
Warning: include(modules/head.php): Failed to open stream: No such file or directory in /web/htdocs/www.the3rdsequence.com/home/artworks/index.php on line 9
Warning: include(): Failed opening 'modules/head.php' for inclusion (include_path='.:/php8.1/lib/php') in /web/htdocs/www.the3rdsequence.com/home/artworks/index.php on line 9
Warning: include(modules/navigation.php): Failed to open stream: No such file or directory in /web/htdocs/www.the3rdsequence.com/home/artworks/index.php on line 12
Warning: include(): Failed opening 'modules/navigation.php' for inclusion (include_path='.:/php8.1/lib/php') in /web/htdocs/www.the3rdsequence.com/home/artworks/index.php on line 12
$ori_path = "artworks/".$artwork_dir."/script.js";
$min_path = "artworks/".$artwork_dir."/min.js";
$minify = true;
if(file_exists($min_path)){
if(filemtime($ori_path) < filemtime($min_path)){
$minify = false;
}
}
if($minify){
include('scripts/php/JShrink-master/src/JShrink/Minifier.php');
$js = file_get_contents($ori_path);
$minifiedCode = JShrink\Minifier::minify($js);
file_put_contents($min_path, $minifiedCode);
}
?>
if(is_dir("artworks/a".($artwork_id+1))){
?>
}
?>
Warning: include(modules/footer.php): Failed to open stream: No such file or directory in /web/htdocs/www.the3rdsequence.com/home/artworks/index.php on line 38
Warning: include(): Failed opening 'modules/footer.php' for inclusion (include_path='.:/php8.1/lib/php') in /web/htdocs/www.the3rdsequence.com/home/artworks/index.php on line 38