setting.tpl.php 1.2 KB

12345678910111213141516171819202122232425262728
  1. <?php
  2. defined('IN_ADMIN') or exit('No permission resources.');
  3. $show_header = 1;
  4. include $this->admin_tpl('header', 'admin');
  5. ?>
  6. <form method="post" action="?m=poster&c=space&a=setting" id="myform" name="myform">
  7. <table width="100%" cellpadding="0" cellspacing="1" class="table_form">
  8. <tr>
  9. <th width="130"><?php echo L('ads_show_time')?></th>
  10. <td><input type='radio' name='setting[enablehits]' value='1' <?php if($enablehits == 1) {?>checked<?php }?>> <?php echo L('yes')?>&nbsp;&nbsp;&nbsp;&nbsp;
  11. <input type='radio' name='setting[enablehits]' value='0' <?php if($enablehits == 0) {?>checked<?php }?>> <?php echo L('no')?></td>
  12. </tr>
  13. <tr>
  14. <th><?php echo L('upload_file_ext')?>:</th>
  15. <td><input name='setting[ext]' type='text' id='ext' value='<?php echo $ext?>' size='40' maxlength='70'></td>
  16. </tr>
  17. <tr>
  18. <th><?php echo L('file_size')?>:</th>
  19. <td><input name='setting[maxsize]' type='text' id='maxsize' value='<?php echo $maxsize?>' size='12'> M</td>
  20. </tr>
  21. <tr>
  22. <td>&nbsp;</td>
  23. <td><input type="submit" name="dosubmit" id="dosubmit" class="dialog" value=" <?php echo L('ok')?> ">&nbsp;<input type="reset" class="dialog" value=" <?php echo L('clear')?> "></td>
  24. </tr>
  25. </table>
  26. </form>
  27. </body>
  28. </html>