예제 #1
0
                    </div>
					<div class="col-sm-12 col-md-4">
                            <h4 class="text-uppercase mb-5 mt-0">Sponcer A Girl</h4>
                            <div class="line-bottom mb-20"></div>
                            <div class="testimonial-carousel owl-nav-top mb-sm-80" data-dots="true">
                                <?php 
$i = 0;
foreach ($sponcers as $id) {
    ?>
                                <div class="item">
                                    <a href="#volunteer-modal" data-toggle="modal" data-target="#volunteer-modal" data-id="sponcer_<?php 
    echo $id;
    ?>
">
                                    	<img style="width: 100%;" src="<?php 
    if ($sponcer->getSponcerInfo($id, 'image') != "") {
        echo "images/sponcers/" . $sponcer->getSponcerInfo($id, 'image');
    } else {
        echo noimage;
    }
    ?>
" alt="<?php 
    echo $sponcer->getSponcerInfo($id, 'name');
    ?>
">
                                    </a>
                                    <div class="hidden" id="sponcer_<?php 
    echo $id;
    ?>
">
					              		<?php 
예제 #2
0
                </div>
            </div>
        </div>
    </div>
</section>
<section>
    <div class="container">
        <div class="row">
        	<div class="">
                    <?php 
foreach ($sponcers as $id) {
    ?>
					<div class="col-sm-6 col-md-4">
					    <div class="thumbnail">
					      <img src="<?php 
    if ($sponcer->getSponcerInfo($id, 'image') != "") {
        echo "images/sponcers/" . $sponcer->getSponcerInfo($id, 'image');
    } else {
        echo noimage;
    }
    ?>
" alt="<?php 
    echo $sponcer->getSponcerInfo($id, 'name');
    ?>
">
					      <div class="caption">
					        <h3><?php 
    echo $sponcer->getSponcerInfo($id, 'name');
    ?>
</h3>
					        <p>
예제 #3
0
                    						<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->getSponcerInfo($item, 'name');
        ?>
</td>
                    						<td>
                    							<a href="<?php 
        echo $config->site_address . $url->getRequestedModule();
        ?>
/edit/<?php 
        echo $item;
        ?>
" class="btn btn-primary glyphicon glyphicon-edit" title="Edit" data-toggle="tooltip"></a>
                    							<a href="<?php 
        echo Comman::getController('sponcer');
        ?>
?action=delete&id=<?php 
        echo $item;