setting.tpl.php 1.1 KB

123456789101112131415161718192021222324252627
  1. <?php
  2. defined('IN_ADMIN') or exit('No permission resources.');
  3. include $this->admin_tpl('header', 'admin');
  4. ?>
  5. <form method="post" action="?m=link&c=link&a=setting">
  6. <table width="100%" cellpadding="0" cellspacing="1" class="table_form">
  7. <tr>
  8. <th width="20%"><?php echo L('application_or_not')?>:</th>
  9. <td><input type='radio' name='setting[is_post]' value='1' <?php if($is_post == 1) {?>checked<?php }?>> <?php echo L('yes')?>&nbsp;&nbsp;&nbsp;&nbsp;
  10. <input type='radio' name='setting[is_post]' value='0' <?php if($is_post == 0) {?>checked<?php }?>> <?php echo L('no')?></td>
  11. </tr>
  12. <tr>
  13. <th><?php echo L('code_or_not')?>:</th>
  14. <td><input type='radio' name='setting[enablecheckcode]' value='1' <?php if($enablecheckcode == 1) {?>checked<?php }?>> <?php echo L('yes')?>&nbsp;&nbsp;&nbsp;&nbsp;
  15. <input type='radio' name='setting[enablecheckcode]' value='0' <?php if($enablecheckcode == 0) {?>checked<?php }?>> <?php echo L('no')?></td>
  16. </tr>
  17. <tr>
  18. <td>&nbsp;</td>
  19. <td><input type="submit" name="dosubmit" id="dosubmit" value=" <?php echo L('ok')?> " class="button">&nbsp;</td>
  20. </tr>
  21. </table>
  22. </form>
  23. </body>
  24. </html>