$response->assign("result", "innerHTML", $msg); $response->assign("result", "style.display", "block"); return $response; } $response->script("document.location.href='tester_hangee.php'"); return $response; } $xajax = new xajax(); $xajax->registerFunction("populate_pages"); $xajax->registerFunction("add_test_words"); $xajax->registerFunction("start_test"); $xajax->registerFunction("clear_list"); $xajax->registerFunction("register_new_test"); $xajax->processRequest(); ########################################################################### hangee_header("HanGEE: Tester"); $xajax->printJavascript("xajax"); ?> <script language='javascript' type='text/javascript'> <!--// function destroy_test_condition() { if (confirm('Are you sure?')) xajax_register_new_test(); return; } function show_mpref() {
<?php # # index.php # # Written by HyoGi Sim <*****@*****.**> # require_once "__lib.php"; hangee_init(); hangee_header("HanGEE: GRE Word Memorizing Helper"); ?> <div id="help_content"> <h2>Welcome!</h2> <div class='explain'> <p>Welcome, but this page is not ready, yet. You may like to check <a href='help.php'><strong>Help</strong></a> page first.</p> </p> </div> </div> <?php hangee_footer(); hangee_exit();
if (isset($column) && isset($key)) { $response->script("set_search_active('{$column}', '{$key}')"); } else { $response->script("update_current_ch('{$ch}');"); } $response->assign("word_browser", "innerHTML", $html); $response->assign("word_browser", "style.display", "block"); $response->script("num_res = {$num_res};"); return $response; } $xajax = new xajax(); $xajax->registerFunction("browse_word"); $xajax->registerFunction("mark_word"); $xajax->registerFunction("unmark_word"); $xajax->processRequest(); hangee_header("HanGEE: Word Browsing"); $xajax->printJavascript("xajax"); /* echo "<div id='navigation'><p>HanGEE: "; for ($ch = ord('A'); $ch <= ord('Z'); $ch++) { $chr = chr($ch); echo "<a href='browser.php?ch=$chr'>$chr</a>\n"; } echo "<a href='javascript:void(0);' onClick='show_search(); return false;'>Search</a></p>"; */ echo "<div id='navigation'>"; echo "<p><span>HanGEE: " . "<input type='checkbox' id='hangee_marked' value='m' onClick='browse_hangee();'>" . "<label for='hangee_marked'>Marked only</label>" . " <select id='hangeesel' onChange='browse_hangee();'><option value='0'>== SELECT ==</option>"; for ($i = ord('A'); $i <= ord('Z'); $i++) { echo "<option value='" . chr($i) . "'>" . chr($i) . "</option>";
} $sql = "update hangee_users set aip='{$aip}', atime={$atime} where id={$db_id}"; if (!($res = mysql_query($sql, $dbconn))) { $response->assign("debug", "innerHTML", "query failed: {$sql}" . mysql_error($dbconn)); $response->assign("debug", "style.display", "block"); return $response; } disconnect_db(); $getdata = "t={$db_id}&tt={$db_password}"; $response->script("document.location.href='session.php?{$getdata}'"); return $response; } $xajax = new xajax(); $xajax->registerFunction("hangee_login"); $xajax->processRequest(); hangee_header("HanGEE Login"); $xajax->printJavascript("xajax"); ?> <div id="login"> <form id="login_form" onSubmit="javascript:void(0); return false;"> <p><label for="email">Email:</label> <input type="text" id='email' name="email" size="20" maxlength="100" /> <label for="password">Password:</label> <input type="password" name="password" size="20" maxlength="30" /> <button onClick="xajax_hangee_login(xajax.getFormValues('login_form'));">OK</button></p> </form> </div> <script language='javascript' type='text/javascript'> <!--// (document.getElementById('email')).focus(); //-->
$mp3 = "gsay/".substr($word,0,1)."/$word.mp3"; $mp3_exists = file_exists($mp3); */ $gmp3 = "http://www.gstatic.com/dictionary/static/sounds/de/0/{$word}.mp3"; $gmp3_exists = url_exists($gmp3); ########################################################################### $xajax = new xajax(); $xajax->registerFunction("move_to_previous"); $xajax->registerFunction("move_to_next"); $xajax->registerFunction("move_to_first"); $xajax->registerFunction("move_to_last"); $xajax->registerFunction("save_session"); $xajax->registerFunction("mark_current"); $xajax->registerFunction("unmark_current"); $xajax->processRequest(); hangee_header("HanGEE: Word Test"); $xajax->printJavascript("xajax"); ?> <!--// Keyboard shortcut code is from http://www.openjs.com/scripts/events/keyboard_shortcuts/ //--> <script language='javascript' type='text/javascript' src='js/shortcut.js'></script> <script language='javascript' type='text/javascript'> <!--// var current_case = 0; // uppercase document.body.bgColor = '#dddddd'; function swap_case() {