Changeset 500 for trunk/aktuality
- Timestamp:
- Mar 10, 2013, 10:08:23 AM (12 years ago)
- Location:
- trunk/aktuality
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/aktuality/index.php
r438 r500 90 90 if($this->System->Modules['User']->CheckPermission('News', 'Insert', 'Group', $Category)) 91 91 { 92 //print_r($_FILES);93 92 // Process uploaded file 94 93 $EnclosureFileNames = array('enclosure1', 'enclosure2', 'enclosure3'); … … 122 121 { 123 122 $Row['Content'] = str_replace('<br />', '', $Row['Content']); 124 $Output .= '<strong> Editaceaktuality v kategorii '.$CategoryName.':</strong><br />';123 $Output .= '<strong>Úprava aktuality v kategorii '.$CategoryName.':</strong><br />'; 125 124 $Output .= '<form action="index.php?action=update" method="post">'. 126 125 '<input type="hidden" value="'.$_GET['id'].'" name="id">'. -
trunk/aktuality/news.php
r452 r500 56 56 $Output .= '</div></div><div class="Content">'; 57 57 $DbResult = $Database->query('SELECT `News`.*, `User`.`Name` FROM `News` LEFT JOIN `User` ON `User`.`Id`=`News`.`User` WHERE (`News`.`Category`='.$Category.') AND (DATE_SUB(NOW(), INTERVAL '.$DaysAgo.' DAY) < `News`.`Date`) ORDER BY `News`.`Date` DESC LIMIT 0,'.$ItemCount); 58 //echo($Database->error.'<br />');59 //echo($Database->LastQuery.'<br />');60 58 //echo('<table cellpadding="0" cellspacing="0" width="100%"><tr><td>'); 61 59 $Index = 0; … … 192 190 foreach($Setting as $Index => $Item) 193 191 $Setting[$Index]['Index'] = $Index + 1; 194 // print_r($Setting);195 192 196 193 // Store new cookie value
Note:
See TracChangeset
for help on using the changeset viewer.