\documentclass[12pt,oneside]{bidipresentation}
\usepackage{tikz}
\usetikzlibrary{shapes,snakes}
\usepackage{pstricks}
\usepackage{eso-pic}
\usepackage{amsthm,amssymb,amsmath}
\usepackage{sidebarbidipres}
\usepackage{xepersian}
\def\mathfamilydefault{\rmdefault}
\linespread{2}
\pagestyle{pres}
\settextfont[Scale=1.37]{XB Niloofar}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\sidebartc{cmyk}{0,0,0,1}
\linktc{cmyk}{1,0.94,0,0}
\rtopbarc{cmyk}{0.7,0.3,0,0}
\ltopbarc{cmyk}{0.15,0.15,0,0}
\ltopbartc{cmyk}{0,0,0,1}
\rbotbarc{cmyk}{0.15,0.15,0,0}
\lbotbarc{cmyk}{0.7,0.3,0,0}
\lbotbartc{cmyk}{0,0,0,0}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% محیط قضیه
\tikzstyle{myghazye} = [draw=blue!30, fill=none, very thick,
    rectangle, rounded corners, inner sep=10pt, inner ysep=20pt]
\tikzstyle{fancytitleghazye} =[fill=yellow!20, text=red]
%%%%%%%
 \newcommand{\myghazye}[1]{
\begin{tikzpicture}\node [myghazye] (box){\setRTL\begin{minipage}{0.95\textwidth}
{#1}
  \end{minipage}};\node[fancytitleghazye, left=10pt] at (box.north east) {\hboxR{{\Large{قضیه }}}};\end{tikzpicture} 
 \AddToShipoutPicture*{\put(-512,0){\includegraphics[height=\paperheight, width=194mm]{side.jpg}}} 
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\myghazye{متن موجود نیست}
\end{document}
