1
0

Worked on Programs/Index page

This commit is contained in:
2014-05-28 17:19:57 +02:00
parent e8f7c5d093
commit b5fd33e012
17 changed files with 456 additions and 401 deletions

View File

@@ -0,0 +1,20 @@
<?php
class ThumbnailPreview extends CWidget {
public $caption = '';
public $description = '';
public $category = '';
public $language = [];
public $starcount = 0;
public $downloads = 0;
public $date = null;
public $image = '';
public function run() {
if ($this->date == null)
$this->date = new DateTime('2000-01-01');
$this->render('thumbnailPreview');
}
}
?>