Exemple #1
0
}, 'get' => function ($a, $b) {
    return get($a, $b);
}, 'contains?' => function ($a, $b) {
    return contains_Q($a, $b);
}, 'keys' => function ($a) {
    return keys($a);
}, 'vals' => function ($a) {
    return vals($a);
}, 'sequential?' => function ($a) {
    return _sequential_Q($a);
}, 'cons' => function ($a, $b) {
    return cons($a, $b);
}, 'concat' => function () {
    return call_user_func_array('concat', func_get_args());
}, 'nth' => function ($a, $b) {
    return nth($a, $b);
}, 'first' => function ($a) {
    return first($a);
}, 'rest' => function ($a) {
    return rest($a);
}, 'empty?' => function ($a) {
    return empty_Q($a);
}, 'count' => function ($a) {
    return scount($a);
}, 'conj' => function () {
    return call_user_func_array('conj', func_get_args());
}, 'apply' => function () {
    return call_user_func_array('apply', func_get_args());
}, 'map' => function ($a, $b) {
    return map($a, $b);
}, 'with-meta' => function ($a, $b) {
Exemple #2
0
                                <div class="clearfix" style="width: 550px; padding-bottom: 8px">
                                    
                                    <?php 
function nth($per_row, $post_interate)
{
    if ($post_interate % $per_row == 0) {
        $return = "margin-right:0px;";
    }
    echo $return;
}
$total_banner = 6;
for ($i = 1; $i <= $total_banner; $i++) {
    ?>
                                    
                                    <div class="fl image" style="width: 174px; height: 80px; margin-bottom:10px; <?php 
    nth(3, $i);
    ?>
">
                                        <div class="hidden">
                                           <div class="image-delete"></div>
                                           <div class="image-overlay"></div>
                                        </div>
                                        <img class="hidden" src="<?php 
    echo $prefix;
    ?>
files/common/sample_product.jpg">
                                    </div>
                                    
                                    <?php 
}
?>