Erster Stand des mvc-Frameworks

This commit is contained in:
2016-08-11 14:03:25 +00:00
parent 7dffe66e91
commit 5a1dd25023
32 changed files with 8715 additions and 0 deletions

18
templates/imagetext.phtml Normal file
View File

@@ -0,0 +1,18 @@
<?php
if ($this->data['type'] === 'imageSmall')
{
$imageClass = 'col-md-4';
$textClass = 'col-md-8';
}
else
{
$imageClass = 'col-md-8';
$textClass = 'col-md-4';
}
?>
<div class="row">
<div class="<?php echo $imageClass; ?>"><img class="img-responsive" src="<?php echo HTML_IMG . $this->data['image']; ?>"/></div>
<div class="<?php echo $textClass; ?>"><?php echo nl2br($this->data['text']); ?></div>
<div class="clearfix"></div>
</div>
<div class="row">&nbsp;</div>