</tr>';
        echo $cline;
      }

      $curcus = '';

      // Move that ADOdb pointer!
      $result->MoveNext();
    }

    $totalAll_formated = $currencies->format($totalAll);
    $cline = '<tr></tr><td class="dataTableContent" align="right" colspan="8"><hr align="right" width="55"><b>' . TABLE_GRAND_TOTAL . '</b>' . $totalAll_formated . '</td>
                </tr>';

    echo $cline;
    echo '<tr><td colspan="8"><hr size="1" color="#000080"><b>' . PSMSG . '</b><br />' . oos_draw_textarea_field('message', 'soft', '80', '5') . '<br />' . oos_draw_selection_field('submit_button', 'submit', TEXT_SEND_EMAIL) . '</td></tr>';
?>
</form>
<?php
  }
?>

      </table>
    </td>
<!-- body_text_eof //-->
  </tr>
</table>
<!-- body_eof //-->


<?php require 'includes/oos_footer.php'; ?>
Esempio n. 2
0
    ?>
</b></td>
      </tr>
      <tr>
        <td><?php 
    echo oos_draw_separator('trans.gif', '1', '5');
    ?>
</td>
      </tr>
      <tr>
        <td class="main">
        <?php 
    if ($CommentsWithStatus) {
        echo oos_draw_textarea_field('comments', 'soft', '60', '5');
    } else {
        echo oos_draw_textarea_field('comments', 'soft', '60', '5', $order->info['comments']);
    }
    ?>
        </td>
      </tr>
      <tr>
        <td><?php 
    echo oos_draw_separator('trans.gif', '1', '10');
    ?>
</td>
      </tr>

      <tr>
        <td><table border="0" cellspacing="0" cellpadding="2">
          <tr>
            <td class="main"><b><?php 
Esempio n. 3
0
            ?>
            <tr>
              <td class="main" width="33%" valign="top"><?php 
            if ($i == 0) {
                echo TEXT_EDIT_CATEGORIES_KEYWORDS_META;
            }
            ?>
</td>
              <td><table border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td class="main" valign="top"><?php 
            echo oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']);
            ?>
&nbsp;</td>
                  <td class="main"><?php 
            echo oos_draw_textarea_field('categories_keywords_meta[' . $languages[$i]['id'] . ']', 'soft', '70', '4', $categories_keywords_meta[$languages[$i]['id']] ? stripslashes($categories_keywords_meta[$languages[$i]['id']]) : oos_get_category_keywords_meta($cInfo->categories_id, $languages[$i]['id']));
            ?>
</td>
                </tr>
              </table></td>
            </tr>
<?php 
        }
    }
    ?>
            <tr>
              <td colspan="2"><?php 
    echo oos_draw_separator('trans.gif', '1', '10');
    ?>
</td>
            </tr>
