<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<div class="imitateSelect">
    <label class="labelImitate"><?=$label?></label>
    <input type="text" name="<?=$key?>str" class="imitate imitateIe" readonly value="<?php if($def&&$value||$value>1){echo $name; }?>"/>
    <input type="hidden" name="<?=$key?>" class="jsImitateHidden" value="<?= $value ?>"/>
    <div class="listImitate">
        <dl class="inner">
            <?php if($def) {?><dd><a class="link" oid="0">²»ÏÞ</a></dd><?php } ?>
<?php foreach ($options as $k => $v) { ?>
                <dd><a class="link" oid="<?= $k ?>" href="####"><?= $v ?></a></dd>
<?php } ?>
        </dl>
    </div>
</div>