27 lines
1.0 KiB
PHP
27 lines
1.0 KiB
PHP
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||
|
<head>
|
||
|
<title>RompЯ</title>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" />
|
||
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||
|
<script type="text/javascript" src="jquery/jquery-3.3.1.min.js"></script>
|
||
|
<script type="text/javascript" src="ui/functions.js"></script>
|
||
|
<script language="javascript">
|
||
|
$(document).ready(function() {
|
||
|
var ws = getWindowSize();
|
||
|
if ((ws.x < 600 && ws.x < ws.y) || (ws.x < 800 && ws.x > ws.y)) {
|
||
|
setCookie('skin','phone',3650);
|
||
|
} else if ((ws.x < 1024 && ws.x < ws.y) || (ws.x < 600 && ws.x > ws.y)) {
|
||
|
setCookie('skin','tablet',3650);
|
||
|
} else {
|
||
|
setCookie('skin','desktop',3650);
|
||
|
}
|
||
|
location.reload(true);
|
||
|
});
|
||
|
</script>
|
||
|
</head>
|
||
|
<body>
|
||
|
</body>
|
||
|
</html>
|