<?php include_once 'header.php'; $footerData = new FooterData(); $data = $footerData->getData(); ?> <div class="container"> <div class="row"> <div class="col-lg-12"> <h2 class="page-header">Content editing for common footer</h2> </div> <!-- /.col-lg-12 --> </div> <div class="row"> <div class="col-lg-12"> <form action="/admin/footer/update/" method="post" class="form-horizontal"> <?php foreach ($data as $key => $datum) { ?> <div class="form-group"> <?php $desc = $datum['description']; ?> <label for="<?php echo $key; ?> " class="col-lg-2 col-sm-2 control-label"><a id="desc-<?php echo $key; ?> " class="desc-edit" data-type="text" data-pk="<?php
<?php namespace CurrantPi; /* * Footer area. Using a bunch of inline echos to find out * information about this system. */ include 'content/footer/FooterData.php'; $footer = new FooterData(); $footer_data = $footer->getData(); ?> <p><?php echo $footer_data->webserver; ?> - <?php echo $footer_data->php_version; ?> </p> <p><?php echo $footer_data->cpu; ?> </p> <p> <a href="https://github.com/ColinWaddell/CurrantPi"><i class="demo-icon icon-github"></i></a> <a href="https://github.com/ColinWaddell/CurrantPi">Source</a> </p> <hr /> <p>