当前位置: 首页>>代码示例>>PHP>>正文


PHP olc_image_submit函数代码示例

本文整理汇总了PHP中olc_image_submit函数的典型用法代码示例。如果您正苦于以下问题:PHP olc_image_submit函数的具体用法?PHP olc_image_submit怎么用?PHP olc_image_submit使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了olc_image_submit函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: array

     $contents[] = array('align' => 'center', $text_text => HTML_BR . olc_image_submit('button_insert.gif', IMAGE_INSERT) . BLANK . HTML_A_START . olc_href_link(FILENAME_LANGUAGES, $params) . '">' . olc_image_button('button_cancel.gif', IMAGE_CANCEL) . HTML_A_END);
     break;
 case 'edit':
     $heading[] = array($text_text => HTML_B_START . TEXT_INFO_HEADING_EDIT_LANGUAGE . HTML_B_END);
     $contents = array('form' => olc_draw_form('languages', FILENAME_LANGUAGES, $params . '&action=save'));
     $contents[] = array($text_text => TEXT_INFO_EDIT_INTRO);
     $contents[] = array($text_text => HTML_BR . TEXT_INFO_LANGUAGE_NAME . HTML_BR . olc_draw_input_field('name', $lInfo->name));
     $contents[] = array($text_text => HTML_BR . TEXT_INFO_LANGUAGE_CODE . HTML_BR . olc_draw_input_field('code', $lInfo->code));
     $contents[] = array($text_text => HTML_BR . TEXT_INFO_LANGUAGE_CHARSET . HTML_BR . olc_draw_input_field('charset', $lInfo->language_charset));
     $contents[] = array($text_text => HTML_BR . TEXT_INFO_LANGUAGE_IMAGE . HTML_BR . olc_draw_input_field('image', $lInfo->image));
     $contents[] = array($text_text => HTML_BR . TEXT_INFO_LANGUAGE_DIRECTORY . HTML_BR . olc_draw_input_field('directory', $lInfo->directory));
     $contents[] = array($text_text => HTML_BR . TEXT_INFO_LANGUAGE_SORT_ORDER . HTML_BR . olc_draw_input_field('sort_order', $lInfo->sort_order));
     if (DEFAULT_LANGUAGE != $lInfo->code) {
         $contents[] = array($text_text => HTML_BR . olc_draw_checkbox_field('default') . BLANK . TEXT_SET_DEFAULT);
     }
     $contents[] = array('align' => 'center', $text_text => HTML_BR . olc_image_submit('button_update.gif', IMAGE_UPDATE) . BLANK . HTML_A_START . olc_href_link(FILENAME_LANGUAGES, $params) . '">' . olc_image_button('button_cancel.gif', IMAGE_CANCEL) . HTML_A_END);
     break;
 case 'delete':
     $heading[] = array($text_text => HTML_B_START . TEXT_INFO_HEADING_DELETE_LANGUAGE . HTML_B_END);
     $contents[] = array($text_text => TEXT_INFO_DELETE_INTRO);
     $contents[] = array($text_text => '<br/><b>' . $lInfo->name . HTML_B_END);
     $contents[] = array('align' => 'center', $text_text => HTML_BR . ($remove_language ? HTML_A_START . olc_href_link(FILENAME_LANGUAGES, $params . '&action=deleteconfirm') . '">' . olc_image_button('button_delete.gif', IMAGE_DELETE) . HTML_A_END : EMPTY_STRING) . BLANK . HTML_A_START . olc_href_link(FILENAME_LANGUAGES, $params) . '">' . olc_image_button('button_cancel.gif', IMAGE_CANCEL) . HTML_A_END);
     break;
 default:
     if (is_object($lInfo)) {
         $heading[] = array($text_text => HTML_B_START . $lInfo->name . HTML_B_END);
         $contents[] = array('align' => 'center', $text_text => HTML_A_START . olc_href_link(FILENAME_LANGUAGES, $params . '&action=edit') . '">' . olc_image_button('button_edit.gif', IMAGE_EDIT) . HTML_A_END . BLANK . HTML_A_START . olc_href_link(FILENAME_LANGUAGES, $params . '&action=delete') . '">' . olc_image_button('button_delete.gif', IMAGE_DELETE) . HTML_A_END);
         $contents[] = array($text_text => HTML_BR . TEXT_INFO_LANGUAGE_NAME . BLANK . $lInfo->name);
         $contents[] = array($text_text => TEXT_INFO_LANGUAGE_CODE . BLANK . $lInfo->code);
         $contents[] = array($text_text => TEXT_INFO_LANGUAGE_CHARSET_INFO . BLANK . $lInfo->language_charset);
         $lang_dir = 'lang/';
开发者ID:BackupTheBerlios,项目名称:ol-commerce-svn,代码行数:31,代码来源:languages.php

示例2: olc_href_link

                } else {
                    $parameters = 'basket_id=' . $basket_id;
                    $cart_content = EMPTY_STRING;
                }
                $link = olc_href_link(CURRENT_SCRIPT, $parameters);
                $date = $basket['basket_date_added'];
                $date = substr($date, 6, 2) . DOT . substr($date, 4, 2) . DOT . substr($date, 0, 4);
                $module_content[] = array('show_order_details' => $show_order_details, 'BOX_SELECT' => olc_draw_radio_field('cart_select[]', $basket_id, $selected), 'NAME' => $basket['basket_name'], 'DATE' => $date, 'BOX_DELETE' => olc_draw_checkbox_field('cart_delete[]', $basket_id), 'LINK' => $link);
            }
        } else {
            $error_message = olc_get_smarty_config_variable($smarty, 'shopping_cart', 'text_no_saved_cart');
        }
        $cart_restore_text = 'cart_restore';
        if ($error_message) {
            $module_smarty->assign('ERROR_MESSAGE', $error_message);
        } else {
            $module_smarty->assign(MODULE_CONTENT, $module_content);
            if ($bid) {
                $MODULE_order_details_text = 'MODULE_order_details';
                $module_smarty->assign($MODULE_order_details_text, $smarty->_tpl_vars[$MODULE_order_details_text]);
                $smarty->assign($MODULE_order_details_text, EMPTY_STRING);
            }
        }
        $module_smarty->assign('FORM_ACTION', olc_draw_form($cart_restore_text, $cart_restore_text . PHP . '?process=true'));
        $module_smarty->assign('BUTTON_CONTINUE', olc_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE));
        $main_content = $module_smarty->fetch(CURRENT_TEMPLATE_MODULE . $cart_restore_text . HTML_EXT, $cache_id);
        $smarty->assign(MAIN_CONTENT, $main_content);
        require BOXES;
        $smarty->display(INDEX_HTML);
    }
}
开发者ID:BackupTheBerlios,项目名称:ol-commerce-svn,代码行数:31,代码来源:cart_restore.php

