123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- <?php if (!defined('THINK_PATH')) exit();?><div class="bjui-pageContent">
- <form action="/jdxf/admin1.php<?php echo ($action); ?>" data-toggle="ajaxform">
- <div class="pageFormContent" data-layout-h="0" style="overflow: auto;">
- <table class="table table-condensed table-hover" width="100%">
- <tbody>
- <input type="hidden" name="id" value="<?php echo ($Ownerlist["id"]); ?>">
- <tr><td>
- <label class="control-label x95">设备编号:</label>
- <input type="text" size="25" name="owner_code" value="<?php echo ($Ownerlist["owner_code"]); ?>" data-width="6" class="form-control" readonly="true">
- <br/>
- <span style="color:red;" >*产品序列号</span>
- </td></tr>
- <tr><td>
- <label class="control-label x95">设备名称:</label>
- <input type="text" size="25" name="owner_name" value="<?php echo ($Ownerlist["owner_name"]); ?>" data-width="6" class="form-control" >
- <span style="color:red;" >*</span>
- </td></tr>
- <tr><td>
- <label for="j_title" class="control-label x95">所属单位:</label>
- <select data-toggle="selectpicker" name="company" size="25">
- <?php if(is_array($companylist)): $i = 0; $__LIST__ = $companylist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option value="<?php echo ($vo["owner_id"]); ?>" <?php if( $vo["owner_id"] == $Ownerlist["company"] ): ?>selected<?php endif; ?>><?php echo ($vo["owner_name"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
- </select>
- <span style="color:red;" >*</span>
- </td></tr>
- <tr>
- <td>
- <label class="control-label x95">设备ip:</label>
- <input type="text" size="25" name="ip" value="<?php echo ($Ownerlist["ip"]); ?>" data-width="6" class="form-control" >
- <span style="color:red;" >*</span>
- </td>
- </tr>
- <tr>
- <td>
- <label class="control-label x95">登陆账号:</label>
- <input type="text" size="25" name="account" value="<?php echo ($Ownerlist["account"]); ?>" data-width="6" class="form-control" >
- <span style="color:red;" >*</span>
- </td>
- </tr>
- <tr>
- <td>
- <label class="control-label x95">登陆密码:</label>
- <input type="password" size="25" name="password" value="<?php echo ($Ownerlist["password"]); ?>" data-width="6" class="form-control" >
- <span style="color:red;" >*</span>
- </td>
- </tr>
- <tr>
- <td>
- <label class="control-label x95">单元地址:</label>
- <input type="text" size="25" name="unitinfo" value="<?php echo ($Ownerlist["unitinfo"]); ?>" data-width="6" class="form-control" >
- <span style="color:red;" >*</span>
- </td></tr>
- <tr><td>
- <label class="control-label x95">所在楼层:</label>
- <select data-toggle="selectpicker" name="louyu">
- <option value="B10" <?php if( B10 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B10</option>
- <option value="B9" <?php if( B9 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B9</option>
- <option value="B8" <?php if( B8 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B8</option>
- <option value="B7" <?php if( B7 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B7</option>
- <option value="B6" <?php if( B6 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B6</option>
- <option value="B5" <?php if( B5 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B5</option>
- <option value="B4" <?php if( B4 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B4</option>
- <option value="B3" <?php if( B3 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B3</option>
- <option value="B2" <?php if( B2 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B2</option>
- <option value="B1" <?php if( B1 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B1</option>
- <option value="1" <?php if( 1 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >1</option>
- <option value="2" <?php if( 2 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >2</option>
- <option value="3" <?php if( 3 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >3</option>
- <option value="4" <?php if( 4 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >4</option>
- <option value="5" <?php if( 5 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >5</option>
- <option value="6" <?php if( 6 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >6</option>
- <option value="7" <?php if( 7 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >7</option>
- <option value="8" <?php if( 8 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >8</option>
- <option value="9" <?php if( 9 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >9</option>
- <option value="10" <?php if( 10 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >10</option>
- <option value="11" <?php if( 11 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >11</option>
- <option value="12" <?php if( 12 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >12</option>
- <option value="13" <?php if( 13 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >13</option>
- <option value="14" <?php if( 14 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >14</option>
- <option value="15" <?php if( 15 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >15</option>
- <option value="16" <?php if( 16 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >16</option>
- <option value="17" <?php if( 17 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >17</option>
- <option value="18" <?php if( 18 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >18</option>
- <option value="19" <?php if( 19 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >19</option>
- <option value="20" <?php if( 20 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >20</option>
- <option value="21" <?php if( 21 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >21</option>
- <option value="22" <?php if( 22 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >22</option>
- <option value="23" <?php if( 23 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >23</option>
- <option value="24" <?php if( 24 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >24</option>
- <option value="25" <?php if( 25 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >25</option>
- <option value="26" <?php if( 26 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >26</option>
- <option value="27" <?php if( 27 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >27</option>
- <option value="28" <?php if( 28 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >28</option>
- <option value="29" <?php if( 29 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >29</option>
- <option value="30" <?php if( 30 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >30</option>
- <option value="31" <?php if( 31 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >31</option>
- <option value="32" <?php if( 32 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >32</option>
- <option value="33" <?php if( 33 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >33</option>
- <option value="34" <?php if( 34 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >34</option>
- <option value="35" <?php if( 35 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >35</option>
- <option value="36" <?php if( 36 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >36</option>
- <option value="37" <?php if( 37 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >37</option>
- <option value="38" <?php if( 38 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >38</option>
- <option value="39" <?php if( 39 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >39</option>
- </select>
- <span style="color:red;" >*</span>
- </td></tr>
- </tbody>
- </table>
- </div>
- </div>
- <div class="bjui-pageFooter">
- <ul>
- <li><button type="button" class="btn-close" data-icon="close">取消</button></li>
- <li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
- </ul>
- </div>
- </from>
|