本文整理汇总了PHP中zen_draw_input_field函数的典型用法代码示例。如果您正苦于以下问题:PHP zen_draw_input_field函数的具体用法?PHP zen_draw_input_field怎么用?PHP zen_draw_input_field使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了zen_draw_input_field函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: credit_selection
function credit_selection()
{
global $discount_coupon;
global $db;
// note the placement of the redeem code can be moved within the array on the instructions or the title
$selection = array('id' => $this->code, 'module' => $this->title, 'redeem_instructions' => MODULE_ORDER_TOTAL_COUPON_REDEEM_INSTRUCTIONS . ($discount_coupon->fields['coupon_code'] != '' ? MODULE_ORDER_TOTAL_COUPON_REMOVE_INSTRUCTIONS : ''), 'fields' => array(array('title' => ($discount_coupon->fields['coupon_code'] != '' ? MODULE_ORDER_TOTAL_COUPON_TEXT_CURRENT_CODE . '<a href="javascript:couponpopupWindow(\'' . zen_href_link(FILENAME_POPUP_COUPON_HELP, 'cID=' . $_SESSION['cc_id']) . '\')">' . $discount_coupon->fields['coupon_code'] . '</a><br />' : '') . MODULE_ORDER_TOTAL_COUPON_TEXT_ENTER_CODE, 'field' => zen_draw_input_field('dc_redeem_code', '', 'id="disc-' . $this->code . '" onchange="submitFunction(0,0)"'), 'tag' => 'disc-' . $this->code)));
return $selection;
}
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:8,代码来源:ot_coupon.php
示例2: selection
public function selection()
{
global $order;
for ($i = 1; $i < 13; $i++) {
$expires_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B - (%m)', mktime(0, 0, 0, $i, 1, 2000)));
}
$today = getdate();
for ($i = $today['year']; $i < $today['year'] + 15; $i++) {
$expires_year[] = array('id' => strftime('%y', mktime(0, 0, 0, 1, 1, $i)), 'text' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i)));
}
$onFocus = ' onfocus="methodSelect(\'pmt-' . $this->code . '\')"';
$selection = array('id' => $this->code, 'module' => $this->title, 'fields' => array(array('title' => MODULE_PAYMENT_CHECKOUTAPIPAYMENT_CREDITCARD_OWNER, 'field' => zen_draw_input_field('checkoutapipayment_cc_owner', $order->billing['firstname'] . ' ' . $order->billing['lastname'], 'id="' . $this->code . '-cc-owner"' . $onFocus . ' autocomplete="off"'), 'tag' => $this->code . '-cc-owner'), array('title' => MODULE_PAYMENT_CHECKOUTAPIPAYMENT_CREDITCARD_NUMBER, 'field' => zen_draw_input_field('checkoutapipayment_cc_number', $ccnum, 'id="' . $this->code . '-cc-number"' . $onFocus . ' autocomplete="off"'), 'tag' => $this->code . '-cc-number'), array('title' => MODULE_PAYMENT_CHECKOUTAPIPAYMENT_CREDITCARD_EXPIRY, 'field' => zen_draw_pull_down_menu('checkoutapipayment_cc_expires_month', $expires_month, strftime('%m'), 'id="' . $this->code . '-cc-expires-month"' . $onFocus) . ' ' . zen_draw_pull_down_menu('checkoutapipayment_cc_expires_year', $expires_year, '', 'id="' . $this->code . '-cc-expires-year"' . $onFocus), 'tag' => $this->code . '-cc-expires-month'), array('title' => MODULE_PAYMENT_CHECKOUTAPIPAYMENT_CREDITCARD_CVC, 'field' => zen_draw_input_field('checkoutapipayment_cc_cvv', '', 'size="4" maxlength="4"' . ' id="' . $this->code . '-cc-cvv"' . $onFocus . ' autocomplete="off"') . ' ' . '<a href="javascript:popupWindow(\'' . zen_href_link(FILENAME_POPUP_CVV_HELP) . '\')">' . MODULE_PAYMENT_CHECKOUTAPIPAYMENT_TEXT_POPUP_CVV_LINK . '</a>', 'tag' => $this->code . '-cc-cvv')));
return $selection;
}
开发者ID:avish-bisbeehurry-cko,项目名称:checkout-zencart-plugin,代码行数:14,代码来源:creditcardpci.php
示例3: selection
function selection()
{
$mobile_base[] = array('id' => '@docomo.ne.jp', 'text' => '@docomo.ne.jp');
$mobile_base[] = array('id' => '@ezweb.ne.jp', 'text' => '@ezweb.ne.jp');
$mobile_base[] = array('id' => '@softbank.ne.jp', 'text' => '@softbank.ne.jp');
$mobile_base[] = array('id' => '@d.vodafone.ne.jp', 'text' => '@d.vodafone.ne.jp');
$mobile_base[] = array('id' => '@h.vodafone.ne.jp', 'text' => '@h.vodafone.ne.jp');
$mobile_base[] = array('id' => '@t.vodafone.ne.jp', 'text' => '@t.vodafone.ne.jp');
$mobile_base[] = array('id' => '@c.vodafone.ne.jp', 'text' => '@c.vodafone.ne.jp');
$mobile_base[] = array('id' => '@r.vodafone.ne.jp', 'text' => '@r.vodafone.ne.jp');
$mobile_base[] = array('id' => '@k.vodafone.ne.jp', 'text' => '@k.vodafone.ne.jp');
$mobile_base[] = array('id' => '@n.vodafone.ne.jp', 'text' => '@n.vodafone.ne.jp');
$mobile_base[] = array('id' => '@s.vodafone.ne.jp', 'text' => '@s.vodafone.ne.jp');
$mobile_base[] = array('id' => '@q.vodafone.ne.jp', 'text' => '@q.vodafone.ne.jp');
return array('id' => $this->code, 'module' => $this->title, 'fields' => array(array('title' => MODULE_PAYMENT_DIGITALCHECK_EDY_TEXT_MOBILE_EMAIL, 'field' => zen_draw_input_field('digitalcheck_edy_mobile_email', $_SESSION[$this->code . '-mobile-email'], 'id="' . $this->code . '-mobile-email" size="10"') . zen_draw_pull_down_menu('digitalcheck_edy_mobile_base', $mobile_base, $_SESSION[$this->code . '-mobile-base'], 'id="' . $this->code . '-mobile-base"'), 'tag' => $this->code . '-mobile-email')));
}
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:16,代码来源:digitalcheck_edy.php
示例4: selection
function selection()
{
global $order;
if (MODULE_PAYMENT_GOFPAY_MODE == "Api") {
$expires_month[] = array("id" => "", "text" => MODULE_PAYMENT_GOFPAY_TEXT_MONTH);
$expires_year[] = array("id" => "", "text" => MODULE_PAYMENT_GOFPAY_TEXT_YEAR);
for ($i = 1; $i < 13; $i++) {
$expires_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%m', mktime(0, 0, 0, $i, 1, 2000)));
}
$today = getdate();
for ($i = $today['year']; $i < $today['year'] + 24; $i++) {
$expires_year[] = array('id' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i)), 'text' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i)));
}
$onFocus = ' onfocus="methodSelect(\'pmt-' . $this->code . '\')"';
$selection = array('id' => $this->code, 'module' => str_replace('*', rtrim(MODULE_PAYMENT_GOFPAY_HANDLER, '/') . '/tools/logos?websiteid=' . MODULE_PAYMENT_GOFPAY_WEBSITE_ID . '&size=middle&transparent=true', MODULE_PAYMENT_GOFPAY_TEXT_CATALOG_LOGO), 'fields' => array(array('title' => MODULE_PAYMENT_GOFPAY_TEXT_CREDIT_CARD_NUMBER, 'field' => zen_draw_input_field('cardNo', '', 'id="' . $this->code . '-cardNo" maxlength="16"' . $onFocus), 'tag' => $this->code . '-cardNo'), array('title' => MODULE_PAYMENT_GOFPAY_TEXT_CREDIT_CARD_EXPIRES, 'field' => zen_draw_pull_down_menu('expires_month', $expires_month, '-------', 'id="' . $this->code . '-expires-month"' . $onFocus) . zen_draw_pull_down_menu('expires_year', $expires_year, '-------', 'id="' . $this->code . '-expires-year"' . $onFocus) . zen_draw_hidden_field('mypretime', '0'), 'tag' => $this->code . '-expires-month'), array('title' => MODULE_PAYMENT_GOFPAY_TEXT_CREDIT_CARD_CVV, 'field' => zen_draw_input_field('cvv', '', ' id="' . $this->code . '-cvv" size="3" maxlength="3"' . $onFocus) . MODULE_PAYMENT_GOFPAY_TEXT_CREDIT_CARD_EXPIRES_WHATISTHIS, 'tag' => $this->code . '-cvv')));
return $selection;
} else {
return array('id' => $this->code, 'module' => str_replace('*', rtrim(MODULE_PAYMENT_GOFPAY_HANDLER, '/') . '/tools/logos?websiteid=' . MODULE_PAYMENT_GOFPAY_WEBSITE_ID . '&size=middle&transparent=true', MODULE_PAYMENT_GOFPAY_TEXT_CATALOG_LOGO), 'icon' => MODULE_PAYMENT_GUFPAY_TEXT_CATALOG_LOGO);
}
}
开发者ID:gofpay,项目名称:zencart-coupon,代码行数:20,代码来源:gofpay.php
示例5: selection
function selection()
{
global $order;
$expireMonths = array();
for ($i = 1; $i < 13; $i++) {
$expireMonths[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B', mktime(0, 0, 0, $i, 1, 2000)));
}
$today = getdate();
$expireYears = array();
for ($i = $today['year']; $i < $today['year'] + 15; $i++) {
$expireYears[] = array('id' => strftime('%y', mktime(0, 0, 0, 1, 1, $i)), 'text' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i)));
}
$selection = array('id' => $this->code, 'module' => $this->title, 'fields' => array(array('title' => tra('Name On Card'), 'field' => zen_draw_input_field('cc_owner', $order->billing['firstname'] . ' ' . $order->billing['lastname'])), array('field' => '<div class="row"><div class="col-xs-8 col-sm-8"><label class="control-label">' . tra('Card Number') . '</label>' . zen_draw_input_field('cc_number', BitBase::getParameter($_SESSION, 'cc_number'), NULL, 'number') . '</div><div class="col-xs-4 col-sm-4"><label class="control-label"><i class="icon-credit-card"></i> ' . tra('CVV Number') . '</label>' . zen_draw_input_field('cc_cvv', BitBase::getParameter($_SESSION, 'cc_cvv'), NULL, 'number') . '</div></div>'), array('title' => tra('Expiration Date'), 'field' => '<div class="row"><div class="col-xs-7 col-sm-9">' . zen_draw_pull_down_menu('cc_expires_month', $expireMonths, BitBase::getParameter($_SESSION, 'cc_expires_month'), ' class="input-small" ') . '</div><div class="col-xs-5 col-sm-3">' . zen_draw_pull_down_menu('cc_expires_year', $expireYears, substr(BitBase::getParameter($_SESSION, 'cc_expires_year', date('Y') + 1), -2), ' class="input-small" ') . '</div></div>')));
if (!empty($_SESSION[$this->code . '_error']['name'])) {
$selection['fields'][0]['error'] = $_SESSION[$this->code . '_error']['name'];
}
if (!empty($_SESSION[$this->code . '_error']['number'])) {
$selection['fields'][1]['error'] = $_SESSION[$this->code . '_error']['number'];
}
if (!empty($_SESSION[$this->code . '_error']['date'])) {
$selection['fields'][2]['error'] = $_SESSION[$this->code . '_error']['date'];
}
return $selection;
}
开发者ID:bitweaver,项目名称:commerce,代码行数:24,代码来源:payflowpro.php
示例6: zen_draw_checkbox_field
// confirm checkbox
$outputCapt .= MODULE_PAYMENT_LINKPOINT_API_TEXT_CAPTURE_CONFIRM_CHECK . zen_draw_checkbox_field('captconfirm', '', false) . '<br />';
// comment field
$outputCapt .= '<br />' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_CAPTURE_TEXT_COMMENTS . '<br />' . zen_draw_textarea_field('captnote', 'soft', '50', '2', MODULE_PAYMENT_LINKPOINT_API_ENTRY_CAPTURE_DEFAULT_MESSAGE);
// message text
$outputCapt .= '<br />' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_CAPTURE_SUFFIX;
$outputCapt .= '<br /><input type="submit" name="btndocapture" value="' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_CAPTURE_BUTTON_TEXT . '" title="' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_CAPTURE_BUTTON_TEXT . '" />';
$outputCapt .= '</form>';
$outputCapt .= '</td></tr></table></td>' . "\n";
}
if (method_exists($this, '_doVoid')) {
$outputVoid .= '<td valign="top"><table class="noprint">' . "\n";
$outputVoid .= '<tr style="background-color : #dddddd; border-style : dotted;">' . "\n";
$outputVoid .= '<td class="main">' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_TITLE . '<br />' . "\n";
$outputVoid .= zen_draw_form('lpapivoid', FILENAME_ORDERS, zen_get_all_get_params(array('action')) . 'action=doVoid', 'post', '', true) . zen_hide_session_id();
$outputVoid .= MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID . zen_draw_input_field('voidauthid', MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_DEFAULT_TEXT, 'length="32"');
$outputVoid .= '<br />' . MODULE_PAYMENT_LINKPOINT_API_TEXT_VOID_CONFIRM_CHECK . zen_draw_checkbox_field('voidconfirm', '', false);
// comment field
$outputVoid .= '<br /><br />' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_TEXT_COMMENTS . '<br />' . zen_draw_textarea_field('voidnote', 'soft', '50', '3', MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_DEFAULT_MESSAGE);
// message text
$outputVoid .= '<br />' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_SUFFIX;
// confirm checkbox
$outputVoid .= '<br /><input type="submit" name="ordervoid" value="' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_BUTTON_TEXT . '" title="' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_BUTTON_TEXT . '" />';
$outputVoid .= '</form>';
$outputVoid .= '</td></tr></table></td>' . "\n";
}
// prepare output based on suitable content components
if (defined('MODULE_PAYMENT_LINKPOINT_API_STATUS') && MODULE_PAYMENT_LINKPOINT_API_STATUS != '') {
$output = '<!-- BOF: lpapi admin transaction processing tools -->';
$output .= $outputStartBlock;
// debug
开发者ID:wwxgitcat,项目名称:zencart_v1.0,代码行数:31,代码来源:linkpoint_api_admin_notification.php
示例7: zen_draw_input_field
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<th><?php
echo MODULE_EASY_ADMIN_PRODUCTS_CATEGORIES_SEARCH_CATEGORIES_NAME;
?>
</th>
<td><?php
echo zen_draw_input_field('search_name', $_REQUEST['search_name']);
?>
</td>
<th><?php
echo MODULE_EASY_ADMIN_PRODUCTS_CATEGORIES_SEARCH_CATEGORIES_DESCRIPTION;
?>
</th>
<td><?php
echo zen_draw_input_field('search_description', $_REQUEST['search_description']);
?>
</td>
</tr>
<tr>
<td colspan="4" class="submit"><input type="image" src="<?php
echo MODULE_EASY_ADMIN_PRODUCTS_SEARCH_BTN;
?>
" alt="<?php
echo MODULE_EASY_ADMIN_PRODUCTS_SEARCH;
?>
" /></td>
</tr>
</table>
</div>
</form>
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:31,代码来源:search.php
示例8: zen_draw_separator
?>
</td>
</tr>
<tr>
<td colspan="2"><?php
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td class="main"><?php
echo TEXT_PRODUCTS_SORT_ORDER;
?>
</td>
<td class="main"><?php
echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_input_field('products_sort_order', $pInfo->products_sort_order);
?>
</td>
</tr>
</table></td>
</tr>
<tr>
<td><?php
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td class="main" align="right"><?php
echo zen_draw_hidden_field('products_date_added', zen_not_null($pInfo->products_date_added) ? $pInfo->products_date_added : date('Y-m-d')) . (isset($_GET['search']) && !empty($_GET['search']) ? zen_draw_hidden_field('search', $_GET['search']) : '') . (isset($_POST['search']) && !empty($_POST['search']) && empty($_GET['search']) ? zen_draw_hidden_field('search', $_POST['search']) : '') . zen_image_submit('button_preview.gif', IMAGE_PREVIEW) . ' <a href="' . zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . (isset($_GET['pID']) ? '&pID=' . $_GET['pID'] : '') . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '') . (isset($_GET['search']) && !empty($_GET['search']) ? '&search=' . $_GET['search'] : '') . (isset($_POST['search']) && !empty($_POST['search']) && empty($_GET['search']) ? '&search=' . $_POST['search'] : '')) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>';
?>
开发者ID:kirkbauer2,项目名称:kirkzc,代码行数:31,代码来源:collect_info.php
示例9: zen_draw_file_field
function zen_draw_file_field($name, $required = false)
{
$field = zen_draw_input_field($name, '', ' size="50" ', 'file');
return $field;
}
开发者ID:ZenMagick,项目名称:zc-base,代码行数:5,代码来源:html_output.php
示例10: zen_draw_input_field
?>
</label>
<?php
echo zen_draw_input_field('state', $selectedState, zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_state', '40') . ' id="state"') . ' <span class="alert" id="stText"> </span>';
?>
<br class="clearBoth" />
<?php
if (CART_SHIPPING_METHOD_ZIP_REQUIRED == "true") {
?>
<label class="inputLabel"><?php
echo ENTRY_POST_CODE;
?>
</label>
<?php
echo zen_draw_input_field('zip_code', $zip_code, 'size="7"');
?>
<br class="clearBoth" />
<?php
}
?>
<div class="buttonRow forward"><?php
echo zen_image_submit(BUTTON_IMAGE_UPDATE, BUTTON_UPDATE_ALT);
?>
</div>
<br class="clearBoth" />
<?php
}
}
if ($_SESSION['cart']->get_content_type() == 'virtual') {
echo CART_SHIPPING_METHOD_FREE_TEXT . ' ' . CART_SHIPPING_METHOD_ALL_DOWNLOADS;
开发者ID:wwxgitcat,项目名称:zencart_v1.0,代码行数:31,代码来源:tpl_modules_shipping_estimator.php
示例11: zen_draw_separator
?>
</td>
</tr>
<tr>
<td colspan="2"><?php
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td class="main"><?php
echo TEXT_PRODUCTS_SORT_ORDER;
?>
</td>
<td class="main"><?php
echo zen_draw_input_field('products_sort_order', $pInfo->products_sort_order);
?>
</td>
</tr>
</table></td>
</tr>
<tr>
<td><?php
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td class="main" align="right"><?php
echo zen_draw_hidden_field('products_date_added', zen_not_null($pInfo->products_date_added) ? $pInfo->products_date_added : date('Y-m-d')) . zen_image_submit('button_preview.gif', IMAGE_PREVIEW) . ' <a href="' . zen_href_link_admin(FILENAME_CATEGORIES, 'cPath=' . $cPath . (isset($_GET['pID']) ? '&pID=' . $_GET['pID'] : '') . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '')) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>';
?>
开发者ID:bitweaver,项目名称:commerce,代码行数:31,代码来源:collect_info.php
示例12: zen_draw_form
</div>
<?php
echo zen_draw_form('login', zen_href_link(FILENAME_LOGIN, 'action=process', 'SSL'));
?>
<fieldset>
<legend><?php
echo HEADING_RETURNING_CUSTOMER;
?>
</legend>
<label class="inputLabel" for="login-email-address"><?php
echo ENTRY_EMAIL_ADDRESS;
?>
</label>
<?php
echo zen_draw_input_field('email_address', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_email_address', '40') . ' id="login-email-address"');
?>
<br class="clearBoth" />
<label class="inputLabel" for="login-password"><?php
echo ENTRY_PASSWORD;
?>
</label>
<!-- modified by zen-cart.cn //-->
<?php
echo zen_draw_password_field('password', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password', '40') . ' id="login-password"');
?>
<br class="clearBoth" />
<?php
echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']);
?>
开发者ID:dalinhuang,项目名称:cameras,代码行数:31,代码来源:tpl_time_out_default.php
示例13: zen_image
<td><table border="3" cellspacing="4" cellpadding="6">
<tr>
<td class="main" colspan="2">
<?php
echo zen_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ' . '<strong>' . TEXT_PRODUCTS_NAME . '</strong>' . ' ' . zen_get_products_name($_GET['pID'], $languages[$i]['id']) . ' <strong>' . TEXT_PRODUCTS_MODEL . '</strong> ' . $pInfo->products_model . ' <strong>' . TEXT_PRODUCTS_PRICE_INFO . '</strong> ' . $currencies->format($pInfo->products_price_sorter);
?>
</td>
</tr>
<tr>
<td class="main"valign="top"><?php
echo TEXT_META_TAGS_TITLE;
?>
</td>
<td class="main">
<?php
echo zen_draw_input_field('metatags_title[' . $languages[$i]['id'] . ']', isset($metatags_title[$languages[$i]['id']]) ? stripslashes($metatags_title[$languages[$i]['id']]) : zen_get_metatags_title($pInfo->products_id, $languages[$i]['id']), zen_set_field_length(TABLE_META_TAGS_PRODUCTS_DESCRIPTION, 'metatags_title', '150', false));
//,'id="'.'metatags_title' . $languages[$i]['id'] . '"');
?>
</td>
</tr>
<tr>
<td class="main"valign="top"><?php
echo TEXT_META_TAGS_KEYWORDS;
?>
</td>
<td class="main">
<?php
echo zen_draw_textarea_field('metatags_keywords[' . $languages[$i]['id'] . ']', 'soft', '100%', '10', isset($metatags_keywords[$languages[$i]['id']]) ? stripslashes($metatags_keywords[$languages[$i]['id']]) : zen_get_metatags_keywords($pInfo->products_id, $languages[$i]['id']));
//,'id="'.'metatags_keywords' . $languages[$i]['id'] . '"');
?>
</td>
开发者ID:andychang88,项目名称:daddy-store.com,代码行数:31,代码来源:collect_info_metatags.php
示例14: empty
<?php
// BEGIN newsletter subscribe mod 1/1
$addr = empty($_REQUEST['addr']) ? '' : $_REQUEST['addr'];
if ($definedpage && file_exists($definedpage)) {
require $definedpage;
} else {
echo $unsubscribe_address == '' ? UNSUBSCRIBE_TEXT_NO_ADDRESS_GIVEN : UNSUBSCRIBE_TEXT_INFORMATION;
}
?>
<div class="buttonRow forward">
<?php
$content = '';
$content .= zen_draw_form(FILENAME_UNSUBSCRIBE, zen_href_link(FILENAME_UNSUBSCRIBE, '', 'SSL'), 'get', '');
$content .= zen_draw_hidden_field('action', 'unsubscribe');
$content .= zen_draw_hidden_field('main_page', FILENAME_UNSUBSCRIBE);
$content .= zen_draw_input_field('addr', $addr, 'style="width:20em;"');
$content .= ' ' . zen_image_submit(BUTTON_IMAGE_UNSUBSCRIBE, BUTTON_UNSUBSCRIBE) . ' ';
echo $content;
?>
</form>
</div>
<?php
// END newsletter subscribe mod 1/1
?>
<?php
} elseif (isset($_GET['action']) && $_GET['action'] == 'unsubscribe') {
?>
<h1 id="unsubDefaultHeading"><?php
echo HEADING_TITLE;
?>
开发者ID:andychang88,项目名称:daddy-store.com,代码行数:31,代码来源:tpl_unsubscribe_default.php
示例15: array
$contents = array();
switch ($action) {
case 'new':
$heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_NEW_TAX_CLASS . '</b>');
$contents = array('form' => zen_draw_form('classes', FILENAME_TAX_CLASSES, 'page=' . $_GET['page'] . '&action=insert'));
$contents[] = array('text' => TEXT_INFO_INSERT_INTRO);
$contents[] = array('text' => '<br>' . TEXT_INFO_CLASS_TITLE . '<br>' . zen_draw_input_field('tax_class_title', '', zen_set_field_length(TABLE_TAX_CLASS, 'tax_class_title')));
$contents[] = array('text' => '<br>' . TEXT_INFO_CLASS_DESCRIPTION . '<br>' . zen_draw_input_field('tax_class_description', '', zen_set_field_length(TABLE_TAX_CLASS, 'tax_class_description')));
$contents[] = array('align' => 'center', 'text' => '<br>' . zen_image_submit('button_insert.gif', IMAGE_INSERT) . ' <a href="' . zen_href_link(FILENAME_TAX_CLASSES, 'page=' . $_GET['page']) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
case 'edit':
$heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_EDIT_TAX_CLASS . '</b>');
$contents = array('form' => zen_draw_form('classes', FILENAME_TAX_CLASSES, 'page=' . $_GET['page'] . '&tID=' . $tcInfo->tax_class_id . '&action=save'));
$contents[] = array('text' => TEXT_INFO_EDIT_INTRO);
$contents[] = array('text' => '<br>' . TEXT_INFO_CLASS_TITLE . '<br>' . zen_draw_input_field('tax_class_title', $tcInfo->tax_class_title, zen_set_field_length(TABLE_TAX_CLASS, 'tax_class_title')));
$contents[] = array('text' => '<br>' . TEXT_INFO_CLASS_DESCRIPTION . '<br>' . zen_draw_input_field('tax_class_description', $tcInfo->tax_class_description, zen_set_field_length(TABLE_TAX_CLASS, 'tax_class_description')));
$contents[] = array('align' => 'center', 'text' => '<br>' . zen_image_submit('button_update.gif', IMAGE_UPDATE) . ' <a href="' . zen_href_link(FILENAME_TAX_CLASSES, 'page=' . $_GET['page'] . '&tID=' . $tcInfo->tax_class_id) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
case 'delete':
$heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_TAX_CLASS . '</b>');
$contents = array('form' => zen_draw_form('classes', FILENAME_TAX_CLASSES, 'page=' . $_GET['page'] . '&tID=' . $tcInfo->tax_class_id . '&action=deleteconfirm'));
$contents[] = array('text' => TEXT_INFO_DELETE_INTRO);
$contents[] = array('text' => '<br><b>' . $tcInfo->tax_class_title . '</b>');
$contents[] = array('align' => 'center', 'text' => '<br>' . zen_image_submit('button_delete.gif', IMAGE_DELETE) . ' <a href="' . zen_href_link(FILENAME_TAX_CLASSES, 'page=' . $_GET['page'] . '&tID=' . $tcInfo->tax_class_id) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
default:
if (isset($tcInfo) && is_object($tcInfo)) {
$heading[] = array('text' => '<b>' . $tcInfo->tax_class_title . '</b>');
$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_TAX_CLASSES, 'page=' . $_GET['page'] . '&tID=' . $tcInfo->tax_class_id . '&action=edit') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . zen_href_link(FILENAME_TAX_CLASSES, 'page=' . $_GET['page'] . '&tID=' . $tcInfo->tax_class_id . '&action=delete') . '">' . zen_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
$contents[] = array('text' => '<br>' . TEXT_INFO_DATE_ADDED . ' ' . zen_date_short($tcInfo->date_added));
$contents[] = array('text' => '' . TEXT_INFO_LAST_MODIFIED . ' ' . zen_date_short($tcInfo->last_modified));
开发者ID:andychang88,项目名称:daddy-store.com,代码行数:31,代码来源:tax_classes.php
示例16: zen_draw_input_field
</label></th>
<td><?php
echo zen_draw_input_field('contactname', $name, ' size="40" id="contactname"');
?>
</td>
</tr>
<tr class="email">
<th scope="row"><span class="required"><?php
echo TEXT_REQUIRED;
?>
</span><label><?php
echo ENTRY_EMAIL;
?>
</label></th>
<td><?php
echo zen_draw_input_field('email', $error ? $_POST['email'] : $email, ' size="40" id="email-address"');
?>
</td>
</tr>
<tr>
<th scope="row"><span class="required"><?php
echo TEXT_REQUIRED;
?>
</span><label><?php
echo ENTRY_ENQUIRY;
?>
</label></th>
<td><?php
echo zen_draw_textarea_field('enquiry', '30', '7', '', 'id="enquiry"');
?>
</td>
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:31,代码来源:tpl_contact_us_default.php
示例17: zen_check_stock
$attrArray[$option]['options_values_price'] = $attributes_values->fields['options_values_price'];
$attrArray[$option]['price_prefix'] = $attributes_values->fields['price_prefix'];
}
}
//end foreach [attributes]
if (STOCK_CHECK == 'true') {
$flagStockCheck = zen_check_stock($products[$i]['id'], $products[$i]['quantity']);
if ($flagStockCheck == true) {
$flagAnyOutOfStock = true;
}
}
$linkProductsImage = zen_href_link(zen_get_info_page($products[$i]['id']), 'products_id=' . $products[$i]['id']);
$linkProductsName = zen_href_link(zen_get_info_page($products[$i]['id']), 'products_id=' . $products[$i]['id']);
$productsImage = IMAGE_SHOPPING_CART_STATUS == 1 ? zen_image(DIR_WS_IMAGES . $products[$i]['image'], $products[$i]['name'], IMAGE_SHOPPING_CART_WIDTH, IMAGE_SHOPPING_CART_HEIGHT) : '';
$show_products_quantity_max = zen_get_products_quantity_order_max($products[$i]['id']);
$showFixedQuantity = ($show_products_quantity_max == 1 or zen_get_products_qty_box_status($products[$i]['id']) == 0) ? true : false;
// $showFixedQuantityAmount = $products[$i]['quantity'] . zen_draw_hidden_field('products_id[]', $products[$i]['id']) . zen_draw_hidden_field('cart_quantity[]', 1);
// $showFixedQuantityAmount = $products[$i]['quantity'] . zen_draw_hidden_field('cart_quantity[]', 1);
$showFixedQuantityAmount = $products[$i]['quantity'] . zen_draw_hidden_field('cart_quantity[]', $products[$i]['quantity']);
$showMinUnits = zen_get_products_quantity_min_units_display($products[$i]['id']);
$quantityField = zen_draw_input_field('cart_quantity[]', $products[$i]['quantity'], ' size="4" onfocus="set_update_count(this);" onbeforepaste="clipboardData.setData(\'text\',clipboardData.getData(\'text\').replace(/[^\\d]/g,\'\'));update_count(this);" onkeyup="value=value.replace(/[^\\d]/g,\'\');update_count(this);" class="check_input_num" id="cart_quantity[]"');
$buttonUpdate = ((SHOW_SHOPPING_CART_UPDATE == 1 or SHOW_SHOPPING_CART_UPDATE == 3) ? zen_image_submit(ICON_IMAGE_UPDATE, ICON_UPDATE_ALT) : '') . zen_draw_hidden_field('products_id[]', $products[$i]['id']);
$productsPrice = $currencies->display_price($products[$i]['final_price'], zen_get_tax_rate($products[$i]['tax_class_id']), $products[$i]['quantity']) . ($products[$i]['onetime_charges'] != 0 ? '<br />' . $currencies->display_price($products[$i]['onetime_charges'], zen_get_tax_rate($products[$i]['tax_class_id']), 1) : '');
$productsPriceEach = $currencies->display_price($products[$i]['final_price'], zen_get_tax_rate($products[$i]['tax_class_id']), 1) . ($products[$i]['onetime_charges'] != 0 ? '<br />' . $currencies->display_price($products[$i]['onetime_charges'], zen_get_tax_rate($products[$i]['tax_class_id']), 1) : '');
$productArray[$i] = array('attributeHiddenField' => $attributeHiddenField, 'flagStockCheck' => $flagStockCheck, 'flagShowFixedQuantity' => $showFixedQuantity, 'linkProductsImage' => $linkProductsImage, 'linkProductsName' => $linkProductsName, 'productsImage' => $productsImage, 'productsName' => $productsName, 'showFixedQuantity' => $showFixedQuantity, 'showFixedQuantityAmount' => $showFixedQuantityAmount, 'showMinUnits' => $showMinUnits, 'quantityField' => $quantityField, 'buttonUpdate' => $buttonUpdate, 'productsPrice' => $productsPrice, 'productsPriceEach' => $productsPriceEach, 'rowClass' => $rowClass, 'buttonDelete' => $buttonDelete, 'checkBoxDelete' => $checkBoxDelete, 'id' => $products[$i]['id'], 'attributes' => $attrArray);
}
// end FOR loop
$flag_disable_footer = TRUE;
$flag_disable_header = TRUE;
// This should be last line of the script:
$zco_notifier->notify('NOTIFY_HEADER_END_SHOPPING_CART');
开发者ID:happyxlq,项目名称:lt_svn,代码行数:31,代码来源:header_php.php
示例18: array
}
$contents[] = array('text' => '<br />' . TEXT_EDIT_CATEGORIES_NAME . $category_inputs_string);
$contents[] = array('text' => '<br />' . TEXT_EDIT_CATEGORIES_IMAGE . '<br />' . zen_draw_file_field('categories_image'));
$dir = @dir(DIR_FS_CATALOG_IMAGES);
$dir_info[] = array('id' => '', 'text' => "Main Directory");
while ($file = $dir->read()) {
if (is_dir(DIR_FS_CATALOG_IMAGES . $file) && strtoupper($file) != 'CVS' && $file != "." && $file != "..") {
$dir_info[] = array('id' => $file . '/', 'text' => $file);
}
}
$dir->close();
$default_directory = substr($cInfo->categories_image, 0, strpos($cInfo->categories_image, '/') + 1);
$contents[] = array('text' => TEXT_CATEGORIES_IMAGE_DIR . ' ' . zen_draw_pull_down_menu('img_dir', $dir_info, $default_directory));
$contents[] = array('text' => '<br>' . zen_info_image($cInfo->categories_image, $cInfo->categories_name));
$contents[] = array('text' => '<br>' . $cInfo->categories_image);
$contents[] = array('text' => '<br />' . TEXT_EDIT_SORT_ORDER . '<br />' . zen_draw_input_field('sort_order', $cInfo->sort_order, 'size="2"'));
$contents[] = array('align' => 'center', 'text' => '<br />' . zen_image_submit('button_save.gif', IMAGE_SAVE) . ' <a href="' . zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
case 'delete_product':
if (file_exists(DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/sidebox_delete_product.php')) {
require DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/sidebox_delete_product.php';
} else {
require DIR_WS_MODULES . 'sidebox_delete_product.php';
}
break;
case 'move_product':
if (file_exists(DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/sidebox_move_product.php')) {
require DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/sidebox_move_product.php';
} else {
require DIR_WS_MODULES . 'sidebox_move_product.php';
}
开发者ID:kirkbauer2,项目名称:kirkzc,代码行数:31,代码来源:product_music.php
示例19: array
// eof: split page control
?>
</table></td>
<?php
$heading = array();
$contents = array();
switch ($action) {
case 'edit':
$heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_EDIT_PRODUCTS_DOWNLOAD . '</b>');
$contents = array('form' => zen_draw_form('products_downloads_edit', FILENAME_DOWNLOADS_MANAGER, zen_get_all_get_params(array('padID', 'action')) . 'padID=' . $padInfo->products_attributes_id . '&action=save' . '&page=' . $_GET['page']));
$contents[] = array('text' => '<b>' . TEXT_PRODUCTS_NAME . $padInfo->products_name . '<br />' . TEXT_PRODUCTS_MODEL . $padInfo->products_model . '</b>');
$contents[] = array('text' => '<br />' . TEXT_INFO_EDIT_INTRO);
$contents[] = array('text' => '<br />' . TEXT_INFO_FILENAME . '<br />' . zen_draw_input_field('products_attributes_filename', $padInfo->products_attributes_filename));
$contents[] = array('text' => '<br />' . TEXT_INFO_MAX_DAYS . '<br />' . zen_draw_input_field('products_attributes_maxdays', $padInfo->products_attributes_maxdays));
$contents[] = array('text' => '<br />' . TEXT_INFO_MAX_COUNT . '<br />' . zen_draw_input_field('products_attributes_maxcount', $padInfo->products_attributes_maxcount));
$contents[] = array('align' => 'center', 'text' => '<br />' . zen_image_submit('button_update.gif', IMAGE_UPDATE) . ' <a href="' . zen_href_link(FILENAME_DOWNLOADS_MANAGER, 'padID=' . $padInfo->products_attributes_id) . '&page=' . $_GET['page'] . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
default:
if (isset($padInfo) && is_object($padInfo)) {
$heading[] = array('text' => '<b>' . $padInfo->products_attributes_id . ' ' . $padInfo->products_attributes_filename . '</b>');
$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_DOWNLOADS_MANAGER, zen_get_all_get_params(array('padID', 'action')) . 'padID=' . $padInfo->products_attributes_id . '&page=' . $_GET['page'] . '&action=edit') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a>' . '<a href="' . zen_href_link(FILENAME_ATTRIBUTES_CONTROLLER, 'products_filter=' . $padInfo->products_id . '¤t_categories_id=' . $padInfo->master_categories_id) . '">' . zen_image_button('button_edit_attribs.gif', IMAGE_EDIT_ATTRIBUTES) . '</a>');
$contents[] = array('text' => '<br />' . TEXT_PRODUCTS_NAME . $padInfo->products_name);
$contents[] = array('text' => TEXT_PRODUCTS_MODEL . $padInfo->products_model);
$contents[] = array('text' => TEXT_INFO_FILENAME . $padInfo->products_attributes_filename);
$contents[] = array('text' => TEXT_INFO_MAX_DAYS . $padInfo->products_attributes_maxdays);
$contents[] = array('text' => TEXT_INFO_MAX_COUNT . $padInfo->products_attributes_maxcount);
}
break;
}
if (zen_not_null($heading) && zen_not_null($contents)) {
开发者ID:ygeneration666,项目名称:ec,代码行数:31,代码来源:downloads_manager.php
-
kostub/iosMath: Beautiful math equation rendering on iOS and MacOS
阅读:894|2022-08-18
-
1.实验目的 (1)掌握MATLAB基本语法 (2)掌握使用MATLAB进行图像、音频文件的基本
阅读:1401|2022-07-18
-
pallet/zi: Maven plugin for clojure
阅读:632|2022-08-17
-
** DISPUTED ** Patlite NH-FB v1.46 and below was discovered to contain insuffici
阅读:1099|2022-09-18
-
In openFile of CallLogProvider.java, there is a possible permission bypass due t
阅读:942|2022-07-29
-
jonathantribouharet/JTMaterialTransition: An iOS transition for controllers base
阅读:528|2022-08-17
-
waneck/linux-ios-toolchain: Compile ios programs on linux (fork of http://code.g
阅读:784|2022-08-15
-
cmaas/markdown-it-table-of-contents: A table of contents plugin for Markdown-it
阅读:684|2022-08-18
-
黄的笔顺怎么写?黄的笔顺笔画顺序是什么?关于黄字的笔画顺序怎么写了解到好多的写字朋
阅读:382|2022-11-06
-
Cross-site scripting vulnerability in LiteCart versions prior to 2.4.2 allows a
阅读:591|2022-07-29
|
请发表评论