<td class="smallText"><?php 
        echo draw_optiontype_pulldown('option_type');
        ?>
</td>
                <td colspan="2" class="smallText">&nbsp;</td>
                <td colspan="2" align="center" class="smallText">&nbsp;<?php 
        echo zen_image_submit('button_insert.gif', IMAGE_INSERT);
        ?>
&nbsp;</td>
<?php 
        echo '</form>';
        ?>
              </tr>
              <tr>
                <td colspan="7"><?php 
        echo zen_black_line();
        ?>
</td>
              </tr>
<?php 
    }
}
?>
            </table>
</td></tr></table>
<!-- options eof //-->

<?php 
if ($_SESSION['option_names_values_copier'] == '0') {
    ?>
  <table align="center" width="90%">
Exemple #2
0
                }  // END if ($so->po_payment[$d]['assigned_po'] == $so->purchase_order[$c]['index'])
              }  // END for($d = 0; $d < sizeof($so->po_payment); $d++)
            }  // END if ($so->po_payment)
          }  // END for($c = 0; $c < sizeof($so->purchase_order); $c++)
        }  // END if ($so->purchase_order)
        // display any refunds not tied directly to a payment
        if ($so->refund) {
          for ($f = 0; $f < sizeof($so->refund); $f++) {
            if ($so->refund[$f]['payment'] == 0) {
              if ($f < 1) {
?>
          <tr>
            <td><?php echo zen_draw_separator('pixel_trans.gif', '1', '5'); ?></td>
          </tr>
          <tr>
            <td colspan="7"><?php echo zen_black_line(); ?></td>
          </tr>
          <tr>
            <td><?php echo zen_draw_separator('pixel_trans.gif', '1', '5'); ?></td>
          </tr>
<?php
              } else {
?>
          <tr>
            <td><?php echo zen_draw_separator('pixel_trans.gif', '1', '5'); ?></td>
          </tr>
<?php
              }
?>
          <tr class="refundRow" onMouseOver="rowOverEffect(this)" onMouseOut="rowOutEffect(this)" <?php echo 'onclick="popupWindow(\'' . zen_href_link(FILENAME_SUPER_PAYMENTS, 'oID=' . $so->oID . '&payment_mode=refund&index=' . $so->refund[$f]['index'] . '&action=my_update', 'NONSSL') . '\', \'scrollbars=yes,resizable=yes,width=400,height=300,screenX=150,screenY=100,top=100,left=150\')"'; ?>>
            <td class="refundContent" align="left"><?php echo $so->refund[$f]['number']; ?></td>