From 126ce626c0e0ef900a19c1643efe884f95938892 Mon Sep 17 00:00:00 2001 From: celest Date: Mon, 21 Mar 2005 06:06:21 +0000 Subject: * Moved /tool and /webserver to under /src and added 'make tools' and 'make web-server' * Removed ladmin compiling from 'make sql' git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1261 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/webserver/htmlstyle.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 src/webserver/htmlstyle.c (limited to 'src/webserver/htmlstyle.c') diff --git a/src/webserver/htmlstyle.c b/src/webserver/htmlstyle.c new file mode 100644 index 000000000..a1320a385 --- /dev/null +++ b/src/webserver/htmlstyle.c @@ -0,0 +1,51 @@ +char output[10000]; + +char *html_header(char *title) +{ + memset(output, 0x0, 10000); + char *text = "\n" + "
\n" + "\n" + "
\n" + "\"Athena\"\n" + "
\n" + "
\n"; + "\n" + "
" + "
" + "\n" + "To the Forum
\n" + "\n" + "" + "
\n" + "
\n" + "Athena « Portal »
\n"; + + sprintf(output, "%s\n%s\n", title, text); + + return output; +} + + + +char *html_start_form(char *location, char *action) +{ + memset(output, 0x0, 10000); + sprintf(output, "
", location, action); + return output; + + +} + + +char *html_end_forum(void) +{ + return "
"; +} + + + -- cgit v1.2.3-70-g09d2