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


PHP xtc_get_all_get_params函数代码示例

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


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

示例1: displaySettings

 function displaySettings()
 {
     $contents = xtc_draw_form('modules', 'easymarketing.php', 'content=save', 'post');
     $module_keys = $this->keys();
     $keys_extra = array();
     for ($j = 0, $k = sizeof($module_keys); $j < $k; $j++) {
         $key_value_query = xtc_db_query("SELECT configuration_key,\n                                              configuration_value,\n                                              use_function,\n                                              set_function\n                                         FROM " . TABLE_CONFIGURATION . "\n                                        WHERE configuration_key = '" . $module_keys[$j] . "'");
         $key_value = xtc_db_fetch_array($key_value_query);
         if ($key_value['configuration_key'] != '') {
             $keys_extra[$module_keys[$j]]['title'] = constant(strtoupper($key_value['configuration_key'] . '_TITLE'));
         }
         $keys_extra[$module_keys[$j]]['value'] = $key_value['configuration_value'];
         if ($key_value['configuration_key'] != '') {
             $keys_extra[$module_keys[$j]]['description'] = constant(strtoupper($key_value['configuration_key'] . '_DESC'));
         }
         $keys_extra[$module_keys[$j]]['use_function'] = $key_value['use_function'];
         $keys_extra[$module_keys[$j]]['set_function'] = $key_value['set_function'];
     }
     $module_info['keys'] = $keys_extra;
     while (list($key, $value) = each($module_info['keys'])) {
         $contents .= '<b>' . $value['title'] . '</b><br />' . $value['description'] . '<br />';
         if ($value['set_function']) {
             eval('$contents .= ' . $value['set_function'] . "'" . $value['value'] . "', '" . $key . "');");
         } else {
             $contents .= xtc_draw_input_field('configuration[' . $key . ']', $value['value']);
         }
         $contents .= '<br/><br/>';
     }
     $contents .= '<br/>' . xtc_button(BUTTON_SAVE);
     $contents .= '<hr />' . xtc_button_link(MODULE_EM_UNINSTALL_BUTTON, xtc_href_link('easymarketing.php', xtc_get_all_get_params(array('content')) . 'content=check_uninstall'));
     return $contents;
 }
开发者ID:digitaldevelopers,项目名称:gambio,代码行数:32,代码来源:Easymarketing.inc.php

示例2: xtc_create_sort_heading

function xtc_create_sort_heading($sortby, $colnum, $heading)
{
    $sort_prefix = '';
    $sort_suffix = '';
    if ($sortby) {
        $sort_prefix = '<a href="' . xtc_href_link(basename($_SERVER['PHP_SELF']), xtc_get_all_get_params(array('page', 'info', 'sort')) . 'page=1&sort=' . $colnum . ($sortby == $colnum . 'a' ? 'd' : 'a')) . '" title="' . TEXT_SORT_PRODUCTS . ($sortby == $colnum . 'd' || substr($sortby, 0, 1) != $colnum ? TEXT_ASCENDINGLY : TEXT_DESCENDINGLY) . TEXT_BY . $heading . '" class="productListing-heading">';
        $sort_suffix = (substr($sortby, 0, 1) == $colnum ? substr($sortby, 1, 1) == 'a' ? '+' : '-' : '') . '</a>';
    }
    return $sort_prefix . $heading . $sort_suffix;
}
开发者ID:shophelfer,项目名称:shophelfer.com-shop,代码行数:10,代码来源:xtc_create_sort_heading.inc.php

示例3: getBuyNowButton

 /**
  * getBuyNowButton
  *
  * @param integer $id
  * @param string $name
  * @return string
  */
 function getBuyNowButton($id, $name)
 {
     global $PHP_SELF;
     return '<a href="' . xtc_href_link(basename($PHP_SELF), 'action=buy_now&BUYproducts_id=' . $id . '&' . xtc_get_all_get_params(array('action')), 'NONSSL') . '">' . xtc_image_button('button_buy_now.gif', TEXT_BUY . $name . TEXT_NOW) . '</a>';
 }
