\documentclass{article}
\usepackage{fancyhdr}
\usepackage{ptext}
\usepackage{xepersian}

\fancyhf{}
\renewcommand\headrulewidth{0pt}
\fancyhead[CO,CE]{\nouppercase\leftmark}
\fancyhead[LO,LE]{\hdrtitle}
\fancyhead[LE,RO]{\thepage}
\pagestyle{fancy}

\renewcommand\sectionmark[1]{\markboth{#1}{}}

\title{عنوان}
\author{نویسنده}
\makeatletter
\let\hdrtitle\@title
\makeatother

\begin{document}
\section{مقدمه}
\subsection{موردی}
\ptext[1-11]
\section{شبکه}
\ptext[10-13]


\end{document}