function t6_cssf_list($q,$col,$q2,$col2,$q3,$col3) {
global $db,$ar;
?>
<table class="table table-bordered" id="dataTable_3d" width="100%" cellspacing="0">
<thead>
<tr>
<th>ID</th>
<th>Folder</th>
<th>Slug</th>
<th>uAt</th>
<th>Menu</th>
</tr>
</thead>
<tbody>
<?php
$sql = "select * from t6_cssf where id>0 ";
if($col!='') {
$sql .= " and ".$col."='".$q."' ";
}
if($col2!='') {
$sql .= " and ".$col2."='".$q2."' ";
}
if($col3!='') {
$sql .= " and ".$col3."='".$q3."' ";
}
//$sql .= " and st=1";
$res = mysqli_query($db, $sql);
//echo $sql;
while($rw = mysqli_fetch_assoc($res)) {
?>
<tr>
<td><?=$rw['id'];?></td>
<td contenteditable="true" onBlur="colUpdate(this,'folder',<?=$rw['id'];?>,'t6_cssf')" onClick="editRow(this);"><?=$rw['folder'];?></td>
<td><?=$rw['slug'];?></td>
<td class="text-right"><?=date("Y-m-d H:i",$rw['update_at']);?></td>
<td>
<a class="btn btn-xs btn-primary" href="?op=t6_css&op2=edit&id=<?=$rw['id'];?>&col=folder&q=<?=$rw['folder'];?>">edit</a>
<a class="btn btn-xs btn-danger" href="?op=t6_css&op2=del&id=<?=$rw['id'];?>">delete</a>
<a href="#" onClick="uCol(<?=$rw['id'];?>,'del',1,'t6_cssf');" class="btn btn-xs btn-warning">del</a>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
<br><?=$sql;?><br>
<?php
}