\documentclass[12pt,oneside]{bidipresentation}%report
%\pagestyle{pres}
\geometry{paperwidth=225mm,paperheight=180mm,rmargin=40mm,top=10mm,bottom=10mm}

\usepackage[RL]{flowfram}
\usepackage{eso-pic}
%\usepackage{wallpaper}
\usepackage{graphicx}
%\usepackage{watermark}
\definecolor{sidebar-text}{cmyk}{1,1,0,0}
\usepackage[colorlinks,linkcolor=sidebar-text,setpagesize=false]{hyperref}%
\usepackage{xepersian}
%\settextfont{DejaVu Sans}


\makeatletter
\renewcommand{\rotateframe}[2]{\if@ttb@rotate
\rotatebox{#1}{\if@RTL\beginL\fi#2\if@RTL\endL\fi}%
\else
#2\relax
\fi}
\makeatother


\settextfont[Scale=1.37]{XB Niloofar}%{Nazanin 2}
\setlatintextfont[Scale=1.0]{Times New Roman}%{XB Zar}
\setdigitfont[Scale=1.2]{PGaramond}%{Nazanin 2}
\defpersianfont\titr[Scale=1.1]{XB Titre}%{Titr Farsi}
\defpersianfont\zar[Scale=1]{Zar}
\defpersianfont\naz[Scale=1.37]{Nazanin 2}%{XB Niloofar}
\defpersianfont\nazb[Scale=1.37]{Nazanin 2 Bold}%{XB Niloofar}
\deflatinfont\times[Scale=1.1]{Times New Roman}


%%نوار بالا
%\vtwotonetop{1cm}{0.6\paperwidth}{[cmyk]{0.65,0.13,0,0}}{topleft}%
%{0.4\paperwidth}{[cmyk]{0.94,0.54,0,0}}{topright}
\newstaticframe[2,>1]{66mm}{1.3cm}{125mm}{159mm}[topbar1]
\setstaticframe*{topbar1}{backcolor=[cmyk]{0.94,0.54,0,0}}%{0.41,0.19,0,0}
\newdynamicframe[2,>1]{130mm}{1.3cm}{-5mm}{159mm}[topbar2]
\setdynamicframe*{topbar2}{backcolor=[cmyk]{0.15,0.15,0,0}}
%%نوار پایین
\newstaticframe[2,>1]{101mm}{9mm}{90mm}{-10mm}[botbar1]
\setstaticframe*{botbar1}{backcolor=[cmyk]{0.15,0.15,0,0}}%{0.65,0.13,0,0}
\newdynamicframe[2,>1]{95mm}{9mm}{-5mm}{-10mm}[botbar2]
\setdynamicframe*{botbar2}{textcolor=white,backcolor=[cmyk]{0.94,0.54,0,0}}%{0.61,0.39,0,0}

%%عكس زمینه سایدبار
\AddToShipoutPicture{%
\put(-130,512){\reflectbox{\includegraphics[keepaspectratio=false,height=-\paperheight ,width=29.3mm]{side2.jpg}}}%
}
%\watermark{\put(-20,-283){\includegraphics[height=\paperheight]{side2.jpg}}}%(-130,0)
%%خودسایدبار
\newstaticframe{25mm}{\paperheight}{195mm}{-10mm}[sidebar]
\setstaticframe*{sidebar}{valign=b}%{backcolor=[cmyk]{0.15,0.15,0,0}}
%\dfchaphead*{topbar2}

%\definecolor{sidebar-text}{cmyk}{1,1,0,0}
\title{عنوان اسلاید}
\author{اسم خودم}
\begin{document}

%%محتویات نواربالا
\begin{dynamiccontents*}{topbar2}%
\makeatletter\small{\l@section}\makeatother
%\thesection
%\setdynamiccontents*{topbar2}{\makeatletter\small{\l@section}\makeatother}
\end{dynamiccontents*}

%%محتویات نوارپایین
\begin{dynamiccontents*}{botbar2}
	\begin{flushleft}
		\footnotesize{\thepage}
	\end{flushleft}
\end{dynamiccontents*}

%%محتویات سایدبار
\begin{staticcontents*}{sidebar}
	\hspace{3mm}\includegraphics[width=2cm]{shirazu.png}%
	\begin{center}
		\color[cmyk]{0,0,0,1}{
		%\@starttoc{toc}
		\begin{footnotesize}
		%\bfseries{عنوان اسلاید}
		\bfseries\makeatletter\@title\makeatother
		\vskip 5mm
		\rm\makeatletter\@author\makeatother%{اسم خودم}
		\end{footnotesize}
		}
		\rm\makeatletter\l@section\makeatother
		\begin{small}
		%\color[cmyk]{0.15,0.15,0,0}{\color{sidebat-text}
		\vskip 5cm
		\hyperref[sec:Intro]{مقدمه}
		\\
		\hyperref[sec:section2]{قسمت دوم}
		\vskip 5cm
		\hyperref[sec:Conc]{نتیجه گیری}
		\end{small}		
	\end{center}	
\end{staticcontents*}


\begin{titlepage}
\begin{center}
\begin{Large}
\vspace{5cm}
بِسمِ اللّٰهِ الرَّحمٰنِ الرَّحیمِ
\end{Large}
\end{center}
\end{titlepage}

\begin{plainslide}
\AddToShipoutPicture*{%
\put(-50,0){{\includegraphics[keepaspectratio=false,height=\paperheight ,width=200mm]{side2.jpg}}}%\reflectbox 512
}
%\AddToShipoutPicture*{%
%\put(120,0){\includegraphics[angle=180,keepaspectratio=false,height=\paperheight ,width=130mm]{side2.jpg}}%
%}
\distance{1}
\centering% \LARGE
 \color{white}{\huge\titr{\makeatletter\@title\makeatother}}

\distance{2}
\color{black}\rm\large
\makeatletter\@author\makeatother\\[1ex]نام دانشگاه
\distance{2}
%	\tableofcontents
\end{plainslide}
\section{مقدمه} \label{sec:Intro}
\begin{plainslide}[این عنوان یک صفحه است.]
این اولین صفحه اسلاید ما است که من در حال نوشتن آن هستم و کمی بیشتر می‌نویسم تا به خط بعدی بروم
\footnote{این یک زیرنویس فارسی است.}\LTRfootnote{This is an English footnote.}

\end{plainslide}
\begin{plainslide}
\begin{equation}
(a+b)^2=a^2+2ab+b^2
\end{equation}
\begin{itemize}
  \item یک
  \item دو
\end{itemize}

\begin{enumerate}
  \item یک
  \item دو
\end{enumerate}

\begin{description}
  \item [یک:] اولین عدد
  \item [دو:] دومین عدد
\end{description}

\end{plainslide}
\section{قسمت دوم} \label{sec:section2}
\begin{rawslide}
دومین صفحه

\end{rawslide}

\section{نتیجه گیری} \label{sec:Conc}
\begin{rawslide}
صفحه آخِر

\end{rawslide}

\end{document}

