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
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
<div class="mainContentContainer" style="top:100px">
|
||||
<div class="pageTitle"><?php echo $pageTitle;?></div>
|
||||
<div class="form-row">
|
||||
<a href="<?php echo SITEURL;?>groups/add-group" class="submitBtn">Új csoport</a>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<table class="tableClass">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>#</td>
|
||||
<td>Profilkép</td>
|
||||
<td>Név</td>
|
||||
<td>Leírás</td>
|
||||
<td>Képességek</td>
|
||||
<td>Aktív</td>
|
||||
</tr>
|
||||
<?php
|
||||
$skillList = '';
|
||||
if(is_array($results)){
|
||||
foreach($results as $resultItem){
|
||||
$skillList = '<div>';
|
||||
if(is_array($resultItem->skillList)){
|
||||
foreach($resultItem->skillList as $skillListItem){
|
||||
$skillList .= '<div>'.$skillListItem->service_name.' / '.$skillListItem->service_category.' (#'.$skillListItem->service_id.')</div>';
|
||||
}
|
||||
}
|
||||
$skillList .= '</div>';
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="<?php echo SITEURL;?>groups/update-group/<?php echo $resultItem->group_id;?>"><i class="fas fa-edit"></i></a>
|
||||
| <a href="<?php echo site_url().'groups/group-process?delete-group='.$resultItem->group_id;?>"><i class="fas fa-trash-alt" style="font-size: 14px;color:#585858;"></i></a>
|
||||
</td>
|
||||
<td>#<?php echo $resultItem->group_id;?></td>
|
||||
<td><img src="<?php echo SITEURL.'assets/img/'.$resultItem->group_profile_img;?>" style="width:50px;margin:0;" /></td>
|
||||
<td><?php echo $resultItem->group_name;?></td>
|
||||
<td><?php echo $resultItem->group_info;?></td>
|
||||
<td><?php echo $skillList;?></td>
|
||||
<td><?php echo $resultItem->is_active?'igen':'nem';?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
else{
|
||||
echo '<tr>';
|
||||
echo '<td colspan="10">Nincs találat</td>';
|
||||
echo '</tr>';
|
||||
}
|
||||
?>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user