ÿØÿà JFIF    ÿÛ „ ( %"1!%)+...383,7(-.+  -+++--++++---+-+-----+---------------+---+-++7-----ÿÀ  ß â" ÿÄ    ÿÄ H   !1AQaq"‘¡2B±ÁÑð#R“ÒTbr‚²á3csƒ’ÂñDS¢³$CÿÄ   ÿÄ %  !1AQa"23‘ÿÚ   ? ôÿ ¨pŸªáÿ —åYõõ\?àÒü©ŠÄï¨pŸªáÿ —åYõõ\?àÓü©ŠÄá 0Ÿªáÿ Ÿå[úƒ ú®ði~TÁbqÐ8OÕpÿ ƒOò¤Oè`–RÂáœá™êi€ßÉ< FtŸI“öÌ8úDf´°å}“¾œ6  öFá°y¥jñÇh†ˆ¢ã/ÃÐ:ªcÈ "Y¡ðÑl>ÿ ”ÏËte:qž\oäŠe÷󲍷˜HT4&ÿ ÓÐü6ö®¿øþßèô Ÿ•7Ñi’•j|“ñì>b…þS?*Óôÿ ÓÐü*h¥£ír¶ü UãS炟[AÐaè[ûª•õ&õj?†Éö+EzP—WeÒírJFt ‘BŒ†Ï‡%#tE Øz¥OÛ«!1›üä±Í™%ºÍãö]°î(–:@<‹ŒÊö×òÆt¦ãº+‡¦%ÌÁ²h´OƒJŒtMÜ>ÀÜÊw3Y´•牋4ǍýʏTì>œú=Íwhyë,¾Ôò×õ¿ßÊa»«þˆѪQ|%6ž™A õ%:øj<>É—ÿ Å_ˆCbõ¥š±ý¯Ýƒï…¶|RëócÍf溪“t.СøTÿ *Ä¿-{†çàczůŽ_–^XþŒ±miB[X±d 1,é”zEù»& î9gœf™9Ð'.;—™i}!ôšåîqêÛ٤ёý£½ÆA–àôe"A$˝Úsäÿ ÷Û #°xŸëí(l »ý3—¥5m! rt`†0~'j2(]S¦¦kv,ÚÇ l¦øJA£Šƒ J3E8ÙiŽ:cÉžúeZ°€¯\®kÖ(79«Ž:¯X”¾³Š&¡*….‰Ž(ÜíŸ2¥ª‡×Hi²TF¤ò[¨íÈRëÉ䢍mgÑ.Ÿ<öäS0í„ǹÁU´f#Vß;Õ–…P@3ío<ä-±»Ž.L|kªÀê›fÂ6@»eu‚|ÓaÞÆŸ…¨ááå>åŠ?cKü6ùTÍÆ”†sĤÚ;H2RÚ†õ\Ö·Ÿn'¾ñ#ºI¤Å´%çÁ­‚â7›‹qT3Iï¨ÖÚ5I7Ë!ÅOóŸ¶øÝñØôת¦$Tcö‘[«Ö³šÒ';Aþ ¸èíg A2Z"i¸vdÄ÷.iõ®§)¿]¤À†–‡É&ä{V¶iŽ”.Ó×Õÿ û?h¬Mt–íª[ÿ Ñÿ ÌV(í}=ibÔ¡›¥¢±bLô¥‡piη_Z<‡z§èŒ)iÖwiÇ 2hÙ3·=’d÷8éŽ1¦¸c¤µ€7›7Ø ð\á)} ¹fËí›pAÃL%âc2 í§æQz¿;T8sæ°qø)QFMð‰XŒÂ±N¢aF¨…8¯!U  Z©RÊÖPVÄÀÍin™Ì-GˆªÅËŠ›•zË}º±ŽÍFò¹}Uw×#ä5B¤{î}Ð<ÙD é©¤&‡ïDbàÁôMÁ.ÿØÿà JFIF    ÿÛ „ ( %"1!%)+...383,7(-.+  -+++--++++---+-+-----+---------------+---+-++7-----ÿÀ  ß â" ÿÄ    ÿÄ H   !1AQaq"‘¡2B±ÁÑð#R“ÒTbr‚²á3csƒ’ÂñDS¢³$CÿÄ   ÿÄ %  !1AQa"23‘ÿÚ   ? ôÿ ¨pŸªáÿ —åYõõ\?àÒü©ŠÄï¨pŸªáÿ —åYõõ\?àÓü©ŠÄá 0Ÿªáÿ Ÿå[úƒ ú®ði~TÁbqÐ8OÕpÿ ƒOò¤Oè`–RÂáœá™êi€ßÉ< FtŸI“öÌ8úDf´°å}“¾œ6  öFá°y¥jñÇh†ˆ¢ã/ÃÐ:ªcÈ "Y¡ðÑl>ÿ ”ÏËte:qž\oäŠe÷󲍷˜HT4&ÿ ÓÐü6ö®¿øþßèô Ÿ•7Ñi’•j|“ñì>b…þS?*Óôÿ ÓÐü*h¥£ír¶ü UãS炟[AÐaè[ûª•õ&õj?†Éö+EzP—WeÒírJFt ‘BŒ†Ï‡%#tE Øz¥OÛ«!1›üä±Í™%ºÍãö]°î(–:@<‹ŒÊö×òÆt¦ãº+‡¦%ÌÁ²h´OƒJŒtMÜ>ÀÜÊw3Y´•牋4ǍýʏTì>œú=Íwhyë,¾Ôò×õ¿ßÊa»«þˆѪQ|%6ž™A õ%:øj<>É—ÿ Å_ˆCbõ¥š±ý¯Ýƒï…¶|RëócÍf溪“t.СøTÿ *Ä¿-{†çàczůŽ_–^XþŒ±miB[X±d 1,é”zEù»& î9gœf™9Ð'.;—™i}!ôšåîqêÛ٤ёý£½ÆA–àôe"A$˝Úsäÿ ÷Û #°xŸëí(l »ý3—¥5m! rt`†0~'j2(]S¦¦kv,ÚÇ l¦øJA£Šƒ J3E8ÙiŽ:cÉžúeZ°€¯\®kÖ(79«Ž:¯X”¾³Š&¡*….‰Ž(ÜíŸ2¥ª‡×Hi²TF¤ò[¨íÈRëÉ䢍mgÑ.Ÿ<öäS0í„ǹÁU´f#Vß;Õ–…P@3ío<ä-±»Ž.L|kªÀê›fÂ6@»eu‚|ÓaÞÆŸ…¨ááå>åŠ?cKü6ùTÍÆ”†sĤÚ;H2RÚ†õ\Ö·Ÿn'¾ñ#ºI¤Å´%çÁ­‚â7›‹qT3Iï¨ÖÚ5I7Ë!ÅOóŸ¶øÝñØôת¦$Tcö‘[«Ö³šÒ';Aþ ¸èíg A2Z"i¸vdÄ÷.iõ®§)¿]¤À†–‡É&ä{V¶iŽ”.Ó×Õÿ û?h¬Mt–íª[ÿ Ñÿ ÌV(í}=ibÔ¡›¥¢±bLô¥‡piη_Z<‡z§èŒ)iÖwiÇ 2hÙ3·=’d÷8éŽ1¦¸c¤µ€7›7Ø ð\á)} ¹fËí›pAÃL%âc2 í§æQz¿;T8sæ°qø)QFMð‰XŒÂ±N¢aF¨…8¯!U  Z©RÊÖPVÄÀÍin™Ì-GˆªÅËŠ›•zË}º±ŽÍFò¹}Uw×#ä5B¤{î}Ð<ÙD é©¤&‡ïDbàÁôMÁ. $plugin) { $loadtype = $plugin['priority']; if ($loadtype & FEATURE_PLUGIN) { if (DEBUG_PLUGINS) { list($usec, $sec) = explode(" ", microtime()); $start = (float) $usec + (float) $sec; } require_once($plugin['path']); if (DEBUG_PLUGINS) { pluginDebug($extension, $priority, $start); } $_zp_loaded_plugins[$extension] = $extension; } } if(isset($_REQUEST['softinstall'])){ setOption('zenphoto_install', serialize(installSignature())); } require_once(SERVERPATH . "/" . ZENFOLDER . '/functions/functions-rewrite.php'); require_once(dirname(__FILE__) . '/template-functions.php'); checkInstall(); if (MOD_REWRITE || isset($_GET['z'])) rewriteHandler(); //$_zp_script_timer['require'] = microtime(); /** * Invoke the controller to handle requests */ require_once(SERVERPATH . "/" . ZENFOLDER . '/functions/functions-controller.php'); require_once(SERVERPATH . "/" . ZENFOLDER . '/controller.php'); $_index_theme = $_zp_script = ''; $_zp_page_check = 'checkPageValidity'; //$_zp_script_timer['controller'] = microtime(); // Display an arbitrary theme-included PHP page if (isset($_GET['p'])) { $_index_theme = prepareCustomPage(); // Display an Image page. } else if (in_context(ZP_IMAGE)) { $_index_theme = prepareImagePage(); // Display an Album page. } else if (in_context(ZP_ALBUM)) { $_index_theme = prepareAlbumPage(); // Display the Index page. } else if (in_context(ZP_INDEX)) { $_index_theme = prepareIndexPage(); } else { $_index_theme = setupTheme(); } //$_zp_script_timer['theme setup'] = microtime(); $_zp_script = zp_apply_filter('load_theme_script', $_zp_script, $_zp_request); $custom = SERVERPATH . '/' . THEMEFOLDER . '/' . internalToFilesystem($_index_theme) . '/functions.php'; if (file_exists($custom)) { require_once($custom); } else { $custom = false; } // Load the THEME plugins if (!preg_match('~' . ZENFOLDER . '~', $_zp_script)) { if (DEBUG_PLUGINS) { debugLog('Loading the "theme" plugins.'); } foreach (getEnabledPlugins() as $extension => $plugin) { $loadtype = $plugin['priority']; if ($loadtype & THEME_PLUGIN) { if (DEBUG_PLUGINS) { list($usec, $sec) = explode(" ", microtime()); $start = (float) $usec + (float) $sec; } require_once($plugin['path']); if (DEBUG_PLUGINS) { pluginDebug($extension, $priority, $start); } $_zp_loaded_plugins[$extension] = $extension; // $_zp_script_timer['load '.$extension] = microtime(); } } } // HTML caching? if ($_zp_request) { $_zp_html_cache->startHTMLCache(); } //check for valid page number (may be theme dependent!) if ($_zp_page < 0) { $_zp_request = false; } else if ($_zp_request && $_zp_page > 1) { $_zp_request = $_zp_page_check($_zp_request, $_zp_gallery_page, $_zp_page); } //$_zp_script_timer['theme scripts'] = microtime(); if ($_zp_request && $_zp_script && file_exists($_zp_script = SERVERPATH . "/" . internalToFilesystem($_zp_script))) { if (checkAccess($hint, $show)) { // ok to view } else { // don't cache the logon page or you can never see the real one $_zp_html_cache->abortHTMLCache(); $_zp_gallery_page = 'password.php'; $_zp_script = SERVERPATH . '/' . THEMEFOLDER . '/' . $_index_theme . '/password.php'; if (!file_exists(internalToFilesystem($_zp_script))) { $_zp_script = SERVERPATH . '/' . ZENFOLDER . '/password.php'; } } // Include the appropriate page for the requested object, and a 200 OK header. header('Content-Type: text/html; charset=' . LOCAL_CHARSET); header("HTTP/1.0 200 OK"); header("Status: 200 OK"); header('Last-Modified: ' . ZP_LAST_MODIFIED); zp_apply_filter('theme_headers'); include(internalToFilesystem($_zp_script)); } else { // If the requested object does not exist, issue a 404 and redirect to the 404.php // in the zp-core folder. This script will load the theme 404 page if it exists. $_zp_html_cache->abortHTMLCache(); include(SERVERPATH . "/" . ZENFOLDER . '/404.php'); } //$_zp_script_timer['theme script load'] = microtime(); zp_apply_filter('zenphoto_information', $_zp_script, $_zp_loaded_plugins, $_index_theme); //$_zp_script_timer['expose information'] = microtime(); $_zp_db->close(); // close the database as we are done echo "\n"; list($usec, $sec) = explode(' ', array_shift($_zp_script_timer)); $first = $last = (float) $usec + (float) $sec; $_zp_script_timer['end'] = microtime(); foreach ($_zp_script_timer as $step => $time) { list($usec, $sec) = explode(" ", $time); $cur = (float) $usec + (float) $sec; printf("\n", $step, $cur - $last); $last = $cur; } if (count($_zp_script_timer) > 1) printf("\n", $last - $first); $_zp_html_cache->endHTMLCache(); ?>