Files
dinbestehjelper.no/application/views/admin/includes/services-form.php
T
Astral04andClaude Opus 4.8 4e1a69c8d4 Initial import of Din Beste Hjelper site
CodeIgniter 3 app for dinbestehjelper.no. Excludes vendor/, local backup
folders (new/, archive/, archived/) and DB dumps (*.sql) via .gitignore.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P16ttGUge8zj91dm6WrmEb
2026-08-04 12:52:43 +00:00

55 lines
2.6 KiB
PHP

<div class="mainContentContainer" style="top:100px">
<div class="pageTitle"><?php echo $pageTitle;?></div>
<div class="form-row">
<a href="<?php echo SITEURL;?>services/add-service" class="submitBtn">Új szolgáltatás</a>
</div>
<div class="form-row">
<table class="tableClass">
<tr>
<td style="min-width:55px;"></td>
<td>#</td>
<td>Fő kategória</td>
<td>Fő kategória leírás</td>
<td>Kategória</td>
<td>Megnevezés</td>
<td>Leírás</td>
<td>Ár</td>
<td>Időtartam</td>
<td>Nyilvános</td>
<td>Elérhető</td>
<td>Státusz</td>
</tr>
<?php
if(is_array($results)){
foreach($results as $resultItem){
?>
<tr>
<td>
<a href="<?php echo SITEURL;?>services/update-service/<?php echo $resultItem->service_id;?>"><i class="fas fa-edit"></i></a>
| <a href="<?php echo site_url().'services/service-process?delete-service='.$resultItem->service_id;?>"><i class="fas fa-trash-alt" style="font-size: 14px;color:#585858;"></i></a>
</td>
<td>#<?php echo $resultItem->service_id;?></td>
<td><?php echo $resultItem->main_category;?></td>
<td><?php echo $resultItem->main_category_description;?></td>
<td><?php echo $resultItem->service_category;?></td>
<td><?php echo $resultItem->service_name;?></td>
<td><?php echo $resultItem->service_description;?></td>
<td><?php echo $resultItem->service_price;?></td>
<td><?php echo $resultItem->service_time;?></td>
<td><?php echo $resultItem->is_public?'igen':'nem';?></td>
<td><?php echo $resultItem->is_service_available?'igen':'nem';?></td>
<td><?php echo $resultItem->is_enabled?'aktív':'inaktív';?></td>
</tr>
<?php
}
}
else{
echo '<tr>';
echo '<td colspan="10">Nincs találat</td>';
echo '</tr>';
}
?>
</table>
</div>
</div>