本文整理汇总了PHP中tep_image_button函数的典型用法代码示例。如果您正苦于以下问题:PHP tep_image_button函数的具体用法?PHP tep_image_button怎么用?PHP tep_image_button使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了tep_image_button函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: credit_selection
function credit_selection()
{
global $customer_id, $currencies, $language, $cc_id, $languages_id;
// START Checkout Display Fix by BTBlomberg
if (tep_session_is_registered('cc_id')) {
$selection_string = '<tr><td></td><td>';
$selection_string .= '<table border="0" width="100%"><tr><td class="main" width="275">';
// Now lets get the name of the coupon and the description
$coupon_desc_query = tep_db_query("select c.coupon_code, cd.coupon_name, cd.coupon_description from " . TABLE_COUPONS . " c, " . TABLE_COUPONS_DESCRIPTION . " cd where c.coupon_id = cd.coupon_id and c.coupon_id = '" . $cc_id . "' and cd.language_id = '" . $languages_id . "'");
$coupon = tep_db_fetch_array($coupon_desc_query);
$selection_string .= TEXT_COUPON_REDEEMED . $coupon['coupon_code'];
$selection_string .= '</td><td align="right">';
$selection_string .= '<a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'remove_coupon', 'SSL') . '">' . tep_image_button('button_wishlist_remove.gif', IMAGE_REMOVE) . '</a>';
$selection_string .= '</td></tr>';
if ($coupon['coupon_description'] != '') {
$selection_string .= '<tr><td class="main" colspan="2">' . $coupon['coupon_description'] . '</td></tr>';
}
$selection_string .= '</table></td></tr>';
// END Checkout Display Fix by BTBlomberg
return $selection_string;
// They already entered a coupon code
} else {
// Let them enter one
$selection_string = '<tr><td></td><td>';
$selection_string .= tep_draw_form('checkout_payment_gift', tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL'), 'post');
$selection_string .= '<table border="0" width="100%"><tr><td class="main" width="275">';
$selection_string .= TEXT_ENTER_GV_CODE . tep_draw_input_field('gv_redeem_code', TEXT_GV_CODE_INPUT_DEFAULT);
$selection_string .= '</td><td align="right">';
$selection_string .= tep_image_submit('button_redeem.gif', IMAGE_REDEEM_VOUCHER, 'onclick="return submitFunction()"');
$selection_string .= '</td></tr></table></form></td></tr>';
// END Checkout Display Fix by BTBlomberg
return $selection_string;
}
}
开发者ID:digideskio,项目名称:oscmax2,代码行数:34,代码来源:ot_coupon.php
示例2: confirm
function confirm()
{
global $HTTP_GET_VARS;
$mail_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS . " where customers_newsletter = '1'");
$mail = tep_db_fetch_array($mail_query);
$confirm_string = '<table border="0" cellspacing="0" cellpadding="2">' . "\n" . ' <tr>' . "\n" . ' <td class="main"><font color="#ff0000"><b>' . sprintf(TEXT_COUNT_CUSTOMERS, $mail['count']) . '</b></font></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main"><b>' . $this->title . '</b></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main"><tt>' . nl2br($this->content) . '</tt></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td align="right"><a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $HTTP_GET_VARS['nID'] . '&action=confirm_send') . '">' . tep_image_button('button_send.gif', IMAGE_SEND) . '</a> <a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $HTTP_GET_VARS['nID']) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a></td>' . "\n" . ' </tr>' . "\n" . '</table>';
return $confirm_string;
}
开发者ID:quangbt2005,项目名称:belamdep,代码行数:8,代码来源:newsletter.php
示例3: confirm
function confirm()
{
global $_GET;
$mail_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS . " where customers_newsletter = '1'");
$mail = tep_db_fetch_array($mail_query);
// ################# Contribution Newsletter v050 ##############
$confirm_string = '<table border="0" cellspacing="0" cellpadding="2">' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main"><font color="#ff0000"><b>' . tep_draw_separator('pixel_trans.gif', '20', '1') . TEXT_TITRE_INFO . '</b></font></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main">' . sprintf(TEXT_COUNT_CUSTOMERS, $mail['count']) . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main">' . TEXT_BULLETIN_NUMB . " " . '<font color="#0000ff">' . $this->newsletters_id . '</font></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main">' . TEXT_MODULE . " " . '<font color="#0000ff">' . $this->module_subscribers . '</font></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main">' . TEXT_TITRE_MAIL . " " . '<font color="#0000ff">' . $this->title . '</font></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main"><font color="#ff0000"><b>' . tep_draw_separator('pixel_trans.gif', '20', '1') . TEXT_TITRE_VIEW . '</b></font></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main"><tt>' . $this->header . '</tt></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main"><tt>' . $this->content . '</tt></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main"><tt>' . $this->unsubscribea . '</tt></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main"><tt>' . $this->unsubscribeb . '</tt></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td align="right"><a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'] . '&action=confirm_send') . '">' . tep_image_button('button_send.gif', IMAGE_SEND) . '</a> <a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID']) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a></td>' . "\n" . ' </tr>' . "\n" . '</table>';
// ################# END - Contribution Newsletter v050 ##############
return $confirm_string;
}
开发者ID:eosc,项目名称:EosC-2.3,代码行数:10,代码来源:newsletter.php
示例4: confirm
function confirm()
{
global $HTTP_GET_VARS;
$mail_query = tep_db_query("SELECT COUNT(*) AS count\n\t\t\t\t\t\t\t\t FROM (SELECT DISTINCT c.customers_email_address, \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tc.customers_firstname, \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tc.customers_lastname,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tc.customers_newsletter\n\t\t\t\t\t\t\t\tFROM " . TABLE_CUSTOMERS . " c\n\t\t\t\t\t\t\t\tWHERE c.customers_email_address NOT LIKE '%@marketplace.amazon.com'\n\t\t\t\t\t\t\t\tAND c.customers_group_id = '0'\n\t\t\t\t\t\t\t\tAND c.customers_newsletter = '1'\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tUNION ALL\n\n\t\t\t\t\t\t\t\tSELECT DISTINCT s.subscribers_email_address,\n\t\t\t\t\t\t\t\t\t\t\t\t s.subscribers_firstname,\n\t\t\t\t\t\t\t\t\t\t\t\t s.subscribers_lastname,\n\t\t\t\t\t\t\t\t\t\t\t\t s.customers_newsletter\n\t\t\t\t\t\t\t\tFROM subscribers s\n\t\t\t\t\t\t\t\tLEFT JOIN " . TABLE_CUSTOMERS . " c ON c.customers_email_address = s.subscribers_email_address\n\t\t \t\t\t\t\t\tWHERE c.customers_email_address IS NULL\n\t\t \t\t\t\t\t\tAND s.customers_newsletter = '1') AS table1\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t");
$mail = tep_db_fetch_array($mail_query);
$confirm_string = '
<table border="0" cellspacing="0" cellpadding="5" width="100%" align="center">
<tr>
<td class="main"><font color="#ff0000"><b>' . TEXT_TITRE_INFO . '</b></font></td>
</tr>
<tr>
<td class="main">' . sprintf(TEXT_COUNT_CUSTOMERS, $mail['count']) . '</td>
</tr>
<tr>
<td class="main">' . TEXT_BULLETIN_NUMB . " " . '<font color="#0000ff">' . $this->newsletters_id . '</font></td>
</tr>
<tr>
<td class="main">' . TEXT_MODULE . " " . '<font color="#0000ff">' . $this->module_subscribers . '</font></td>
</tr>
<tr>
<td class="main">' . TEXT_NEWSLETTER_TITLE . " " . '<font color="#0000ff">' . $this->title . '</font></td>
</tr>
<tr>
<td class="main">' . TEXT_NEWSLETTER_FROM . " " . '<font color="#0000ff">' . $this->fromMail . '</font></td>
</tr>
<tr>
<td class="main">' . TEXT_SUBJECT_MAIL . ' ' . '<font color="#0000ff">' . $this->subject . '</font></td>
</tr>
<tr>
<td class="main"><font color="#ff0000"><b>' . TEXT_TITRE_VIEW . '</b></font></td>
</tr>
<tr>
<td class="main" align="center"><div id="thenews">' . $this->header . $this->content . $this->foot . '</div></td>
</tr>
<tr>
<td align="right" style="padding:5px 15px 0 0"><a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'] . '&action=confirm_send') . '">' . tep_image_button('button_send.gif', IMAGE_SEND) . '</a> <a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID']) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a></td>
</tr>
</table>';
tep_db_query("UPDATE " . TABLE_NEWSLETTERS . " SET send_count = '" . $mail['count'] . "' WHERE newsletters_id = '" . $this->newsletters_id . "'");
return $confirm_string;
}
开发者ID:rrecurse,项目名称:IntenseCart,代码行数:41,代码来源:subscribers.php
示例5: confirm
function confirm()
{
global $HTTP_GET_VARS;
$mail_query = tep_db_query("SELECT * FROM " . TABLE_CUSTOMERS . " WHERE customers_newsletter = 1 AND customers_group_id > 1");
$mail = tep_db_fetch_array($mail_query);
$confirm_string = '
<table border="0" cellspacing="0" cellpadding="5" width="100%" align="center">
<tr>
<td class="main"><font color="#ff0000"><b>' . TEXT_TITRE_INFO . '</b></font></td>
</tr>
<tr>
<td class="main">' . sprintf(TEXT_COUNT_CUSTOMERS, $mail['count']) . '</td>
</tr>
<tr>
<td class="main">' . TEXT_BULLETIN_NUMB . " " . '<font color="#0000ff">' . $this->newsletters_id . '</font></td>
</tr>
<tr>
<td class="main">' . TEXT_MODULE . " " . '<font color="#0000ff">' . $this->module_subscribers . '</font></td>
</tr>
<tr>
<td class="main">' . TEXT_TITLE_MAIL . " " . '<font color="#0000ff">' . $this->title . '</font></td>
</tr>
<tr>
<td class="main">' . TEXT_FROM_MAIL . " " . '<font color="#0000ff">' . $this->fromMail . '</font></td>
</tr>
<tr>
<td class="main">' . TEXT_SUBJECT_MAIL . ' ' . '<font color="#0000ff">' . $this->subject . '</font></td>
</tr>
<tr>
<td class="main"><font color="#ff0000"><b>' . TEXT_TITRE_VIEW . '</b></font></td>
</tr>
<tr>
<td class="main"><tt>' . $this->header . $this->content . $this->foot . '</tt></td>
</tr>
<tr>
<td align="right" style="padding:5px 15px 0 0"><a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'] . '&action=confirm_send') . '">' . tep_image_button('button_send.gif', IMAGE_SEND) . '</a> <a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID']) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a></td>
</tr>
</table>';
tep_db_query("UPDATE " . TABLE_NEWSLETTERS . " SET send_count = '" . $mail['count'] . "' WHERE newsletters_id = '" . $this->newsletters_id . "'");
return $confirm_string;
}
开发者ID:rrecurse,项目名称:IntenseCart,代码行数:41,代码来源:vendors_subscribers.php
示例6: tep_href_link
</td>
<td align="right" class="smallText"> <?php
echo $attributes_values["options_values_price"];
?>
</td>
<td align="center" class="smallText"> <?php
echo $attributes_values["price_prefix"];
?>
</td>
<td align="center" class="smallText"> <?php
echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, 'action=update_attribute&attribute_id=' . $attributes_values['products_attributes_id'] . '&' . $page_info, 'NONSSL') . '">';
echo tep_image_button('button_edit.gif', IMAGE_UPDATE);
?>
</a> <?php
echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, 'action=delete_product_attribute&attribute_id=' . $attributes_values['products_attributes_id'] . '&' . $page_info, 'NONSSL'), '">';
echo tep_image_button('button_delete.gif', IMAGE_DELETE);
?>
</a> </td>
<?php
}
$max_attributes_id_query = tep_db_query("select max(products_attributes_id) + 1 as next_id from " . TABLE_PRODUCTS_ATTRIBUTES);
$max_attributes_id_values = tep_db_fetch_array($max_attributes_id_query);
$next_id = $max_attributes_id_values['next_id'];
?>
</tr>
<?php
}
if ($action != 'update_attribute') {
?>
<tr>
<td colspan="7"><?php
开发者ID:pcchynoweth,项目名称:oscommerce2,代码行数:31,代码来源:products_attributes.php
示例7: tep_call_function
$keys .= tep_call_function($use_function, $value['value']);
}
} else {
$keys .= $value['value'];
}
$keys .= '<br><br>';
}
$keys = substr($keys, 0, strrpos($keys, '<br><br>'));
$contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $mInfo->code . '&action=remove') . '">' . tep_image_button('button_module_remove.gif', IMAGE_MODULE_REMOVE) . '</a> <a href="' . tep_href_link(FILENAME_MODULES, 'set=' . $set . (isset($HTTP_GET_VARS['module']) ? '&module=' . $HTTP_GET_VARS['module'] : '') . '&action=edit') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a>');
if (isset($mInfo->signature) && (list($scode, $smodule, $sversion, $soscversion) = explode('|', $mInfo->signature))) {
$contents[] = array('text' => '<br>' . tep_image(DIR_WS_IMAGES . 'icon_info.gif', IMAGE_ICON_INFO) . ' <b>' . TEXT_INFO_VERSION . '</b> ' . $sversion . ' (<a href="http://sig.oscommerce.com/' . $mInfo->signature . '" target="_blank">' . TEXT_INFO_ONLINE_STATUS . '</a>)');
}
$contents[] = array('text' => '<br>' . $mInfo->description);
$contents[] = array('text' => '<br>' . $keys);
} else {
$contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $mInfo->code . '&action=install') . '">' . tep_image_button('button_module_install.gif', IMAGE_MODULE_INSTALL) . '</a>');
if (isset($mInfo->signature) && (list($scode, $smodule, $sversion, $soscversion) = explode('|', $mInfo->signature))) {
$contents[] = array('text' => '<br>' . tep_image(DIR_WS_IMAGES . 'icon_info.gif', IMAGE_ICON_INFO) . ' <b>' . TEXT_INFO_VERSION . '</b> ' . $sversion . ' (<a href="http://sig.oscommerce.com/' . $mInfo->signature . '" target="_blank">' . TEXT_INFO_ONLINE_STATUS . '</a>)');
}
$contents[] = array('text' => '<br>' . $mInfo->description);
}
break;
}
if (tep_not_null($heading) && tep_not_null($contents)) {
echo ' <td width="25%" valign="top">' . "\n";
$box = new box();
echo $box->infoBox($heading, $contents);
echo ' </td>' . "\n";
}
?>
</tr>
开发者ID:laiello,项目名称:myopensources,代码行数:31,代码来源:modules.php
示例8: tep_href_link
<tr>
<td class="main"><?php
echo TEXT_INFORMATION;
?>
</td>
</tr>
</table></td>
</tr>
<tr>
<td class="main"><b><?php
echo SUB_HEADING_TITLE;
?>
</b></td>
</tr>
<tr>
<td class="main"><?php
echo SUB_HEADING_TEXT;
?>
</td>
</tr>
<tr>
<td align="right" class="main"><?php
echo '<a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>';
?>
</td>
</tr>
</table></td>
</tr>
</table>
开发者ID:digideskio,项目名称:oscmax2,代码行数:29,代码来源:gv_faq.tpl.php
示例9: tep_href_link
if (tep_not_null($product_info['products_image'])) {
?>
<script language="javascript"><!--
document.write('<?php
echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>';
?>
');
//--></script>
<noscript>
<?php
echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>';
?>
</noscript>
<?php
}
echo '<p><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now') . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a></p>';
?>
</td>
</tr>
</table>
</td>
</table></td>
</tr>
</table></td>
<!-- body_text_eof //-->
<td width="<?php
echo BOX_WIDTH;
?>
" valign="top"><table border="0" width="<?php
echo BOX_WIDTH;
?>
开发者ID:pcchynoweth,项目名称:oscommerce2,代码行数:31,代码来源:product_reviews.php
示例10: switch
switch ($action) {
case 'release':
$heading[] = array('text' => 'Coupon: ' . $gInfo->unique_id . ' | ' . tep_datetime_short($gInfo->date_created) . ' | ' . $currencies->format($gInfo->amount));
$gv_check_raw = "select c.customers_firstname, c.customers_lastname, gv.unique_id, gv.date_created, gv.amount, gv.order_id, gv.release_flag, gv.release_date from " . TABLE_CUSTOMERS . " c, " . TABLE_COUPON_GV_QUEUE . " gv where (gv.customer_id = c.customers_id and gv.unique_id = '" . $_GET['gid'] . "')";
if ($gInfo->release_flag == 'Y') {
$contents[] = array('align' => 'left', 'text' => TEXT_RELEASED_ALREADY . tep_datetime_short($gInfo->release_date));
} else {
$contents[] = array('align' => 'left', 'text' => TEXT_PAYMENT_CHECK_CONFIRM . '<br><br><center><a href="' . tep_href_link('gv_queue.php', 'action=confirmrelease&gid=' . $gInfo->unique_id, 'NONSSL') . '">' . tep_image_button('button_confirm_red.gif', IMAGE_CONFIRM) . '</a> <a href="' . tep_href_link('gv_queue.php', 'action=cancel&gid=' . $gInfo->unique_id, 'NONSSL') . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a></center>');
}
break;
default:
$heading[] = array('text' => 'Coupon: ' . $gInfo->unique_id . ' | ' . tep_datetime_short($gInfo->date_created) . ' | ' . $currencies->format($gInfo->amount));
if ($gInfo->release_flag == 'Y') {
$contents[] = array('align' => 'left', 'text' => TEXT_RELEASED_ALREADY . tep_datetime_short($gInfo->release_date));
} else {
$contents[] = array('align' => 'left', 'text' => TEXT_PAYMENT_CHECK . '<br><br><center><a href="' . tep_href_link('gv_queue.php', 'action=release&gid=' . $gInfo->unique_id, 'NONSSL') . '">' . tep_image_button('button_release.gif', IMAGE_RELEASE) . '</a></center>');
}
break;
}
if (tep_not_null($heading) && tep_not_null($contents)) {
echo ' <td width="25%" valign="top">' . "\n";
$box = new box();
echo $box->infoBox($heading, $contents);
echo ' </td>' . "\n";
}
?>
</tr>
</table></td>
</tr>
</table></td>
<!-- body_text_eof //-->
开发者ID:digideskio,项目名称:oscmax2,代码行数:31,代码来源:gv_queue.php
示例11: array
$contents[] = array('text' => '<br>' . tep_draw_checkbox_field('allow_auto_update', '1', $cInfo->allow_auto_update == '1') . TEXT_INFO_CURRENCY_ALLOW_AUTO_UPDATE);
if (DEFAULT_CURRENCY != $cInfo->code) {
$contents[] = array('text' => '<br>' . tep_draw_checkbox_field('default') . ' ' . TEXT_INFO_SET_AS_DEFAULT);
}
$contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_update.gif', IMAGE_UPDATE) . ' <a href="' . tep_href_link(FILENAME_CURRENCIES, 'cID=' . $cInfo->currencies_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
case 'delete':
$heading[] = array('text' => '<strong>' . TEXT_INFO_HEADING_DELETE_CURRENCY . '</strong>');
$contents[] = array('text' => TEXT_INFO_DELETE_INTRO);
$contents[] = array('text' => '<br><strong>' . $cInfo->title . '</strong>');
$contents[] = array('align' => 'center', 'text' => '<br>' . ($remove_currency ? '<a href="' . tep_href_link(FILENAME_CURRENCIES, 'cID=' . $cInfo->currencies_id . '&action=deleteconfirm') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a>' : '') . ' <a href="' . tep_href_link(FILENAME_CURRENCIES, 'cID=' . $cInfo->currencies_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
default:
if (is_object($cInfo)) {
$heading[] = array('text' => '<strong>' . $cInfo->title . '</strong>');
$contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CURRENCIES, 'cID=' . $cInfo->currencies_id . '&action=edit') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_CURRENCIES, 'cID=' . $cInfo->currencies_id . '&action=delete') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a>' . ($cInfo->allow_auto_update == '1' ? ' <a href="' . tep_href_link(FILENAME_CURRENCIES, 'cID=' . $cInfo->currencies_id . '¤cyID=' . $cInfo->currencies_id . '&action=update') . '">' . tep_image_button('button_update.gif', IMAGE_UPDATE) . '</a>' : ''));
$contents[] = array('text' => '<br>' . TEXT_INFO_CURRENCY_TITLE . ' ' . $cInfo->title);
$contents[] = array('text' => TEXT_INFO_CURRENCY_CODE . ' ' . $cInfo->code);
$contents[] = array('text' => '<br>' . TEXT_INFO_CURRENCY_SYMBOL_LEFT . ' ' . $cInfo->symbol_left);
$contents[] = array('text' => TEXT_INFO_CURRENCY_SYMBOL_RIGHT . ' ' . $cInfo->symbol_right);
$contents[] = array('text' => '<br>' . TEXT_INFO_CURRENCY_DECIMAL_POINT . ' ' . $cInfo->decimal_point);
$contents[] = array('text' => TEXT_INFO_CURRENCY_THOUSANDS_POINT . ' ' . $cInfo->thousands_point);
$contents[] = array('text' => TEXT_INFO_CURRENCY_DECIMAL_PLACES . ' ' . $cInfo->decimal_places);
$contents[] = array('text' => '<br>' . TEXT_INFO_CURRENCY_LAST_UPDATED . ' ' . tep_date_short($cInfo->last_updated));
$contents[] = array('text' => TEXT_INFO_CURRENCY_VALUE . ' ' . number_format($cInfo->value, 8));
$contents[] = array('text' => TEXT_INFO_CURRENCY_ALLOW_AUTO_UPDATE . ' ' . ($cInfo->allow_auto_update == '1' ? TEXT_YES : TEXT_NO));
$contents[] = array('text' => '<br>' . TEXT_INFO_CURRENCY_EXAMPLE . '<br>' . $currencies->format('30', false, DEFAULT_CURRENCY) . ' = ' . $currencies->format('30', true, $cInfo->code));
}
break;
}
if (tep_not_null($heading) && tep_not_null($contents)) {
开发者ID:rabbit-source,项目名称:setbook.ru,代码行数:31,代码来源:currencies.php
示例12: tep_banner_graph_daily
echo tep_banner_graph_daily($HTTP_GET_VARS['bID']);
break;
}
}
?>
</td>
</tr>
<tr>
<td><?php
echo tep_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td class="main" align="right"><?php
echo '<a href="' . tep_href_link(FILENAME_BANNER_MANAGER, 'page=' . $HTTP_GET_VARS['page'] . '&bID=' . $HTTP_GET_VARS['bID']) . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a>';
?>
</td>
</tr>
</table></td>
<!-- body_text_eof //-->
</tr>
</table>
<!-- body_eof //-->
<!-- footer //-->
<?php
require DIR_WS_INCLUDES . 'footer.php';
?>
<!-- footer_eof //-->
</body>
开发者ID:rabbit-source,项目名称:setbook.ru,代码行数:31,代码来源:banner_statistics.php
示例13: display_delete_multizone
function display_delete_multizone()
{
extract(tep_load('defs', 'database'));
if (!isset($_POST['pc_id']) || !is_array($_POST['pc_id'])) {
return '';
}
$html_string = '';
$zones_query = $db->query("select meta_types_name from " . TABLE_META_TYPES . " where meta_types_id = '" . (int) $this->m_zID . "'");
$zones_array = $db->fetch_array($zones_query);
$html_string .= ' <div class="comboHeading">' . "\n" . ' <div>' . sprintf(TEXT_DELETE_MULTIZONE_CONFIRM, $zones_array['meta_types_name']) . '</div>' . "\n" . ' </div>' . "\n" . ' <div class="formArea">' . tep_draw_form('rl_confirm', $cDefs->script, tep_get_all_get_params('action') . 'action=deleteconfirm_multizone', 'post') . '<table class="tabledata">' . "\n" . ' <tr class="dataTableHeadingRow">' . "\n" . ' <th>' . TEXT_DELETE_MULTIZONE_CONFIRM . '</th>' . "\n" . ' </tr>' . "\n";
$rows = 0;
foreach ($_POST['pc_id'] as $key => $value) {
$gtext_id = $key;
$delete_query = $db->query("select gtext_id, meta_title from " . TABLE_META_GTEXT . " where gtext_id = '" . (int) $key . "' order by meta_title, gtext_id");
if ($delete_array = $db->fetch_array($delete_query)) {
$rows++;
$row_class = $rows % 2 ? 'dataTableRow' : 'dataTableRowAlt';
$html_string .= ' <tr class="' . $row_class . '">' . "\n" . ' <td>' . tep_draw_hidden_field('pc_id[]', $delete_array['gtext_id']) . $delete_array['meta_title'] . '</td>' . "\n" . ' </tr>' . "\n";
}
}
if (count($_POST['pc_id'])) {
$html_string .= ' <tr>' . "\n" . ' <td class="formButtons"><a href="' . tep_href_link($cDefs->script, tep_get_all_get_params('action') . 'action=list') . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a> ' . tep_image_submit('button_confirm.gif', IMAGE_CONFIRM) . '</td>' . "\n" . ' </tr>' . "\n";
}
$html_string .= ' </table></form></div>' . "\n";
return $html_string;
}
开发者ID:enigma1,项目名称:i-metrics-cms,代码行数:26,代码来源:meta_gtext.php
示例14: tep_image_submit
<script type="text/javascript">
jQuery.noConflict()
jQuery(document).ready(function() {
jQuery(window).keypress(function(event) {
if (!(event.which == 115 && event.ctrlKey) && !(event.which == 19)) return true;
document.forms["updateinfo"].submit();
event.preventDefault();
return false;
});
});
</script>
<?php
echo tep_image_submit('button_save.gif', IMAGE_INSERT);
echo ' <a href="' . tep_href_link(FILENAME_INFORMATION_MANAGER, '', 'NONSSL') . '">' . tep_image_button('button_back.gif', IMAGE_CANCEL) . '</a>';
?>
</td>
</tr>
</table>
</form>
</td></tr>
<?php
if (0 || HTML_AREA_WYSIWYG_DISABLE_IPU == 'Enable') {
?>
<script language="JavaScript1.2" defer>
// MaxiDVD Added WYSIWYG HTML Area Box + Admin Function v1.7 Products Description HTML - Body
开发者ID:rrecurse,项目名称:IntenseCart,代码行数:30,代码来源:information_form.php
示例15: array
default:
if ($rows > 0) {
if (isset($cInfo) && is_object($cInfo)) {
// category info box contents
$heading[] = array('text' => '<b>' . $cInfo->categories_name . '</b>');
$contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id . '&action=edit_category') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id . '&action=delete_category') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id . '&action=move_category') . '">' . tep_image_button('button_move.gif', IMAGE_MOVE) . '</a>');
$contents[] = array('text' => '<br>' . TEXT_DATE_ADDED . ' ' . tep_date_short($cInfo->date_added));
if (tep_not_null($cInfo->last_modified)) {
$contents[] = array('text' => TEXT_LAST_MODIFIED . ' ' . tep_date_short($cInfo->last_modified));
}
$contents[] = array('text' => '<br>' . tep_info_image($cInfo->categories_image, $cInfo->categories_name, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT) . '<br>' . $cInfo->categories_image);
$contents[] = array('text' => '<br>' . TEXT_SUBCATEGORIES . ' ' . $cInfo->childs_count . '<br>' . TEXT_PRODUCTS . ' ' . $cInfo->products_count);
} elseif (isset($pInfo) && is_object($pInfo)) {
// product info box contents
$heading[] = array('text' => '<b>' . tep_get_products_name($pInfo->products_id, $languages_id) . '</b>');
$contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=new_product') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=delete_product') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=move_product') . '">' . tep_image_button('button_move.gif', IMAGE_MOVE) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=copy_to') . '">' . tep_image_button('button_copy_to.gif', IMAGE_COPY_TO) . '</a>');
$contents[] = array('text' => '<br>' . TEXT_DATE_ADDED . ' ' . tep_date_short($pInfo->products_date_added));
if (tep_not_null($pInfo->products_last_modified)) {
$contents[] = array('text' => TEXT_LAST_MODIFIED . ' ' . tep_date_short($pInfo->products_last_modified));
}
if (date('Y-m-d') < $pInfo->products_date_available) {
$contents[] = array('text' => TEXT_DATE_AVAILABLE . ' ' . tep_date_short($pInfo->products_date_available));
}
$contents[] = array('text' => '<br>' . tep_info_image($pInfo->products_image, $pInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '<br>' . $pInfo->products_image);
$contents[] = array('text' => '<br>' . TEXT_PRODUCTS_PRICE_INFO . ' ' . $currencies->format($pInfo->products_price) . '<br>' . TEXT_PRODUCTS_QUANTITY_INFO . ' ' . $pInfo->products_quantity);
$contents[] = array('text' => '<br>' . TEXT_PRODUCTS_AVERAGE_RATING . ' ' . number_format($pInfo->average_rating, 2) . '%');
}
} else {
// create category/product info
$heading[] = array('text' => '<b>' . EMPTY_CATEGORY . '</b>');
$contents[] = array('text' => TEXT_NO_CHILD_CATEGORIES_OR_PRODUCTS);
开发者ID:severnaya99,项目名称:Sg-2010,代码行数:31,代码来源:categories.php
示例16: array
$contents[] = array('text' => TEXT_INFO_EDIT_INTRO);
$contents[] = array('text' => '<br>' . TEXT_INFO_SHIPPING . '<br>' . $sInfo->shipping_name);
$contents[] = array('text' => '<br>' . TEXT_INFO_GEO_ZONES . '<br>' . tep_draw_pull_down_menu('geo[]', $geo_zones, $sInfo->geo_zones_available, 'size="10" multiple style="width: 270px;"'));
$contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_update.gif', IMAGE_UPDATE) . ' <a href="' . tep_href_link(FILENAME_SHIP2GEO, 'page=' . $HTTP_GET_VARS['page'] . '&sID=' . $sInfo->shipping) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
case 'delete':
$heading[] = array('text' => '<strong>' . TEXT_INFO_HEADING_DELETE_SHIPPING . '</strong>');
$contents = array('form' => tep_draw_form('shipping', FILENAME_SHIP2GEO, 'page=' . $HTTP_GET_VARS['page'] . '&action=deleteconfirm') . tep_draw_hidden_field('shipping', $sInfo->shipping));
$contents[] = array('text' => TEXT_INFO_DELETE_INTRO);
$contents[] = array('text' => '<br><strong>' . $sInfo->shipping_name . '</strong> » ' . $sInfo->geo_zone_names);
$contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_delete.gif', IMAGE_DELETE) . ' <a href="' . tep_href_link(FILENAME_SHIP2GEO, 'page=' . $HTTP_GET_VARS['page'] . '&sID=' . $sInfo->shipping) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
default:
if (is_object($sInfo)) {
$heading[] = array('text' => '<strong>' . $sInfo->shipping_name . '</strong>');
$contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_SHIP2GEO, 'page=' . $HTTP_GET_VARS['page'] . '&sID=' . $sInfo->shipping . '&action=edit') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_SHIP2GEO, 'page=' . $HTTP_GET_VARS['page'] . '&sID=' . $sInfo->shipping . '&action=delete') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
$contents[] = array('text' => '<br>' . TEXT_INFO_GEO_ZONES_ALLOWED . '<br>' . $sInfo->geo_zone_names);
}
break;
}
if (tep_not_null($heading) && tep_not_null($contents)) {
echo ' <td width="25%" valign="top">' . "\n";
$box = new box();
echo $box->infoBox($heading, $contents);
echo ' </td>' . "\n";
}
?>
</tr>
</table></td>
</tr>
</table></td>
开发者ID:rabbit-source,项目名称:setbook.ru,代码行数:31,代码来源:ship2geo.php
-
宝宝鼻子不通气,如果不是病毒感冒的话建议不要吃药,多喝温开水,注意观察体温。保持
阅读:942|2022-07-30
-
dphi-official/Machine_Learning_Bootcamp
阅读:1361|2022-08-18
-
juven/maven-bash-completion: Maven Bash Auto Completion
阅读:816|2022-08-16
-
win7系统电脑使用过程中有不少朋友表示遇到过win7系统注册表编辑器打开的状况,当出现
阅读:760|2022-11-06
-
route101/mastoinker: Quick image view assistant for Mastodon client
阅读:920|2022-08-18
-
Delphi获取当前鼠标下的控件内容主要函数:GetCursorPos;//获取鼠标的位置WindowFrom
阅读:1117|2022-07-18
-
Performance Counters for Windows Elevation of Privilege Vulnerability.
阅读:1193|2022-07-29
-
0e0w · GitHub
阅读:427|2022-08-15
-
tgreyuk/typedoc-plugin-markdown: A plugin for TypeDoc that enables TypeScript AP
阅读:757|2022-08-18
-
台湾人的方言是“台湾话”,官方是“国语”,和普通话一样。小编一直觉得,大连话和台
阅读:315|2022-11-06
|
请发表评论