开发者ID:shophelfer,项目名称:shophelfer.com-shop,代码行数:12,代码来源:product.php

示例4: xtc_db_query

if ($affiliate_payment_split->number_of_rows > 0) {
    $affiliate_payment_values = xtc_db_query($affiliate_payment_split->sql_query);
    $number_of_payment = 0;
    while ($affiliate_payment = xtc_db_fetch_array($affiliate_payment_values)) {
        $number_of_payment++;
        if ($number_of_payment / 2 == floor($number_of_payment / 2)) {
            $affiliate_payment_table .= '<tr class="productListing-even">';
        } else {
            $affiliate_payment_table .= '<tr class="productListing-odd">';
        }
        $affiliate_payment_table .= '<td class="smallText" align="right">' . $affiliate_payment['affiliate_payment_id'] . '</td>';
        $affiliate_payment_table .= '<td class="smallText" align="center">' . xtc_date_short($affiliate_payment['affiliate_payment_date']) . '</td>';
        $affiliate_payment_table .= '<td class="smallText" align="right">' . $xtPrice->xtcFormat($affiliate_payment['affiliate_payment_total'], true) . '</td>';
        $affiliate_payment_table .= '<td class="smallText" align="right">' . $affiliate_payment['affiliate_payment_status_name'] . '</td>';
    }
    $smarty->assign('affiliate_payment_table', $affiliate_payment_table);
}
if ($affiliate_payment_split->number_of_rows > 0) {
    $smarty->assign('affiliate_payment_split_count', $affiliate_payment_split->display_count(TEXT_DISPLAY_NUMBER_OF_PAYMENTS));
    $smarty->assign('affiliate_payment_split_link', $affiliate_payment_split->display_links(MAX_DISPLAY_PAGE_LINKS, xtc_get_all_get_params(array('page', 'info', 'x', 'y'))));
}
$affiliate_payment_values = xtc_db_query("select sum(affiliate_payment_total) as total from " . TABLE_AFFILIATE_PAYMENT . " where affiliate_id = '" . $_SESSION['affiliate_id'] . "'");
$affiliate_payment = xtc_db_fetch_array($affiliate_payment_values);
$smarty->assign('affiliate_payment_total', $xtPrice->xtcFormat($affiliate_payment['total'], true));
$smarty->assign('language', $_SESSION['language']);
$smarty->caching = 0;
$main_content = $smarty->fetch(CURRENT_TEMPLATE . '/module/affiliate_payment.html');
$smarty->assign('main_content', $main_content);
$smarty->assign('language', $_SESSION['language']);
$smarty->caching = 0;
$smarty->display(CURRENT_TEMPLATE . '/index.html');
开发者ID:BackupTheBerlios,项目名称:xtc-affiliate,代码行数:31,代码来源:affiliate_payment.php

示例5: xtc_get_all_get_params

