1 <?php
if(!defined('WTRMLN_IS')) exit;
2 /********************************************************************
6 Copyright 2009 Radosław Pietruszewski
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License
10 version 2 as published by the Free Software Foundation.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 ********************************************************************/
24 <a href
="$/">Panel Admina
</a
> >
; Newsy
28 <a href
="$/news/new/">Nowy news
</a
>
47 <list object $newsList>
50 <h3
><a href
="<?=WTRMLN_MAINURL?>news#news_<$id>"><$title></a
></h3
>
53 $text = strip_tags($text);
54 if(strlen($text) > 100)
56 echo nl2br(substr($text, 0, 100)) . '...';
71 <a href
="$/news/edit/<$id>">[edytuj
]</a
>
72 <a href
="$/news/delete/<$id>">[usuń
]</a
>
94 <a href
="$/news/new/">Nowy news
</a
>