echo $lang['err'] . ': ' . sprintf($lang['db_exists'], htmlencode($dbname)); echo "</div><br/>"; } if ($db->isWritable() && !$db->isDirWritable()) { echo "<div class='confirm' style='margin:10px 20px;'>"; echo $lang['attention'] . ': ' . $lang['directory_not_writable']; echo "</div><br/>"; } if (isset($extension_not_allowed)) { echo "<div class='confirm' style='margin:10px 20px;'>"; echo $lang['extension_not_allowed'] . ': '; echo implode(', ', array_map('htmlencode', $allowed_extensions)); echo '<br />' . $lang['add_allowed_extension']; echo "</div><br/>"; } if ($auth->isPasswordDefault()) { echo "<div class='confirm' style='margin:20px 0px;'>"; echo sprintf($lang['warn_passwd'], is_readable('phpliteadmin.config.php') ? 'phpliteadmin.config.php' : PAGE) . "<br />" . $lang['warn0']; echo "</div>"; } echo "<b>" . $lang['db_name'] . "</b>: " . htmlencode($db->getName()) . "<br/>"; echo "<b>" . $lang['db_path'] . "</b>: " . htmlencode($db->getPath()) . "<br/>"; echo "<b>" . $lang['db_size'] . "</b>: " . $db->getSize() . " KB<br/>"; echo "<b>" . $lang['db_mod'] . "</b>: " . $db->getDate() . "<br/>"; echo "<b>" . $lang['sqlite_v'] . "</b>: " . $realVersion . "<br/>"; echo "<b>" . $lang['sqlite_ext'] . "</b> " . helpLink($lang['help1']) . ": " . $db->getType() . "<br/>"; echo "<b>" . $lang['php_v'] . "</b>: " . phpversion() . "<br/>"; echo "<b>" . PROJECT . " " . $lang["ver"] . "</b>: " . VERSION; echo " <a href='" . PROJECT_URL . "' target='_blank' id='oldVersion' style='display: none;' class='warning'>" . $lang['new_version'] . "</a><br/><br/>"; echo "<script type='text/javascript'>checkVersion('" . VERSION . "','" . VERSION_CHECK_URL . "');</script>"; if (isset($_GET['sort']) && ($_GET['sort'] == 'type' || $_GET['sort'] == 'name')) {