Пример #1
0
            </thead>
            <tbody>
                <?php 
foreach ($members->result() as $key => $member) {
    ?>
                <tr>
                    <td>
                        <span><?php 
    echo $member->full_name . ' - <a class="indigo-text" href="mailto:' . $member->email . '">' . $member->email . '</a>';
    ?>
</span><br>
                        <span class="grey-text lighten-1 tiny-text"><?php 
    echo sprintf(lang('label-member-since'), lang(MEMBER));
    ?>
: <?php 
    echo date_to_humans($member->create_at);
    ?>
</span><br>
                        <span class="grey-text lighten-1 tiny-text"><?php 
    echo lang($member->status_row);
    ?>
</span>
                    </td>
                    <td>
                        <div class="switch">
                            <label>
                                Off
                                <input id="member_<?php 
    echo $member->id;
    ?>
" class="member-membership" <?php 
Пример #2
0
    } else {
        ?>
                            <a><?php 
        echo $node->full_name;
        ?>
</a>
                        <?php 
    }
    ?>
                    </td>
                    <td><?php 
    echo lang($node->type);
    ?>
</td>
                    <td><?php 
    echo date_to_humans($node->create_at, 'd/m/Y');
    ?>
</td>
                    <td>
                        <a class="blue-text darken-1" href="<?php 
    echo base_url('admin/organigrama/edit/' . $node->id);
    ?>
"><i class="tiny material-icons">edit</i></a>
                        <a href="#!" class="blue-text darken-1" onclick="javascript:trash(<?php 
    echo $node->id;
    ?>
, this);"><i class="tiny material-icons">delete</i></a>
                    </td>
                </tr>
                <?php 
}
Пример #3
0
?>
</th>
                    </tr>
                </thead>
                <tbody>
                    <?php 
foreach ($posts->result() as $post) {
    ?>
                    <tr>
                        <td>
                            <span><?php 
    echo $post->title;
    ?>
</span><br>
                            <span class="grey-text lighten-1 tiny-text"><?php 
    echo sprintf(lang('news_create_at'), date_to_humans($post->create_at));
    ?>
</span>
                        </td>
                        <td>
                            <a class="blue-text darken-1" href="<?php 
    echo base_url('admin/news/edit/' . $post->id);
    ?>
"><i class="tiny material-icons">edit</i></a>
                            <a class="blue-text darken-1" href="<?php 
    echo base_url('admin/news/delete/' . $post->id);
    ?>
"><i class="tiny material-icons">delete</i></a>
                        </td>
                    </tr>
                    <?php