|
@@ -226,24 +226,24 @@
|
|
|
<input type="hidden" name="str[]" value="<?php echo "{$provider['provider_id']}-{$amount['type']}-{$amount['amount']}-{$output['datas'][$provider['provider_id']][$key]['has']}"; ?>">
|
|
|
<input type="hidden" name="channel_ctl_model[]" value="<?php echo $output['channel_ctl_model']["{$provider['name']}-{$amount['amount']}-{$amount['type']}"][0] ?? 0; ?>">
|
|
|
<td class="batch-td" data-color="<?php echo $amount['type']; ?>">
|
|
|
- <!-- <div class="priority"> -->
|
|
|
- <?php
|
|
|
- // $key = "{$provider['name']}-{$amount['amount']}-{$amount['type']}";
|
|
|
- // if (array_key_exists($key, $output['channel_ctl_model'])) {
|
|
|
- // echo ceil($output['channel_ctl_model'][$key][0]);
|
|
|
- // } else {
|
|
|
- // echo 0;
|
|
|
- // }
|
|
|
- ?>
|
|
|
- <!-- </div> -->
|
|
|
+ <div class="priority">
|
|
|
+ <?php
|
|
|
+ $key = "{$provider['name']}-{$amount['amount']}-{$amount['type']}";
|
|
|
+ if (array_key_exists($key, $output['channel_ctl_model'])) {
|
|
|
+ echo ceil($output['channel_ctl_model'][$key][0]);
|
|
|
+ } else {
|
|
|
+ echo 0;
|
|
|
+ }
|
|
|
+ ?>
|
|
|
+ </div>
|
|
|
<div class="listNum">
|
|
|
- <input type="text" class="input-one styleOne w46" name="speed[]" autocomplete="off" value="<?php echo $output['datas'][$provider['provider_id']][$key]['speed'] ?>" <?php if ($output['datas'][$provider['provider_id']][$key]['has'] == 0) { ?> readOnly style="background-color:#eaeaea;" <?php } ?>>
|
|
|
+ <input type="text" class="input-one styleOne w46" name="speed[]" autocomplete="off" value="<?php echo $output['datas'][$provider['provider_id']][$key + 1]['speed'] ?>" <?php if ($output['datas'][$provider['provider_id']][$key]['has'] == 0) { ?> readOnly style="background-color:#eaeaea;" <?php } ?>>
|
|
|
</div>
|
|
|
<div class="priority">
|
|
|
- <input type="text" class="input-tow styleTow w32" name="sort[]" autocomplete="off" value="<?php echo $output['datas'][$provider['provider_id']][$key]['sort'] ?>" <?php if ($output['datas'][$provider['provider_id']][$key]['has'] == 0) { ?> readOnly style="background-color:#eaeaea;" <?php } ?>>
|
|
|
+ <input type="text" class="input-tow styleTow w32" name="sort[]" autocomplete="off" value="<?php echo $output['datas'][$provider['provider_id']][$key + 2]['sort'] ?>" <?php if ($output['datas'][$provider['provider_id']][$key]['has'] == 0) { ?> readOnly style="background-color:#eaeaea;" <?php } ?>>
|
|
|
</div>
|
|
|
<div class="priority">
|
|
|
- <input type="text" class="input-three styleTow w32" name="opened[]" autocomplete="off" value="<?php echo $output['datas'][$provider['provider_id']][$key]['opened'] ?>" <?php if ($output['datas'][$provider['provider_id']][$key]['has'] == 0) { ?> readOnly style="background-color:#eaeaea;" <?php } ?>>
|
|
|
+ <input type="text" class="input-three styleTow w32" name="opened[]" autocomplete="off" value="<?php echo $output['datas'][$provider['provider_id']][$key + 3]['opened'] ?>" <?php if ($output['datas'][$provider['provider_id']][$key]['has'] == 0) { ?> readOnly style="background-color:#eaeaea;" <?php } ?>>
|
|
|
</div>
|
|
|
|
|
|
</td>
|