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


PHP zen_hide_session_id函数代码示例

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


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

示例1: zen_draw_form

<?php

/** 
 * displays add to wishlist sidebox
 */
$content = '';
if ($_SESSION['customer_id']) {
    $content .= zen_draw_form('wishlist_sidebox', zen_href_link(UN_FILENAME_WISHLIST, '', 'NONSSL'), 'get');
    $content .= zen_draw_hidden_field('main_page', UN_FILENAME_WISHLIST);
    $content .= zen_hide_session_id();
    $content .= zen_draw_hidden_field('action', 'un_add_wishlist');
    $content .= zen_draw_hidden_field('products_id', (int) $_GET['products_id']);
    $content .= '<div align="center">';
    $content .= zen_image_submit(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT);
    //$content .= '<input type="submit" value="' . UN_BUTTON_WISHLIST_ADD_ALT . '" />';
    $content .= '<br />';
    $content .= UN_BOX_WISHLIST_ADD_TEXT;
    $content .= '</div>';
    $content .= '</form>';
} else {
    $content .= '<div>';
    $content .= UN_BOX_WISHLIST_LOGIN_TEXT;
    $content .= '</div>';
}
开发者ID:quangn92,项目名称:visualyou,代码行数:24,代码来源:tpl_wishlist.php

示例2: zen_draw_separator

?>
            <td class="pageHeading"><?php 
echo HEADING_TITLE;
?>
</td>
            <td class="pageHeading" align="right"><?php 
echo zen_draw_separator('pixel_trans.gif', 1, HEADING_IMAGE_HEIGHT);
?>
</td>
            <td class="smallText" align="right">
<?php 
// show reset search
if (isset($_GET['search']) && zen_not_null($_GET['search'])) {
    echo '<a href="' . zen_href_link(FILENAME_DOWNLOADS_MANAGER) . '">' . zen_image_button('button_reset.gif', IMAGE_RESET) . '</a>&nbsp;&nbsp;';
}
echo HEADING_TITLE_SEARCH_DETAIL . ' ' . zen_draw_input_field('search') . zen_hide_session_id();
if (isset($_GET['search']) && zen_not_null($_GET['search'])) {
    $keywords = zen_db_input(zen_db_prepare_input($_GET['search']));
    echo '<br/ >' . TEXT_INFO_SEARCH_DETAIL_FILTER . $keywords;
}
?>
            </td>
          </form></tr>
        </table></td>
      </tr>

      <tr>
        <td width="100%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="smallText" align="center">
              <?php 
开发者ID:ygeneration666,项目名称:ec,代码行数:31,代码来源:downloads_manager.php

示例3: zen_draw_form

    } else {
        echo TEXT_SPEC_PRICE_INFO2;
    }
    ?>
            </form>
            <?php 
}
?>
          <!-- eof spec_price form -->
          </td>
          <td class="smallText" align="center" valign="top"></td>
          <td class="smallText"></td>
          <td class="smallText" align="center" valign="top">
<?php 
// bof toggle switch for editor
echo TEXT_EDITOR_INFO . zen_draw_form('set_editor_form', FILENAME_QUICK_UPDATES, zen_get_all_get_params(array('action', 'reset_editor')), 'get') . '&nbsp;' . zen_draw_pull_down_menu('reset_editor', $editors_pulldown, $current_editor_key, 'onChange="this.form.submit();"') . zen_hide_session_id() . zen_draw_hidden_field('action', 'set_editor') . '</form>';
// eof toggle switch for editor
?>
          </td>
        </tr>
      </table>
      <table class="quTop">
        <tr>
          <td class="smallText"><?php 
echo zen_draw_form('row_by_page', FILENAME_QUICK_UPDATES, zen_get_all_get_params(array('row_by_page')), 'get') . TEXT_MAXI_ROW_BY_PAGE . '&nbsp;&nbsp;' . zen_draw_pull_down_menu('row_by_page', $row_bypage_array, $row_by_page, 'onChange="this.form.submit();"');
?>
</form></td>
          <td class="smallText" align="center" valign="top"><?php 
echo zen_draw_form('manufacturers', FILENAME_QUICK_UPDATES, zen_get_all_get_params(array('manufacturer')), 'get') . DISPLAY_MANUFACTURERS . '&nbsp;&nbsp' . zen_draw_pull_down_menu("manufacturer", $manufacturers_array, $manufacturer, 'onChange="this.form.submit();"');
?>
</form></td>
开发者ID:happyxlq,项目名称:zencart_svn,代码行数:31,代码来源:quick_updates.php

示例4: zen_draw_form

              </tr>
            </td></table>
          </tr>

          <tr>
            <td><table border="0" width="100%" cellspacing="2" cellpadding="2">
              <tr><?php 
