You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
information-system/webht/third_party/messagecenter/views/message_index.php

52 lines
2.6 KiB
PHTML

<div style="width:90%;margin:30px auto;">
<div class="panel-heading">
<ul class="nav nav-tabs">
<li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">Home</a></li>
<li role="presentation"><a href="#manager" aria-controls="manager" role="tab" data-toggle="tab">管理页面</a></li>
<li role="presentation"><a href="#sendsms" aria-controls="sendsms" role="tab" data-toggle="tab">发送短信页面</a></li>
</ul>
</div>
<div class="tab-content" style="padding:0 30px">
<div role="tabpanel" class="tab-pane active" id="home">
<div class="text-center">
<h1>短信发送中心</h1>
<p>版本1.0</p>
<p>可以正常添加模板,但是只有一个模板可以发送</p>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="manager">
<form action="http://www.mycht.cn/webht.php/apps/messagecenter/index/add_templete" method="post" name="add_template">
<p>模板示例Hi {1}, your guide on {2} is {3}, localmobile is {4}. He/she'll call you at the hotel, or leave a message tonight. You can find more info by inputting booking No. {5} at https://www.trippest.com/track-your-trip. Wish you a wonderful day with Trippest!</p>
<label for="addtemplate">输入模板:</label>
<textarea id="addtemplate" class="form-control" name="templete"></textarea>
<br>
<button type="submit" class="btn btn-default">添加模板</button>
</form>
</div>
<div role="tabpanel" class="tab-pane" id="sendsms">
<p>模板示例Hi {1}, your guide on {2} is {3}, localmobile is {4}. He/she'll call you at the hotel, or leave a message tonight. You can find more info by inputting booking No {5} at https://www.trippest.com/track-your-trip. Wish you a wonderful day with Trippest!</p>
<form action="http://www.mycht.cn/webht.php/apps/messagecenter/index/send_message" method="post" name="add_template">
<label for="addtemplate">输入信息:</label>
<br>
<label>区号:<input type="text" name="nation_code"></label>
<br>
<label>手机号:<input type="text" name="phone"></label>
<br>
<label>元素一:<input type="text" name="one"></label>
<br>
<label>元素二:<input type="text" name="two"></label>
<br>
<label>元素三:<input type="text" name="three"></label>
<br>
<label>元素四:<input type="text" name="four"></label>
<br>
<label>元素五:<input type="text" name="five"></label>
<br>
<button type="submit" class="btn btn-default">发送短信</button>
</form>
</div>
</div>
</div>