<?php 
echo $pm->getPageInfo('page-content');
?>
            </div>
        </div>
    </div>
</section>
<script src="<?php 
echo assets;
?>
theme/js/custom.js"></script>
<?php 
if ($auth->isAdmin()) {
    ?>
  <input type="hidden" value="<?php 
    echo $pm->getCurrentPageId();
    ?>
" id="page-id">
  <input type="hidden" value="<?php 
    echo Comman::getController('page-manager');
    ?>
" id="controller-url">
  <button class="btn btn-colored btn-orange btn-lg page-editor-save-btn hidden">Save</button>
  <div class="alert alert-danger notice center-block hidden page-editor-save-btn-warning">Something went wrong. Data cannot be saved. Please reload page Or try to click on save button again.</div>
  <script type="text/javascript" src="editor/codemirror-5.11/lib/codemirror.js"></script>
  <script type="text/javascript" src="editor/codemirror-5.11/mode/xml/xml.js"></script>

  <script type="text/javascript" src="editor/js/froala_editor.min.js" ></script>

  <script type="text/javascript" src="editor/js/plugins/align.min.js"></script>
  <script type="text/javascript" src="editor/js/plugins/code_beautifier.min.js"></script>