2024-10-10

This commit is contained in:
2024-10-10 12:56:56 +08:00
commit 7b347c848a
2648 changed files with 643965 additions and 0 deletions

10
web/setlang.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
if (isset($_GET['lang']) && in_array($_GET['lang'], array("cn","ug", "en", 'fa', 'ko', 'th'))) {
session_start();
$_SESSION[$OJ_NAME . '_' . 'OJ_LANG'] = $_GET['lang'];
setcookie("lang", $_GET['lang'], time() + 604800);
}
?>
<script>
window.history.go(-1);
</script>