示例3: olc_draw_textarea_field

                <td valign="top" class="main"><?php 
    echo TEXT_MESSAGE;
    ?>
</td>
                <td><?php 
    echo olc_draw_textarea_field('message', 'soft', '60', '15');
    ?>
</td>
              </tr>
              <tr>
                <td colspan="2"><?php 
    echo olc_draw_separator('pixel_trans.gif', '1', '10');
    ?>
</td>
              </tr>
              <tr>
                <td colspan="2" align="right"><?php 
    echo olc_image_submit('button_send_mail.gif', IMAGE_SEND_EMAIL);
    ?>
</td>
              </tr>
            </table></td>
          </form></tr>
<?php 
}
?>
        </table></td>
      </tr>
    </table></td>
<?php 
require DIR_WS_INCLUDES . 'application_bottom.php';
开发者ID:BackupTheBerlios,项目名称:ol-commerce-svn,代码行数:31,代码来源:mail.php

示例4: Copyright

<?php

/* -----------------------------------------------------------------------------------------
$Id: add_a_quickie.php,v 1.2 2004/02/17 16:20:07 fanta2k Exp $

OL-Commerce Version 5.x/AJAX
http://www.ol-commerce.com, http://www.seifenparadies.de

Copyright (c) 2004 OL-Commerce, 2006 Dipl.-Ing.(TH) Winfried Kaiser (w.kaiser@fortune.de, info@seifenparadies.de)
-----------------------------------------------------------------------------------------
based on:
(c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
(c) 2002-2003 osCommerce(add_a_quickie.php,v 1.10 2001/12/19); www.oscommerce.com

Released under the GNU General Public License
-----------------------------------------------------------------------------------------
Third Party contribution:
Add A Quickie v1.0 Autor  Harald Ponce de Leon

Released under the GNU General Public License
---------------------------------------------------------------------------------------*/
olc_smarty_init($box_smarty, $cacheid);
$box_content = olc_draw_form('quick_add', olc_href_link('index' . PHP), 'get');
$box_smarty->assign('FORM_ACTION', $box_content);
$box_smarty->assign('INPUT_FIELD', olc_draw_hidden_field('action', 'buy_now') . olc_draw_input_field('BUYproducts_model', EMPTY_STRING, 'size=10'));
$box_smarty->assign('SUBMIT_BUTTON', olc_image_submit('button_buy_now.gif', BOX_HEADING_ADD_PRODUCT_ID));
$box_add_a_quickie = $box_smarty->fetch(CURRENT_TEMPLATE_BOXES . 'box_add_a_quickie' . HTML_EXT, $cacheid);
$smarty->assign('box_ADD_A_QUICKIE', $box_add_a_quickie);
开发者ID:BackupTheBerlios,项目名称:ol-commerce-svn,代码行数:28,代码来源:add_a_quickie.php

