本文整理汇总了PHP中vam_draw_separator函数的典型用法代码示例。如果您正苦于以下问题:PHP vam_draw_separator函数的具体用法?PHP vam_draw_separator怎么用?PHP vam_draw_separator使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了vam_draw_separator函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: credit_selection
function credit_selection()
{
$selection_string = '';
$close_string = '';
$credit_class_string = '';
if (MODULE_ORDER_TOTAL_INSTALLED) {
$header_string = '<tr>' . "\n";
$header_string .= ' <td><table border="0" width="100%" cellspacing="0" cellpadding="2">' . "\n";
$output1_string .= ' <tr>' . "\n";
$header_string .= ' <td class="main"><b>' . TABLE_HEADING_CREDIT . '</b></td>' . "\n";
$header_string .= ' </tr>' . "\n";
$header_string .= ' </table></td>' . "\n";
$header_string .= ' </tr>' . "\n";
$header_string .= '<tr>' . "\n";
$header_string .= ' <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">' . "\n";
$header_string .= ' <tr class="infoBoxContents"><td><table border="0" width="100%" cellspacing="0" cellpadding="2">' . "\n";
$header_string .= ' <tr><td width="10">' . vam_draw_separator('pixel_trans.gif', '10', '1') . '</td>' . "\n";
$header_string .= ' <td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2">' . "\n";
$close_string = ' </table></td>';
$close_string .= '<td width="10">' . vam_draw_separator('pixel_trans.gif', '10', '1') . '</td>';
$close_string .= '</tr></table></td></tr></table></td>';
$close_string .= '<tr><td width="100%">' . vam_draw_separator('pixel_trans.gif', '100%', '10') . '</td></tr>';
reset($this->modules);
$output_string = '';
while (list(, $value) = each($this->modules)) {
$class = substr($value, 0, strrpos($value, '.'));
if ($GLOBALS[$class]->enabled && $GLOBALS[$class]->credit_class) {
$use_credit_string = $GLOBALS[$class]->use_credit_amount();
if ($selection_string == '') {
$selection_string = $GLOBALS[$class]->credit_selection();
}
if ($use_credit_string != '' || $selection_string != '') {
$output_string .= '<tr colspan="4"><td colspan="4" width="100%">' . vam_draw_separator('pixel_trans.gif', '100%', '10') . '</td></tr>';
$output_string = ' <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" >' . "\n" . ' <td s width="10">' . vam_draw_separator('pixel_trans.gif', '10', '1') . '</td>' . ' <td class="main"><b>' . $GLOBALS[$class]->header . '</b></td>' . $use_credit_string;
$output_string .= '<td width="10">' . vam_draw_separator('pixel_trans.gif', '10', '1') . '</td>';
$output_string .= ' </tr>' . "\n";
$output_string .= $selection_string;
}
}
}
if ($output_string != '') {
$output_string = $header_string . $output_string;
$output_string .= $close_string;
}
}
return $output_string;
}
示例2: vam_draw_separator
</tr>
<tr>
<td colspan="4"><?php
echo vam_draw_separator();
?>
</td>
</tr>
<tr>
<td align="center" class="dataTableContent" colspan="4"><b><?php
echo TEXT_SUMMARY;
?>
</b></td>
</tr>
<tr>
<td colspan="4"><?php
echo vam_draw_separator();
?>
</td>
</tr>
<tr>
<td align="right" class="dataTableContent" colspan="4"><?php
echo '<a class="button" href="' . vam_href_link(FILENAME_AFFILIATE_CLICKS, 'acID=' . $_GET['acID']) . '"><span>' . vam_image(DIR_WS_IMAGES . 'icons/buttons/information.png', '', '12', '12') . ' ' . IMAGE_CLICKTHROUGHS . '</span></a> <a class="button" href="' . vam_href_link(FILENAME_AFFILIATE_SALES, 'acID=' . $_GET['acID']) . '"><span>' . vam_image(DIR_WS_IMAGES . 'icons/buttons/information.png', '', '12', '12') . ' ' . IMAGE_SALES . '</span></a>';
?>
</td>
</tr>
</center>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
示例3: vam_draw_separator
} else {
?>
<tr>
<td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="pageHeading"></td>
<td class="pageHeading" align="right"><?php
echo vam_draw_separator('pixel_trans.gif', 1, HEADING_IMAGE_HEIGHT);
?>
</td>
<td class="pageHeading"><?php
echo '<a class="button" href="' . vam_href_link(FILENAME_AFFILIATE_PAYMENT, 'pID=' . $pInfo->affiliate_payment_id . '&action=start_billing') . '"><span>' . vam_image(DIR_WS_IMAGES . 'icons/buttons/payment.png', '', '12', '12') . ' ' . IMAGE_AFFILIATE_BILLING . '</span></a>';
?>
</td>
<td class="pageHeading" align="right"><?php
echo vam_draw_separator('pixel_trans.gif', 1, HEADING_IMAGE_HEIGHT);
?>
</td>
<td align="right"><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr><?php
echo vam_draw_form('orders', FILENAME_AFFILIATE_PAYMENT, '', 'get');
?>
<td class="smallText" align="right"><?php
echo HEADING_TITLE_SEARCH . ' ' . vam_draw_input_field('sID', '', 'size="12"') . vam_draw_hidden_field('action', 'edit');
?>
</td>
</form></tr>
<tr><?php
echo vam_draw_form('status', FILENAME_AFFILIATE_PAYMENT, '', 'get');
?>
<td class="smallText" align="right"><?php
示例4: vam_draw_separator
</td>
<tr>
<tr>
<td colspan="2"><?php
echo vam_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<?php
}
?>
-->
<tr>
<td class="main"> </td>
<td class="main" align="left"><?php
echo vam_draw_separator('pixel_trans.gif', '24', '15') . ' ' . '<span class="button"><button type="submit" value="' . BUTTON_SAVE . '">' . vam_image(DIR_WS_IMAGES . 'icons/buttons/save.png', '', '12', '12') . ' ' . BUTTON_SAVE . '</button></span>' . ' <a class="button" href="' . vam_href_link(FILENAME_AUTHORS, 'page=' . $_GET['page'] . '&auID=' . $authors['authors_id']) . '"><span>' . vam_image(DIR_WS_IMAGES . 'icons/buttons/cancel.png', '', '12', '12') . ' ' . BUTTON_CANCEL . '</span></a>';
?>
</td>
</form>
</tr>
</tr>
</table></td>
</tr>
<?php
} else {
?>
<tr>
<td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" class="pageHeading"><h1 class="contentBoxHeading"><?php
echo HEADING_TITLE;
示例5: vam_href_link
<td colspan="2"><a class="button" href="<?php
echo vam_href_link(FILENAME_CATEGORIES, 'cPath=' . $_GET['cpath'] . '&pID=' . $_GET['current_product_id']);
?>
"><span><?php
echo vam_image(DIR_WS_IMAGES . 'icons/buttons/back.png', '', '12', '12');
?>
<?php
echo BUTTON_BACK;
?>
</span></a></td>
</tr>
</table></td>
</tr>
<tr>
<td><?php
echo vam_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td>
<script src="../jscript/jquery/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
var lastChecked = null;
$(document).ready(function() {
$('input:checkbox').click(function(event) {
if(!lastChecked) {
lastChecked = this;
return;
}
示例6: vam_get_extra_fields
function vam_get_extra_fields($customer_id, $languages_id)
{
$extra_fields_query = vam_db_query("select ce.fields_id, ce.fields_input_type, ce.fields_input_value, ce.fields_required_status, cei.fields_name, ce.fields_status, ce.fields_input_type from " . TABLE_EXTRA_FIELDS . " ce, " . TABLE_EXTRA_FIELDS_INFO . " cei where ce.fields_status=1 and cei.fields_id=ce.fields_id and cei.languages_id =" . $languages_id);
$extra_fields_string = '';
if (vam_db_num_rows($extra_fields_query) > 0) {
$extra_fields_string .= '<tr><td class="formAreaTitle"><b>' . CATEGORY_EXTRA_FIELDS . '</b></td></tr>';
$extra_fields_string .= '<td class="formArea"><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
<tr class="infoBoxContents"><td><table border="0" cellspacing="2" cellpadding="2">';
while ($extra_fields = vam_db_fetch_array($extra_fields_query)) {
$value = '';
if (isset($customer_id)) {
$value_query = vam_db_query("select value from " . TABLE_CUSTOMERS_TO_EXTRA_FIELDS . " where customers_id=" . $customer_id . " and fields_id=" . $extra_fields['fields_id']);
$value_info = vam_db_fetch_array($value_query);
$value_list = explode("\n", $value_info['value']);
for ($i = 0, $n = sizeof($value_list); $i < $n; $i++) {
$value_list[$i] = trim($value_list[$i]);
}
$value = $value_list[0];
}
$extra_fields_string .= '<tr>
<td class="main" valign="top">' . $extra_fields['fields_name'] . ': </td><td class="main" valign="top">';
$select_values_list = explode("\n", $extra_fields['fields_input_value']);
$select_values = array();
foreach ($select_values_list as $item) {
$item = trim($item);
$select_values[] = array('id' => $item, 'text' => $item);
}
switch ($extra_fields['fields_input_type']) {
case 0:
$extra_fields_string .= vam_draw_input_field('fields_' . $extra_fields['fields_id'], $value) . ($extra_fields['fields_required_status'] == 1 ? '<span class="inputRequirement">*</span>' : '');
break;
case 1:
$extra_fields_string .= vam_draw_textarea_field('fields_' . $extra_fields['fields_id'], 'soft', 50, 6, $value, 'style="width:400px;"') . ($extra_fields['fields_required_status'] == 1 ? '<span class="inputRequirement">*</span>' : '');
break;
case 2:
foreach ($select_values_list as $item) {
$item = trim($item);
$extra_fields_string .= vam_draw_selection_field('fields_' . $extra_fields['fields_id'], 'radio', $item, $value == $item ? true : false) . $item . ($extra_fields['fields_required_status'] == 1 ? '<span class="inputRequirement">*</span>' : '') . '<br>';
$extra_fields['fields_required_status'] = 0;
}
break;
case 3:
$cnt = 1;
foreach ($select_values_list as $item) {
$item = trim($item);
$extra_fields_string .= vam_draw_selection_field('fields_' . $extra_fields['fields_id'] . '_' . $cnt++, 'checkbox', $item, in_array($item, $value_list) ? true : false) . $item . ($extra_fields['fields_required_status'] == 1 ? '<span class="inputRequirement">*</span>' : '') . '<br>';
$extra_fields['fields_required_status'] = 0;
}
$extra_fields_string .= vam_draw_hidden_field('fields_' . $extra_fields['fields_id'] . '_total', $cnt);
break;
case 4:
$extra_fields_string .= vam_draw_pull_down_menu('fields_' . $extra_fields['fields_id'], $select_values, $value) . ($extra_fields['fields_required_status'] == 1 ? '<span class="inputRequirement">*</span>' : '');
break;
default:
$extra_fields_string .= vam_draw_input_field('fields_' . $extra_fields['fields_id'], $value) . ($extra_fields['fields_required_status'] == 1 ? '<span class="inputRequirement">*</span>' : '');
break;
}
$extra_fields_string .= ' ' . '</td></tr>';
}
$extra_fields_string .= '</table></td></tr></table></td></tr>';
$extra_fields_string .= '<tr><td>' . vam_draw_separator('pixel_trans.gif', '100%', '10') . '</td></tr>';
}
return $extra_fields_string;
}
示例7: vam_draw_separator
?>
</td>
</tr>
<tr>
<td class="dataTableContent"><?php
echo $affiliate_clickthroughs['affiliate_clientip'];
?>
</td>
<td class="dataTableContent" colspan="3"><?php
echo $affiliate_clickthroughs['affiliate_clientreferer'];
?>
</td>
</tr>
<tr>
<td class="dataTableContent" colspan="4"><?php
echo vam_draw_separator('pixel_black.gif', '100%', '1');
?>
</td>
</tr>
<?php
}
} else {
?>
<tr class="productListing-odd">
<td colspan="7" class="smallText"><?php
echo TEXT_NO_CLICKS;
?>
</td>
</tr>
<?php
}
示例8: vam_draw_file_field
</table>
</div>
<!-- info -->
<!-- картинка -->
<div id="image">
<table border="0">
<tr>
<td class="main" width="200" valign="top"><?php
echo TEXT_EDIT_CATEGORIES_IMAGE;
?>
</td>
<td class="top"><?php
echo vam_draw_file_field('categories_image') . '<br />' . vam_draw_separator('pixel_trans.gif', '24', '15') . vam_draw_hidden_field('categories_previous_image', $cInfo->categories_image);
?>
<?php
if ($cInfo->categories_image) {
?>
<br><img src="<?php
echo DIR_WS_CATALOG . 'images/categories/' . $cInfo->categories_image;
?>
">
<br><?php
echo ' ' . $cInfo->categories_image;
echo vam_draw_selection_field('del_cat_pic', 'checkbox', 'yes') . TEXT_DELETE;
}
?>
</td>
</tr>
示例9: vam_draw_selection_field
// echo '<br /><br />' . TEXT_PRODUCTS_IMAGE_GET_FILE . '<br />' . vam_draw_pull_down_menu('get_file_image_0',$file_list,$pInfo->products_image);
// EOF Add existing image
if ($pInfo->products_image != '') {
echo '</tr><tr><td align="center" class="main" valign="middle">' . vam_draw_selection_field('del_pic', 'checkbox', $pInfo->products_image) . ' ' . TEXT_DELETE . '</td></tr></table>';
} else {
echo '</td></tr>';
}
// display MO PICS
if (MO_PICS > 0) {
$mo_images = vam_get_products_mo_images($pInfo->products_id);
for ($i = 0; $i < MO_PICS; $i++) {
echo '<tr><td colspan="4">' . vam_draw_separator('pixel_black.gif', '100%', '1') . '</td></tr>';
echo '<tr><td colspan="4">' . vam_draw_separator('pixel_trans.gif', '1', '10') . '</td></tr>';
if ($mo_images[$i]["image_name"]) {
echo '<tr><td colspan="4"><table><tr><td align="center" class="main" width="' . (PRODUCT_IMAGE_THUMBNAIL_WIDTH + 15) . '">' . vam_image(DIR_WS_CATALOG_THUMBNAIL_IMAGES . $mo_images[$i]["image_name"], TEXT_STANDART_IMAGE . ' ' . ($i + 1)) . '</td>';
} else {
echo '<tr>';
}
echo '<td class="main">' . TEXT_PRODUCTS_IMAGE . ' ' . ($i + 1) . '<br />' . vam_draw_file_field('mo_pics_' . $i) . '<br />' . vam_draw_separator('pixel_trans.gif', '24', '15') . ' ' . $mo_images[$i]["image_name"] . vam_draw_hidden_field('products_previous_image_' . ($i + 1), $mo_images[$i]["image_name"]);
// BOF Add existing image
echo '<br />' . TEXT_PRODUCTS_IMAGE_UPLOAD_DIRECTORY . '<br />' . vam_draw_pull_down_menu('mo_pics_upload_dir_image_' . $i, $dir_list, dirname($mo_images[$i]["image_name"]) . '/');
//echo '<br /><br />' . TEXT_PRODUCTS_IMAGE_GET_FILE . '<br />' . vam_draw_pull_down_menu('mo_pics_get_file_image_'.$i,$file_list,$mo_images[$i]["image_name"]);
// EOF Add existing image
if (isset($mo_images[$i]["image_name"])) {
echo '</tr><tr><td align="center" class="main" valign="middle">' . vam_draw_selection_field('del_mo_pic[]', 'checkbox', $mo_images[$i]["image_name"]) . ' ' . TEXT_DELETE . '</td></tr></table>';
} else {
echo '</td></tr>';
}
}
}
}
示例10: vam_draw_separator
$total_block = '<table>';
if (MODULE_ORDER_TOTAL_INSTALLED) {
$order_total_modules->process();
$total_block .= $order_total_modules->output();
}
$total_block .= '</table>';
$vamTemplate->assign('TOTAL_BLOCK', $total_block);
if (is_array($payment_modules->modules)) {
if ($confirmation = $payment_modules->confirmation()) {
$payment_info = $confirmation['title'];
for ($i = 0, $n = sizeof($confirmation['fields']); $i < $n; $i++) {
$payment_info .= '<table>
<tr>
<td>' . vam_draw_separator('pixel_trans.gif', '10', '1') . '</td>
<td class="main">' . $confirmation['fields'][$i]['title'] . '</td>
<td>' . vam_draw_separator('pixel_trans.gif', '10', '1') . '</td>
<td class="main">' . stripslashes($confirmation['fields'][$i]['field']) . '</td>
</tr></table>';
}
$vamTemplate->assign('PAYMENT_INFORMATION', $payment_info);
}
}
if (vam_not_null($order->info['comments'])) {
$vamTemplate->assign('ORDER_COMMENTS', nl2br(htmlspecialchars($order->info['comments'])) . vam_draw_hidden_field('comments', $order->info['comments']));
}
if (isset(${$_SESSION}['payment']->form_action_url) && !${$_SESSION}['payment']->tmpOrders) {
$form_action_url = ${$_SESSION}['payment']->form_action_url;
} else {
$form_action_url = vam_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL');
}
$vamTemplate->assign('CHECKOUT_FORM', vam_draw_form('checkout_confirmation', $form_action_url, 'post'));
示例11: if
<?php if (ADMIN_DROP_DOWN_NAVIGATION == 'false') { ?>
<td width="<?php echo BOX_WIDTH; ?>" align="left" valign="top">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
</td>
<?php } ?>
<!-- body_text //-->
<td width="100%" valign="top">
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
<td class="pageHeading" align="right"><?php echo vam_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<?php
if($action=='upload') {
echo vam_draw_form('pin',FILENAME_PIN_LOADER);
?>
<table><tr><td><select name="products_id">
<?php
$products = vam_db_query("select p.products_id, pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where pd.products_id = p.products_id and pd.language_id = '" . $_SESSION['languages_id'] . "' order by pd.products_name");
while ($products_values = vam_db_fetch_array($products)) {
echo '<option name="' . $products_values['products_name'] . '" value="' . $products_values['products_id'] . '">' . $products_values['products_name'] . '</option>';
示例12: vam_draw_separator
$color = '#FF6969';
break;
case '2':
$color = '#69CDFF';
break;
case '3':
$color = '#6BFF7F';
break;
case '4':
$color = '#BFA8FF';
break;
case '5':
$color = '#FFE6A8';
}
echo '<tr class="dataTable">
<td style="border: 1px solid; border-color: #000000;" width="10" bgcolor="' . $color . '" >' . vam_draw_separator('pixel_trans.gif', 15, 15) . '</td>
<td width="100%" class="dataTableContentRow">
<input type="checkbox" name="access[]" value="' . $field . '"' . $checked . '>
<b>' . $field . '</b>: ' . constant(strtoupper('ACCESS_' . $field)) . '</td>
<td></td></tr>';
}
}
?>
</table>
<span class="button"><button type="submit" onClick="return confirm('<?php
echo SAVE_ENTRY;
?>
')" value="<?php
echo BUTTON_SAVE;
?>
"><?php
示例13: vam_db_query
?>
<div id="fields">
<table border="0" class="main">
<?php
// START: Extra Fields Contribution (chapter 1.4)
// Sort language by ID
for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
$languages_array[$languages[$i]['id']] = $languages[$i];
}
$extra_fields_query = vam_db_query("SELECT * FROM " . TABLE_PRODUCTS_EXTRA_FIELDS . " ORDER BY products_extra_fields_order");
while ($extra_fields = vam_db_fetch_array($extra_fields_query)) {
// Display language icon or blank space
if ($extra_fields['languages_id'] == 0) {
$m = vam_draw_separator('pixel_trans.gif', '24', '15');
} else {
$m = $languages_array[$extra_fields['languages_id']]['name'];
}
?>
<tr>
<td class="main"><?php
echo $m . ' ' . $extra_fields['products_extra_fields_name'];
?>
:</td>
<td class="main"><?php
echo vam_draw_input_field("extra_field[" . $extra_fields['products_extra_fields_id'] . "]", $pInfo->extra_field[$extra_fields['products_extra_fields_id']]);
?>
</td>
</tr>
<?php
示例14: vam_db_fetch_array
$session_data = vam_db_fetch_array($session_data);
$session_data = trim($session_data['value']);
} else {
if (file_exists(vam_session_save_path() . '/sess_' . $info) && filesize(vam_session_save_path() . '/sess_' . $info) > 0) {
$session_data = file(vam_session_save_path() . '/sess_' . $info);
$session_data = trim(implode('', $session_data));
}
}
$user_session = unserialize_session_data($session_data);
if ($user_session) {
$products = vam_get_products($user_session);
for ($i = 0, $n = sizeof($products); $i < $n; $i++) {
$contents[] = array('text' => $products[$i]['quantity'] . ' x ' . $products[$i]['name']);
}
if (sizeof($products) > 0) {
$contents[] = array('text' => vam_draw_separator('pixel_black.gif', '100%', '1'));
$contents[] = array('align' => 'right', 'text' => TEXT_SHOPPING_CART_SUBTOTAL . ' ' . $user_session['cart']->total . ' ' . $user_session['currency']);
} else {
$contents[] = array('text' => ' ');
}
}
}
if (vam_not_null($heading) && vam_not_null($contents)) {
echo ' <td width="25%" valign="top">' . "\n";
$box = new box();
echo $box->infoBox($heading, $contents);
echo ' </td>' . "\n";
}
?>
</tr>
</table></td>
示例15: vam_draw_pull_down_menu
if (isset($_POST['add_product_options'])) {
$selected_attribute = $_POST['add_product_options'][$products_options_name['products_options_id']];
} else {
$selected_attribute = false;
}
echo ' <td class="dataTableContent" valign="top">' . vam_draw_pull_down_menu('add_product_options[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute) . '</td>' . "\n" . ' <td class="dataTableContent"> </td>' . "\n" . ' </tr>' . "\n" . ' <tr class="dataTableRow">' . "\n";
$i++;
}
echo ' <td class="dataTableContent"> </td>' . "\n" . ' <td class="dataTableContent" colspan="2" align="left"><span class="button"><button type="submit" value="' . TEXT_BUTTON_SELECT_OPTIONS . '">' . vam_image(DIR_WS_IMAGES . 'icons/buttons/submit.png', '', '12', '12') . ' ' . TEXT_BUTTON_SELECT_OPTIONS . '</button></span><input type="hidden" name="step" value="4"><input type="hidden" name="add_product_categories_id" value="' . $add_product_categories_id . '"><input type="hidden" name="add_product_products_id" value="' . $add_product_products_id . '">' . (isset($_POST['search']) ? '<input type="hidden" name="search" value="1"><input type="hidden" name="product_search" value="' . $_POST['product_search'] . '">' : '') . '</td>' . "\n" . ' </tr>' . "\n" . ' </form>' . "\n";
} else {
$step = 4;
echo ' <td class="dataTableContent" valign="top" colspan="2">' . TEXT_SKIP_NO_OPTIONS . '</td>' . "\n" . ' </tr>' . "\n";
}
}
if ($step > 3) {
echo ' <tr class="dataTableRow">' . "\n" . ' <td colspan="3" style="border-bottom: 1px solid #C9C9C9;">' . vam_draw_separator('pixel_trans.gif', '1', '1') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr class="dataTableRow">' . "\n" . ' <td colspan="3" style="background: #FFFFFF;">' . vam_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr class="dataTableRow">' . "\n" . ' <td colspan="3" style="border-top: 1px solid #C9C9C9;">' . vam_draw_separator('pixel_trans.gif', '1', '1') . '</td>' . "\n" . ' </tr>' . "\n" . ' <form action="' . vam_href_link(FILENAME_ORDERS_EDIT_ADD_PRODUCT, 'oID=' . $_GET['oID'] . '&action=add_product') . '" method="post">' . "\n" . ' <tr class="dataTableRow">' . "\n" . ' <td class="dataTableContent" align="right" valign="middle">' . TEXT_STEP_4 . '</td>' . "\n" . ' <td class="dataTableContent" align="left" valign="middle">' . TEXT_QUANTITY . ' <input name="add_product_quantity" size="3" value="1"></td>' . "\n" . ' <td class="dataTableContent" align="center" valign="middle"></td>' . "\n" . ' </tr>' . "\n" . ' <tr class="dataTableRow">' . "\n" . ' <td></td>' . "\n" . ' <td colspan="2"><span class="button"><button type="submit" value="' . TEXT_BUTTON_ADD_PRODUCT . '">' . vam_image(DIR_WS_IMAGES . 'icons/buttons/add.png', '', '12', '12') . ' ' . TEXT_BUTTON_ADD_PRODUCT . '</button></span>' . "\n" . ' ';
if (isset($_POST['add_product_options'])) {
foreach ($_POST['add_product_options'] as $option_id => $option_value_id) {
echo '<input type="hidden" name="add_product_options[' . $option_id . ']" value="' . $option_value_id . '">';
}
}
//b2b
echo vam_draw_hidden_field('cID', $cus_id);
//b2b
echo '<input type="hidden" name="add_product_categories_id" value="' . $add_product_categories_id . '"><input type="hidden" name="add_product_products_id" value="' . $add_product_products_id . '"><input type="hidden" name="step" value="5"></td>' . "\n" . ' </tr>' . "\n" . ' </form>' . "\n";
}
?>
</table></td>
</tr>
</table>
<!-- body_text_eof //-->