<!doctype html>
<html lang="en">
<head>
<title>Tim's Language Helper</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<style>
    table, td {
        border: 1px solid red;
        border-collapse: collapse;
        margin: 5px;
    }
    ul {
        list-style-type: none;
        line-height: 1.6;
    }
</style>
<script>
    function show_words() {
        alert("show_words reached")
    }
</script>
</head>
<body>

<h1>Tim's Language Helper</h1>
<h2>Word Tools</h2>
    <br/>From Language: <select id="slt_from_language" disabled="true">
        <option value="0">--- Select ---</option>
        <option value="1">English</option>
        <option value="2" selected="true">Greek</option>
    </select>
    <br/>To Language: <select id="slt_to_language" disabled="true">
        <option value="0">--- Select ---</option>
        <option value="1" selected="true">English</option>
        <option value="2">Greek</option>
    </select>

<?php
if ($_GET["debug"]) {
    $debug = TRUE;
} else {
    $debug = FALSE;
}
include "classes/DatabaseConnection.php";
include "classes/Word.php";

$db_conn = DatabaseConnection::getConnection();
if ($debug) {
    echo "<br/>Connection status: " . $db_conn->status;;
}

?>

<ul>
    <li><a href="display_words.php">Show Word List</a></li>
    <li><a href="word_meanings_test.php">Word Meanings Test</a></li>
    <li><a href="stress_test.php">Stress Test</a></li>
</ul>

</body>
</html>