Esempio n. 4
0
     $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('save', 'save_off.gif', IMAGE_SAVE) . ' <a href="' . oos_href_link_admin($aFilename['information'], 'page=' . $_GET['page'] . '&mID=' . $_GET['mID']) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>');
     break;
 case 'edit':
     $heading[] = array('text' => '<b>' . TEXT_HEADING_EDIT_INFORMATION . '</b>');
     $contents = array('form' => oos_draw_form('information', $aFilename['information'], 'page=' . $_GET['page'] . '&mID=' . $mInfo->information_id . '&action=save', 'post', 'enctype="multipart/form-data"'));
     $contents[] = array('text' => TEXT_EDIT_INTRO);
     $informations_name_inputs_string = '';
     $informations_inputs_string = '';
     $informations_description_inputs_string = '';
     $informations_heading_title_inputs_string = '';
     $languages = oos_get_languages();
     for ($i = 0, $n = count($languages); $i < $n; $i++) {
         $informations_name_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . '&nbsp;' . oos_draw_input_field('information_name[' . $languages[$i]['id'] . ']', oos_get_informations_name($mInfo->information_id, $languages[$i]['id']));
         $informations_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . '&nbsp;' . oos_draw_input_field('information_url[' . $languages[$i]['id'] . ']', oos_get_informations_url($mInfo->information_id, $languages[$i]['id']));
         $informations_heading_title_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . '&nbsp;' . oos_draw_input_field('information_heading_title[' . $languages[$i]['id'] . ']', oos_get_informations_heading_title($mInfo->information_id, $languages[$i]['id']));
         $informations_description_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . '&nbsp;' . oos_draw_textarea_field('information_description[' . $languages[$i]['id'] . ']', 'soft', '100', '10', oos_get_informations_description($mInfo->information_id, $languages[$i]['id']));
     }
     $contents[] = array('text' => '<br />' . TEXT_INFORMATION_NAME . $informations_name_inputs_string);
     $contents[] = array('text' => '<br />' . TEXT_INFORMATION_IMAGE . '<br />' . oos_draw_file_field('information_image') . '<br />' . $mInfo->information_image);
     $contents[] = array('text' => '<br />' . TEXT_INFORMATION_URL . $informations_inputs_string);
     $contents[] = array('text' => '<br />' . TEXT_INFORMATION_HEADING_TITLE . $informations_heading_title_inputs_string);
     $contents[] = array('text' => '<br />' . TEXT_INFORMATION_DESCRIPTION . $informations_description_inputs_string);
     $contents[] = array('text' => '<br />' . TEXT_INFORMATION_SORT_ORDER . '<br />' . oos_draw_input_field('sort_order') . '<br />' . $mInfo->sort_order);
     $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('save', 'save_off.gif', IMAGE_SAVE) . ' <a href="' . oos_href_link_admin($aFilename['information'], 'page=' . $_GET['page'] . '&mID=' . $mInfo->information_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>');
     break;
 case 'delete':
     if ($mInfo->information_id > 5) {
         $heading[] = array('text' => '<b>' . TEXT_HEADING_DELETE_INFORMATION . '</b>');
         $contents = array('form' => oos_draw_form('information', $aFilename['information'], 'page=' . $_GET['page'] . '&mID=' . $mInfo->information_id . '&action=deleteconfirm'));
         $contents[] = array('text' => TEXT_DELETE_INTRO);
         $contents[] = array('text' => '<br /><b>' . $mInfo->information_name . '</b>');
Esempio n. 5
0
    ?>
</td>
          </tr>
          <tr>
            <td colspan="2"><?php 
    echo oos_draw_separator('trans.gif', '1', '10');
    ?>
</td>
          </tr>
          <tr>
            <td class="main" valign="top"><?php 
    echo TEXT_NEWSLETTER_CONTENT;
    ?>
</td>
            <td class="main"><?php 
    echo oos_draw_textarea_field('content', 'soft', '100%', '20', $nInfo->content);
    ?>
</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php 
    echo oos_draw_separator('trans.gif', '1', '10');
    ?>
</td>
      </tr>
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
          <tr>
            <td class="main" align="right"><?php 
Esempio n. 6
0
                <td class="main"><?php echo TEXT_SUBJECT; ?></td>
                <td><?php echo oos_draw_input_field('subject'); ?></td>
              </tr>
              <tr>
                <td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
              </tr>
              <tr>
                <td valign="top" class="main"><?php echo TEXT_AMOUNT; ?></td>
                <td><?php echo oos_draw_input_field('amount'); ?></td>
              </tr>
              <tr>
                <td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
              </tr>
              <tr>
                <td valign="top" class="main"><?php echo TEXT_MESSAGE; ?></td>
                <td><?php echo oos_draw_textarea_field('message', 'soft', '60', '15'); ?></td>
              </tr>
              <tr>
                <td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
              </tr>
              <tr>
                <td colspan="2" align="right"><?php echo oos_image_swap_submits('send_mail','send_mail_off.gif', IMAGE_SEND_EMAIL); ?></td>
              </tr>
            </table></td>
          </form></tr>
<?php
  }
?>
<!-- body_text_eof //-->
        </table></td>
      </tr>
    ?>
</td>
          </tr>
          <tr>
            <td colspan="2"><?php 
    echo oos_draw_separator('trans.gif', '1', '10');
    ?>
</td>
          </tr>
          <tr>
            <td valign="top" class="main"><?php 
    echo TEXT_BANNERS_HTML_TEXT;
    ?>
</td>
            <td class="main"><?php 
    echo oos_draw_textarea_field('html_text', 'soft', '60', '5', $bInfo->banners_html_text);
    ?>
</td>
          </tr>
          <tr>
            <td colspan="2"><?php 
    echo oos_draw_separator('trans.gif', '1', '10');
    ?>
</td>
          </tr>
          <tr>
            <td class="main"><?php 
    echo TEXT_BANNERS_SCHEDULED_AT;
    ?>
<br /><small>(dd/mm/yyyy)</small></td>
            <td valign="top" class="main"><script language="javascript">dateScheduled.writeControl(); dateScheduled.dateFormat="dd/MM/yyyy";</script></td>
Esempio n. 8
0
      $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('insert','insert_off.gif', IMAGE_INSERT) . ' <a href="' . oos_href_link_admin($aFilename['ticket_reply'], 'page=' . $_GET['page']) . '">' . oos_image_swap_button('cancel','cancel_off.gif', IMAGE_CANCEL) . '</a>');
      break;

    case 'edit':
      $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_EDIT_TEXT_REPLY . '</b>');

      $contents = array('form' => oos_draw_form('reply', $aFilename['ticket_reply'], 'page=' . $_GET['page'] . '&oID=' . $oInfo->ticket_reply_id  . '&action=save'));
      $contents[] = array('text' => TEXT_INFO_EDIT_INTRO);

      $ticket_reply_inputs_string = '';
      $languages = oos_get_languages();
      for ($i = 0, $n = count($languages); $i < $n; $i++) {
        $ticket_reply_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . '&nbsp;' . oos_draw_input_field('ticket_reply_name[' . $languages[$i]['id'] . ']', oos_get_ticket_reply_name($oInfo->ticket_reply_id, $languages[$i]['id']));
      }
      for ($i = 0, $n = count($languages); $i < $n; $i++) {
        $ticket_reply_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . '&nbsp;' . oos_draw_textarea_field('ticket_reply_text[' . $languages[$i]['id'] . ']','soft', 50, 10,oos_get_ticket_reply_text($oInfo->ticket_reply_id, $languages[$i]['id']));
      }

      $contents[] = array('text' => '<br />' . TEXT_INFO_TEXT_REPLY_NAME . $ticket_reply_inputs_string);
      if (TICKET_DEFAULT_REPLY_ID != $oInfo->ticket_reply_id) $contents[] = array('text' => '<br />' . oos_draw_checkbox_field('default') . ' ' . TEXT_SET_DEFAULT);
      $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('update','update_off.gif', IMAGE_UPDATE) . ' <a href="' . oos_href_link_admin($aFilename['ticket_reply'], 'page=' . $_GET['page'] . '&oID=' . $oInfo->ticket_reply_id) . '">' . oos_image_swap_button('cancel','cancel_off.gif', IMAGE_CANCEL) . '</a>');
      break;

    case 'delete':
      $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_TEXT_REPLY . '</b>');

      $contents = array('form' => oos_draw_form('reply', $aFilename['ticket_reply'], 'page=' . $_GET['page'] . '&oID=' . $oInfo->ticket_reply_id  . '&action=deleteconfirm'));
      $contents[] = array('text' => TEXT_INFO_DELETE_INTRO);
      $contents[] = array('text' => '<br /><b>' . $oInfo->ticket_reply_name . '</b>');
      $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete','delete_off.gif', IMAGE_DELETE) . ' <a href="' . oos_href_link_admin($aFilename['ticket_reply'], 'page=' . $_GET['page'] . '&oID=' . $oInfo->ticket_reply_id) . '">' . oos_image_swap_button('cancel','cancel_off.gif', IMAGE_CANCEL) . '</a>');
      break;