if ($specials_split->number_of_rows > 0) {
    //BOF - Dokuman - 2009-06-05 - replace table with div
    /*
      $smarty->assign('NAVBAR', '
      <table border="0" width="100%" cellspacing="0" cellpadding="2">
                <tr>
                  <td class="smallText">'.$specials_split->display_count(TEXT_DISPLAY_NUMBER_OF_SPECIALS).'</td>
                  <td align="right" class="smallText">'.TEXT_RESULT_PAGE.' '.$specials_split->display_links(MAX_DISPLAY_PAGE_LINKS, xtc_get_all_get_params(array ('page', 'info', 'x', 'y'))).'</td>
                </tr>
              </table>
      ');
    */
    $smarty->assign('NAVBAR', '
  <div style="width:100%;font-size:smaller">
    <div style="float:left">' . $specials_split->display_count(TEXT_DISPLAY_NUMBER_OF_SPECIALS) . '</div>
    <div style="float:right">' . TEXT_RESULT_PAGE . ' ' . $specials_split->display_links(MAX_DISPLAY_PAGE_LINKS, xtc_get_all_get_params(array('page', 'info', 'x', 'y'))) . '</div>
    <br style="clear:both" />
  </div>
  ');
    //EOF - Dokuman - 2009-06-05 - replace table with div
}
$smarty->assign('language', $_SESSION['language']);
$smarty->assign('module_content', $module_content);
$main_content = $smarty->fetch(CURRENT_TEMPLATE . '/module/specials.html');
$smarty->assign('main_content', $main_content);
$smarty->caching = 0;
if (!defined('RM')) {
    $smarty->load_filter('output', 'note');
}
$smarty->display(CURRENT_TEMPLATE . '/index.html');
include 'includes/application_bottom.php';
开发者ID:shophelfer,项目名称:shophelfer.com-shop,代码行数:31,代码来源:specials.php

示例6: Copyright

   http://www.xt-commerce.com

   Copyright (c) 2003 XT-Commerce
   -----------------------------------------------------------------------------------------
   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
   ---------------------------------------------------------------------------------------*/
// reset var
$box_smarty = new smarty();
$box_content = '';
$box_smarty->assign('tpl_path', 'templates/' . CURRENT_TEMPLATE . '/');
// BOF - GTB - 2010-09-20 - correct the Formular in dependences of the request type SSL / NONSSL
$box_smarty->assign('FORM_ACTION', '<form id="quick_add" method="post" action="' . xtc_href_link(basename($PHP_SELF), xtc_get_all_get_params(array('action')) . 'action=add_a_quickie', $request_type) . '">');
//$box_smarty->assign('FORM_ACTION','<form id="quick_add" method="post" action="' . xtc_href_link(basename($PHP_SELF), xtc_get_all_get_params(array ('action')) . 'action=add_a_quickie', 'NONSSL') . '">');
// EOF - GTB - 2010-09-20 - correct the Formular in dependences of the request type SSL / NONSSL
$box_smarty->assign('INPUT_FIELD', xtc_draw_input_field('quickie', '', 'style="width:170px"'));
$box_smarty->assign('SUBMIT_BUTTON', xtc_image_submit('button_add_quick.gif', BOX_HEADING_ADD_PRODUCT_ID));
$box_smarty->assign('FORM_END', '</form>');
$box_smarty->assign('BOX_CONTENT', $box_content);
$box_smarty->assign('language', $_SESSION['language']);
$box_smarty->caching = 0;
$box_add_a_quickie = $box_smarty->fetch(CURRENT_TEMPLATE . '/boxes/box_add_a_quickie.html');
$smarty->assign('box_ADD_QUICKIE', $box_add_a_quickie);
开发者ID:shophelfer,项目名称:shophelfer.com-shop,代码行数:31,代码来源:add_a_quickie.php

示例7: elseif

    echo $showMessage;
} elseif ($messageBox == 'ERROR') {
    $showMessage = showMessageError($message);
    echo $showMessage;
}
?>
</div>
<div class="pageHeading col-xs-12 col-sm-6">            
    <p class="h2">
        <?php 
echo MODULE_PAYMENT_BILLSAFE_2_DETAILS;
?>
    </p>
</div>
<div class="pageHeading text-right col-xs-12 col-sm-6"><?php 
echo '<a class="btn btn-default" href="' . xtc_href_link(FILENAME_ORDERS, xtc_get_all_get_params(array('action'))) . '">' . BUTTON_BACK . '</a>';
?>
</div>
<div class="col-xs-12"><img width="100%" height="1" border="0" alt="" src="images/pixel_black.gif"></div>

