<?php if(!defined("RUN_MODE")) die();?>
<?php
/**
 * The create view file of wechat module of chanzhiEPS.
 *
 * @copyright   Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPLV1.2 (http://zpl.pub/page/zplv12.html)
 * @author      Tingting Dai <daitingting@xirangit.com>
 * @package     wechat
 * @version     $Id$
 * @link        http://www.chanzhi.org
 */
?>
<?php include '../../common/view/header.admin.html.php';?>
<section>
  <form method='post' id='ajaxForm'>
    <table class='table table-form w-p50'>
      <tr>
        <th class='w-100px'><?php echo $lang->wechat->type;?></th>
        <td><?php echo html::select('type', $lang->wechat->typeList, '', "class='form-control'");?></td>
      </tr>
      <tr>
        <th><?php echo $lang->wechat->name;?></th>
        <td><?php echo html::input('name', '', "class='form-control' placeholder='{$lang->wechat->placeholder->name}'");?></td>
      </tr>
      <tr>
        <th><?php echo $lang->wechat->account;?></th>
        <td><?php echo html::input('account', '', "class='form-control' placeholder='{$lang->wechat->placeholder->account}'");?></td>
      </tr>
      <tr>
        <th><?php echo $lang->wechat->token;?></th>
        <td><?php echo html::input('token', '', "class='form-control' placeholder='{$lang->wechat->placeholder->token}'");?></td>
      </tr>
      <tr>
        <th><?php echo $lang->wechat->certified;?></th>
        <td><?php echo html::radio('certified', $lang->wechat->certifiedList, '0');?></td>
      </tr>
      <tr>
        <th></th>
        <td><?php echo html::submitButton();?></td>
      </tr>
    </table>
  </form>
</section>
<?php include '../../common/view/footer.admin.html.php';?>