Esempio n. 9
0
    } else {
        echo '          <tr>' . "\n" .
             '            <td class="smallText" colspan="5">' . TEXT_NO_ORDER_HISTORY . '</td>' . "\n" .
             '          </tr>' . "\n";
    }
?>
        </table></td>
      </tr>
      <tr>
        <td class="main"><br /><b><?php echo TABLE_HEADING_COMMENTS; ?></b></td>
      </tr>
      <tr>
        <td><?php echo oos_draw_separator('trans.gif', '1', '5'); ?></td>
      </tr>
      <tr><?php echo oos_draw_form('status', $aFilename['orders'], oos_get_all_get_params(array('action')) . 'action=update_order'); ?>
        <td class="main"><?php echo oos_draw_textarea_field('comments', 'soft', '60', '5'); ?></td>
      </tr>
      <tr>
        <td><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
      </tr>
      <tr>
        <td><table border="0" cellspacing="0" cellpadding="2">
          <tr>
            <td><table border="0" cellspacing="0" cellpadding="2">
              <tr>
                <td colspan="2" class="main"><b><?php echo ENTRY_STATUS; ?></b> <?php echo oos_draw_pull_down_menu('status', $orders_statuses, $order->info['orders_status']); ?></td>
              </tr>
              <tr>
                <td class="main"><b><?php echo ENTRY_NOTIFY_CUSTOMER; ?></b> <?php echo oos_draw_checkbox_field('notify', '', false); ?></td>
                <td class="main"><b><?php echo ENTRY_NOTIFY_COMMENTS; ?></b> <?php echo oos_draw_checkbox_field('notify_comments', '', false); ?></td>
              </tr>
