title : $t->getCurrentDir($selected_dir); elseif ($mode & TAG_MODE) $title = ucfirst($selected_tag); elseif ($mode & DATE_MODE) $title = translation::dateFormat('MONTH_YEAR', strtotime($selected_month)); $t->header($title); if ($mode & DIR_MODE) list($dirs, $pics, $update) = $f->getDirectory($selected_dir); elseif ($mode & TAG_MODE) $pics = $f->getByTag($selected_tag); elseif ($mode & DATE_MODE) $pics = $f->getByMonth($selected_month); if ($mode & DIR_MODE && empty($selected_dir)) { echo "

".htmlspecialchars($f->title)."

\n"; } elseif ($mode & DIR_MODE) { echo "

".htmlspecialchars($title)."

\n"; echo '

' . "\n" .$t->currentUserPosition($selected_dir)."

\n"; } elseif ($mode & TAG_MODE) { echo '

'.htmlspecialchars($title).'

'; echo '

'.__('Tags').' '.htmlspecialchars($selected_tag).'

'; } elseif ($mode & DATE_MODE) { echo '

'.htmlspecialchars($title).'

'; } if (!empty($dirs)) { echo '\n"; } if ($mode & DIR_MODE && !empty($update)) echo '

'.__('Updating database, please wait, more photos will appear in a while...').'

'; if ($f->isLogged()) { echo '\n"; } if (!empty($pics)) { echo '\n"; } if (!empty($update)) { echo "\n" .''; } $t->footer(); } } elseif ($mode & TAG_MODE) { } ?>