• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP tep_image_submit函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: credit_selection

 function credit_selection()
 {
     global $customer_id, $currencies, $language;
     // START Checkout Display Fix by BTBlomberg
     $selection_string = '<tr><td></td><td class="main">';
     $selection_string .= tep_draw_form('checkout_payment_gift', tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL'), 'post');
     $selection_string .= '<div><br /> ';
     $selection_string .= Translate('Enter Redeem Code') . tep_draw_input_field('gv_redeem_code', 'redeem code');
     $selection_string .= ' ';
     $selection_string .= tep_image_submit('button_redeem.gif', Translate('Apply Coupon Code'), 'onclick="return submitFunction()"');
     $selection_string .= '</div><br /></form></td></tr>';
     // END Checkout Display Fix by BTBlomberg
     return $selection_string;
 }
开发者ID:CristianCCIT,项目名称:shop4office,代码行数:14,代码来源:ot_coupon.php


示例2: ajax_start

 function ajax_start()
 {
     extract(tep_load('defs', 'sessions'));
     $result = false;
     if ($cDefs->action != 'direct_management_select') {
         return $result;
     }
     $cStrings =& $this->strings;
     $contents = '<div class="bounder"><div class="formArea"><div class="blockpad">' . $cStrings->TEXT_INFO_DIRECT_MANAGEMENT_POPUP . '</div>' . tep_draw_form('dm_confirm', $cDefs->script, 'action=direct_management', 'POST', 'target="_blank"') . tep_draw_hidden_field('dm_select', 'confirm') . '<div class="formButtons">' . tep_image_submit('button_confirm.gif', IMAGE_CONFIRM) . '</div></form></div></div>';
     echo $contents;
     $cSessions->close();
     $result = true;
     return $result;
 }
开发者ID:enigma1,项目名称:i-metrics-cms,代码行数:14,代码来源:admin_direct_management.php


示例3: show_search

/**
 * $Id: search.php 57 2005-12-15 14:39:09Z Michael $
 * osCommerce, Open Source E-Commerce Solutions
 * http://www.oscommerce.com
 * Copyright (c) 2003 osCommerce
 * Released under the GNU General Public License
 * adapted 2005 for xoops by FlinkUX <http://www.flinkux.de>
 * @package xosC
 * @author Michael Hammelmann <[email protected]>
*/
function show_search()
{
    global $xoopsDB, $xoopsConfig, $xoopsTpl, $xoopsConfig;
    include_once XOOPS_ROOT_PATH . "/modules/osC/includes/configure.php";
    include_once XOOPS_ROOT_PATH . "/modules/osC/includes/database_tables.php";
    include_once XOOPS_ROOT_PATH . "/modules/osC/includes/filenames.php";
    include_once XOOPS_ROOT_PATH . "/modules/osC/includes/functions/database.php";
    include_once XOOPS_ROOT_PATH . "/modules/osC/includes/functions/sessions.php";
    include_once XOOPS_ROOT_PATH . "/modules/osC/includes/functions/general.php";
    include_once XOOPS_ROOT_PATH . "/modules/osC/includes/functions/html_output.php";
    include_once XOOPS_ROOT_PATH . "/modules/osC/includes/classes/boxes.php";
    $info_box_contents = array();
    $info_box_contents[] = array('text' => BOX_HEADING_SEARCH);
    new infoBoxHeading($info_box_contents, false, false);
    $info_box_contents = array();
    $info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'), 'align' => 'center', 'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH - 30) . 'px"') . '&nbsp;' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<br><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a>');
    $block = new infoBox($info_box_contents);
    return $block->content;
}
开发者ID:severnaya99,项目名称:Sg-2010,代码行数:29,代码来源:search.php


示例4: tep_db_query

        echo '<option name="' . $options_values['products_options_name'] . '" value="' . $options_values['products_options_id'] . '">' . $options_values['products_options_name'] . '</option>';
    }
    ?>
            </select>&nbsp;</td>
            <td class="smallText">&nbsp;<select name="values_id">