Esempio n. 10
0
    while ($reply = $reply_result->fields) {
        echo '            <option value="' . $reply['ticket_reply_text'] . '"';
        if (TICKET_DEFAULT_REPLY_ID == $reply['ticket_reply_id']) {
            echo ' selected';
        }
        echo '>';
        echo $reply['ticket_reply_name'] . '</option>' . "\n";
        // Move that ADOdb pointer!
        $reply_result->MoveNext();
    }
    echo '             </select>';
    echo '             <input type="button" name="insert" value="' . TEXT_INSERT . '" onclick="document.status.enquiry.value = document.status.enquiry.value + document.status.dummy.value">';
    ?>
            </td>
            <td  class="ticketSmallText" ><?php 
    echo oos_draw_textarea_field('enquiry', 'soft', 50, 15, '', 'class="ticket"');
    ?>
</td>
          </tr>
<?php 
    if ($ticket['ticket_customers_id'] > 0) {
        ?>
          <tr>
            <td colspan=2 class="main" align="left">
<?php 
        $ticket_change_login = array();
        $ticket_change_login_array = array();
        $ticket_change_login[] = array('id' => '0', 'text' => TEXT_CUSTOMER_LOGIN_NO);
        $ticket_change_login_array['0'] = TEXT_CUSTOMER_LOGIN_NO;
        $ticket_change_login[] = array('id' => '1', 'text' => TEXT_CUSTOMER_LOGIN_YES);
        $ticket_change_login_array['1'] = TEXT_CUSTOMER_LOGIN_YES;
Esempio n. 11
0
    $rInfo_array = array_merge($reviews, $products, $products_name);
    $rInfo = new objectInfo($rInfo_array);
?>
      <tr><?php echo oos_draw_form('review', $aFilename['reviews'], 'page=' . $_GET['page'] . '&rID=' . $_GET['rID'] . '&action=preview'); ?>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td class="main" valign="top"><b><?php echo ENTRY_PRODUCT; ?></b> <?php echo $rInfo->products_name; ?><br /><b><?php echo ENTRY_FROM; ?></b> <?php echo $rInfo->customers_name; ?><br /><br /><b><?php echo ENTRY_DATE; ?></b> <?php echo oos_date_short($rInfo->date_added); ?></td>
            <td class="main" align="right" valign="top"><?php echo oos_image(OOS_HTTP_SERVER . OOS_IMAGES . $rInfo->products_image, $rInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"'); ?></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><table witdh="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="main" valign="top"><b><?php echo ENTRY_REVIEW; ?></b><br /><br /><?php echo oos_draw_textarea_field('reviews_text', 'soft', '60', '15', $rInfo->reviews_text); ?></td>
          </tr>
          <tr>
            <td class="smallText" align="right"><?php echo ENTRY_REVIEW_TEXT; ?></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
      </tr>
      <tr>
        <td class="main"><b><?php echo ENTRY_RATING; ?></b>&nbsp;<?php echo TEXT_BAD; ?>&nbsp;<?php for ($i=1; $i<=5; $i++) echo oos_draw_radio_field('reviews_rating', $i, '', $rInfo->reviews_rating) . '&nbsp;'; echo TEXT_GOOD; ?></td>
      </tr>
      <tr>
        <td><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
      </tr>
 /**
  * Function to read in text area in admin
  *
  * @param $text
  * @return string
  */
  function oos_cfg_textarea($text) {
     return oos_draw_textarea_field('configuration_value', false, 35, 5, $text);
  }
Esempio n. 13
0
      $reply_result = $dbconn->Execute("SELECT ticket_reply_id, ticket_reply_name, ticket_reply_text FROM $ticket_replytable WHERE ticket_languages_id = '" . intval($_SESSION['language_id']) . "'");
      echo ' <select name="dummy" size="1">';
      while ($reply = $reply_result->fields) {
        echo '            <option value="' . $reply['ticket_reply_text'] . '"';
        if (TICKET_DEFAULT_REPLY_ID == $reply['ticket_reply_id']) echo ' selected';
        echo '>';
        echo $reply['ticket_reply_name'] . '</option>' . "\n";

        // Move that ADOdb pointer!
        $reply_result->MoveNext();
      }
      echo '             </select>';
      echo '             <input type="button" name="insert" value="' . TEXT_INSERT . '" onclick="document.status.enquiry.value = document.status.enquiry.value + document.status.dummy.value">';
?>
            </td>
            <td  class="ticketSmallText" ><?php echo oos_draw_textarea_field('enquiry', 'soft', 50, 15,'','class="ticket"'); ?></td>
          </tr>
<?php
      if ($ticket['ticket_customers_id'] > 0) {
?>
          <tr>
            <td colspan=2 class="main" align="left">
<?php

        $ticket_change_login = array();
        $ticket_change_login_array = array();
        $ticket_change_login[] = array('id' => '0', 'text' => TEXT_CUSTOMER_LOGIN_NO);
        $ticket_change_login_array['0'] = TEXT_CUSTOMER_LOGIN_NO;
        $ticket_change_login[] = array('id' => '1', 'text' => TEXT_CUSTOMER_LOGIN_YES);
        $ticket_change_login_array['1'] = TEXT_CUSTOMER_LOGIN_YES;
Esempio n. 14
0
            ?>
            <tr>
              <td class="main" width="100" valign="top"><?php 
            if ($i == 0) {
                echo TEXT_PRODUCTS_KEYWORDS_META;
            }
            ?>
</td>
              <td><table border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td class="main" valign="top"><?php 
            echo oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']);
            ?>
&nbsp;</td>
                  <td class="main"><?php 
            echo oos_draw_textarea_field('products_keywords_meta_' . $languages[$i]['id'], 'soft', '70', '4', $_POST['products_keywords_meta_' . $languages[$i]['id']] ? stripslashes($_POST['products_keywords_meta_' . $languages[$i]['id']]) : oos_get_products_keywords_meta($pInfo->products_id, $languages[$i]['id']));
            ?>
</td>
                </tr>
              </table></td>
            </tr>
<?php 
        }
    }
    ?>
          <tr>
            <td colspan="2"><?php 
    echo oos_draw_separator('trans.gif', '1', '10');
    ?>
</td>
          </tr>
Esempio n. 15
0
            <td class="main"><?php echo TEXT_NEWSLETTER_MODULE; ?></td>
            <td class="main"><?php echo oos_draw_pull_down_menu('module', $modules_array, $nInfo->module); ?></td>
          </tr>
          <tr>
            <td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
          </tr>
          <tr>
            <td class="main"><?php echo TEXT_NEWSLETTER_TITLE; ?></td>
            <td class="main"><?php echo oos_draw_input_field('title', $nInfo->title, '', true); ?></td>
          </tr>
          <tr>
            <td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
          </tr>
          <tr>
            <td class="main" valign="top"><?php echo TEXT_NEWSLETTER_CONTENT; ?></td>
            <td class="main"><?php echo oos_draw_textarea_field('content', 'soft', '100%', '20', $nInfo->content); ?></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
      </tr>
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
          <tr>
            <td class="main" align="right"><?php echo (($form_action == 'insert') ? oos_image_swap_submits('save','save_off.gif', IMAGE_SAVE) : oos_image_swap_submits('update','update_off.gif', IMAGE_UPDATE)). '&nbsp;&nbsp;<a href="' . oos_href_link_admin($aFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $_GET['nID']) . '">' . oos_image_swap_button('cancel','cancel_off.gif', IMAGE_CANCEL) . '</a>'; ?></td>
          </tr>
        </table></td>
      </form></tr>
<?php
  } elseif ($action == 'preview') {
Esempio n. 16
0
</td>
            <td class="main" align="right" valign="top"><?php 
    echo oos_image(OOS_HTTP_SERVER . OOS_IMAGES . $rInfo->products_image, $rInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"');
    ?>
</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><table witdh="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="main" valign="top"><b><?php 
    echo ENTRY_REVIEW;
    ?>
</b><br /><br /><?php 
    echo oos_draw_textarea_field('reviews_text', 'soft', '60', '15', $rInfo->reviews_text);
    ?>
</td>
          </tr>
          <tr>
            <td class="smallText" align="right"><?php 
    echo ENTRY_REVIEW_TEXT;
    ?>
</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php 
    echo oos_draw_separator('trans.gif', '1', '10');
    ?>
Esempio n. 17
0
        <td class="main"><br /><b><?php 
    echo TABLE_HEADING_COMMENTS;
    ?>
</b></td>
      </tr>
      <tr>
        <td><?php 
    echo oos_draw_separator('trans.gif', '1', '5');
    ?>
</td>
      </tr>
      <tr><?php 
    echo oos_draw_form('status', $aFilename['orders'], oos_get_all_get_params(array('action')) . 'action=update_order');
    ?>
        <td class="main"><?php 
    echo oos_draw_textarea_field('comments', 'soft', '60', '5');
    ?>
</td>
      </tr>
      <tr>
        <td><?php 
    echo oos_draw_separator('trans.gif', '1', '10');
    ?>
</td>
      </tr>
      <tr>
        <td><table border="0" cellspacing="0" cellpadding="2">
          <tr>
            <td><table border="0" cellspacing="0" cellpadding="2">
              <tr>
                <td colspan="2" class="main"><b><?php 
Esempio n. 18
0
<?php 
        }
        $languages = oos_get_languages();
        for ($i = 0, $n = count($languages); $i < $n; $i++) {
            $lang_id = $languages[$i]['id'];
            ?>

      <tr>
        <td align="left" valign="top" class="main"><?php 
            if ($i == 0) {
                echo COUPON_DESC;
            }
            ?>
</td>
        <td align="left" valign="top"><?php 
            echo oos_draw_textarea_field('coupon_desc[' . $languages[$i]['id'] . ']', 'physical', '24', '3', $coupon_desc[$lang_id]) . '&nbsp;' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']);
            ?>
</td>
        <td align="left" valign="top" class="main"><?php 
            if ($i == 0) {
                echo COUPON_DESC_HELP;
            }
            ?>
</td>
      </tr>
<?php 
        }
        ?>
      <tr>
        <td align="left" class="main"><?php 
        echo COUPON_AMOUNT;
Esempio n. 19
0
            <td class="main"><?php 
    echo TEXT_FILE_NAME;
    ?>
</td>
            <td class="main"><?php 
    echo $filename_input_field;
    ?>
</td>
          </tr>
          <tr>
            <td class="main" valign="top"><?php 
    echo TEXT_FILE_CONTENTS;
    ?>
</td>
            <td class="main"><?php 
    echo oos_draw_textarea_field('file_contents', 'soft', '80', '20', $file_contents, $file_writeable ? '' : 'readonly');
    ?>
</td>
          </tr>
          <tr>
            <td colspan="2"><?php 
    echo oos_draw_separator('trans.gif', '1', '10');
    ?>
</td>
          </tr>
          <tr>
            <td align="right" class="main" colspan="2"><?php 
    if ($file_writeable) {
        echo oos_image_swap_submits('save', 'save_off.gif', IMAGE_SAVE) . '&nbsp;';
    }
    echo '<a href="' . oos_href_link_admin($aFilename['file_manager'], 'info=' . urlencode($_GET['info'])) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>';
Esempio n. 20
0
    ?>
</td>
              </tr>
              <tr>
                <td colspan="2"><?php 
    echo oos_draw_separator('trans.gif', '1', '10');
    ?>
</td>
              </tr>
              <tr>
                <td valign="top" class="main"><?php 
    echo TEXT_MESSAGE;
    ?>
</td>
                <td><?php 
    echo oos_draw_textarea_field('message', 'soft', '60', '15');
    ?>
</td>
              </tr>
              <tr>
                <td colspan="2"><?php 
    echo oos_draw_separator('trans.gif', '1', '10');
    ?>
</td>
              </tr>
              <tr>
                <td colspan="2" align="right"><?php 
    echo oos_image_swap_submits('send_mail', 'send_mail_off.gif', IMAGE_SEND_EMAIL);
    ?>
</td>
              </tr>
Esempio n. 21
0
                <tr>
                  <td class="main" valign="top"><?php echo oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']); ?>&nbsp;</td>
                  <td class="main"><?php echo oos_draw_textarea_field('categories_description_meta[' . $languages[$i]['id'] . ']', 'soft', '70', '4', (($categories_description_meta[$languages[$i]['id']]) ? stripslashes($categories_description_meta[$languages[$i]['id']]) : oos_get_category_description_meta($cInfo->categories_id, $languages[$i]['id']))); ?></td>
                </tr>
              </table></td>
            </tr>
<?php
      }
      for ($i=0; $i < count($languages); $i++) {
?>
            <tr>
              <td class="main" width="33%" valign="top"><?php if ($i == 0) echo TEXT_EDIT_CATEGORIES_KEYWORDS_META; ?></td>
              <td><table border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td class="main" valign="top"><?php echo oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']); ?>&nbsp;</td>
                  <td class="main"><?php echo oos_draw_textarea_field('categories_keywords_meta[' . $languages[$i]['id'] . ']', 'soft', '70', '4', (($categories_keywords_meta[$languages[$i]['id']]) ? stripslashes($categories_keywords_meta[$languages[$i]['id']]) : oos_get_category_keywords_meta($cInfo->categories_id, $languages[$i]['id']))); ?></td>
                </tr>
              </table></td>
            </tr>
<?php
     }
   }
?>
            <tr>
              <td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
            </tr>
            <tr>
            <tr>
              <td class="main"><?php echo TEXT_EDIT_CATEGORIES_IMAGE; ?></td>
              <td class="main"><?php echo oos_draw_separator('trans.gif', '24', '15') . '&nbsp;' . oos_draw_file_field('categories_image') . '<br />' . oos_draw_separator('trans.gif', '24', '15') . '&nbsp;' . $cInfo->categories_image . oos_draw_hidden_field('categories_previous_image', $cInfo->categories_image); ?></td>
            </tr>