echo zen_draw_form('search', FILENAME_STATS_CUSTOMERS_REFERRALS, '', 'get');
echo zen_draw_hidden_field('referral_code', $_GET['referral_code']);
?>
                <td class="main" align="right"><?php 
echo TEXT_INFO_START_DATE . ' ' . zen_draw_input_field('start_date', $_GET['start_date']);
?>
</td>
                <td class="main" align="right"><?php 
echo TEXT_INFO_END_DATE . ' ' . zen_draw_input_field('end_date', $_GET['end_date']) . zen_hide_session_id();
?>
</td>
                <td class="main" align="right"><?php 
echo zen_image_submit('button_display.gif', IMAGE_DISPLAY);
?>
</td>
              </tr>
            </td></table></form>
          </tr>

<?php 
// reverse date from m-d-y to y-m-d
$date1 = explode("-", $_GET['start_date']);
$m1 = $date1[0];
$d1 = $date1[1];
开发者ID:dalinhuang,项目名称:yijinhuanxiang,代码行数:31,代码来源:stats_customers_referrals.php

示例5: zen_draw_form

</td>
<?php 
}
?>
    </tr></table></td>
  </tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
  <tr class="headerBar" height="20" width="100%">

    <td class="headerBarContent" align="left">
      <?php 
if (!$hide_languages) {
    echo zen_draw_form('languages', basename($PHP_SELF), '', 'get');
    echo DEFINE_LANGUAGE . '&nbsp;&nbsp;' . (sizeof($languages) > 1 ? zen_draw_pull_down_menu('language', $languages_array, $languages_selected, 'onChange="this.form.submit();"') : '');
    echo zen_hide_session_id();
    echo '</form>';
} else {
    echo '&nbsp;';
}
?>
    </td>
    <td class="headerBarContent" align="center"><b><?php 
echo date("r", time()) . 'GMT' . '&nbsp;[' . $_SERVER['REMOTE_ADDR'] . ' ]&nbsp;';
?>
</b></td>
    <td class="headerBarContent" align="right"><?php 
echo '<a href="' . zen_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_TOP . '</a>&nbsp;|&nbsp;<a href="' . zen_catalog_href_link() . '" class="headerLink" target="_blank">' . HEADER_TITLE_ONLINE_CATALOG . '</a>&nbsp;|&nbsp;<a href="http://www.zen-cart.com/" class="headerLink" target="_blank">' . HEADER_TITLE_SUPPORT_SITE . '</a>&nbsp;|&nbsp;<a href="' . zen_href_link(FILENAME_LOGOFF) . '" class="headerLink">' . HEADER_TITLE_LOGOFF . '</a>&nbsp;';
?>
</td>
  </tr>
开发者ID:severnaya99,项目名称:Sg-2010,代码行数:31,代码来源:header.php

示例6: str_replace

<?php

/**
 * Side Box Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2010 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_manufacturers_select.php 15882 2010-04-11 16:37:54Z wilt $
 */
$content = "";
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">';
$content .= zen_draw_form('manufacturers_form', zen_href_link(FILENAME_DEFAULT, '', $request_type, false), 'get');
$content .= zen_draw_hidden_field('main_page', FILENAME_DEFAULT);
$content .= zen_draw_pull_down_menu('manufacturers_id', $manufacturer_sidebox_array, isset($_GET['manufacturers_id']) ? $_GET['manufacturers_id'] : '', 'onchange="this.form.submit();" size="' . MAX_MANUFACTURERS_LIST . '" style="width: 90%; margin: auto;"') . zen_hide_session_id();
$content .= '</form>';
$content .= '</div>';
开发者ID:zenmagick,项目名称:zencart,代码行数:18,代码来源:tpl_manufacturers_select.php

示例7: addHideSessionID

/**
 * if submit to this zencart, add hidden zenid after <form>
 *
 * @param array $matches <form> tag  matches
 * @return string <form> tag
 */
function addHideSessionID($matches)
{
    if (!empty($matches[0])) {
        $tag = $matches[0];
        preg_match('/action="(.*?)"/', $tag, $action_matches);
        $action = $action_matches[1];
        if (isInternalURL($action)) {
            $tag .= zen_hide_session_id();
        }
        return $tag;
    }
}
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:18,代码来源:Mobile.php

示例8: str_replace

<?php

/**
 * Side Box Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_currencies.php 4566 2006-09-20 01:47:25Z birdbrain $
 */
$content = "";
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">';
$content .= zen_draw_form('currencies_form', zen_href_link(basename(ereg_replace('.php', '', $PHP_SELF)), '', $request_type, false), 'get');
$content .= zen_draw_pull_down_menu('currency', $currencies_array, $_SESSION['currency'], 'onchange="this.form.submit();"') . $hidden_get_variables . zen_hide_session_id();
$content .= '</form>';
$content .= '</div>';
开发者ID:andychang88,项目名称:daddy-store.com,代码行数:17,代码来源:tpl_currencies.php

