Changeset 252 for trunk/aktuality/index.php
- Timestamp:
- Oct 2, 2009, 7:53:41 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/aktuality/index.php
r236 r252 38 38 if($Row['Name'] == '') $Author = $Row['Author']; 39 39 else $Author = $Row['Name']; 40 $Output .= '<div style="border: thin dotted #97ADFF; background: #F6F7FF; margin-top: 5px; padding: 0px 5px 5px 5px;"><div style="padding-bottom: 1px; border-bottom-width: 1; border-bottom-style: solid; border-bottom-color: silver;"><strong>'.$Row['Title'].' ('.HumanDate($Row['Date']).', '.$Author.')</strong>';40 $Output .= '<div class="Panel"><div class="Title">'.$Row['Title'].' ('.HumanDate($Row['Date']).', '.$Author.')'; 41 41 if($this->System->Modules['User']->User['Id'] == $Row['User']) 42 42 { 43 $Output .= '<div class="Action">'; 43 44 $Output .= ' <a href="index.php?action=del&category='.$Category.'&id='.$Row['Id'].'">Smazat</a>'; 44 45 $Output .= ' <a href="index.php?action=edit&category='.$Category.'&id='.$Row['Id'].'">Editovat</a>'; 45 } 46 $Output .= '</div>'.$News->ModifyContent($Row['Content']).'<br />'; 46 $Output .= '</div>'; 47 } 48 $Output .= '</div><div class="Content">'.$News->ModifyContent($Row['Content']).'<br />'; 47 49 if($Row['Enclosure'] != '') 48 50 { … … 54 56 } 55 57 } 56 $Output .= '</div> ';58 $Output .= '</div></div>'; 57 59 } else $Output .= 'Položka nenalezena.'; 58 60 } … … 181 183 if($Row['Name'] == '') $Author = $Row['Author']; 182 184 else $Author = $Row['Name']; 183 $Output .= '<div style="border: thin dotted #97ADFF; background: #F6F7FF; margin-top: 5px; padding: 0px 5px 5px 5px;"><div style="padding-bottom: 1px; border-bottom-width: 1; border-bottom-style: solid; border-bottom-color: silver;"><strong><a href="?action=view&id='.$Row['Id'].'">'.$Row['Title'].'</a> ('.HumanDate($Row['Date']).', '.$Author.')</strong>';185 $Output .= '<div class="Panel"><div class="Title"><a href="?action=view&id='.$Row['Id'].'">'.$Row['Title'].'</a> ('.HumanDate($Row['Date']).', '.$Author.')'; 184 186 if($this->System->Modules['User']->User['Id'] == $Row['User']) 185 187 { 188 $Output .= '<div class="Action">'; 186 189 $Output .= ' <a href="index.php?action=del&category='.$Category.'&id='.$Row['Id'].'">Smazat</a>'; 187 190 $Output .= ' <a href="index.php?action=edit&category='.$Category.'&id='.$Row['Id'].'">Editovat</a>'; 188 } 189 $Output .= '</div>'.$News->ModifyContent($Row['Content']).'<br />'; 191 $Output .= '</div>'; 192 } 193 $Output .= '</div><div class="Content">'.$News->ModifyContent($Row['Content']).'<br />'; 190 194 if($Row['Enclosure'] != '') 191 195 { … … 197 201 } 198 202 } 199 $Output .= '</div> ';203 $Output .= '</div></div>'; 200 204 } 201 205 $Output .= PagesList('?category='.$Category.'&page=', $Page, $PageMax, $PerPage);
Note:
See TracChangeset
for help on using the changeset viewer.