Example #1
0
</section>
<section>
    <div class="container">
        <div class="row">
        	<div class="masonry-items">
                    <?php 
foreach ($clients as $id) {
    ?>
                        <div class="masonry-item item">
                            <div class="thumb">
	                            <a href="#client-modal" data-toggle="modal" data-target="#client-modal" data-id="<?php 
    echo $id;
    ?>
">
	                            	<img src="<?php 
    if ($client->getClientInfo($id, 'logo') != "") {
        echo "images/clients/" . $client->getClientInfo($id, 'logo');
    } else {
        echo noimage;
    }
    ?>
" alt="<?php 
    echo $client->getClientInfo($id, 'name');
    ?>
" class="img-responsive" width="476" class="mb-10">
	                            </a>
                            </div>
                            <div class="hidden" id="client_<?php 
    echo $id;
    ?>
">
                    						<th>Name</th>
                    						<th>Action</th>
                    					</tr>
                    				</thead>
                    				<tbody>
                    					<?php 
    $i = 0;
    foreach ($item_list as $item) {
        ?>
                    					<tr>
                    						<td><?php 
        echo ++$i;
        ?>
</td>
                    						<td><?php 
        echo $obj->getClientInfo($item, 'name');
        ?>
</td>
                    						<td>
                    							<a href="<?php 
        echo $config->site_address;
        ?>
our-partners-admin/edit/<?php 
        echo $item;
        ?>
" class="btn btn-primary glyphicon glyphicon-edit" title="Edit" data-toggle="tooltip"></a>
                    							<a href="<?php 
        echo Comman::getController('clients');
        ?>
?action=delete&id=<?php 
        echo $item;