<div class="col-xs-12 col-sm-4">           
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr>
<td class="main" valign="top"><strong><?php 
echo MODULE_PAYMENT_BILLSAFE_2_BADDRESS;
?>
</strong></td>
</tr><tr>
<td class="main"><?php 
$customer = xtc_db_fetch_array(xtc_db_query('SELECT * FROM billsafe_orders_user_2 WHERE bsorders_id  ="' . xtc_db_input($billsafe_orders['id']) . '"'));
$country_query = xtc_db_query('SELECT countries_name FROM countries WHERE countries_iso_code_2 = "' . xtc_db_input($customer['country']) . '"');
$country = xtc_db_fetch_array($country_query);
开发者ID:shophelfer,项目名称:shophelfer.com-shop,代码行数:31,代码来源:billsafe_orders_2.php

示例8: array

 $heading = array();
 $contents = array();
 switch ($_GET['action']) {
     case 'delete':
         $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_ORDER . '</b>');
         $contents = array('form' => xtc_draw_form('orders', FILENAME_ORDERS, xtc_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=deleteconfirm'));
         $contents[] = array('text' => TEXT_INFO_DELETE_INTRO . '<br /><br /><b>' . $cInfo->customers_firstname . ' ' . $cInfo->customers_lastname . '</b>');
         $contents[] = array('text' => '<br />' . xtc_draw_checkbox_field('restock') . ' ' . TEXT_INFO_RESTOCK_PRODUCT_QUANTITY);
         $contents[] = array('align' => 'center', 'text' => '<br /><input type="submit" class="button" value="' . BUTTON_DELETE . '"><a class="button" href="' . xtc_href_link(FILENAME_ORDERS, xtc_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id) . '">' . BUTTON_CANCEL . '</a>');
         break;
     default:
         if (is_object($oInfo)) {
             $heading[] = array('text' => '<b>[' . $oInfo->orders_id . ']&nbsp;&nbsp;' . xtc_datetime_short($oInfo->date_purchased) . '</b>');
             $contents[] = array('align' => 'center', 'text' => '<a class="button" href="' . xtc_href_link(FILENAME_ORDERS, xtc_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit') . '">' . BUTTON_EDIT . '</a> <a class="button" href="' . xtc_href_link(FILENAME_ORDERS, xtc_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=delete') . '">' . BUTTON_DELETE . '</a>');
             if (AFTERBUY_ACTIVATED == 'true') {
                 $contents[] = array('align' => 'center', 'text' => '<a class="button" href="' . xtc_href_link(FILENAME_ORDERS, xtc_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=afterbuy_send') . '">' . BUTTON_AFTERBUY_SEND . '</a>');
             }
             // RATEPAY START
             include 'includes/ratepay_order_buttons.php';
             // RATEPAY END
             //$contents[] = array('align' => 'center', 'text' => '');
             $contents[] = array('text' => '<br />' . TEXT_DATE_ORDER_CREATED . ' ' . xtc_date_short($oInfo->date_purchased));
             if (xtc_not_null($oInfo->last_modified)) {
                 $contents[] = array('text' => TEXT_DATE_ORDER_LAST_MODIFIED . ' ' . xtc_date_short($oInfo->last_modified));
             }
             $contents[] = array('text' => '<br />' . TEXT_INFO_PAYMENT_METHOD . ' ' . $oInfo->payment_method);
             // elari added to display product list for selected order
             $order = new order($oInfo->orders_id);
             // BOF - Tomcraft - 2010-04-22 - Added a missing language definition
             //$contents[] = array ('text' => '<br /><br />'.sizeof($order->products).' Products ');
             $contents[] = array('text' => '<br /><br />' . sizeof($order->products) . '&nbsp;' . TEXT_PRODUCTS);
开发者ID:ratepay,项目名称:xtcommerce-module,代码行数:31,代码来源:orders.php

示例9: xtc_href_link

if (file_exists($pdffile)) {
    $pdflink = xtc_href_link(FILENAME_PDFBILL_DISPLAY, 'oID=' . $_GET['order_id']);
    $pdflink = sprintf('<a href="%s">' . PDFBILL_DOWNLOAD_INVOICE . '</a>', $pdflink);
    $smarty->assign('IPDFBILL_INVOICE_DOWNLOAD', $pdflink);
}
// --- eof -- ipdfbill --------
// Stuff
$smarty->assign('ORDER_NUMBER', $order->info['order_id']);
//DokuMan - 2011-08-31 - fix order_id assignment
$smarty->assign('ORDER_DATE', xtc_date_long($order->info['date_purchased']));
$smarty->assign('ORDER_STATUS', $order->info['orders_status']);
$smarty->assign('BILLING_LABEL', xtc_address_format($order->billing['format_id'], $order->billing, 1, ' ', '<br />'));
$smarty->assign('PRODUCTS_EDIT', xtc_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'));
// web28 - 2011-04-14 - change SSL -> NONSSL
$smarty->assign('SHIPPING_ADDRESS_EDIT', xtc_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL'));
$smarty->assign('BILLING_ADDRESS_EDIT', xtc_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL'));
$smarty->assign('BUTTON_PRINT', '<a style="cursor:pointer" onclick="javascript:window.open(\'' . xtc_href_link(FILENAME_PRINT_ORDER, 'oID=' . $order->info['order_id']) . '\', \'popup\', \'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no, width=640, height=600\')">' . xtc_image_button('button_print.gif', TEXT_PRINT) . '</a>');
$from_history = preg_match("/page=/i", xtc_get_all_get_params());
// referer from account_history yes/no
$back_to = $from_history ? FILENAME_ACCOUNT_HISTORY : FILENAME_ACCOUNT;
// if from account_history => return to account_history
$smarty->assign('BUTTON_BACK', '<a href="' . xtc_href_link($back_to, xtc_get_all_get_params(array('order_id')), 'SSL') . '">' . xtc_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>');
$smarty->assign('language', $_SESSION['language']);
$main_content = $smarty->fetch(CURRENT_TEMPLATE . '/module/account_history_info.html');
$smarty->assign('main_content', $main_content);
$smarty->caching = 0;
if (!defined('RM')) {
    $smarty->load_filter('output', 'note');
}
$smarty->display(CURRENT_TEMPLATE . '/index.html');
include 'includes/application_bottom.php';
开发者ID:shophelfer,项目名称:shophelfer.com-shop,代码行数:31,代码来源:account_history_info.php

示例10: while

        while ($specials = xtc_db_fetch_array($specials_query)) {
            $specials_array[] = $specials['products_id'];
        }
    }
    ?>
<!-- BOF - Tomcraft - 2009-11-06 - SPIFFY CAL 2.1 //-->
<script type="text/javascript">
  var specialExpires = new ctlSpiffyCalendarBox("specialExpires", "new_special", "specials_expires","btnDate1","<?php 
    echo $expires_date;
    ?>
",2);
</script>
<!-- EOF - Tomcraft - 2009-11-06 - SPIFFY CAL 2.1 //-->
<div class='col-xs-12'>
     <form name="new_special" <?php 
    echo 'action="' . xtc_href_link(FILENAME_SPECIALS, xtc_get_all_get_params(array('action', 'info', 'sID')) . 'action=' . $form_action, 'NONSSL') . '"';
    ?>
 method="post"><?php 
    if ($form_action == 'update') {
        echo xtc_draw_hidden_field('specials_id', $_GET['sID']);
    }
    ?>
        <div class="col-xs-12">
          
                <div class="main col-xs-12 col-sm-1"><?php 
    echo TEXT_SPECIALS_PRODUCT;
    echo $sInfo->products_name ? "" : '';
    ?>
&nbsp;</div>
	   <?php 
    $price = $sInfo->products_price;
开发者ID:shophelfer,项目名称:shophelfer.com-shop,代码行数:31,代码来源:specials.php

示例11: xtc_get_all_get_params

</td>
          <td class="dataTableContent">
            <?php 
        echo '<input type="submit" class="btn btn-default" onclick="this.blur();" value="' . BUTTON_INSERT . '"/>';
        ?>
          </td>
        </form>
      </tr>
      <?php 
    }
    ?>
    
  </table>
  <table border="0" width="100%" cellspacing="0" cellpadding="2">
    <tr>
      <td class="smallText" valign="top"><?php 
    echo $products_split->display_count($products_query_numrows, MAX_DISPLAY_PRODUCTS_SEARCH_RESULTS, $_GET['page'], TEXT_DISPLAY_NUMBER_OF_PRODUCTS);
    ?>
</td>
      <td class="smallText" align="right"><?php 
    echo $products_split->display_links($products_query_numrows, MAX_DISPLAY_PRODUCTS_SEARCH_RESULTS, MAX_DISPLAY_PAGE_LINKS, $_GET['page'], xtc_get_all_get_params(array('page')));
    ?>
</td>
    </tr>
  </table>
  <?php 
}
?>

    </div>
<!-- Artikel Einfügen Ende //-->
开发者ID:shophelfer,项目名称:shophelfer.com-shop,代码行数:31,代码来源:orders_edit_products.php

示例12: language

if (!isset($lng) || !is_object($lng)) {
    //EOF - 2010-02-28 - Fix Undefined variable: lng
    include DIR_WS_CLASSES . 'language.php';
    $lng = new language();
}
$languages_string = '';
$count_lng = '';
reset($lng->catalog_languages);
while (list($key, $value) = each($lng->catalog_languages)) {
    $count_lng++;
    //BOF - Dokuman - 2010-01-29 - code optimization
    //$languages_string .= ' <a href="' . xtc_href_link(basename($PHP_SELF), 'language=' . $key.'&'.xtc_get_all_get_params(array('language', 'currency')), $request_type) . '">' . xtc_image('lang/' .  $value['directory'] .'/' . $value['image'], $value['name']) . '</a> ';
    if (SEARCH_ENGINE_FRIENDLY_URLS == 'true') {
        $languages_string .= ' <a href="' . xtc_href_link(basename($PHP_SELF), 'language=' . $key . '&' . xtc_get_all_get_params(array('language', 'currency')), $request_type) . '">' . xtc_image('lang/' . $value['directory'] . '/' . $value['image'], $value['name']) . '</a> ';
    } else {
        $languages_string .= ' <a href="' . xtc_href_link(basename($PHP_SELF), 'language=' . $key . '&amp;' . xtc_get_all_get_params(array('language', 'currency')), $request_type) . '">' . xtc_image('lang/' . $value['directory'] . '/' . $value['image'], $value['name']) . '</a> ';
    }
    //EOF - Dokuman - 2010-01-29 - code optimization
}
// dont show box if there's only 1 language
if ($count_lng > 1) {
    $box_smarty = new smarty();
    $box_smarty->assign('tpl_path', 'templates/' . CURRENT_TEMPLATE . '/');
    $box_content = '';
    $box_smarty->assign('BOX_CONTENT', $languages_string);
    $box_smarty->assign('language', $_SESSION['language']);
    // set cache ID
    $box_smarty->caching = 0;
    $box_languages = $box_smarty->fetch(CURRENT_TEMPLATE . '/boxes/box_languages.html');
    $smarty->assign('box_LANGUAGES', $box_languages);
}
开发者ID:shophelfer,项目名称:shophelfer.com-shop,代码行数:31,代码来源:languages.php

示例13: foreach

    echo DATETIME;
    ?>
</td>
											<td class="dataTableHeadingContent"><?php 
    echo CUSTOMER;
    ?>
</td>
										</tr>
										<?php 
    foreach ($logs as $log) {
        ?>
											<tr <?php 
        echo $log['event_id'] == $event_id ? 'class="dataTableRowSelected"' : 'class="dataTableRow"';
        ?>
 onmouseover="this.style.cursor='pointer'" onclick="document.location.href='<?php 
        echo xtc_href_link(basename($PHP_SELF), xtc_get_all_get_params(array('event_id')) . 'event_id=' . $log['event_id']);
        ?>
'">
												<td class="dataTableContent"><?php 
        echo $log['event_id'];
        ?>
</td>
												<td class="dataTableContent"><?php 
        echo $log['date_created'];
        ?>
</td>
												<td class="dataTableContent"><?php 
        echo $log['customers_name'];
        ?>
&nbsp;</td>
											</tr>
开发者ID:shophelfer,项目名称:shophelfer.com-shop,代码行数:31,代码来源:payone_logs.php

示例14: elseif

                            if ($_POST['copy_as'] == 'link') {
                                $catfunc->link_product($product_id, $dest_category_id);
                            } elseif ($_POST['copy_as'] == 'duplicate') {
                                $catfunc->duplicate_product($product_id, $dest_category_id);
                            } else {
                                $messageStack->add_session('Copy type not specified.', 'error');
                            }
                        }
                    }
                }
                $action = is_array($_POST['multi_products']) && isset($_POST['link_to_product']) ? '&action=new_product' : '';
                $pID = is_array($_POST['multi_products']) && isset($_POST['multi_products']) ? '&pID=' . end($_POST['multi_products']) : '';
                xtc_redirect(xtc_href_link(FILENAME_CATEGORIES, 'cPath=' . $dest_category_id . $pID . $action . '&' . xtc_get_all_get_params(array('cPath', 'action', 'pID', 'cID'))));
            }
            // --- MULTI COPY ENDS ---
            xtc_redirect(xtc_href_link(FILENAME_CATEGORIES, 'cPath=' . $_GET['cPath'] . '&' . xtc_get_all_get_params(array('cPath', 'action', 'pID', 'cID'))));
            break;
            #EOB multi_action_confirm
    }
    //EOB switch action
}
//EOB if action
// check if the catalog image directory exists
if (is_dir(DIR_FS_CATALOG_IMAGES)) {
    if (!is_writeable(DIR_FS_CATALOG_IMAGES)) {
        $messageStack->add(ERROR_CATALOG_IMAGE_DIRECTORY_NOT_WRITEABLE, 'error');
    }
} else {
    $messageStack->add(ERROR_CATALOG_IMAGE_DIRECTORY_DOES_NOT_EXIST, 'error');
}
// end of pre-checks and actions, HTML output follows
开发者ID:shophelfer,项目名称:shophelfer.com-shop,代码行数:31,代码来源:categories.php

示例15: before_process

 function before_process()
 {
     if (isset($_SESSION['payment']) && $_SESSION['payment'] == $this->code) {
         if (isset($_SESSION['paypal']['paymentId'])) {
             if ($_POST['comments_added'] != '') {
                 $_SESSION['comments'] = xtc_db_prepare_input($_POST['comments']);
             }
             $error_mess = '';
             if (DISPLAY_CONDITIONS_ON_CHECKOUT == 'true' && $_POST['conditions'] != 'conditions') {
                 $error_mess = '1';
             }
             if ($_POST['check_address'] != 'address') {
                 $error_mess .= '2';
             }
             if (!isset($_SESSION['shipping']) || $_SESSION['shipping'] !== false && !is_array($_SESSION['shipping'])) {
                 $error_mess .= '3';
             }
             if ($error_mess != '') {
                 xtc_redirect(xtc_href_link(FILENAME_CHECKOUT_CONFIRMATION, xtc_get_all_get_params(array('conditions_message')) . 'conditions=true&conditions_message=' . $error_mess, 'SSL', true, false));
             }
         }
     }
 }
开发者ID:shophelfer,项目名称:shophelfer.com-shop,代码行数:23,代码来源:paypalcart.php


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