<?php 
    $values = tep_db_query("select * from " . TABLE_PRODUCTS_OPTIONS_VALUES . " where language_id = '" . $languages_id . "' order by products_options_values_name");
    while ($values_values = tep_db_fetch_array($values)) {
        echo '<option name="' . $values_values['products_options_values_name'] . '" value="' . $values_values['products_options_values_id'] . '">' . $values_values['products_options_values_name'] . '</option>';
    }
    ?>
            </select>&nbsp;</td>
            <td align="right" class="smallText">&nbsp;<input type="text" name="value_price" size="6">&nbsp;</td>
            <td align="right" class="smallText">&nbsp;<input type="text" name="price_prefix" size="2" value="+">&nbsp;</td>
            <td align="center" class="smallText">&nbsp;<?php 
    echo tep_image_submit('button_insert.gif', IMAGE_INSERT);
    ?>
&nbsp;</td>
          </tr>
<?php 
    if (DOWNLOAD_ENABLED == 'true') {
        $products_attributes_maxdays = DOWNLOAD_MAX_DAYS;
        $products_attributes_maxcount = DOWNLOAD_MAX_COUNT;
        ?>
          <tr class="<?php 
        echo !($rows % 2) ? 'attributes-even' : 'attributes-odd';
        ?>
">
            <td>&nbsp;</td>
            <td colspan="5">
              <table>
开发者ID:pcchynoweth,项目名称:oscommerce2,代码行数:31,代码来源:products_attributes.php


示例5: showConfirmDeletePackageForm

function showConfirmDeletePackageForm()
{
    $packages = getPackages();
    $package_name = "";
    for ($i = 0; $i < count($packages); $i++) {
        if ($packages[$i]['id'] == $_GET['id']) {
            $package_name = $packages[$i]['name'];
        }
    }
    echo "<table cellspacing='0' width='100%' cellpadding='0'> <tr><td colspan='2' class='infoBoxHeading'>" . DELETE_PACKAGE . "</td></tr></table>";
    echo tep_draw_form("confirmDeletePackage", FILENAME_PACKAGING);
    echo tep_draw_hidden_field("Action", "deletepackage");
    echo tep_draw_hidden_field("id", $_GET['id']);
    echo '<table cellpadding="5"><tr><td class="infoBoxContent">' . CONFIRM_DELETE . '</td></tr>';
    echo "<tr><td>" . $package_name . "</td></td>";
    echo "<tr><td>";
    //echo tep_image_submit('button_confirm.gif', 'ok') ;
    //    echo '<a href="' . tep_href_link( FILENAME_PACKAGING ) . '">'.tep_image_button('button_confirm.gif', IMAGE_CONFIRM) .'</a>' ;
    echo tep_image_submit('button_confirm.gif', IMAGE_CONFIRM);
    echo '&nbsp;&nbsp;<a href="' . tep_href_link(FILENAME_PACKAGING) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>';
    echo '</td></tr></table>' . "\n";
    echo '</form>' . "\n";
}
开发者ID:digideskio,项目名称:oscmax2,代码行数:23,代码来源:packaging.php


示例6: tep_image

            $manufacturer_inputs_string .= '<br>' . tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . '&nbsp;' . tep_draw_input_field('manufacturers_url[' . $languages[$i]['id'] . ']', tep_get_manufacturer_url($mInfo->manufacturers_id, $languages[$i]['id']));
        }
        $contents[] = array('text' => '<br>' . TEXT_MANUFACTURERS_URL . $manufacturer_inputs_string);
        $contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_save.gif', IMAGE_SAVE) . ' <a href="' . tep_href_link(FILENAME_MANUFACTURERS, 'page=' . $HTTP_GET_VARS['page'] . '&mID=' . $mInfo->manufacturers_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
        break;
    case 'delete':
        $heading[] = array('text' => '<b>' . TEXT_HEADING_DELETE_MANUFACTURER . '</b>');
        $contents = array('form' => tep_draw_form('manufacturers', FILENAME_MANUFACTURERS, 'page=' . $HTTP_GET_VARS['page'] . '&mID=' . $mInfo->manufacturers_id . '&action=deleteconfirm'));
        $contents[] = array('text' => TEXT_DELETE_INTRO);
        $contents[] = array('text' => '<br><b>' . $mInfo->manufacturers_name . '</b>');
        $contents[] = array('text' => '<br>' . tep_draw_checkbox_field('delete_image', '', true) . ' ' . TEXT_DELETE_IMAGE);
        if ($mInfo->products_count > 0) {
            $contents[] = array('text' => '<br>' . tep_draw_checkbox_field('delete_products') . ' ' . TEXT_DELETE_PRODUCTS);
            $contents[] = array('text' => '<br>' . sprintf(TEXT_DELETE_WARNING_PRODUCTS, $mInfo->products_count));
        }
        $contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_delete.gif', IMAGE_DELETE) . ' <a href="' . tep_href_link(FILENAME_MANUFACTURERS, 'page=' . $HTTP_GET_VARS['page'] . '&mID=' . $mInfo->manufacturers_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
        break;
    default:
        if (isset($mInfo) && is_object($mInfo)) {
            $heading[] = array('text' => '<b>' . $mInfo->manufacturers_name . '</b>');
            $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_MANUFACTURERS, 'page=' . $HTTP_GET_VARS['page'] . '&mID=' . $mInfo->manufacturers_id . '&action=edit') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_MANUFACTURERS, 'page=' . $HTTP_GET_VARS['page'] . '&mID=' . $mInfo->manufacturers_id . '&action=delete') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
            $contents[] = array('text' => '<br>' . TEXT_DATE_ADDED . ' ' . tep_date_short($mInfo->date_added));
            if (tep_not_null($mInfo->last_modified)) {
                $contents[] = array('text' => TEXT_LAST_MODIFIED . ' ' . tep_date_short($mInfo->last_modified));
            }
            $contents[] = array('text' => '<br>' . tep_info_image($mInfo->manufacturers_image, $mInfo->manufacturers_name));
            $contents[] = array('text' => '<br>' . TEXT_PRODUCTS . ' ' . $mInfo->products_count);
        }
        break;
}
if (tep_not_null($heading) && tep_not_null($contents)) {
开发者ID:JanZ,项目名称:oscommerce2,代码行数:31,代码来源:manufacturers.php


示例7: tep_draw_separator

?>
      <tr>
        <td><?php 
echo tep_draw_separator('pixel_trans.gif', '100%', '10');
?>
</td>
      </tr>
      <tr>
        <td>
<?php 
//$email_address = tep_db_prepare_input($HTTP_GET_VARS['email_address']);
$account['entry_country_id'] = STORE_COUNTRY;
$account['entry_zone_id'] = STORE_ZONE;
require DIR_WS_MODULES . 'account_details.php';
?>
        </td>
      </tr>
      <tr>
        <td align="right" class="main"><br><?php 
echo tep_image_submit('button_confirm.gif', IMAGE_BUTTON_CONTINUE);
?>
</td>
      </tr>
    </table></form></td>
    <td></td>
  </tr>
</table>
</body>
</html>
<?php 
require DIR_WS_INCLUDES . 'application_bottom.php';
开发者ID:rrecurse,项目名称:IntenseCart,代码行数:31,代码来源:create_account.php


示例8: array

    case 'edit':
        $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_EDIT_COUNTRY . '</b>');
        $contents = array('form' => tep_draw_form('countries', FILENAME_COUNTRIES, 'page=' . $HTTP_GET_VARS['page'] . '&cID=' . $cInfo->countries_id . '&action=save'));
        $contents[] = array('text' => TEXT_INFO_EDIT_INTRO);
        $contents[] = array('text' => '<br>' . TEXT_INFO_COUNTRY_NAME . '<br>' . tep_draw_input_field('countries_name', $cInfo->countries_name));
        $contents[] = array('text' => '<br>' . TEXT_INFO_COUNTRY_CODE_2 . '<br>' . tep_draw_input_field('countries_iso_code_2', $cInfo->countries_iso_code_2));
        $contents[] = array('text' => '<br>' . TEXT_INFO_COUNTRY_CODE_3 . '<br>' . tep_draw_input_field('countries_iso_code_3', $cInfo->countries_iso_code_3));
        $contents[] = array('text' => '<br>' . TEXT_INFO_ADDRESS_FORMAT . '<br>' . tep_draw_pull_down_menu('address_format_id', tep_get_address_formats(), $cInfo->address_format_id));
        $contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_update.gif', IMAGE_UPDATE) . '&nbsp;<a href="' . tep_href_link(FILENAME_COUNTRIES, 'page=' . $HTTP_GET_VARS['page'] . '&cID=' . $cInfo->countries_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
        break;
    case 'delete':
        $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_COUNTRY . '</b>');
        $contents = array('form' => tep_draw_form('countries', FILENAME_COUNTRIES, 'page=' . $HTTP_GET_VARS['page'] . '&cID=' . $cInfo->countries_id . '&action=deleteconfirm'));
        $contents[] = array('text' => TEXT_INFO_DELETE_INTRO);
        $contents[] = array('text' => '<br><b>' . $cInfo->countries_name . '</b>');
        $contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_delete.gif', IMAGE_UPDATE) . '&nbsp;<a href="' . tep_href_link(FILENAME_COUNTRIES, 'page=' . $HTTP_GET_VARS['page'] . '&cID=' . $cInfo->countries_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
        break;
    default:
        if (is_object($cInfo)) {
            $heading[] = array('text' => '<b>' . $cInfo->countries_name . '</b>');
            $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_COUNTRIES, 'page=' . $HTTP_GET_VARS['page'] . '&cID=' . $cInfo->countries_id . '&action=edit') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_COUNTRIES, 'page=' . $HTTP_GET_VARS['page'] . '&cID=' . $cInfo->countries_id . '&action=delete') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
            $contents[] = array('text' => '<br>' . TEXT_INFO_COUNTRY_NAME . '<br>' . $cInfo->countries_name);
            $contents[] = array('text' => '<br>' . TEXT_INFO_COUNTRY_CODE_2 . ' ' . $cInfo->countries_iso_code_2);
            $contents[] = array('text' => '<br>' . TEXT_INFO_COUNTRY_CODE_3 . ' ' . $cInfo->countries_iso_code_3);
            $contents[] = array('text' => '<br>' . TEXT_INFO_ADDRESS_FORMAT . ' ' . $cInfo->address_format_id);
        }
        break;
}
if (tep_not_null($heading) && tep_not_null($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
    $box = new box();
开发者ID:rrecurse,项目名称:IntenseCart,代码行数:31,代码来源:countries.php


示例9: array

        $contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_insert.gif', IMAGE_INSERT) . '&nbsp;<a href="' . tep_href_link(FILENAME_SHIP2GEO, 'page=' . $HTTP_GET_VARS['page']) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
        break;
    case 'edit':
        $heading[] = array('text' => '<strong>' . TEXT_INFO_HEADING_EDIT_SHIPPING . '</strong>');
        $contents = array('form' => tep_draw_form('shipping', FILENAME_SHIP2GEO, 'page=' . $HTTP_GET_VARS['page'] . '&action=save') . tep_draw_hidden_field('shipping', $sInfo->shipping) . tep_draw_hidden_field('status', $sInfo->status));
        $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) . '&nbsp;<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> &raquo; ' . $sInfo->geo_zone_names);
        $contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_delete.gif', IMAGE_DELETE) . '&nbsp;<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";
}
开发者ID:rabbit-source,项目名称:setbook.ru,代码行数:31,代码来源:ship2geo.php


