Esempio n. 1
0
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');
?>
<div class="pad_10">
<div class="table-list">
<form name="smsform" action="" method="get" >
<input type="hidden" value="sms" name="m">
<input type="hidden" value="sms" name="c">
<input type="hidden" value="init" name="a">
<input type="hidden" value="<?php 
echo $_GET['menuid'];
?>
" name="menuid">
<div class="explain-col search-form">
<?php 
echo get_smsnotice();
?>
</div>
</form>
<div class="btn text-l">
<?php 
if (!empty($this->smsapi->userid)) {
    ?>
<span class="font-fixh green"><?php 
    echo L('account');
    ?>
</span> : <span class="font-fixh"><?php 
    echo $this->smsapi->userid;
    ?>
</span> , <span class="font-fixh green"><?php 
    echo L('smsnumber');
Esempio n. 2
0
<?php

defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');
?>
<div class="pad-10">
<div class="explain-col search-form">
<?php 
echo get_smsnotice('setting');
?>
</div>
<div class="common-form">
<form name="myform" action="?m=sms&c=sms&a=sms_setting" method="post" id="myform">
<table width="100%" class="table_form">
<tr>
<td  width="120"><?php 
echo L('sms_enable');
?>
</td> 
<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');
?>
  
<input name="setting[sms_enable]" value="0" type="radio" id="sms_enable" <?php 
if ($this->sms_setting[sms_enable] == 0) {