public static function date($name, $value = '', $attributes = array()) { return static::input('date', $name, $value, $attributes); }
?> </td> </tr> <tr id="time_end" style="<?php if ($data['setting']['enabletime'] == 0) { ?> display:none;<?php } ?> "> <th><strong><?php echo L('end_time'); ?> :</strong></th> <td><?php echo form::date('setting[endtime]', $data['setting']['endtime'] ? date('Y-m-d', $data['setting']['endtime']) : 0); ?> </td> </tr> <tr> <th><strong><?php echo L('allowed_send_mail'); ?> :</strong></th> <td><input name="setting[sendmail]" type="radio" value="1" <?php if ($data['setting']['sendmail']) { ?> checked<?php } ?> > <?php