<?php if (isset($_GET['category']) && ae_Validate::id($_GET['category'])) { $editArea = 'Category'; $areaId = 'category'; $model = new ae_CategoryModel(); $model->load($_GET['category']); } else { if (isset($_GET['cofilter']) && ae_Validate::id($_GET['cofilter'])) { $editArea = 'Comment filter'; $areaId = 'cofilter'; $model = new ae_CommentfilterModel(); $model->load($_GET['cofilter']); } else { if (isset($_GET['comment']) && ae_Validate::id($_GET['comment'])) { $editArea = 'Comment'; $areaId = 'comment'; $model = new ae_CommentModel(); $model->load($_GET['comment']); } else { if (isset($_GET['media']) && ae_Validate::id($_GET['media'])) { $editArea = 'Media'; $areaId = 'media'; $model = new ae_MediaModel(); $model->load($_GET['media']); } else { if (isset($_GET['page']) && ae_Validate::id($_GET['page'])) { $editArea = 'Page'; $areaId = 'page'; $model = new ae_PageModel(); $model->load($_GET['page']);