if defined CORE_STRAP die Out of structure call Administrative restric

1
2
3
4
5
6
7
if (!defined("CORE_STRAP")) die("Out of structure call");
/* Administrative restriction */
(!me('is_administrator')&&!me('is_superadministrator')?die("Access restricted"):NULL);
$tpl = new template;
$tpl -> Load("edit");
$tpl -> GetObjects();