示例9: zen_draw_form

<?php

//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce                                       |
// +----------------------------------------------------------------------+
// | Copyright (c) 2003 The zen-cart developers                           |
// |                                                                      |
// | http://www.zen-cart.com/index.php                                    |
// |                                                                      |
// | Portions Copyright (c) 2003 osCommerce                               |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license,       |
// | that is bundled with this package in the file LICENSE, and is        |
// | available through the world-wide-web at the following url:           |
// | http://www.zen-cart.com/license/2_0.txt.                             |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to       |
// | license@zen-cart.com so we can mail you a copy immediately.          |
// +----------------------------------------------------------------------+
// $Id: tpl_tell_a_friend.php 290 2004-09-15 19:48:26Z wilt $
//
$content = "";
$content .= zen_draw_form('tell_a_friend', zen_href_link(FILENAME_TELL_A_FRIEND, '', 'NONSSL', false), 'get');
$content .= zen_draw_hidden_field('main_page', FILENAME_TELL_A_FRIEND);
$content .= '<div align="center">' . zen_draw_input_field('to_email_address', '', 'size="10"') . '&nbsp;' . zen_image_submit(BUTTON_IMAGE_TELL_A_FRIEND, BUTTON_TELL_A_FRIEND_ALT) . zen_draw_hidden_field('products_id', $_GET['products_id']) . zen_hide_session_id() . '<br />' . BOX_TELL_A_FRIEND_TEXT;
$content .= "</div></form>";
开发者ID:severnaya99,项目名称:Sg-2010,代码行数:27,代码来源:tpl_tell_a_friend.php

示例10: zen_draw_separator

    <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td class="pageHeading"><?php 
echo HEADING_ADMIN_TITLE;
?>
</td>
            <td class="pageHeading" align="right"><?php 
echo zen_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT);
?>
</td>
            <td class="smallText" align="right">
<?php 
echo zen_draw_form('payment_status', FILENAME_PAYPAL, '', 'get') . HEADING_PAYMENT_STATUS . ' ' . zen_draw_pull_down_menu('payment_status', array_merge(array(array('id' => '', 'text' => TEXT_ALL_IPNS)), $payment_statuses), $selected_status, 'onChange="this.form.submit();"') . zen_hide_session_id() . zen_draw_hidden_field('paypal_ipn_sort_order', $_GET['paypal_ipn_sort_order']) . '</form>';
echo '&nbsp;&nbsp;&nbsp;' . TEXT_PAYPAL_IPN_SORT_ORDER_INFO . zen_draw_form('paypal_ipn_sort_order', FILENAME_PAYPAL, '', 'get') . '&nbsp;&nbsp;' . zen_draw_pull_down_menu('paypal_ipn_sort_order', $paypal_ipn_sort_order_array, $reset_paypal_ipn_sort_order, 'onChange="this.form.submit();"') . zen_hide_session_id() . zen_draw_hidden_field('payment_status', $_GET['payment_status']) . '</form>';
?>
            </td>
            <td class="pageHeading" align="right"><?php 
echo zen_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT);
?>
</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
              <tr class="dataTableHeadingRow">
                <td class="dataTableHeadingContent"><?php 
开发者ID:kirkbauer2,项目名称:kirkzc,代码行数:31,代码来源:paypal.php

示例11: zen_draw_form

<?php

//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce                                       |
// +----------------------------------------------------------------------+
// | Copyright (c) 2003 The zen-cart developers                           |
// |                                                                      |
// | http://www.zen-cart.com/index.php                                    |
// |                                                                      |
// | Portions Copyright (c) 2003 osCommerce                               |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license,       |
// | that is bundled with this package in the file LICENSE, and is        |
// | available through the world-wide-web at the following url:           |
// | http://www.zen-cart.com/license/2_0.txt.                             |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to       |
// | license@zen-cart.com so we can mail you a copy immediately.          |
// +----------------------------------------------------------------------+
// $Id: tpl_record_company_select.php 290 2004-09-15 19:48:26Z wilt $
//
$content = "";
$content .= zen_draw_form('record_company', zen_href_link(FILENAME_DEFAULT, '', 'NONSSL', false), 'get');
$content .= zen_draw_pull_down_menu('record_company_id', $record_company_array, isset($_GET['record_company_id']) ? $_GET['record_company_id'] : '', 'onchange="this.form.submit();" size="' . MAX_RECORD_COMPANY_LIST . '" style="width: 100%"') . zen_hide_session_id() . zen_draw_hidden_field('typefilter', 'record_company');
$content .= zen_draw_hidden_field('main_page', FILENAME_DEFAULT) . '</form>';
开发者ID:severnaya99,项目名称:Sg-2010,代码行数:26,代码来源:tpl_record_company_select.php

示例12: zen_draw_form

<?php 
    echo zen_draw_form('status', FILENAME_ORDERS, '', 'get', '', true);
    // show reset search status
    if (isset($_GET['status']) && zen_not_null($_GET['status']) or $_GET['cID'] != '') {
        echo '<a href="' . zen_href_link(FILENAME_ORDERS, '', 'NONSSL') . '">' . zen_image_button('button_reset.gif', IMAGE_RESET) . '</a><br />';
    }
    echo HEADING_TITLE_STATUS . ' ' . zen_draw_pull_down_menu('status', array_merge(array(array('id' => '', 'text' => TEXT_ALL_ORDERS)), $orders_statuses), $_GET['status'], 'onChange="this.form.submit();"');
    echo zen_hide_session_id();
    ?>
</form>
</div>

<div id="searchOrderID">
<?php 
    echo zen_draw_form('ordersID', FILENAME_ORDERS, '', 'get', '', true);
    echo HEADING_TITLE_SEARCH . ' ' . zen_draw_input_field('oID', '', 'size="12"') . zen_draw_hidden_field('action', 'edit') . zen_hide_session_id();
    ?>
</form>
</div>
<!-- search -->
<?php 
}
?>

<!-- body //-->
<table border="0" width="100%" cellspacing="2" cellpadding="2">
<!-- body_text //-->


<?php 
/*
开发者ID:retched,项目名称:zen_SuperOrders,代码行数:31,代码来源:orders.php

示例13: nav_search

 public static function nav_search()
 {
     global $request_type;
     $content = "";
     $content .= zen_draw_form('quick_find_header', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', $request_type, false), 'get');
     $content .= zen_draw_hidden_field('main_page', FILENAME_ADVANCED_SEARCH_RESULT);
     $content .= zen_draw_hidden_field('search_in_description', '1') . zen_hide_session_id();
     $content .= "<div class='input-group'>";
     $content .= zen_draw_input_field('keyword', '', 'class="form-control"') . '<span class="input-group-btn"><button class="btn btn-default" type="submit">Search</button></span>';
     $content .= "</div>";
     $content .= "</form>";
     return $content;
 }
开发者ID:Southern-Exposure-Seed-Exchange,项目名称:Zencart-Bootstrap-Theme,代码行数:13,代码来源:tpl_header.php

示例14: switch

<?php 
switch ($type) {
    case 'yearly':
        break;
    case 'monthly':
        echo TITLE_YEAR . ' ' . zen_draw_pull_down_menu('year', $years_array, isset($_GET['year']) ? $_GET['year'] : date('Y'), 'onChange="this.form.submit();"') . '<noscript><input type="submit" value="GO"></noscript>';
        break;
    default:
    case 'daily':
        echo TITLE_MONTH . ' ' . zen_draw_pull_down_menu('month', $months_array, isset($_GET['month']) ? $_GET['month'] : date('n'), 'onChange="this.form.submit();"') . '<noscript><input type="submit" value="GO"></noscript><br>' . TITLE_YEAR . ' ' . zen_draw_pull_down_menu('year', $years_array, isset($_GET['year']) ? $_GET['year'] : date('Y'), 'onChange="this.form.submit();"') . '<noscript><input type="submit" value="GO"></noscript>';
        break;
}
?>
            </td>
          <?php 
echo zen_hide_session_id() . zen_draw_hidden_field('page', $_GET['page']) . zen_draw_hidden_field('bID', $_GET['bID']);
?>
</form>
								</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 '<a href="' . zen_href_link(FILENAME_BANNER_MANAGER, 'page=' . $_GET['page'] . '&bID=' . $_GET['bID']) . '">' . zen_image_button('button_back.gif', IMAGE_BACK) . '</a>';
?>
开发者ID:wwxgitcat,项目名称:zencart_v1.0,代码行数:31,代码来源:banner_statistics.php

示例15: str_replace

<?php

/**
 * Side Box Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2010 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_music_genres_select.php 15882 2010-04-11 16:37:54Z wilt $
 */
$content = "";
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">';
$content .= zen_draw_form('music_genres_form', zen_href_link(FILENAME_DEFAULT, '', $request_type, false), 'get');
$content .= zen_draw_hidden_field('main_page', FILENAME_DEFAULT) . zen_hide_session_id() . zen_draw_hidden_field('typefilter', 'music_genre');
$content .= zen_draw_pull_down_menu('music_genre_id', $music_genres_array, isset($_GET['music_genre_id']) ? $_GET['music_genre_id'] : '', 'onchange="this.form.submit();" size="' . MAX_MUSIC_GENRES_LIST . '" style="width: 90%; margin: auto;"');
$content .= '</form>';
$content .= '</div>';
开发者ID:wwxgitcat,项目名称:zencart_v1.0,代码行数:18,代码来源:tpl_music_genres_select.php


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