11b7511e3f4cd6769757e859cc54edf5.php 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <?php if (!defined('THINK_PATH')) exit();?><div class="bjui-pageContent">
  2. <form action="/jdxf/admin1.php<?php echo ($action); ?>" data-toggle="ajaxform">
  3. <div class="pageFormContent" data-layout-h="0" style="overflow: auto;">
  4. <table class="table table-condensed table-hover" width="100%">
  5. <tbody>
  6. <input type="hidden" name="id" value="<?php echo ($Ownerlist["id"]); ?>">
  7. <tr><td>
  8. <label class="control-label x95">设备编号:</label>
  9. <input type="text" size="25" name="owner_code" value="<?php echo ($Ownerlist["owner_code"]); ?>" data-width="6" class="form-control" readonly="true">
  10. <br/>
  11. <span style="color:red;" >*产品序列号</span>
  12. </td></tr>
  13. <tr><td>
  14. <label class="control-label x95">设备名称:</label>
  15. <input type="text" size="25" name="owner_name" value="<?php echo ($Ownerlist["owner_name"]); ?>" data-width="6" class="form-control" >
  16. <span style="color:red;" >*</span>
  17. </td></tr>
  18. <tr><td>
  19. <label for="j_title" class="control-label x95">所属单位:</label>
  20. <select data-toggle="selectpicker" name="company" size="25">
  21. <?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; ?>
  22. </select>
  23. <span style="color:red;" >*</span>
  24. </td></tr>
  25. <tr>
  26. <td>
  27. <label class="control-label x95">设备ip:</label>
  28. <input type="text" size="25" name="ip" value="<?php echo ($Ownerlist["ip"]); ?>" data-width="6" class="form-control" >
  29. <span style="color:red;" >*</span>
  30. </td>
  31. </tr>
  32. <tr>
  33. <td>
  34. <label class="control-label x95">登陆账号:</label>
  35. <input type="text" size="25" name="account" value="<?php echo ($Ownerlist["account"]); ?>" data-width="6" class="form-control" >
  36. <span style="color:red;" >*</span>
  37. </td>
  38. </tr>
  39. <tr>
  40. <td>
  41. <label class="control-label x95">登陆密码:</label>
  42. <input type="password" size="25" name="password" value="<?php echo ($Ownerlist["password"]); ?>" data-width="6" class="form-control" >
  43. <span style="color:red;" >*</span>
  44. </td>
  45. </tr>
  46. <tr>
  47. <td>
  48. <label class="control-label x95">单元地址:</label>
  49. <input type="text" size="25" name="unitinfo" value="<?php echo ($Ownerlist["unitinfo"]); ?>" data-width="6" class="form-control" >
  50. <span style="color:red;" >*</span>
  51. </td></tr>
  52. <tr><td>
  53. <label class="control-label x95">所在楼层:</label>
  54. <select data-toggle="selectpicker" name="louyu">
  55. <option value="B10" <?php if( B10 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B10</option>
  56. <option value="B9" <?php if( B9 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B9</option>
  57. <option value="B8" <?php if( B8 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B8</option>
  58. <option value="B7" <?php if( B7 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B7</option>
  59. <option value="B6" <?php if( B6 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B6</option>
  60. <option value="B5" <?php if( B5 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B5</option>
  61. <option value="B4" <?php if( B4 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B4</option>
  62. <option value="B3" <?php if( B3 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B3</option>
  63. <option value="B2" <?php if( B2 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B2</option>
  64. <option value="B1" <?php if( B1 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >B1</option>
  65. <option value="1" <?php if( 1 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >1</option>
  66. <option value="2" <?php if( 2 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >2</option>
  67. <option value="3" <?php if( 3 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >3</option>
  68. <option value="4" <?php if( 4 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >4</option>
  69. <option value="5" <?php if( 5 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >5</option>
  70. <option value="6" <?php if( 6 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >6</option>
  71. <option value="7" <?php if( 7 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >7</option>
  72. <option value="8" <?php if( 8 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >8</option>
  73. <option value="9" <?php if( 9 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >9</option>
  74. <option value="10" <?php if( 10 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >10</option>
  75. <option value="11" <?php if( 11 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >11</option>
  76. <option value="12" <?php if( 12 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >12</option>
  77. <option value="13" <?php if( 13 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >13</option>
  78. <option value="14" <?php if( 14 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >14</option>
  79. <option value="15" <?php if( 15 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >15</option>
  80. <option value="16" <?php if( 16 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >16</option>
  81. <option value="17" <?php if( 17 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >17</option>
  82. <option value="18" <?php if( 18 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >18</option>
  83. <option value="19" <?php if( 19 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >19</option>
  84. <option value="20" <?php if( 20 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >20</option>
  85. <option value="21" <?php if( 21 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >21</option>
  86. <option value="22" <?php if( 22 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >22</option>
  87. <option value="23" <?php if( 23 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >23</option>
  88. <option value="24" <?php if( 24 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >24</option>
  89. <option value="25" <?php if( 25 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >25</option>
  90. <option value="26" <?php if( 26 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >26</option>
  91. <option value="27" <?php if( 27 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >27</option>
  92. <option value="28" <?php if( 28 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >28</option>
  93. <option value="29" <?php if( 29 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >29</option>
  94. <option value="30" <?php if( 30 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >30</option>
  95. <option value="31" <?php if( 31 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >31</option>
  96. <option value="32" <?php if( 32 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >32</option>
  97. <option value="33" <?php if( 33 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >33</option>
  98. <option value="34" <?php if( 34 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >34</option>
  99. <option value="35" <?php if( 35 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >35</option>
  100. <option value="36" <?php if( 36 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >36</option>
  101. <option value="37" <?php if( 37 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >37</option>
  102. <option value="38" <?php if( 38 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >38</option>
  103. <option value="39" <?php if( 39 == $Ownerlist["louyu"] ): ?>selected<?php endif; ?> >39</option>
  104. </select>
  105. <span style="color:red;" >*</span>
  106. </td></tr>
  107. </tbody>
  108. </table>
  109. </div>
  110. </div>
  111. <div class="bjui-pageFooter">
  112. <ul>
  113. <li><button type="button" class="btn-close" data-icon="close">取消</button></li>
  114. <li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
  115. </ul>
  116. </div>
  117. </from>