示例10: tep_draw_separator

        <td><?php 
    echo tep_draw_separator('pixel_trans.gif', '100%', '10');
    ?>
</td>
      </tr>
      <tr>
        <td><table border="0" width="100%" cellspacing="1" cellpadding="2">
          <tr>
            <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
              <tr>
                <td width="10"><?php 
    echo tep_draw_separator('pixel_trans.gif', '10', '1');
    ?>
</td>
                <td><?php 
    echo tep_image_submit('button_update_cart.gif', IMAGE_BUTTON_UPDATE_CART);
    ?>
</td>
<?php 
    $back = sizeof($navigation->path) - 2;
    if (isset($navigation->path[$back])) {
        ?>
                <td><?php 
        echo '<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>';
        ?>
</td>
<?php 
    }
    ?>
                <td align="right"><?php 
    echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>';
开发者ID:validoc,项目名称:Pikmas,代码行数:31,代码来源:shopping_cart.php


示例11: 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


示例12: tep_image_submit

				<td align="right" style="padding:10px">

<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 '&nbsp; <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>
开发者ID:rrecurse,项目名称:IntenseCart,代码行数:31,代码来源:information_form.php


示例13: array

 case 'move_product':
     $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_MOVE_PRODUCT . '</b>');
     $contents = array('form' => tep_draw_form('products', FILENAME_CATEGORIES, 'action=move_product_confirm&cPath=' . $cPath) . tep_draw_hidden_field('products_id', $pInfo->products_id));
     $contents[] = array('text' => sprintf(TEXT_MOVE_PRODUCTS_INTRO, $pInfo->products_name));
     $contents[] = array('text' => '<br>' . TEXT_INFO_CURRENT_CATEGORIES . '<br><b>' . tep_output_generated_category_path($pInfo->products_id, 'product') . '</b>');
     $contents[] = array('text' => '<br>' . sprintf(TEXT_MOVE, $pInfo->products_name) . '<br>' . tep_draw_pull_down_menu('move_to_category_id', tep_get_category_tree(), $current_category_id));
     $contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_move.gif', IMAGE_MOVE) . ' <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
     break;
 case 'copy_to':
     $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_COPY_TO . '</b>');
     $contents = array('form' => tep_draw_form('copy_to', FILENAME_CATEGORIES, 'action=copy_to_confirm&cPath=' . $cPath) . tep_draw_hidden_field('products_id', $pInfo->products_id));
     $contents[] = array('text' => TEXT_INFO_COPY_TO_INTRO);
     $contents[] = array('text' => '<br>' . TEXT_INFO_CURRENT_CATEGORIES . '<br><b>' . tep_output_generated_category_path($pInfo->products_id, 'product') . '</b>');
     $contents[] = array('text' => '<br>' . TEXT_CATEGORIES . '<br>' . tep_draw_pull_down_menu('categories_id', tep_get_category_tree(), $current_category_id));
     $contents[] = array('text' => '<br>' . TEXT_HOW_TO_COPY . '<br>' . tep_draw_radio_field('copy_as', 'link', true) . ' ' . TEXT_COPY_AS_LINK . '<br>' . tep_draw_radio_field('copy_as', 'duplicate') . ' ' . TEXT_COPY_AS_DUPLICATE);
     $contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_copy.gif', IMAGE_COPY) . ' <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
     break;
 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