示例5: SPAW_Wysiwyg

        $sw = new SPAW_Wysiwyg($control_name = 'newsletter_body', $value = stripslashes($newsletters_data['body']), $lang = EMPTY_STRING, $mode = 'full', $theme = 'default', $width = '100%', $height = '800px', $css_stylesheet = SPAW_STYLESHEET, $dropdown_data = EMPTY_STRING);
        $sw->show();
        ?>
								      </td>
								   </tr>
							   </table>
							   <a href="<?php 
        echo olc_href_link(FILENAME_MODULE_NEWSLETTER);
        ?>
">
							   <?php 
        echo olc_image_button('button_back.gif', IMAGE_BACK);
        ?>
</a>
							   <right><?php 
        echo olc_image_submit('button_save.gif', IMAGE_SAVE);
        ?>
</right>
						  </form>
  <?php 
        break;
}
// end switch
?>
						</td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</td>
开发者ID:BackupTheBerlios,项目名称:ol-commerce-svn,代码行数:31,代码来源:module_newsletter.php

示例6: olc_draw_form

            </tr>
<?php 
//Medreces insert Filter categories & manufactures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
?>
            <tr class="dataTableHeadingRow"><?php 
echo olc_draw_form('filter_xsell_products', FILENAME_XSELL_PRODUCTS, $first_entrance ? '' : olc_get_all_get_params());
?>
                <td class="dataTableHeadingRow" align="left">Set Filters</td>
                <td class="smallText" align="right">
                  <?php 
echo 'to Categories:&nbsp' . olc_draw_pull_down_menu('categories_id', olc_get_category_tree(), $CATEGORIES_id);
echo '<br/>to Manufacturers:&nbsp' . olc_draw_pull_down_menu('manufacturers_id', $manufacturers_array, $MANUFACTURES_id);
?>
                </td>
				<td class="dataTableContent" align="right"><?php 
echo olc_image_submit('button_select.gif', 'GO!!!');
?>
</td>
            </form></tr>
<?php 
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
?>
          </table>
        </td>
      </tr>
      <!-- body_text //-->
      <tr><td width="100%" valign="top">
          <!-- Start of cross sale //-->
          <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td align=center>
开发者ID:BackupTheBerlios,项目名称:ol-commerce-svn,代码行数:31,代码来源:xsell_products.php

