def MyProfile(Request): if not GF.SESSION(Request): return StatusPages.UnAuthurithedUserPage(Request, 'My Profile') return __Render(Request, init.MyProfile_Template, 'My Profile', A=Posts.objects.filter(User_Email=Hashing.Hash_Articles( Request.session["Email"]), Deleted='0')[:5])
def ErrorPage(Request, Title): return __Render(Request, init.ErrorPage, Title)
def UnAuthurithedUserPage(Request, Title): return __Render(Request, init.UnAuthurithedUserPage, Title)
def NotFoundPage(Request, Title): return __Render(Request, init.NotFoundPage, Title)
def LogOutPage(Request, Title): return __Render(Request, init.LogOutPage, Title)
def Policy(Request): return __Render(Request, init.Policy_Template, 'Privacy Policy')
def Help(Request): return __Render(Request, init.Help_Template, 'Help Center')