<?php } ?> </tr> </thead> <tbody> <?php foreach ($creditRule as $rule) { ?> <tr> <td class="xcm"><?php echo $rule["rulename"]; ?> </td> <td><?php echo Ibos::lang("Cycle type " . $rule["cycletype"], "", array("{num}" => ConvertUtil::ToChinaseNum($rule["rewardnum"]))); ?> </td> <?php foreach ($credits as $index => $credit) { ?> <?php if (!empty($credit)) { ?> <td class="xac bgly xwb" width="60"><?php echo $rule["extcredits" . $index]; ?> </td> <?php } ?>