{include file = $DOC->getTemplate('header.tpl')}
{if $AUTH_INFO} {if $AUTH_INFO.data.reportsAccess === 'y'} {assign var = "reportInstructionsAlias" value = 'Report_Instruction'|SMGetAliasByItem} Report Instructions  {assign var = "reportsAlias" value = 'Report_'|SMGetAliasByItem} Reports to Submit  {/if} {if $AUTH_INFO.data.viewAllReports === 'y'} {assign var = "reportSummaryAlias" value = 'App_Report_Summary_View::getPageUrl'|call_user_func} Reports Summary  {/if} {if $AUTH_INFO.data.directorAccess === 'y'} {assign var = "directorFilesAlias" value = 'DirectorFile_'|SMGetAliasByItem} Director Files  {/if} {if $AUTH_INFO.data.lessonsAccess === 'y'} {assign var = "lessonsAlias" value = 'SchoolFile_'|SMGetAliasByItem} Search Lessons / Assessments  {assign var = "uploadAlias" value = 'Qs_SiteMap::find'|call_user_func:'[defaultAction=new]':'fullAlias'} Upload Lessons / Assessments  {/if} Logout {/if}
{assign var = 'bodyLayoutTemplate' value = 'main'} {if !empty($LEFT_ITEMS)} {assign var = 'bodyLayoutTemplate' value = "left-`$bodyLayoutTemplate`"} {/if} {if !empty($RIGHT_ITEMS)} {assign var = 'bodyLayoutTemplate' value = "`$bodyLayoutTemplate`-right"} {/if} {assign var = 'bodyLayoutTemplate' value = "Body/Layout/`$bodyLayoutTemplate`.tpl"} {include file = $DOC->getTemplate($bodyLayoutTemplate)}
{include file = $DOC->getTemplate('footer.tpl')}