示例7: array

     $contents[] = array('text' => HTML_BR . TEXT_INFO_CUSTOMERS_STATUS_PAYMENT_UNALLOWED_INTRO . HTML_BR . ENTRY_CUSTOMERS_STATUS_PAYMENT_UNALLOWED . BLANK . olc_draw_input_field('customers_status_payment_unallowed', $cInfo->customers_status_payment_unallowed));
     $contents[] = array('text' => HTML_BR . TEXT_INFO_CUSTOMERS_STATUS_SHIPPING_UNALLOWED_INTRO . HTML_BR . ENTRY_CUSTOMERS_STATUS_SHIPPING_UNALLOWED . BLANK . olc_draw_input_field('customers_status_shipping_unallowed', $cInfo->customers_status_shipping_unallowed));
     $contents[] = array('text' => HTML_BR . TEXT_INFO_CUSTOMERS_FSK18_INTRO . HTML_BR . ENTRY_CUSTOMERS_FSK18 . BLANK . olc_draw_pull_down_menu('customers_fsk18', $customers_fsk18_array, $cInfo->customers_fsk18));
     $contents[] = array('text' => HTML_BR . TEXT_INFO_CUSTOMERS_FSK18_DISPLAY_INTRO . HTML_BR . ENTRY_CUSTOMERS_FSK18_DISPLAY . BLANK . olc_draw_pull_down_menu('customers_fsk18_display', $customers_fsk18_display_array, $cInfo->customers_fsk18_display));
     if (DEFAULT_CUSTOMERS_STATUS_ID != $cInfo->customers_status_id) {
         $contents[] = array('text' => HTML_BR . olc_draw_checkbox_field('default') . BLANK . TEXT_SET_DEFAULT);
     }
     $contents[] = array('align' => 'center', 'text' => HTML_BR . olc_image_submit('button_update.gif', IMAGE_UPDATE) . BLANK . HTML_A_START . olc_href_link(FILENAME_CUSTOMERS_STATUS, 'page=' . $_GET['page'] . '&cID=' . $cInfo->customers_status_id) . '">' . olc_image_button('button_cancel.gif', IMAGE_CANCEL) . HTML_A_END);
     break;
 case 'delete':
     $heading[] = array('text' => HTML_B_START . TEXT_INFO_HEADING_DELETE_CUSTOMERS_STATUS . HTML_B_END);
     $contents = array('form' => olc_draw_form('status', FILENAME_CUSTOMERS_STATUS, 'page=' . $_GET['page'] . '&cID=' . $cInfo->customers_status_id . '&action=deleteconfirm'));
     $contents[] = array('text' => TEXT_INFO_DELETE_INTRO);
     $contents[] = array('text' => '<br/><b>' . $cInfo->customers_status_name . HTML_B_END);
     if ($remove_status) {
         $contents[] = array('align' => 'center', 'text' => HTML_BR . olc_image_submit('button_delete.gif', IMAGE_DELETE) . BLANK . HTML_A_START . olc_href_link(FILENAME_CUSTOMERS_STATUS, 'page=' . $_GET['page'] . '&cID=' . $cInfo->customers_status_id) . '">' . olc_image_button('button_cancel.gif', IMAGE_CANCEL) . HTML_A_END);
     }
     break;
 default:
     if (is_object($cInfo)) {
         $heading[] = array('text' => HTML_B_START . $cInfo->customers_status_name . HTML_B_END);
         $contents[] = array('align' => 'center', 'text' => HTML_A_START . olc_href_link(FILENAME_CUSTOMERS_STATUS, 'page=' . $_GET['page'] . '&cID=' . $cInfo->customers_status_id . '&action=edit') . '">' . olc_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . olc_href_link(FILENAME_CUSTOMERS_STATUS, 'page=' . $_GET['page'] . '&cID=' . $cInfo->customers_status_id . '&action=delete') . '">' . olc_image_button('button_delete.gif', IMAGE_DELETE) . HTML_A_END);
         $customers_status_inputs_string = '';
         $languages = olc_get_languages();
         for ($i = 0; $i < sizeof($languages); $i++) {
             $customers_status_inputs_string .= HTML_BR . olc_image(DIR_WS_CATALOG . 'lang/' . $languages[$i]['directory'] . '/admin/images/' . $languages[$i]['image'], $languages[$i]['name']) . HTML_NBSP . olc_get_customers_status_name($cInfo->customers_status_id, $languages[$i]['id']);
         }
         $contents[] = array('text' => $customers_status_inputs_string);
         $contents[] = array('text' => HTML_BR . TEXT_INFO_CUSTOMERS_STATUS_DISCOUNT_PRICE_INTRO . HTML_BR . TEXT_INFO_CUSTOMERS_STATUS_DISCOUNT_PRICE . BLANK . $cInfo->customers_status_discount . '%');
         $contents[] = array('text' => HTML_BR . TEXT_INFO_CUSTOMERS_STATUS_DISCOUNT_OT_XMEMBER_INTRO . HTML_BR . ENTRY_OT_XMEMBER . BLANK . $customers_status_ot_discount_flag_array[$cInfo->customers_status_ot_discount_flag]['text'] . LPAREN . $cInfo->customers_status_ot_discount_flag . RPAREN . ' - ' . $cInfo->customers_status_ot_discount . '%');
         $contents[] = array('text' => HTML_BR . TEXT_INFO_CUSTOMERS_STATUS_GRADUATED_PRICES_INTRO . HTML_BR . ENTRY_GRADUATED_PRICES . BLANK . $customers_status_graduated_prices_array[$cInfo->customers_status_graduated_prices]['text'] . LPAREN . $cInfo->customers_status_graduated_prices . RPAREN);
开发者ID:BackupTheBerlios,项目名称:ol-commerce-svn,代码行数:31,代码来源:customers_status.php

示例8: olc_db_query

        echo "<option VALUE=\"" . $current_product_id . "\">" . $title;
    }
    echo "</SELECT>";
    echo "</td></tr>";
    // start change for Attribute Copy
    $copy_query = olc_db_query("SELECT DISTINCT pd.products_name, pd.products_id FROM " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS_ATTRIBUTES . " pa where pa.products_id = pd.products_id AND pd.products_id LIKE '%' AND pd.language_id = '" . SESSION_LANGUAGE_ID . "' ORDER BY pd.products_name ASC");
    if (olc_db_num_rows($copy_query)) {
        echo "<tr>";
        echo "<td class=\"main\"><br/><b>" . TEXT_SELECT_PRODUCT_COPY . "<br/></td>";
        echo "</tr>";
        echo "<tr>";
        echo "<td class=\"main\"><select name=\"copy_product_id\">";
        echo '<option value="0">' . TEXT_SELECT_PRODUCT_COPY_NO_COPY . '</option>';
        while ($copy_res = olc_db_fetch_array($copy_query, olc_db_ASSOC)) {
            echo '<option value="' . $copy_res['products_id'] . '">' . $copy_res['products_name'] . '</option>';
        }
        echo '</select></td></tr>';
        echo "<tr>";
        echo "\t<td class=\"main\">" . HTML_BR . olc_draw_checkbox_field('no_edit', TRUE_STRING_S, false) . HTML_NBSP . TEXT_ATTRIBUTES_DIRECT_STORE . "</td>";
        echo "</tr>";
        // end change for Attribute Copy
    }
    echo "<tr>";
    echo "\t<td class=\"main\"><br/>" . olc_image_submit('button_edit.gif', EMPTY_STRING) . "</td>";
    echo "</tr>";
} else {
    echo TEXT_ATTRIBUTES_NO_PRODUCTS;
}
?>
</form>
开发者ID:BackupTheBerlios,项目名称:ol-commerce-svn,代码行数:30,代码来源:new_attributes_select.php

示例9: str_replace

                            $templates_entry .= str_replace(HASH, $this_template, $templates_image);
                        }
                        $content_body .= HTML_BR . $templates_entry;
                        $templates_count++;
                    }
                }
            }
        }
    }
    closedir($dh);
    if ($templates_count == 0) {
        $subtitle = TEXT_NO_SHOP_DESIGNS;
        $action = 'return';
    } else {
        $subtitle = TEXT_NEW_SHOP_DESIGN;
        $button_continue = olc_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE);
        $action = 'process';
    }
    $content_body .= olc_draw_hidden_field('action', $action);
    $breadcrumb->add(TEXT_CHANGE_SHOP_DESIGN, olc_href_link('skin.php'));
    olc_smarty_init($module_smarty, $cacheid);
    $module_smarty->assign('FORM_ACTION', olc_draw_form($templates_dir, CURRENT_SCRIPT));
    $module_smarty->assign('CONTENT_HEADING', TEXT_CHANGE_SHOP_DESIGN . HTML_BR . $subtitle);
    $module_smarty->assign('BUTTON_CONTINUE', $button_continue);
    $module_smarty->assign('CONTENT_BODY', $content_body);
    $main_content = $module_smarty->fetch(CURRENT_TEMPLATE_MODULE . 'skin' . HTML_EXT, $cacheid);
    $smarty->assign(MAIN_CONTENT, $main_content);
    //W. Kaiser - AJAX
    require BOXES;
    $smarty->display(INDEX_HTML);
}
开发者ID:BackupTheBerlios,项目名称:ol-commerce-svn,代码行数:31,代码来源:skin.php