开发者ID:severnaya99,项目名称:Sg-2010,代码行数:31,代码来源:categories.php


示例14: array

            </table></td>
<?php 
$heading = array();
$contents = array();
switch ($action) {
    case 'edit':
        $heading[] = array('text' => '<b>' . $cInfo->configuration_title . '</b>');
        if ($cInfo->set_function) {
            eval('$value_field = ' . $cInfo->set_function . '"' . htmlspecialchars($cInfo->configuration_value) . '");');
        } else {
            $value_field = tep_draw_input_field('configuration_value', $cInfo->configuration_value);
        }
        $contents = array('form' => tep_draw_form('configuration', FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $cInfo->configuration_id . '&action=save'));
        $contents[] = array('text' => TEXT_INFO_EDIT_INTRO);
        $contents[] = array('text' => '<br><b>' . $cInfo->configuration_title . '</b><br>' . $cInfo->configuration_description . '<br>' . $value_field);
        $contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_update.gif', IMAGE_UPDATE) . '&nbsp;<a href="' . tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $cInfo->configuration_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
        break;
    default:
        if (isset($cInfo) && is_object($cInfo)) {
            $heading[] = array('text' => '<b>' . $cInfo->configuration_title . '</b>');
            $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $cInfo->configuration_id . '&action=edit') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a>');
            $contents[] = array('text' => '<br>' . $cInfo->configuration_description);
            $contents[] = array('text' => '<br>' . TEXT_INFO_DATE_ADDED . ' ' . tep_date_short($cInfo->date_added));
            if (tep_not_null($cInfo->last_modified)) {
                $contents[] = array('text' => TEXT_INFO_LAST_MODIFIED . ' ' . tep_date_short($cInfo->last_modified));
            }
        }
        break;
}
if (tep_not_null($heading) && tep_not_null($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
开发者ID:laiello,项目名称:hotel-os,代码行数:31,代码来源:configuration.php


示例15: tep_href_link

?>
<!-- search //-->
<?php 
$boxHeading = '<a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '">' . BOX_HEADING_SEARCH . '</a>';
$corner_top_left = 'rounded';
$corner_top_right = 'rounded';
$corner_bottom_left = 'rounded';
$corner_bottom_right = 'rounded';
$boxContent_attributes = ' align="center"';
$boxLink = '<a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '">' . tep_image(bts_select('images', 'infobox/arrow_right.png'), ICON_ARROW_RIGHT) . '</a>';
$box_base_name = 'search';
// for easy unique box template setup (added BTSv1.2)
$box_id = $box_base_name . 'Box';
// for CSS styling paulm (editted BTSv1.2)
$boxContent = tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get');
$boxContent .= tep_draw_hidden_field('search_in_description', '1') . tep_draw_input_field('keywords', '', 'id="txtSearch"  size="10" maxlength="30" style="width: ' . ($box_width - 40) . 'px"') . '&nbsp;' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<br><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a>';
$boxContent .= '</form>' . '<br><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '&amp;pfrom=0&amp;pto=10000000', 'NONSSL') . '">' . BOX_INFORMATION_ALLPRODS . '</a><br>';
include bts_select('boxes', $box_base_name);
// BTS 1.5
$boxContent_attributes = '';
if (AJAX_SEARCH_SUGGEST == 'true') {
    ?>

<script language="JavaScript" type="text/javascript" src="includes/class.OSCFieldSuggest.js"></script>
<script language="JavaScript" type="text/javascript">
  /*<![CDATA[*/
  //Attention!!! put always this code above the HTML code of your field!!!
  var oscSearchSuggest = new OSCFieldSuggest('txtSearch', 'includes/search_suggest.xsl', 'searchsuggest.php');
  //Adds autocomplete off to search fields
  var e = document.getElementById('txtSearch');
	e.autocomplete = 'off'; // Maybe should be false
开发者ID:digideskio,项目名称:oscmax2,代码行数:31,代码来源:search.php


示例16: tep_db_query

}
?>
	          </select></td>
	          <td class="smallText"><?php 
echo TABLE_TEXT_TO;
?>
	          <select name="clone_products_id_to">
	          <?php 
$products = tep_db_query("select p.products_id, pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where pd.products_id = p.products_id and pd.language_id = '" . $languages_id . "' order by pd.products_name");
while ($products_values = tep_db_fetch_array($products)) {
    echo '<option name="' . $products_values['products_name'] . '" value="' . $products_values['products_id'] . '">' . $products_values['products_name'] . '</option>';
}
?>
              </select></td>
              <td><?php 
echo tep_image_submit('button_update.gif', IMAGE_UPDATE);
?>
</td>
            </tr>
          </table>
        </form></td>
      </tr>	
<!-- EOF: Attribute Sort with Clone Tool //-->

    </table></td>
<!-- products_attributes_eof //-->
  </tr>
</table>
<!-- body_text_eof //-->
<!-- footer //-->
<?php 
开发者ID:digideskio,项目名称:oscmax2,代码行数:31,代码来源:products_attributes.php


示例17: tep_draw_pull_down_menu

       <tr>
        <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
        <tr>
          <td><table border="0" width="100%">
           <tr>
            <td class="smallText" width="10%" style="font-weight: bold;">Page Name</td>
            <td align="left"><?php 
echo tep_draw_pull_down_menu('new_files', $newfiles, '', '', false);
?>
</td>
           <tr>             
          </table></td>
         </tr>            
       <tr> 
        <td align="center"><?php 
echo tep_image_submit('button_update.gif', IMAGE_UPDATE) . ' <a href="' . tep_href_link(FILENAME_HEADER_TAGS_CONTROLLER, '') . '">' . '</a>';
?>
</td>
       </tr>       
       <tr>
        <td><?php 
echo tep_black_line();
?>
</td>
       </tr>      
      </form>
      </td>
     </tr>
     <!-- end of Header Tags - Auto Add Pages-->  
	 
    </table></td>
开发者ID:rrecurse,项目名称:IntenseCart,代码行数:31,代码来源:header_tags_controller.php


示例18: array

     $heading[] = array('text' => '<strong>' . TEXT_INFO_HEADING_EDIT_CURRENCY . '</strong>');
     $contents = array('form' => tep_draw_form('currencies', FILENAME_CURRENCIES, 'cID=' . $cInfo->currencies_id . '&action=save'));
     $contents[] = array('text' => TEXT_INFO_EDIT_INTRO);
     $contents[] = array('text' => '<br>' . TEXT_INFO_CURRENCY_TITLE . '<br>' . tep_draw_input_field('title', $cInfo->title));
     $contents[] = array('text' => '<br>' . TEXT_INFO_CURRENCY_CODE . '<br>' . tep_draw_input_field('code', $cInfo->code));
     $contents[] = array('text' => '<br>' . TEXT_INFO_CURRENCY_SYMBOL_LEFT . '<br>' . tep_draw_input_field('symbol_left', $cInfo->symbol_left));
     $contents[] = array('text' => '<br>' . TEXT_INFO_CURRENCY_SYMBOL_RIGHT . '<br>' . tep_draw_input_field('symbol_right', $cInfo->symbol_right));
     $contents[] = array('text' => '<br>' . TEXT_INFO_CURRENCY_DECIMAL_POINT . '<br>' . tep_draw_input_field('decimal_point', $cInfo->decimal_point));
     $contents[] = array('text' => '<br>' . TEXT_INFO_CURRENCY_THOUSANDS_POINT . '<br>' . tep_draw_input_field('thousands_point', $cInfo->thousands_point));
     $contents[] = array('text' => '<br>' . TEXT_INFO_CURRENCY_DECIMAL_PLACES . '<br>' . tep_draw_input_field('decimal_places', $cInfo->decimal_places));
     $contents[] = array('text' => '<br>' . TEXT_INFO_CURRENCY_VALUE . '<br>' . tep_draw_input_field('value', $cInfo->value));
     $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 . '&currencyID=' . $cInfo->currencies_id . '&action=update') . '">' . tep_image_button('button_update.gif', IMAGE_UPDATE) . '</a> 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP tep_info_image函数代码示例发布时间:2022-05-23
下一篇:
PHP tep_image_button函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap