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

PHP zen_image_submit函数代码示例

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

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



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

示例1: confirm

 function confirm()
 {
     global $_GET, $_POST, $db;
     if ($_POST['audience_selected']) {
         $this->query_name = $_POST['audience_selected'];
         if (is_array($_POST['audience_selected'])) {
             $this->query_name = $_POST['audience_selected']['text'];
         }
     }
     $query_array = get_audience_sql_query($this->query_name, 'newsletters');
     $mail = $db->Execute($query_array['query_string']);
     $confirm_string = '<table border="0" cellspacing="0" cellpadding="2">' . "\n" . '  <tr>' . "\n" . '    <td class="main"><font color="#ff0000"><b>' . sprintf(TEXT_COUNT_CUSTOMERS, $mail->RecordCount()) . '</b></font></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>' . zen_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>' . zen_draw_separator('pixel_trans.gif', '1', '10') . '<hr /></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>' . nl2br($this->content_html) . '</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td><hr>' . zen_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td class="main"><tt>' . nl2br($this->content) . '</tt><hr /></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>' . zen_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '<form name="ready_to_send" action="' . zen_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'] . '&action=confirm_send') . '" method="post" >' . '    <td align="right"> ' . zen_draw_hidden_field('audience_selected', $this->query_name) . zen_image_submit('button_send_mail.gif', IMAGE_SEND_EMAIL) . '<a href="' . zen_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID']) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a></td>' . "\n" . '</form>' . '  </tr>' . "\n" . '</table>';
     return $confirm_string;
 }
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:14,代码来源:newsletter.php


示例2: zen_draw_separator

            <td colspan="2"><?php 
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
          </tr>
          <tr>
            <td class="main"><?php 
echo TEXT_PRODUCTS_SORT_ORDER;
?>
</td>
            <td class="main"><?php 
echo zen_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;' . zen_draw_input_field('products_sort_order', $pInfo->products_sort_order);
?>
</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php 
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
      </tr>
      <tr>
        <td class="main" align="right"><?php 
echo zen_draw_hidden_field('products_date_added', zen_not_null($pInfo->products_date_added) ? $pInfo->products_date_added : date('Y-m-d')) . (isset($_GET['search']) && !empty($_GET['search']) ? zen_draw_hidden_field('search', $_GET['search']) : '') . (isset($_POST['search']) && !empty($_POST['search']) && empty($_GET['search']) ? zen_draw_hidden_field('search', $_POST['search']) : '') . zen_image_submit('button_preview.gif', IMAGE_PREVIEW) . '&nbsp;&nbsp;<a href="' . zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . (isset($_GET['pID']) ? '&pID=' . $_GET['pID'] : '') . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '') . (isset($_GET['search']) && !empty($_GET['search']) ? '&search=' . $_GET['search'] : '') . (isset($_POST['search']) && !empty($_POST['search']) && empty($_GET['search']) ? '&search=' . $_POST['search'] : '')) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>';
?>
</td>
      </tr>
    </table></form>
开发者ID:kirkbauer2,项目名称:kirkzc,代码行数:30,代码来源:collect_info.php


示例3: array

        $contents = array('form' => zen_draw_form('group_pricing', FILENAME_GROUP_PRICING, 'page=' . $_GET['page'] . '&gID=' . $gInfo->group_id . '&action=save', 'post'));
        $contents[] = array('text' => TEXT_EDIT_INTRO);
        $contents[] = array('text' => '<br />' . TEXT_GROUP_PRICING_NAME . '<br>' . zen_draw_input_field('group_name', $gInfo->group_name, zen_set_field_length(TABLE_GROUP_PRICING, 'group_name')));
        $contents[] = array('text' => '<br>' . TEXT_GROUP_PRICING_AMOUNT . '<br>' . zen_draw_input_field('group_percentage', $gInfo->group_percentage));
        $contents[] = array('align' => 'center', 'text' => '<br>' . zen_image_submit('button_save.gif', IMAGE_SAVE) . ' <a href="' . zen_href_link(FILENAME_GROUP_PRICING, 'page=' . $_GET['page'] . '&gID=' . $gInfo->group_id) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
        break;
    case 'delete':
        $heading[] = array('text' => '<b>' . TEXT_HEADING_DELETE_PRICING_GROUP . '</b>');
        $contents = array('form' => zen_draw_form('group_pricing', FILENAME_GROUP_PRICING, 'page=' . $_GET['page'] . '&gID=' . $gInfo->group_id . '&action=deleteconfirm'));
        $contents[] = array('text' => TEXT_DELETE_INTRO);
        $contents[] = array('text' => '<br><b>' . $gInfo->group_name . '</b>');
        if ($gInfo->customer_count > 0) {
            $contents[] = array('text' => '<br>' . zen_draw_checkbox_field('delete_customers') . ' ' . TEXT_DELETE_PRICING_GROUP);
            $contents[] = array('text' => '<br>' . sprintf(TEXT_DELETE_WARNING_GROUP_MEMBERS, $gInfo->customer_count));
        }
        $contents[] = array('align' => 'center', 'text' => '<br>' . zen_image_submit('button_delete.gif', IMAGE_DELETE) . ' <a href="' . zen_href_link(FILENAME_GROUP_PRICING, 'page=' . $_GET['page'] . '&gID=' . $gInfo->group_id) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
        break;
    default:
        if (isset($gInfo) && is_object($gInfo)) {
            $heading[] = array('text' => '<b>' . $gInfo->group_name . '</b>');
            $contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_GROUP_PRICING, 'page=' . $_GET['page'] . '&gID=' . $gInfo->group_id . '&action=edit') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . zen_href_link(FILENAME_GROUP_PRICING, 'page=' . $_GET['page'] . '&gID=' . $gInfo->group_id . '&action=delete') . '">' . zen_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
            $contents[] = array('text' => '<br>' . TEXT_DATE_ADDED . ' ' . zen_date_short($gInfo->date_added));
            if (zen_not_null($gInfo->last_modified)) {
                $contents[] = array('text' => TEXT_LAST_MODIFIED . ' ' . zen_date_short($gInfo->last_modified));
            }
            $contents[] = array('text' => '<br>' . TEXT_CUSTOMERS . ' ' . $gInfo->customer_count);
        }
        break;
}
if (zen_not_null($heading) && zen_not_null($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
开发者ID:dalinhuang,项目名称:yijinhuanxiang,代码行数:31,代码来源:group_pricing.php


示例4: array

        // excluded current product from the pull down menu of products
        $products_exclude_array = array();
        $products_exclude_array[] = $pInfo->products_id;
        $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_ATTRIBUTE_FEATURES . $pInfo->products_id . '</b>');
        $contents = array('form' => zen_draw_form('products', FILENAME_CATEGORIES, 'action=update_attributes_copy_to_product&cPath=' . $cPath . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '')) . zen_draw_hidden_field('products_id', $pInfo->products_id) . zen_draw_hidden_field('products_update_id', $_GET['products_update_id']) . zen_draw_hidden_field('copy_attributes', $_GET['copy_attributes']));
        $contents[] = array('text' => '<br />' . TEXT_COPY_ATTRIBUTES_CONDITIONS . '<br />' . zen_draw_radio_field('copy_attributes', 'copy_attributes_delete', true) . ' ' . TEXT_COPY_ATTRIBUTES_DELETE . '<br />' . zen_draw_radio_field('copy_attributes', 'copy_attributes_update') . ' ' . TEXT_COPY_ATTRIBUTES_UPDATE . '<br />' . zen_draw_radio_field('copy_attributes', 'copy_attributes_ignore') . ' ' . TEXT_COPY_ATTRIBUTES_IGNORE);
        $contents[] = array('align' => 'center', 'text' => '<br />' . zen_draw_products_pull_down('products_update_id', '', $products_exclude_array, true) . '<br /><br />' . zen_image_submit('button_copy_to.gif', IMAGE_COPY_TO) . '&nbsp;&nbsp;<a href="' . zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '')) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
        break;
        // attribute copier to product
    // attribute copier to product
    case 'attribute_features_copy_to_category':
        $_GET['categories_update_id'] = '';
        $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_ATTRIBUTE_FEATURES . $pInfo->products_id . '</b>');
        $contents = array('form' => zen_draw_form('products', FILENAME_CATEGORIES, 'action=update_attributes_copy_to_category&cPath=' . $cPath . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '')) . zen_draw_hidden_field('products_id', $pInfo->products_id) . zen_draw_hidden_field('categories_update_id', $_GET['categories_update_id']) . zen_draw_hidden_field('copy_attributes', $_GET['copy_attributes']));
        $contents[] = array('text' => '<br />' . TEXT_COPY_ATTRIBUTES_CONDITIONS . '<br />' . zen_draw_radio_field('copy_attributes', 'copy_attributes_delete', true) . ' ' . TEXT_COPY_ATTRIBUTES_DELETE . '<br />' . zen_draw_radio_field('copy_attributes', 'copy_attributes_update') . ' ' . TEXT_COPY_ATTRIBUTES_UPDATE . '<br />' . zen_draw_radio_field('copy_attributes', 'copy_attributes_ignore') . ' ' . TEXT_COPY_ATTRIBUTES_IGNORE);
        $contents[] = array('align' => 'center', 'text' => '<br />' . zen_draw_products_pull_down_categories('categories_update_id', '', '', true) . '<br /><br />' . zen_image_submit('button_copy_to.gif', IMAGE_COPY_TO) . '&nbsp;&nbsp;<a href="' . zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '')) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
        break;
}
// switch
if (zen_not_null($heading) && zen_not_null($contents)) {
    echo '            <td valign="top">' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
    echo '            </td>' . "\n";
}
?>

          </tr>
          <tr>
            <td class="alert" colspan="3" width="100%" align="center">
<?php 
开发者ID:andychang88,项目名称:daddy-store.com,代码行数:31,代码来源:categories.php


示例5: array

     $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_EDIT_TEMPLATE . '</b>');
     $contents = array('form' => zen_draw_form('templateselect', FILENAME_TEMPLATE_SELECT, 'page=' . $_GET['page'] . '&tID=' . $tInfo->template_id . '&action=save'));
     $contents[] = array('text' => TEXT_INFO_EDIT_INTRO);
     reset($template_info);
     while (list($key, $value) = each($template_info)) {
         $template_array[] = array('id' => $key, 'text' => $value['name']);
     }
     $contents[] = array('text' => '<br>' . TEXT_INFO_TEMPLATE_NAME . '<br>' . zen_draw_pull_down_menu('ln', $template_array, $templates->fields['template_dir']));
     $contents[] = array('align' => 'center', 'text' => '<br>' . zen_image_submit('button_update.gif', IMAGE_UPDATE) . '&nbsp;<a href="' . zen_href_link(FILENAME_TEMPLATE_SELECT, 'page=' . $_GET['page'] . '&tID=' . $tInfo->template_id) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
     break;
 case 'delete':
     $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_TEMPLATE . '</b>');
     $contents = array('form' => zen_draw_form('zones', FILENAME_TEMPLATE_SELECT, 'page=' . $_GET['page'] . '&action=deleteconfirm') . zen_draw_hidden_field('tID', $tInfo->template_id));
     $contents[] = array('text' => TEXT_INFO_DELETE_INTRO);
     $contents[] = array('text' => '<br><b>' . $template_info[$tInfo->template_dir]['name'] . '</b>');
     $contents[] = array('align' => 'center', 'text' => '<br>' . zen_image_submit('button_delete.gif', IMAGE_DELETE) . '&nbsp;<a href="' . zen_href_link(FILENAME_TEMPLATE_SELECT, 'page=' . $_GET['page'] . '&tID=' . $tInfo->template_id) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
     break;
 default:
     if (isset($tInfo) && is_object($tInfo)) {
         $heading[] = array('text' => '<b>' . $template_info[$tInfo->template_dir]['name'] . '</b>');
         if ($tInfo->template_language == 0) {
             $contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_TEMPLATE_SELECT, 'page=' . $_GET['page'] . '&tID=' . $tInfo->template_id . '&action=edit') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a>');
         } else {
             $contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_TEMPLATE_SELECT, 'page=' . $_GET['page'] . '&tID=' . $tInfo->template_id . '&action=edit') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . zen_href_link(FILENAME_TEMPLATE_SELECT, 'page=' . $_GET['page'] . '&tID=' . $tInfo->template_id . '&action=delete') . '">' . zen_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
         }
         $contents[] = array('text' => '<br>' . TEXT_INFO_TEMPLATE_AUTHOR . $template_info[$tInfo->template_dir]['author']);
         $contents[] = array('text' => '<br>' . TEXT_INFO_TEMPLATE_VERSION . $template_info[$tInfo->template_dir]['version']);
         $contents[] = array('text' => '<br>' . TEXT_INFO_TEMPLATE_DESCRIPTION . '<br />' . $template_info[$tInfo->template_dir]['description']);
         $contents[] = array('text' => '<br>' . TEXT_INFO_TEMPLATE_INSTALLED . '<br />');
         while (list($key, $value) = each($template_info)) {
             $contents[] = array('text' => '<a href="' . DIR_WS_CATALOG_TEMPLATE . $key . '/images/' . $value['screenshot'] . '" target = "_blank">' . zen_image_button('button_preview.gif', IMAGE_PREVIEW) . '</a>&nbsp;&nbsp;' . $value['name']);
开发者ID:zenmagick,项目名称:zencart,代码行数:31,代码来源:template_select.php


示例6: zen_get_all_get_params

} else {
    echo '<div class="error_box maxwidth" style="width:500px;">In categories no products</div>';
}
if ($listing_split->number_of_rows > 0 && (PREV_NEXT_BAR_LOCATION == '2' || PREV_NEXT_BAR_LOCATION == '3')) {
    ?>
<div class="pagebar margin_t g_t_c gray_bg"><?php 
    echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, zen_get_all_get_params(array('page', 'info', 'x', 'y')));
    ?>
</div>
<?php 
}
// only show when there is something to submit and enabled
if ($show_bottom_submit_button == true) {
    ?>
<div class="pad_10px fr"><?php 
    echo zen_image_submit(BUTTON_IMAGE_ADD_PRODUCTS_TO_CART, BUTTON_ADD_PRODUCTS_TO_CART_ALT, 'id="submit2" name="submit1"');
    ?>
</div>
<br class="clear" />
<?php 
}
// show_bottom_submit_button
?>
</div>

<?php 
// if ($show_top_submit_button == true or $show_bottom_submit_button == true or (PRODUCT_LISTING_MULTIPLE_ADD_TO_CART != 0 and $show_submit == true and $listing_split->number_of_rows > 0)) {
if ($show_top_submit_button == true or $show_bottom_submit_button == true) {
    ?>
</form>
<?php 
开发者ID:happyxlq,项目名称:lt_svn,代码行数:31,代码来源:tpl_modules_product_listing.php


示例7: array

?>
            </table></td>

<?php 
$heading = array();
$contents = array();
switch ($action) {
    case 'edit':
        $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_EDIT_PRODUCTS_DOWNLOAD . '</b>');
        $contents = array('form' => zen_draw_form('products_downloads_edit', FILENAME_DOWNLOADS_MANAGER, zen_get_all_get_params(array('padID', 'action')) . 'padID=' . $padInfo->products_attributes_id . '&action=save' . '&page=' . $_GET['page']));
        $contents[] = array('text' => '<b>' . TEXT_PRODUCTS_NAME . $padInfo->products_name . '<br />' . TEXT_PRODUCTS_MODEL . $padInfo->products_model . '</b>');
        $contents[] = array('text' => '<br />' . TEXT_INFO_EDIT_INTRO);
        $contents[] = array('text' => '<br />' . TEXT_INFO_FILENAME . '<br />' . zen_draw_input_field('products_attributes_filename', $padInfo->products_attributes_filename));
        $contents[] = array('text' => '<br />' . TEXT_INFO_MAX_DAYS . '<br />' . zen_draw_input_field('products_attributes_maxdays', $padInfo->products_attributes_maxdays));
        $contents[] = array('text' => '<br />' . TEXT_INFO_MAX_COUNT . '<br />' . zen_draw_input_field('products_attributes_maxcount', $padInfo->products_attributes_maxcount));
        $contents[] = array('align' => 'center', 'text' => '<br />' . zen_image_submit('button_update.gif', IMAGE_UPDATE) . '&nbsp;<a href="' . zen_href_link(FILENAME_DOWNLOADS_MANAGER, 'padID=' . $padInfo->products_attributes_id) . '&page=' . $_GET['page'] . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
        break;
    default:
        if (isset($padInfo) && is_object($padInfo)) {
            $heading[] = array('text' => '<b>' . $padInfo->products_attributes_id . ' ' . $padInfo->products_attributes_filename . '</b>');
            $contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_DOWNLOADS_MANAGER, zen_get_all_get_params(array('padID', 'action')) . 'padID=' . $padInfo->products_attributes_id . '&page=' . $_GET['page'] . '&action=edit') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a>' . '<a href="' . zen_href_link(FILENAME_ATTRIBUTES_CONTROLLER, 'products_filter=' . $padInfo->products_id . '&current_categories_id=' . $padInfo->master_categories_id) . '">' . zen_image_button('button_edit_attribs.gif', IMAGE_EDIT_ATTRIBUTES) . '</a>');
            $contents[] = array('text' => '<br />' . TEXT_PRODUCTS_NAME . $padInfo->products_name);
            $contents[] = array('text' => TEXT_PRODUCTS_MODEL . $padInfo->products_model);
            $contents[] = array('text' => TEXT_INFO_FILENAME . $padInfo->products_attributes_filename);
            $contents[] = array('text' => TEXT_INFO_MAX_DAYS . $padInfo->products_attributes_maxdays);
            $contents[] = array('text' => TEXT_INFO_MAX_COUNT . $padInfo->products_attributes_maxcount);
        }
        break;
}
if (zen_not_null($heading) && zen_not_null($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
开发者ID:ygeneration666,项目名称:ec,代码行数:31,代码来源:downloads_manager.php


示例8: zen_draw_textarea_field

          <tr>
            <td class="main"valign="top"><?php 
    echo TEXT_META_TAGS_DESCRIPTION;
    ?>
&nbsp;</td>
            <td class="main">
              <?php 
    echo zen_draw_textarea_field('metatags_description[' . $languages[$i]['id'] . ']', 'soft', '100%', '10', isset($metatags_description[$languages[$i]['id']]) ? stripslashes($metatags_description[$languages[$i]['id']]) : zen_get_metatags_description($pInfo->products_id, $languages[$i]['id']));
    //,'id="'.'metatags_description' . $languages[$i]['id'] . '"');
    ?>
            </td>
          </tr>
        </table></td>
      </tr>
<?php 
}
?>
      <tr>
        <td class="main" align="left"><?php 
echo TEXT_INFO_META_TAGS_USAGE;
?>
</td>
      </tr>
      <tr>
        <td class="main" align="right"><?php 
echo zen_draw_hidden_field('products_model', $pInfo->products_model) . zen_draw_hidden_field('products_price_sorter', $pInfo->products_price_sorter) . zen_image_submit('button_preview.gif', IMAGE_PREVIEW) . '&nbsp;&nbsp;<a href="' . zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . (isset($_GET['pID']) ? '&pID=' . $_GET['pID'] : '') . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '')) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>';
?>
</td>
      </tr>
    </table></form>
开发者ID:andychang88,项目名称:daddy-store.com,代码行数:30,代码来源:collect_info_metatags.php


示例9: zen_draw_password_field

<br class="clearBoth" />

<label class="inputLabel" for="login-password"><?php 
    echo ENTRY_PASSWORD;
    ?>
</label>
<!-- modified by zen-cart.cn //-->
<?php 
    echo zen_draw_password_field('password', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password', '40') . ' id="login-password"');
    ?>
<br class="clearBoth" />
<?php 
    echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']);
    ?>
</fieldset>

<div class="buttonRow forward"><?php 
    echo zen_image_submit(BUTTON_IMAGE_LOGIN, BUTTON_LOGIN_ALT);
    ?>
</div>
<div class="buttonRow back important"><?php 
    echo '<a href="' . zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>';
    ?>
</div>
</form>
<br class="clearBoth" />
<?php 
}
?>
</div>
开发者ID:dalinhuang,项目名称:cameras,代码行数:30,代码来源:tpl_time_out_default.php


示例10: array

        $contents[] = array('align' => 'center', 'text' => '<br>' . zen_image_submit('button_insert.gif', IMAGE_INSERT) . '&nbsp;<a href="' . zen_href_link(FILENAME_TAX_CLASSES, 'page=' . $_GET['page']) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
        break;
    case 'edit':
        $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_EDIT_TAX_CLASS . '</b>');
        $contents = array('form' => zen_draw_form('classes', FILENAME_TAX_CLASSES, 'page=' . $_GET['page'] . '&tID=' . $tcInfo->tax_class_id . '&action=save'));
        $contents[] = array('text' => TEXT_INFO_EDIT_INTRO);
        $contents[] = array('text' => '<br>' . TEXT_INFO_CLASS_TITLE . '<br>' . zen_draw_input_field('tax_class_title', $tcInfo->tax_class_title, zen_set_field_length(TABLE_TAX_CLASS, 'tax_class_title')));
        $contents[] = array('text' => '<br>' . TEXT_INFO_CLASS_DESCRIPTION . '<br>' . zen_draw_input_field('tax_class_description', $tcInfo->tax_class_description, zen_set_field_length(TABLE_TAX_CLASS, 'tax_class_description')));
        $contents[] = array('align' => 'center', 'text' => '<br>' . zen_image_submit('button_update.gif', IMAGE_UPDATE) . '&nbsp;<a href="' . zen_href_link(FILENAME_TAX_CLASSES, 'page=' . $_GET['page'] . '&tID=' . $tcInfo->tax_class_id) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
        break;
    case 'delete':
        $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_TAX_CLASS . '</b>');
        $contents = array('form' => zen_draw_form('classes', FILENAME_TAX_CLASSES, 'page=' . $_GET['page'] . '&tID=' . $tcInfo->tax_class_id . '&action=deleteconfirm'));
        $contents[] = array('text' => TEXT_INFO_DELETE_INTRO);
        $contents[] = array('text' => '<br><b>' . $tcInfo->tax_class_title . '</b>');
        $contents[] = array('align' => 'center', 'text' => '<br>' . zen_image_submit('button_delete.gif', IMAGE_DELETE) . '&nbsp;<a href="' . zen_href_link(FILENAME_TAX_CLASSES, 'page=' . $_GET['page'] . '&tID=' . $tcInfo->tax_class_id) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
        break;
    default:
        if (isset($tcInfo) && is_object($tcInfo)) {
            $heading[] = array('text' => '<b>' . $tcInfo->tax_class_title . '</b>');
            $contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_TAX_CLASSES, 'page=' . $_GET['page'] . '&tID=' . $tcInfo->tax_class_id . '&action=edit') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . zen_href_link(FILENAME_TAX_CLASSES, 'page=' . $_GET['page'] . '&tID=' . $tcInfo->tax_class_id . '&action=delete') . '">' . zen_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
            $contents[] = array('text' => '<br>' . TEXT_INFO_DATE_ADDED . ' ' . zen_date_short($tcInfo->date_added));
            $contents[] = array('text' => '' . TEXT_INFO_LAST_MODIFIED . ' ' . zen_date_short($tcInfo->last_modified));
            $contents[] = array('text' => '<br>' . TEXT_INFO_CLASS_DESCRIPTION . '<br>' . $tcInfo->tax_class_description);
        }
        break;
}
if (zen_not_null($heading) && zen_not_null($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
开发者ID:andychang88,项目名称:daddy-store.com,代码行数:31,代码来源:tax_classes.php


示例11: empty

    // BEGIN newsletter subscribe mod 1/1
    $addr = empty($_REQUEST['addr']) ? '' : $_REQUEST['addr'];
    if ($definedpage && file_exists($definedpage)) {
        require $definedpage;
    } else {
        echo $unsubscribe_address == '' ? UNSUBSCRIBE_TEXT_NO_ADDRESS_GIVEN : UNSUBSCRIBE_TEXT_INFORMATION;
    }
    ?>
<div class="buttonRow forward">
<?php 
    $content = '';
    $content .= zen_draw_form(FILENAME_UNSUBSCRIBE, zen_href_link(FILENAME_UNSUBSCRIBE, '', 'SSL'), 'get', '');
    $content .= zen_draw_hidden_field('action', 'unsubscribe');
    $content .= zen_draw_hidden_field('main_page', FILENAME_UNSUBSCRIBE);
    $content .= zen_draw_input_field('addr', $addr, 'style="width:20em;"');
    $content .= '&nbsp;' . zen_image_submit(BUTTON_IMAGE_UNSUBSCRIBE, BUTTON_UNSUBSCRIBE) . '&nbsp;&nbsp;';
    echo $content;
    ?>
  </form>
</div>
<?php 
    // END newsletter subscribe mod 1/1
    ?>

<?php 
} elseif (isset($_GET['action']) && $_GET['action'] == 'unsubscribe') {
    ?>
<h1 id="unsubDefaultHeading"><?php 
    echo HEADING_TITLE;
    ?>
</h1>
开发者ID:andychang88,项目名称:daddy-store.com,代码行数:31,代码来源:tpl_unsubscribe_default.php


示例12: zen_href_link

         $lc_button = '<span class="more-info"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ? zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . MORE_INFO_TEXT . '</a></span>';
     } else {
         if (PRODUCT_LISTING_MULTIPLE_ADD_TO_CART != 0) {
             if ($listing->fields['products_qty_box_status'] != 0 && zen_get_products_allow_add_to_cart($listing->fields['products_id']) != 'N' && $listing->fields['product_is_call'] == 0 && ($listing->fields['products_quantity'] > 0 || SHOW_PRODUCTS_SOLD_OUT_IMAGE == 0)) {
                 $how_many++;
             }
             // hide quantity box
             if ($listing->fields['products_qty_box_status'] == 0) {
                 $lc_button = '<a href="' . zen_href_link($_GET['main_page'], zen_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing->fields['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_BUY_NOW, BUTTON_BUY_NOW_ALT, 'class="listingBuyNowButton"') . '</a>';
             } else {
                 $lc_button = TEXT_PRODUCT_LISTING_MULTIPLE_ADD_TO_CART . "<input type=\"text\" name=\"products_id[" . $listing->fields['products_id'] . "]\" value=\"0\" size=\"4\" />";
             }
         } else {
             // qty box with add to cart button
             if (PRODUCT_LIST_PRICE_BUY_NOW == '2' && $listing->fields['products_qty_box_status'] != 0) {
                 $lc_button = zen_draw_form('cart_quantity', zen_href_link(zen_get_info_page($listing->fields['products_id']), zen_get_all_get_params(array('action')) . 'action=add_product&products_id=' . $listing->fields['products_id']), 'post', 'enctype="multipart/form-data"') . '<input type="text" name="cart_quantity" value="' . zen_get_buy_now_qty($listing->fields['products_id']) . '" maxlength="6" size="4" /><br />' . zen_draw_hidden_field('products_id', $listing->fields['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT) . '</form>';
             } else {
                 $lc_button = '<a href="' . zen_href_link($_GET['main_page'], zen_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing->fields['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_BUY_NOW, BUTTON_BUY_NOW_ALT, 'class="listingBuyNowButton"') . '</a>';
             }
         }
     }
     $the_button = $lc_button;
     $products_link = '<span class="more-info"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ? zen_get_generated_category_path_rev($_GET['filter_id']) : $_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id'])) . '&products_id=' . $listing->fields['products_id']) . '">' . MORE_INFO_TEXT . '</a></span>';
     $lc_text .= '<br />' . zen_get_buy_now_button($listing->fields['products_id'], $the_button, $products_link) . '<br />' . zen_get_products_quantity_min_units_display($listing->fields['products_id']);
     $lc_text .= '<br />' . (zen_get_show_product_switch($listing->fields['products_id'], 'ALWAYS_FREE_SHIPPING_IMAGE_SWITCH') ? zen_get_product_is_always_free_shipping($listing->fields['products_id']) ? TEXT_PRODUCT_FREE_SHIPPING_ICON . '<br />' : '' : '');
     break;
 case 'PRODUCT_LIST_QUANTITY':
     $lc_align = 'right';
     $lc_text = $listing->fields['products_quantity'];
     break;
 case 'PRODUCT_LIST_WEIGHT':
开发者ID:dalinhuang,项目名称:kakayaga,代码行数:31,代码来源:product_listing.php


示例13: zen_draw_input_field

</label></div>
<?php 
echo zen_draw_input_field('lookup_discount_coupon', $_POST['lookup_discount_coupon'], 'size="40" id="lookup-discount-coupon"');
?>
</fieldset>

<?php 
if ($text_coupon_help == '') {
    ?>
<div class="buttonRow forward"><?php 
    echo zen_image_submit(BUTTON_IMAGE_SEND, BUTTON_SEND_ALT);
    ?>
</div>
<?php 
} else {
    ?>
<div class="buttonRow forward"><?php 
    echo '<a href="' . zen_href_link(FILENAME_DISCOUNT_COUPON) . '">' . zen_image_button(BUTTON_IMAGE_CANCEL, BUTTON_CANCEL_ALT) . '</a>&nbsp;&nbsp;' . zen_image_submit(BUTTON_IMAGE_SEND, BUTTON_SEND_ALT);
    ?>
</div>
<?php 
}
?>
<div class="buttonRow back"><?php 
echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>';
?>
</div>
<br class="clearBoth" />
</form>
</div>
开发者ID:R-Future,项目名称:zencart,代码行数:30,代码来源:tpl_discount_coupon_default.php


示例14: zen_draw_radio_field

                ?>
</td>
            <td class="main" valign="top"><?php 
                echo TEXT_IMAGES_OVERWRITE . '<br />' . zen_draw_radio_field('overwrite', '0', $off_overwrite) . '&nbsp;' . TABLE_HEADING_NO . ' ' . zen_draw_radio_field('overwrite', '1', $on_overwrite) . '&nbsp;' . TABLE_HEADING_YES;
                ?>
</td>
          </tr>
        </table></td>

        <td width="200">
          <table align="right">
            <tr>
              <td align="center" class="attributeBoxContent" height="30" valign="bottom">&nbsp;
              <?php 
                if ($action == '') {
                    echo zen_image_submit('button_insert.gif', IMAGE_INSERT);
                } else {
                    // hide button
                }
                ?>
            &nbsp;
              </td>
            </tr>
          </table>

        </td></tr>

      </table></td></tr>
    </table>
  </td>
</tr>
开发者ID:quangn92,项目名称:visualyou,代码行数:31,代码来源:attributes_controller.php


示例15: zen_href_link

            <td class="main" align="right" valign="middle"><?php 
    echo '<a href="' . zen_href_link(FILENAME_ADMIN_ACTIVITY, 'action=clean_admin_activity_log') . '">' . zen_image_button('button_reset.gif', IMAGE_RESET) . '</a>';
    ?>
</td>
          </tr>
        </table></td>
      </tr>
<!-- eof: reset admin_activity_log -->

<?php 
} elseif ($confirmation_needed) {
    ?>
  <tr><td><?php 
    echo TEXT_ADMIN_LOG_PLEASE_CONFIRM_ERASE;
    echo zen_draw_form('admin_activity_erase', FILENAME_ADMIN_ACTIVITY, 'action=clean_admin_activity_log');
    echo zen_image_submit('button_reset.gif', IMAGE_RESET);
    ?>
<input type="hidden" name="confirm" value="yes" /></form></td></tr>

<?php 
}
?>
				<!-- body_text_eof //-->
		</table>
		<!-- body_eof //--> <!-- footer //-->
<?php 
require DIR_WS_INCLUDES . 'footer.php';
?>
<!-- footer_eof //--> <br />

</body>
开发者ID:zenmagick,项目名称:zencart,代码行数:31,代码来源:admin_activity.php


示例16: zen_draw_form

      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td class="pageHeading"><?php 
echo HEADING_TITLE . ' ' . $template_dir;
?>
</td>
          </tr>
          <tr>
            <td class="main">
<?php 
echo zen_draw_form('form_add_page', FILENAME_LAYOUT_CONTROLLER_ADD_PAGE, '', 'get');
echo zen_draw_hidden_field('action', 'add');
echo zen_draw_hidden_field('template_dir', $template_dir);
// draw not setuped layout page drop down
$not_setuped_pages = zen_get_not_setuped_layout_pages($template_dir);
echo HEADING_TITLE_SELECT_ADD_LAYOUT_PAGE . ' ' . zen_draw_pull_down_menu('layout_page', $not_setuped_pages);
echo zen_image_submit('button_insert.gif');
?>
              </form>
            </td>
          </tr>
        </table></td>
      </tr>
    </td>
  </tr>
</table>
</body>
</html>
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:29,代码来源:layout_controller_add_page.php


示例17: zen_draw_input_field

    echo zen_draw_input_field('email', $error ? $_POST['email'] : $email, ' size="40" id="email-address"');
    ?>
</td>
</tr>
<tr>
<th scope="row"><span class="required"><?php 
    echo TEXT_REQUIRED;
    ?>
</span><label><?php 
    echo ENTRY_ENQUIRY;
    ?>
</label></th>
<td><?php 
    echo zen_draw_textarea_field('enquiry', '30', '7', '', 'id="enquiry"');
    ?>
</td>
</tr>
</table>


<div class="submit">
<div class="buttonRow forward"><?php 
    echo zen_image_submit(BUTTON_IMAGE_SEND, BUTTON_SEND_ALT, 'class="imgover"');
    ?>
</div>
</div>
<?php 
}
?>
</form>
</div></div>
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:31,代码来源:tpl_contact_us_default.php


示例18: array

</td>
            <td class="main" align="left" valign="middle">
              <?php 
    $za_lookup = array(array('id' => '0', 'text' => TEXT_LOOKUP_NONE), array('id' => '1', 'text' => TEXT_ALL_FILES_LOOKUP_CURRENT), array('id' => '2', 'text' => TEXT_ALL_FILES_LOOKUP_CURRENT_CATALOG), array('id' => '3', 'text' => TEXT_ALL_FILES_LOOKUP_CURRENT_ADMIN));
    echo '<strong>' . TEXT_ALL_FILES_LOOKUPS . '</strong>' . '<br />' . zen_draw_pull_down_menu('zv_files', $za_lookup, '0');
    ?>
            </td>
            <td class="main" align="left" valign="middle">
              <?php 
    $za_lookup_filetype = array(array('id' => '1', 'text' => TEXT_ALL_FILES_LOOKUP_PHP), array('id' => '2', 'text' => TEXT_ALL_FILES_LOOKUP_PHPCSS), array('id' => '3', 'text' => TEXT_ALL_FILES_LOOKUP_CSS), array('id' => '4', 'text' => TEXT_ALL_FILES_LOOKUP_HTMLTXT), array('id' => '5', 'text' => TEXT_ALL_FILES_LOOKUP_JS));
    echo '<strong>' . TEXT_ALL_FILESTYPE_LOOKUPS . '</strong>' . '<br />' . zen_draw_pull_down_menu('zv_filestype', $za_lookup_filetype, '0');
    echo '<strong>' . TEXT_CASE_SENSITIVE . '</strong>' . zen_draw_checkbox_field('case_sensitive', true);
    ?>
            </td>
            <td class="main" align="right" valign="bottom"><?php 
    echo zen_image_submit('button_search.gif', IMAGE_SEARCH);
    ?>
</td>
          </form></tr>
          <tr>
            <td colspan="4" class="main" align="left" valign="top"><?php 
    echo TEXT_INFO_CONFIGURATION_UPDATE;
    ?>
</td>
          </tr>
     

鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP zen_info_image函数代码示例发布时间:2022-05-23
下一篇:
PHP zen_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