示例10: olc_draw_hidden_field

							</table>
						</td>
	        </tr>
	<?php 
}
?>
				</table>
			</td>
		</tr>
		<tr>
			<td>
	      <?php 
include DIR_WS_MODULES . 'group_prices.php';
?>
			</td>
		</tr>
	  <tr>
	    <td class="main" align="right">
	      <?php 
if ($have_vpe) {
    $have_vpe = TRUE_STRING_S;
} else {
    $have_vpe = FALSE_STRING_S;
}
//	      IMAGE_SAVE,'style="cursor:hand" onclick="javascript:return confirm(\''.SAVE_ENTRY.'\')"') .
echo olc_draw_hidden_field('products_date_added', $pInfo->products_date_added ? $pInfo->products_date_added : date('Y-m-d')) . olc_image_submit('button_save.gif', IMAGE_SAVE, 'style="cursor:hand" onclick="javascript:return check_product_form(' . $have_vpe . ')"') . '&nbsp;&nbsp;<a href="' . olc_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pID) . '">' . olc_image_button('button_cancel.gif', IMAGE_CANCEL) . HTML_A_END;
?>
	     </td>
	  </tr>
	</table>
</form>
开发者ID:BackupTheBerlios,项目名称:ol-commerce-svn,代码行数:31,代码来源:new_product.php

示例11: olc_image_submit

        $allow_checkout = TRUE_STRING_S;
        if ($_SESSION[$any_out_of_stock_text] == 1) {
            if (STOCK_ALLOW_CHECKOUT == TRUE_STRING_S) {
                // write permission in session
                $info_message = OUT_OF_STOCK_CAN_CHECKOUT;
            } else {
                $allow_checkout = FALSE_STRING_S;
                $info_message = OUT_OF_STOCK_CANT_CHECKOUT;
            }
        }
        $_SESSION['allow_checkout'] = $allow_checkout;
    }
    if ($info_message) {
        $smarty->assign($info_message_text, $info_message);
    }
    //W. Kaiser - AJAX
    $smarty->assign('BUTTON_RELOAD', olc_image_submit('button_update_cart.gif', IMAGE_BUTTON_UPDATE_CART, ' id="update_cart"', USE_AJAX));
    $smarty->assign('BUTTON_CHECKOUT', HTML_A_START . olc_href_link(FILENAME_CHECKOUT_SHIPPING, EMPTY_STRING, SSL) . '">' . olc_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . HTML_A_END);
    $button_action = USE_AJAX ? $button_action = "button_left()" : "history.back(1)";
    $smarty->assign('BUTTON_CONTINUE_SHOPPING', HTML_A_START . 'javascript:' . $button_action . '">' . olc_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . HTML_A_END);
    //W. Kaiser - AJAX
} else {
    // empty cart
    $cart_empty = true;
    $smarty->assign('cart_empty', $cart_empty);
    $smarty->assign('BUTTON_CONTINUE', HTML_A_START . olc_href_link(FILENAME_DEFAULT) . '">' . olc_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE));
}
$main_content = $smarty->fetch(CURRENT_TEMPLATE_MODULE . 'shopping_cart' . HTML_EXT, SMARTY_CACHE_ID);
$smarty->assign(MAIN_CONTENT, $main_content);
require BOXES;
$smarty->display(INDEX_HTML);
开发者ID:BackupTheBerlios,项目名称:ol-commerce-svn,代码行数:31,代码来源:shopping_cart.php

