From 11818054364b6248be8ff092d2914598f1081dc5 Mon Sep 17 00:00:00 2001 From: Przemyslaw Date: Thu, 18 Apr 2024 18:46:24 +0200 Subject: Init --- web/samegame/src/main/webapp/menu.jsp | 103 ++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 web/samegame/src/main/webapp/menu.jsp (limited to 'web/samegame/src/main/webapp/menu.jsp') diff --git a/web/samegame/src/main/webapp/menu.jsp b/web/samegame/src/main/webapp/menu.jsp new file mode 100644 index 0000000..8847e89 --- /dev/null +++ b/web/samegame/src/main/webapp/menu.jsp @@ -0,0 +1,103 @@ + +<%@ page language="java" contentType="text/html; charset=UTF-8" + pageEncoding="UTF-8"%> + + + +Same Game + + + + + + + +<% +String orient = request.getParameter("data"); +if (orient.equals("landscape")) { + + + out.print(""); + out.print(""); + out.print(""); + out.print("
\"Same
"); + //out.print("td>"); + out.print("
"); + out.print(""); + // przykłąd + // out.print("Play
"); + +} +else if (orient.equals("portrait")) { + out.print(""); + out.print(""); + out.print(""); + out.print("
\"Same
"); + //out.print(""); + out.print(""); + out.print("
"); + // przykłąd + // out.print("
"); +} +%> + + + + \ No newline at end of file -- cgit v1.2.3