hey follow the steps :

as awaiz007 said you tried to edit the dle template using admin panel or whatever the reason may be.

delete all the files in the server and reinstall dle through ftp or cpanel.

But do not upload the .htaccess file through cpanel instead use filezilla or any other ftp client to do the task.

hope this helps.