示例12: olc_draw_form

        } else {
            for ($customers_status_start = 1; $customers_status_start <= $customers_status_count; $customers_status_start++) {
                if ($customers_status_id == $customers_statuses_array[$customers_status_start]['id']) {
                    break;
                }
            }
            $customers_status_end = $customers_status_start;
        }
    } else {
        if ($customers_status_count - 1 > 1) {
            $customers_statuses_array[0]['text'] = TEXT_CATALOGUE_ALL_VARIATIONS;
            $main_content .= olc_draw_form('parameter', CURRENT_SCRIPT, BLANK) . HTML_BR . HTML_BR;
            $main_content .= olc_draw_hidden_field('process', TRUE_STRING_S);
            $main_content .= TEXT_INFO_HEADING_STATUS_CUSTOMER . BLANK . olc_draw_pull_down_menu('group_status', $customers_statuses_array, DEFAULT_CUSTOMERS_STATUS_ID_ADMIN) . HTML_BR . HTML_BR;
            $main_content .= '
	<p>' . olc_image_submit('button_confirm.gif', IMAGE_BUTTON_CONTINUE, 'onclick="javascript:show_message()"') . '
	</p>
</form>
<script>
var message_visible=true,style_display,style_display_show="inline",style_display_hide="none";
var message_element_style;

function show_message()
{
	message_element_style=document.getElementById("message").style;
	message_element_style.display=style_display_show;
	setInterval("toggle_visibility()", 1000);
}

function toggle_visibility()
{
开发者ID:BackupTheBerlios,项目名称:ol-commerce-svn,代码行数:31,代码来源:pdf_export_common.php

示例13: str_replace

         if (USE_AJAX) {
             $action = 'products_quantity_changed(this,"' . $form_action . '",#)';
             //$parameter.=' onkeyup='.str_replace(HASH,'false',$action);
             $parameter .= ' onchange=' . str_replace(HASH, 'true', $action);
         }
         $products_min_order_quantity = max(1, $product_info['products_min_order_quantity']);
         $qty_field = olc_draw_input_field('products_qty', $products_min_order_quantity, $parameter) . olc_draw_hidden_field('products_id', $products_id) . olc_draw_hidden_field('products_min_order_quantity', $products_min_order_quantity);
         $do_stock_check = STOCK_CHECK == TRUE_STRING_S;
         if ($do_stock_check) {
             $products_qty .= olc_draw_hidden_field('cart_stock_quantity', olc_get_products_stock($products_id));
         }
         if ($is_gallery) {
             $qty_field .= olc_draw_hidden_field($gallery_text, TRUE_STRING_S);
         }
         $info_smarty->assign('ADD_QTY', $qty_field);
         $info_smarty->assign('ADD_CART_BUTTON', olc_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART, ' id="update_cart" align="middle"', USE_AJAX));
         if ($is_gallery) {
             $info_smarty->assign('ABORT_BUTTON', HTML_A_START . olc_href_link(FILENAME_GALLERY) . '">' . olc_image(CURRENT_TEMPLATE_BUTTONS . 'button_back.gif', IMAGE_BUTTON_CANCEL, EMPTY_STRING, EMPTY_STRING)) . HTML_A_END;
         }
         //W. Kaiser - AJAX
     }
 }
 //	W. Kaiser	chCounter inclusion
 if ($not_is_gallery_and_not_isprint_version) {
     if (CHCOUNTER_ACTIVE) {
         //chCounter for shop statistics -- http://www.christoph-bachner.net/chcounter
         //The "chCounter"-Pakage must be separately installed and configured.
         //(into the shop's "chCounter"directory)
         //http://www.christoph-bachner.net/chcounter
         /*
         $chCounter=DIR_FS_DOCUMENT_ROOT . 'chCounter/counter.php';
开发者ID:BackupTheBerlios,项目名称:ol-commerce-svn,代码行数:31,代码来源:product_info.php

示例14: olc_oe_get_options_name

    echo olc_oe_get_options_name($products['options_id']);
    ?>
</td>
<td class="dataTableContent"><?php 
    echo olc_oe_get_options_values_name($products['options_values_id']);
    ?>
</td>
<td class="dataTableContent">
<?php 
    echo olc_draw_hidden_field('options_values_price', $products['options_values_price']);
    echo $options_values_price;
    ?>
</td>
<td class="dataTableContent">
<?php 
    echo olc_image_submit('button_insert.gif', TEXT_EDIT, 'style="cursor:hand" ');
    ?>
</form>
</td>
</tr>
<?php 
}
?>
</table>

<br/><br/>
<!-- Artikel Einfügen Ende //-->



开发者ID:BackupTheBerlios,项目名称:ol-commerce-svn,代码行数:27,代码来源:orders_edit_options.php

示例15: olc_image

            $manufacturer_inputs_string .= HTML_BR . olc_image(DIR_WS_LANGUAGES . $languages[$i]['directory'] . '/admin/images/' . $languages[$i]['image'], $languages[$i]['name']) . HTML_NBSP . olc_draw_input_field('manufacturers_url[' . $languages[$i]['id'] . ']', olc_get_manufacturer_url($mInfo->manufacturers_id, $languages[$i]['id']), $field_size);
        }
        $contents[] = array('text' => HTML_BR . TEXT_MANUFACTURERS_URL . $manufacturer_inputs_string);
        $contents[] = array('align' => 'center', 'text' => HTML_BR . olc_image_submit('button_save.gif', IMAGE_SAVE) . BLANK . HTML_A_START . olc_href_link(FILENAME_MANUFACTURERS, $page_parameter . '&mID=' . $mInfo->manufacturers_id) . '">' . olc_image_button('button_cancel.gif', IMAGE_CANCEL) . HTML_A_END);
        break;
    case 'delete':
        $heading[] = array('text' => HTML_B_START . TEXT_HEADING_DELETE_MANUFACTURER . HTML_B_END);
        $contents = array('form' => olc_draw_form('manufacturers', FILENAME_MANUFACTURERS, $page_parameter . '&mID=' . $mInfo->manufacturers_id . '&action=deleteconfirm'));
        $contents[] = array('text' => TEXT_DELETE_INTRO);
        $contents[] = array('text' => '<br/><b>' . $mInfo->manufacturers_name . HTML_B_END);
        $contents[] = array('text' => HTML_BR . olc_draw_checkbox_field('delete_image', '', true) . BLANK . TEXT_DELETE_IMAGE);
        if ($mInfo->products_count > 0) {
            $contents[] = array('text' => HTML_BR . olc_draw_checkbox_field('delete_products') . BLANK . TEXT_DELETE_PRODUCTS);
            $contents[] = array('text' => HTML_BR . sprintf(TEXT_DELETE_WARNING_PRODUCTS, $mInfo->products_count));
        }
        $contents[] = array('align' => 'center', 'text' => HTML_BR . olc_image_submit('button_delete.gif', IMAGE_DELETE) . BLANK . HTML_A_START . olc_href_link(FILENAME_MANUFACTURERS, $page_parameter . '&mID=' . $mInfo->manufacturers_id) . '">' . olc_image_button('button_cancel.gif', IMAGE_CANCEL) . HTML_A_END);
        break;
    default:
        if (is_object($mInfo)) {
            $heading[] = array('text' => HTML_B_START . $mInfo->manufacturers_name . HTML_B_END);
            $contents[] = array('align' => 'center', 'text' => HTML_A_START . olc_href_link(FILENAME_MANUFACTURERS, $page_parameter . '&mID=' . $mInfo->manufacturers_id . '&action=edit') . '">' . olc_image_button('button_edit.gif', IMAGE_EDIT) . '</a>
			<a href="' . olc_href_link(FILENAME_MANUFACTURERS, $page_parameter . '&mID=' . $mInfo->manufacturers_id . '&action=delete') . '">' . olc_image_button('button_delete.gif', IMAGE_DELETE) . HTML_A_END);
            $contents[] = array('text' => HTML_BR . TEXT_DATE_ADDED . BLANK . olc_date_short($mInfo->date_added));
            if (olc_not_null($mInfo->last_modified)) {
                $contents[] = array('text' => TEXT_LAST_MODIFIED . BLANK . olc_date_short($mInfo->last_modified));
            }
            $contents[] = array('text' => HTML_BR . olc_info_image($mInfo->manufacturers_image, $mInfo->manufacturers_name));
            $contents[] = array('text' => HTML_BR . TEXT_PRODUCTS . BLANK . $mInfo->products_count);
        }
        break;
}
开发者ID:BackupTheBerlios,项目名称:ol-commerce-svn,代码行数:31,代码来源:manufacturers.php


注:本文中的olc_image_submit函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。