\newif\ifpdf
\ifx\pdfoutput\undefined
    \pdffalse % no PDFLaTeX
\else
    \pdfoutput=1 %  PDFLaTeX
    \pdftrue
\fi

%% test if PDFLatex is used
\ifpdf
\documentclass[a4paper,11pt,english,pdftex]{report}
\else 
\documentclass[a4paper,11pt,english]{report}
\fi

%% packages with a special confiiguration for pdflatex
\ifpdf
\usepackage[pdftex]{graphicx}
\usepackage[usenames,dvipsnames]{color}
\usepackage[pdftex,linkbordercolor=000,citebordercolor=000,pdfkeywords={keyword1, keyword2, keyword3},pdftitle={Titel},pdfauthor={Firstname Lastname},plainpages=false,pdfpagelabels,hypertexnames=false]{hyperref}
\pdfcompresslevel=9
\else
\usepackage{graphicx}
\fi

%% packages for using german characters
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
%%\usepackage{ngerman}

%% other packages
\usepackage{babel}
\usepackage{pslatex}
\usepackage{times,latexsym}
\usepackage{mathptmx}
\usepackage{tabularx}
\usepackage{supertabular}
\usepackage{wrapfig}
\usepackage{subfigure}
\usepackage{nameref}
% packge for code listings
\usepackage{listings}

% show introduction, table of figures and bibliography in toc
\usepackage{tocbibind}

%% german style indention, i hate the english style
\parindent=0cm
\parskip=3mm


\begin{document}
  \pagestyle{empty}


\begin{titlepage}
%% dont number the titlepage
\setcounter{page}{0}

  \begin{center}
    {\LARGE \bf ``The Title''}\\
    \vspace{48pt}
    {\Large Diploma Thesis at the University of FooBar }\\
    {\Large Fakulty of Computer Science }\\
    \vspace{24pt}
    \begin{figure}[!htbp]
      \centering
      \includegraphics[width=4cm]{./Pics/unilogo}
    \end{figure}
    \vspace{144pt}
    {\large prsented by:}\\
    \vspace{24pt}
    {\Large \bf Firstname Lastname}\\
    \vspace{48pt}
    {\Large 1. Assessor: \textit{Prof. Foo}}\\
    {\Large 2. Assessor: \textit{Prof. Bar }}\\
    \vspace{48pt}
    {\LARGE \textbf{2003}}\\
  \end{center}
  %% The abstract needs to be locate in the file Abstract.tex
  \include{Abstract}
\end{titlepage}

  
  \pagestyle{plain}
  %% number introduction in roman numbers -> you still need to set \pagenumbering{arabic} in your first included chapter
  \pagenumbering{Roman}    
  \tableofcontents
  \listoffigures
  %%\listoftables



\include{Chapter_One}

\include{Chapter_Two}

% using bibtex with a bibliography file named DiplomaThesis.bib
\bibliographystyle{alpha}
\bibliography{DiplomaThesis}

\end{document}
