WEEKEND MAJOWY 2022aaaaaaaa
{source}
<?php
$db = JFactory::getDbo();
$query = $db->getQuery(true);
<?php
$db = JFactory::getDbo();
$query = $db->getQuery(true);
$query1= $db->getQuery(true);
$wyszukiwanie=substr($_POST['wyszukiwanie'],1);
$query1->Select ("publish_up,title FROM wk6jh_modules where title like'%A%' and title like'%k%' and title like'%ś%' and publish_up is not null and published>0 order by publish_up asc");
$db->setQuery($query1);
$resultss=$db->loadObjectList();
echo '<div class="pr-3 mt-2"><select class="form-select f-sel wd text-center border-0 select-date" aria-label="Wybranie tej opcji powoduje wybranie daty"><option>Wybierz datę</option>';
foreach($resultss as $resultt){
echo "<option class='text-left' value='".str_replace('->','',str_replace('- >','',str_replace('Aktualności','',$resultt->title)))."'>".substr($resultt->publish_up,0,11)."</option>";
}
}
echo '</select></div>';
?>{/source}