<?php 
    echo olc_draw_input_field('products_url[' . $lang_id . ']', $is_post && $products_url[$lang_id] ? stripslashes($products_url[$lang_id]) : olc_get_products_url($products_id, $lang_id), 'size=60');
    ?>
</td>
	  </tr>
	</table>
	<table width="100%" border="0">
	  <tr>
	    <td class="pageHeading" colspan="2"><b><?php 
    echo TEXT_PRODUCTS_DESCRIPTION;
    ?>
</b><br/>
<?php 
    $use_spaw = USE_SPAW == TRUE_STRING_S;
    $s = 'products_description_' . $lang_id;
    $content = $is_post && $products_description[$lang_id] ? stripslashes($products_description[$lang_id]) : olc_get_products_description($products_id, $lang_id);
    $content = str_replace('\\', EMPTY_STRING, $content);
    if ($use_spaw) {
        $sw = new SPAW_Wysiwyg($control_name = $s, $value = $content, $lang = EMPTY_STRING, $mode = 'full', $theme = 'default', $width = '100%', $height = '400px', $css_stylesheet = SPAW_STYLESHEET, $dropdown_data = EMPTY_STRING);
        $sw->show();
    } else {
        echo olc_draw_textarea_field($s, 'soft', '150', '15', $content);
    }
    ?>
	    </td>
	  </tr>
	  <tr>
	    <td class="main" width="60%" rowspan="2" valign="top">
	    	<b><?php 
    echo TEXT_PRODUCTS_SHORT_DESCRIPTION;
    ?>
Exemplo n.º 2
0
    $main_content .= '
<span class="smallText">' . $resultstring . '</span><br/><br/>
';
}
$main_content .= olc_draw_form($form_name, FILENAME_AUCTIONS_NEW, EMPTY_STRING) . $action_edit_field . $table_start;
//display_section_header(AUCTIONS_TEXT_ARTICLE);
display_section_content_line(ENTRY_CATEGORIES, $content, true);
$main_content .= $table_end_form_end;
if ($product_id) {
    $size_10 = $size . '10' . QUOTE;
    $size_50 = $size . '50' . QUOTE;
    $form_name = "auction_data";
    $templates = olc_get_templates($template_dir, true);
    $content_template = olc_draw_pull_down_menu($template_text, $templates, $template, $onchange);
    $products_description = $myproducts[$description_text];
    $products_description = $products_description ? stripslashes($products_description) : olc_get_products_description($product_id, SESSION_LANGUAGE_ID);
    if (!$predefined_data || $rebuild) {
        if ($base_price) {
            $base_price = str_replace('(', $dot_blank . AUCTIONS_TEXT_BASE_PRICE, $base_price);
            $vpe = $vpe . str_replace(RPAREN, EMPTY_STRING, ltrim($base_price));
            if ($not_ebay_express_only) {
                $vpe .= AUCTIONS_TEXT_BASE_BASE_STARTPRICE;
            }
        }
        $vpe .= DOT;
        $products_description .= $vpe;
        if (NO_TAX_RAISED) {
            $price_disclaimer = PRICE_DISCLAIMER_NO_TAX;
        } else {
            if (CUSTOMER_SHOW_PRICE_TAX) {
                $price_disclaimer = sprintf(PRICE_DISCLAIMER_INCL, $products_tax_rate);