new pisilinux web sites
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php namespace Project\Controllers;
|
||||
USE Cookie,URL;
|
||||
class Home extends Controller{
|
||||
|
||||
public function main(){
|
||||
Cookie::insert('returnlink', '/');
|
||||
|
||||
Masterpage::meta
|
||||
([
|
||||
'name:description' => setting('description'),
|
||||
'name:keywords' => setting('keywords')
|
||||
]);
|
||||
|
||||
Masterpage::title('Pisi GNU/Linux - Özgürlük Şimdi Başladı...');
|
||||
Masterpage::description(setting('description'));
|
||||
Masterpage::keywords(setting('keywords'));
|
||||
|
||||
define('TITLE','Pisi GNU/Linux - Özgürlük Şimdi Başladı...');
|
||||
define('LINK',URL::base());
|
||||
define('DESC','Pisi GNU/Linux - Özgürlük Şimdi Başladı...');
|
||||
define('IMG','http://pisilinux.og/upload/pisilinux_pisi.png');
|
||||
|
||||
// Son 3 blog yazısını ana sayfaya aktar
|
||||
$allBlogs = contentListAdmin(LANG);
|
||||
view::blogList(array_slice((array)$allBlogs, 0, 3));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user