|
@@ -228,22 +228,22 @@
|
|
|
<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]);
|
|
|
+ $keyName = "{$provider['name']}-{$amount['amount']}-{$amount['type']}";
|
|
|
+ if (array_key_exists($keyName, $output['channel_ctl_model'])) {
|
|
|
+ echo ceil($output['channel_ctl_model'][$keyName][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 + 1]['speed'] ?>" <?php if ($output['datas'][$provider['provider_id']][$key + 1]['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]['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 + 1]['sort'] ?>" <?php if ($output['datas'][$provider['provider_id']][$key + 1]['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]['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 + 1]['opened'] ?>" <?php if ($output['datas'][$provider['provider_id']][$key + 1]['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]['opened'] ?>" <?php if ($output['datas'][$provider['provider_id']][$key]['has'] == 0) { ?> readOnly style="background-color:#eaeaea;" <?php } ?>>
|
|
|
</div>
|
|
|
|
|
|
</td>
|