Rabat - Tunisia's President Beji Caid Essebsi has declared a state of emergency on Saturday one week after a gunman killed 38 foreign tourists, mainly British, in the resort city of Sousse.