% Mitgliedsantrag StuStaNet e. V.
% Tex initially created 2010 by Maximilian Engelhardt <maximilian.engelhardt@stusta.mhn.de>

\documentclass[a4paper,10pt]{scrartcl}
%\documentclass[a4paper,11pt]{scrartcl}

\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{eurosym}
\usepackage[pdftex,final]{graphicx}
\usepackage{xcolor}
\usepackage{array}
\let\xhrf\hrulefill
\usepackage[mdput]{mathdesign}
\let\hrulefill\xhrf
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{pigpen}
\usepackage{ifthen}
\usepackage{calc}
\usepackage{multicol}
\usepackage[pdftex]{hyperref}
\usepackage[top=2.5cm,bottom=2.5cm,left=1.3cm,right=1.3cm]{geometry}

\hypersetup{
    pdftitle    = {Erfassung Verkauf WLAN-AP},
    pdfsubject  = {WLAN-APs}
}

\newboolean{onlineform}
\setboolean{onlineform}{true}

\newboolean{frakfamily}
\setboolean{frakfamily}{false}

% uncomment to enagle frank font
% you can also use 11pt fonts
%\setboolean{frakfamily}{true}

\newcommand{\myRadioBox}{
	\setlength{\fboxrule}{2pt}
	\setlength{\fboxsep}{0.5em}
	\raisebox{0.3em}{\fbox{}}
	\rule{0pt}{1.5em}
}
\newcommand{\myRadioBoxMail}{
	\setlength{\fboxrule}{2pt}
	\setlength{\fboxsep}{0.5em}
	\raisebox{0.3em}{\fbox{}}
	\rule{0pt}{1.5em}
}

\ifthenelse{\boolean{frakfamily}}{
	\usepackage{yfonts}
	\usepackage{sectsty}

	\allsectionsfont{\frakfamily}
}{}


\setlength{\parindent}{0pt}

\pagestyle{fancy}

\fancyhf{} % clear all header and footer fields
\rhead{\ifthenelse{\boolean{frakfamily}}{\frakfamily}{}\bfseries \thepage /\pageref*{LastPage}}
\lhead{\ifthenelse{\boolean{frakfamily}}{\frakfamily}{}StuStaNet e. V. - WLAN-AP Verkauf}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}

\fancypagestyle{plain}{
\fancyhf{}
\rfoot{\ifthenelse{\boolean{frakfamily}}{\frakfamily}{}Version: \today}
\lfoot{\ifthenelse{\boolean{frakfamily}}{\frakfamily}{}StuStaNet e. V. - WLAN-AP Verkauf}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}}

\title{Erfassungsbogen WLAN-APs}
\date{}

\begin{document}
\ifthenelse{\boolean{frakfamily}}{
	\frakfamily
	\fraklines
}{}

\maketitle
\vspace{-60pt}

\begin{figure}[t!]
   \centering
   \vspace{-40pt}
   \mbox{\includegraphics[width=0.75\textwidth,keepaspectratio]{Bilder/StuStaNet_Logo}\ifthenelse{\boolean{frakfamily}}{\frakfamily}{}\Huge \sffamily \textbf{e.\ V.}}
   \vspace{-40pt}
\end{figure}


%\section*{An den Vorstand des StuStaNet e. V.}


%\enlargethispage{40pt}
%\medskip

%\hfill\today

%\vfill
%\newpage

\ifthenelse{\boolean{onlineform}}{\begin{Form}}{}

	\Large Bitte in \textbf{Druckbuchstaben} ausfüllen! Please fill in the form in \textbf{block letters}!\\


\vfill

{\LARGE
\begin{tabbing}
	\hspace{7.5em}\=\kill
        \bfseries {\large Name/last name:} \>\ifthenelse{\boolean{onlineform}}
	{\underline{\TextField[name=name, bordercolor=white, width=.7\linewidth, borderwidth=0]{}}}
	{\color{gray} $\rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle$} \\
        \\
        \bfseries {\large Vorname/first name:} \>\ifthenelse{\boolean{onlineform}}
	{\underline{\TextField[name=vorname, bordercolor=white, width=.7\linewidth, borderwidth=0]{}}}
	{\color{gray} $\rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle$} \\
	\\
\end{tabbing}
}
%\vspace{-10pt}
%\vfill

{\Large
	\bfseries E-Mail: \hspace{.5em} \ifthenelse{\boolean{onlineform}}
	{\mbox{\underline{\TextField[name=email, bordercolor=white, width=.8\linewidth, borderwidth=0]{ }}}}
	{{\raisebox{-0.15em}{\color{gray} $\rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle \hspace{.7em} \rightangle$}}} \\
}
\ifthenelse{\boolean{onlineform}}{\end{Form}}{}

%\vfill
%\begin{center}
%\setlength{\unitlength}{1mm}
%\begin{picture}(70, 35)(0, 0)
%    \put(0,0){\line(1,0){4}}
%    \put(0,0){\line(0,1){4}}
%    \put(70,35){\line(-1,0){4}}
%    \put(70,35){\line(0,-1){4}}
%    \put(29,17){Aufkleber} 
%    \put(70,0){\line(-1,0){4}}
%    \put(70,0){\line(0,1){4}}
%    \put(0,35){\line(1,0){4}}
%   \put(0,35){\line(0,-1){4}}
%\end{picture}
%\end{center}

\vfill
%Ich bestätige, dass obige Angaben korrekt sind sowie, dass ich die erste Seite des Antrags gelesen und akzeptiert habe.


{\Large Ich möchte per Mail über wichtige Updates für meinen WLAN-AP informiert werden.\\
I want to be informed about important updates for my WLAN-AP via Mail.}

\vspace{3em}

\hrulefill \\
(Datum/Date) \hfill (Unterschrift/Signature) \hspace{\stretch{4}}

\vfill

\enlargethispage{40pt}

%\hfill Version: \today

\end{document}
