sms_setting.tpl.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. defined('IN_ADMIN') or exit('No permission resources.');
  3. include $this->admin_tpl('header', 'admin');
  4. ?>
  5. <div class="pad-10">
  6. <div class="explain-col search-form">
  7. <?php echo get_smsnotice('setting');?>
  8. </div>
  9. <div class="common-form">
  10. <form name="myform" action="?m=sms&c=sms&a=sms_setting" method="post" id="myform">
  11. <table width="100%" class="table_form">
  12. <tr>
  13. <td width="120"><?php echo L('sms_enable')?></td>
  14. <td><input name="setting[sms_enable]" value="1" type="radio" id="sms_enable" <?php if($this->sms_setting[sms_enable] == 1) {?>checked<?php }?>> <?php echo L('open')?>
  15. <input name="setting[sms_enable]" value="0" type="radio" id="sms_enable" <?php if($this->sms_setting[sms_enable] == 0) {?>checked<?php }?>> <?php echo L('close')?></td>
  16. </tr>
  17. <tr>
  18. <td width="120">sms_uid <font color="#C0C0C0">(<?php echo L('userid')?>)</font></td>
  19. <td><input type="text" name="setting[userid]" size="20" value="<?php echo $this->sms_setting[userid]?>" id="userid"></td>
  20. </tr>
  21. <tr>
  22. <td width="120">sms_pid <font color="#C0C0C0">(<?php echo L('productid')?>)</font></td>
  23. <td><input type="text" name="setting[productid]" size="20" value="<?php echo $this->sms_setting[productid]?>" id="productid"></td>
  24. </tr>
  25. <tr>
  26. <td width="120">sms_passwd <font color="#C0C0C0">(<?php echo L('sms_key')?>)</font></td>
  27. <td><label><input type="input" id="sms_key" name="setting[sms_key]" value="<?php echo $this->sms_setting[sms_key]?>" size="50">
  28. <input type="hidden" name="pc_hash" value="<?php echo $_GET['pc_hash'];?>" size="50"></label></td>
  29. </tr>
  30. </table>
  31. <div class="bk15"></div>
  32. <input name="dosubmit" type="submit" value="<?php echo L('submit')?>" class="button" id="dosubmit">
  33. </form>
  34. </div>
  35. </body>
  36. </html>