\documentclass[12pt,a4paper,oneside]{report}
%====================packages=============================
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{amsthm,amsmath,amssymb,amsfonts,newtxmath, mathtools, commath, mathrsfs}
\usepackage{braket}
\usepackage{wrapfig}
\usepackage{lscape}
\usepackage{rotating}
\usepackage{tgtermes}
\usepackage{blindtext}
\usepackage{longtable}
\usepackage{tocbibind}
\usepackage{listings}
\usepackage{hyperref}
\raggedbottom
\usepackage{fancyhdr} 
\usepackage{setspace}
\usepackage{sectsty}
\usepackage[dvipsnames]{xcolor}
\hypersetup{colorlinks=true,linkcolor=Blue,citecolor=Blue,urlcolor=Blue,linktocpage=true}
\usepackage{fancyhdr} 
\usepackage[most]{tcolorbox}
\usepackage{tikz}
\usepackage{pgfplots}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{patterns}
\usetikzlibrary{calc}
\usepackage[square,numbers,sort&compress,mcite,merge,elide]{natbib}
\usepackage[top=3.5cm,right=3.5cm,bottom=3.5cm,left=3.5cm]{geometry}
\usepackage{multirow,multicol}
\usepackage{zref-perpage}
\zmakeperpage{footnote}
\usepackage{mathtools}
\usepackage{longtable}
\usepackage{array}

\usepackage[extrafootnotefeatures]{xepersian}
 \DefaultMathsDigits
%\twocolumnfootnotes
%============================newcommands===================================
\newtheorem{thm}{قضیه}[chapter]
\newtheorem{exmp}{مثال}[chapter]
%==========================================================================
\graphicspath{{figures/}}
\renewcommand{\bibname}{\rl{{کتاب‌نامه}\hfill}}
\renewcommand{\listfigurename}{فهرست شکل‌ها}
\renewcommand\headrule{\begin{minipage}{1\textwidth}
\textcolor{Blue}{\rule{\textwidth}{1pt}}
\end{minipage}}
\pagestyle{fancy}
\cfoot{}
\lhead{\thepage}
\settextfont[Scale=1.]{XB Niloofar}
\setlatintextfont[Scale=0.9]{Times New Roman}
\defpersianfont\FFont[Scale=1.]{XB Niloofar}
%\defpersianfont\nast[Scale=1.]{Niloofar}
%\setdigitfont[Scale=1.]{Niloofar}
\setdigitfont[Scale=1]{B Yas}
%\setdigitfont[Scale=1.1]{Niloofar}
\SepMark{.}
% -------------------------------------
\sloppy
\hfuzz=20pt
\vfuzz=20pt
\hbadness=2000
\vbadness=\maxdimen
%\input{txtfiles/jeld_info}
\SepMark{-}

\begin{document}
\pagestyle{fancy}
    \fancyhf{}
    \rhead{\leftmark}
   \lhead{\thepage}
    \pagestyle{fancy}
    \fancyfoot{}
    \cfoot{\thepage}
	\pagenumbering{harfi}
	%\include{txtfiles/bes}
	%\include{txtfiles/blank}
	%\include{txtfiles/cover_fa}
	%\include{txtfiles/blank}
	%\include{txtfiles/hoghugh}
	%\include{txtfiles/blank}
	%\include{txtfiles/taeid1}
	%\include{txtfiles/blank}
	%\include{txtfiles/tashakor}
	%\include{txtfiles/blank}
	%\include{txtfiles/taghdim}
	%\include{txtfiles/blank}
	%\include{txtfiles/abstract_fa}
	%\tableofcontents
    \fancyhf{}
    %\listoftables % \newpage
    %\listoffigures\cleardoublepage
	\pagenumbering{arabic} \setcounter{page}{1}
	\doublespacing
	\include{Chapters/Chapter1} 
    %\include{Chapters/Chapter2}
    %\include{Chapters/Chapter3}
    %\include{Chapters/Chapter4}
    %\include{Chapters/Chapter5}
    %\include{Chapters/Chapter6}
    \appendix                           %فصلهای پس از این قسمت به عنوان ضمیمه خواهند آمد.
% اگر شما پیوست اول  خود را در فایلی به جز appendix1 همراه با این کلاس نوشته‌اید باید چندخط اول appendix1 را در فایل خود کپی کنید.
%\include{appen-Screen-imp}		% پیوست اول: مدیریت مراجع در لاتک
%\begin{appendices}itleformat{\chapter}[display] {\titlefont\bfseries\raggedright}{\Large پیوست \thechapter}{0pt}{\Large}
%\include{apps/app1}
%\include{apps/app2}
%\include{apps/app3}
%\end{appendices}
	\singlespacing
	\latin
	%
	\bibliographystyle{unsrt-fa}
	\bibliography{references}
	%\include{txtfiles/abstract_en}
	%\include{txtfiles/cover_en}
\end{document}