\documentclass[a4paper,12pt,answers,addpoints]{exam}
\usepackage{setspace}
\usepackage{listings}

\usepackage{amssymb}
\usepackage{textcomp}

\usepackage{rotating}
\usepackage{booktabs,xcolor}

\usepackage{tikz}
\usetikzlibrary{trees} % LATEX and plain TEX
\usetikzlibrary[trees] % ConTEXt

\usetikzlibrary{decorations} % LATEX and plain TEX
\usetikzlibrary[decorations] % ConTEXt
\usepgfmodule{decorations} % LATEX and plain TEX and pure pgf
\usepgfmodule[decorations] % ConTEXt and pure pgf

\usetikzlibrary{shapes.callouts} % LATEX and plain TEX when using Tik Z
\usetikzlibrary[shapes.callouts] % ConTEXt when using Tik Z

\usetikzlibrary{shapes,snakes}

\usepackage{amsmath}
%==========================================================================================
\usepackage[margin=20mm]{geometry}
\usepackage{xepersian}
\settextfont{XB Niloofar}
\setdigitfont[Scale=1]{XB Yas}
\defpersianfont\nastaliq[Scale=1.5]{IranNastaliq}
%==========================================================================================
\newcommand{\class}{لیست حضور و غیاب کلاس: \makebox[40mm]{\hrulefill}}
\newcommand{\teacher}{آموزگار: \makebox[45mm]{\hrulefill}}
\newcommand{\Year}{سال: \makebox[45mm]{\hrulefill}}

\singlespacing
\parindent 0ex
 
\renewcommand{\thepartno}{\alph{partno}}
\renewcommand*\half{$0.5$}
\renewcommand*\halff{$0.25$}
%=========================================================================================================
\begin{document} 
%==============================================================================================================
\tikzset{
ld/.style={level distance=#1},lw/.style={line width=#1},
level 1/.style={ld=4.5mm, trunk, lw=1ex ,sibling angle=60},
level 2/.style={ld=3.5mm, trunk!80!leaf a,lw=.8ex,sibling angle=56},
level 3/.style={ld=2.75mm,trunk!60!leaf a,lw=.6ex,sibling angle=52},
level 4/.style={ld=2mm, trunk!40!leaf a,lw=.4ex,sibling angle=48},
level 5/.style={ld=1mm, trunk!20!leaf a,lw=.3ex,sibling angle=44},
level 6/.style={ld=1.75mm,leaf a, lw=.2ex,sibling angle=40},
}
\pgfarrowsdeclare{leaf}{leaf}
{\pgfarrowsleftextend{-2pt} \pgfarrowsrightextend{1pt}}
{
\pgfpathmoveto{\pgfpoint{-2pt}{0pt}}
\pgfpatharc{150}{30}{3.1pt}
\pgfpatharc{-30}{-150}{3.1pt}
\pgfusepathqfill
}
\newcommand{\logo}[5]
{
\colorlet{border}{#1}
\colorlet{trunk}{#2}
\colorlet{leaf a}{#3}
\colorlet{leaf b}{#4}
\begin{tikzpicture}[scale=1.6]
\scriptsize\scshape
\draw[border,line width=1ex,yshift=0.3cm,yscale=1.32,xscale=1.3,looseness=1.42]
(1,0) to [out=90, in=0] (0,1) to [out=180,in=90] (-1,0) to [out=-90,in=-180] (0,-1) to [out=0, in=-90] (1,0) -- cycle;
\coordinate (root) [grow cyclic,rotate=90]
child {
child [line cap=round] foreach \a in {0,1} {
child foreach \b in {0,1} {
child foreach \c in {0,1} {
child foreach \d in {0,1} {
child foreach \leafcolor in {leaf a,leaf b}
{edge from parent [color=\leafcolor,-#5]}
}}}
} edge from parent [shorten >=-1pt,serif cm-,line cap=butt]
};
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\node [align=center,below] at (0.6pt,0.94ex) {{\footnotesize \textbf{\textcolor{border}{\rl{{\nastaliq 
\textcolor{leaf b}{}\textcolor{border}{آموزشگاه}						
\textcolor{leaf b}{}\textcolor{border}{علمی}	
\textcolor{leaf b}{}\textcolor{border}{غزالی}
}}}}}};
\node [align=center,below] at (0.2pt,-3.4ex) {\textbf{\textcolor{leaf b}{G}\textcolor{border}{hazali}} 
\textbf{\textcolor{leaf b}{S}\textcolor{border}{cientific}} 
\textbf{\textcolor{leaf b}{I}\textcolor{border}{nstitute}} };
\end{tikzpicture}
}
\begin{minipage}{26.5cm}
\vspace*{-1.8cm}	
\logo{green!50!black}{black}{green!80!black}{red!80!green}{leaf}
\vspace*{-2.2cm}
\end{minipage}
%==============================================================================================================
\pagestyle{head}
\firstpageheader{}{}{}
%%%%%%%%%%%%%%%%%%%								
\begin{tabular}{p{15cm} l}	
\textbf{\class}\\
\vspace{2.5pt}
\textbf{\teacher}\\
\vspace{2.5pt}
\textbf{\Year}
\vspace{2.5pt}
\end{tabular}\\
\rule[1ex]{\textwidth}{1.3pt}
%==============================================================================================================
\vspace{0.7cm}
	
\centering
\colorbox{grey!6}{	
\begin{tabular}{| c | c | c | c | c | c | c | c | c | c | c | c | c | c | c | c | c | c | c | p{2.5cm} |}
\hline \hline
\textbf{جلسه‌ی} & ۱ & ۲ & ۳ & ۴ & ۵ & ۶ & ۷ & ۸ & ۹ & ۱۰ & ۱۱ & ۱۲ & ۱۳ & ۱۴ \\
\hline
\textbf{تاریخ کلاس} & ~~/~~ & ~~/~~ & ~~/~~ & ~~/~~ & ~~/~~ & ~~/~~ & ~~/~~ & ~~/~~ & ~~/~~ & ~~/~~ & ~~/~~ & ~~/~~ & ~~/~~ & ~~/~~ \\
\hline \hline
\textbf{نام و نام‌خانوادگی} & 
\multicolumn{13}{||c||}{
{\Large \texttimes}: 
نشان دهنده‌ی غایب بودن و 
{\Large \checkmark}:
 نشان دهنده‌ی حاضر بودن دانش‌آموز است.}  & \\  
\hline \hline
\textbf{۱-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۲-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۳-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۴-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۵-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۶-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۷-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۸-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۹-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۱۰-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۱۱-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۱۲-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۱۳-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۱۴-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۱۵-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۱۶-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۱۷-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۱۸-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۱۹-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۲۰-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۲۱-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline
\textbf{۲۲-}~~~~~~~~~~~~~~~~~~~~~~~& & & & & & & & & & & & & &\\ [1.5ex]
\hline \hline
\end{tabular}
}
%==============================================================================================================
\begin{tikzpicture}[remember picture,overlay]
\node [rotate=60,scale=6.2,text opacity=0.1] at (current page.center) {\rl{{\nastaliq آموزشگاه علمی غزالی}}};
\end{tikzpicture}

\end{document}