示例#1
0
    <tr>
        <td>
            <label>
                <strong>Exclude Author ID List (#author__not_in)</strong>Exclude posts from selected authors<br />


                <select data-placeholder="Select one or more author" name="author[not_in][]" id="author_not_in" title="Excluded Author ID List" size="10" multiple>
                    <?php 
if (is_array($wqg_users) && count($wqg_users) > 0) {
    ?>

                        <?php 
    foreach ($wqg_users as $u) {
        ?>
                            <option <?php 
        echo meAnjanWqg_Utils::selectedAttr($wqgData, 'author/not_in', $u['id'], true);
        ?>
 value="<?php 
        echo $u['id'];
        ?>
"><?php 
        echo $u['name'];
        ?>
 [<?php 
        echo $u['id'];
        ?>
]</option>
                        <?php 
    }
    ?>