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


PHP oos_image_swap_button函数代码示例

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


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

示例1: oos_href_link_admin

            <table border="0" width="100%" cellspacing="0" cellpadding="2" align="center">
              <tr class="dataTableHeadingRow">
                <td class="dataTableHeadingContent"><?php 
echo NAVBAR_TITLE;
?>
</td>
              </tr>
              <tr class="dataTableRow">
                <td align="left" class="dataTableContent"><?php 
echo TEXT_MAIN;
?>
</td>
              </tr>
              <tr class="dataTableRow">
                <td align="left"><?php 
echo '&nbsp;<a href="' . oos_href_link_admin($aFilename['default']) . '">' . oos_image_swap_button('back', 'back_off.gif', IMAGE_BACK) . '</a>&nbsp;';
?>
</td>
              </tr>
            </table>
        </td>
      </tr>
    </table></td>
<!-- body_text_eof //-->
  </tr>
</table>
<!-- body_eof //-->

<?php 
require 'includes/oos_footer.php';
?>
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:forbiden.php

示例2: reset

    /* Re-Post all POST'ed variables */
    reset($_POST);
    while (list($key, $value) = each($_POST)) {
        if (!is_array($_POST[$key])) {
            echo oos_draw_hidden_field($key, htmlspecialchars(stripslashes($value)));
        }
    }
    ?>
                <table border="0" width="100%" cellpadding="0" cellspacing="2">
                  <tr>
                    <td><?php 
    echo oos_image_swap_submits('back', 'back_off.gif', IMAGE_BACK, 'name="back"');
    ?>
</td>
                    <td align="right"><?php 
    echo '<a href="' . oos_href_link_admin($aFilename['gv_mail']) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a> ' . oos_image_swap_submits('send_mail', 'send_mail_off.gif', IMAGE_SEND_EMAIL);
    ?>
</td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </form></tr>
<?php 
} else {
    ?>
          <tr><?php 
    echo oos_draw_form('mail', $aFilename['gv_mail'], 'action=preview');
    ?>
            <td><table border="0" cellpadding="0" cellspacing="2">
              <tr>
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:gv_mail.php

示例3: array

</td>
                    <td class="smallText" align="right"><?php 
echo $products_split->display_links($products_result_numrows, MAX_DISPLAY_SEARCH_RESULTS, MAX_DISPLAY_PAGE_LINKS, $_GET['page']);
?>
</td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
<?php 
$heading = array();
$contents = array();
if (isset($pInfo) && is_object($pInfo)) {
    $heading[] = array('text' => '<b>' . $pInfo->products_name . '</b>');
    $categories = oos_get_product_path($pInfo->products_id);
    $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin($aFilename['categories'], 'pID=' . $pInfo->products_id . '&categories=' . $categories . '&action=new_product') . '">' . oos_image_swap_button('edit', 'edit_off.gif', IMAGE_EDIT) . '</a>');
    $contents[] = array('text' => '<br />' . TEXT_INFO_DATE_EXPECTED . ' ' . oos_date_short($pInfo->products_date_available));
}
if (!empty($heading) && !empty($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
    echo '            </td>' . "\n";
}
?>
          </tr>
        </table></td>
      </tr>
    </table></td>
<!-- body_text_eof //-->
  </tr>
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:products_expected.php

示例4: oos_draw_hidden_field

        echo oos_draw_hidden_field('products_subimage4', stripslashes($products_subimage4_name));
        echo oos_draw_hidden_field('products_subimage5', stripslashes($products_subimage5_name));
        echo oos_draw_hidden_field('products_subimage6', stripslashes($products_subimage6_name));
        if (isset($_POST['categories_ids'])) {
            $selected_catids = $_POST['categories_ids'];
            foreach ($selected_catids as $current_category_id) {
                echo oos_draw_hidden_field('categories_ids[]', stripslashes($current_category_id));
            }
        }
        echo oos_image_swap_submits('back', 'back_off.gif', IMAGE_BACK, 'name="edit"') . '&nbsp;&nbsp;';
        if (isset($_GET['pID'])) {
            echo oos_image_swap_submits('update', 'update_off.gif', IMAGE_UPDATE);
        } else {
            echo oos_image_swap_submits('insert', 'insert_off.gif', IMAGE_INSERT);
        }
        echo '&nbsp;&nbsp;<a href="' . oos_href_link_admin($aFilename['categories'], 'categories=' . $categories . '&pID=' . $_GET['pID']) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>';
        ?>
</td>
      </form></tr>
<?php 
    }
}
?>
    </table></td>
<!-- body_text_eof //-->
  </tr>
</table>
<!-- body_eof //-->

<?php 
require 'includes/oos_footer.php';
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:products.php

示例5: array

                    $amount = $currencies->format($amount);
                }
                if ($action == 'voucherdelete') {
                    $contents[] = array('text' => TEXT_CONFIRM_DELETE . '</br></br>' . '<a href="' . oos_href_link_admin($aFilename['coupon_admin'], 'action=confirmdelete&cID=' . $_GET['cID'], 'NONSSL') . '">' . oos_image_swap_button('confirm', 'confirm_off.gif', 'Confirm Delete Voucher') . '</a>' . '<a href="' . oos_href_link_admin($aFilename['coupon_admin'], 'cID=' . $cInfo->coupon_id, 'NONSSL') . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', 'Cancel') . '</a>');
                } else {
                    $prod_details = NONE;
                    if ($cInfo->restrict_to_products) {
                        $prod_details = '<a href="' . oos_href_link_admin($aFilename['listproducts'], 'cID=' . $cInfo->coupon_id) . '" TARGET="_blank" ONCLICK="window.open(\'' . $aFilename['listproducts'] . '?cID=' . $cInfo->coupon_id . '\', \'Valid_Categories\', \'scrollbars=yes,resizable=yes,menubar=yes,width=600,height=600\'); return false">View</A>';
                    }
                    $cat_details = NONE;
                    if ($cInfo->restrict_to_categories) {
                        $cat_details = '<a href="' . oos_href_link_admin($aFilename['listcategories'], 'cID=' . $cInfo->coupon_id) . '" TARGET="_blank" ONCLICK="window.open(\'' . $aFilename['listcategories'] . '?cID=' . $cInfo->coupon_id . '\', \'Valid_Categories\', \'scrollbars=yes,resizable=yes,menubar=yes,width=600,height=600\'); return false">View</A>';
                    }
                    $coupon_name_result = $dbconn->Execute("SELECT coupon_name\n                                           FROM " . $oostable['coupons_description'] . "\n                                           WHERE coupon_id = '" . $cInfo->coupon_id . "' AND\n                                                 coupon_languages_id = '" . intval($_SESSION['language_id']) . "'");
                    $coupon_name = $coupon_name_result->fields;
                    $contents[] = array('text' => COUPON_NAME . '&nbsp;::&nbsp; ' . $coupon_name['coupon_name'] . '<br />' . COUPON_AMOUNT . '&nbsp;::&nbsp; ' . $amount . '<br />' . COUPON_STARTDATE . '&nbsp;::&nbsp; ' . oos_date_short($cInfo->coupon_start_date) . '<br />' . COUPON_FINISHDATE . '&nbsp;::&nbsp; ' . oos_date_short($cInfo->coupon_expire_date) . '<br />' . COUPON_USES_COUPON . '&nbsp;::&nbsp; ' . $cInfo->uses_per_coupon . '<br />' . COUPON_USES_USER . '&nbsp;::&nbsp; ' . $cInfo->uses_per_user . '<br />' . COUPON_PRODUCTS . '&nbsp;::&nbsp; ' . $prod_details . '<br />' . COUPON_CATEGORIES . '&nbsp;::&nbsp; ' . $cat_details . '<br />' . DATE_CREATED . '&nbsp;::&nbsp; ' . oos_date_short($cInfo->date_created) . '<br />' . DATE_MODIFIED . '&nbsp;::&nbsp; ' . oos_date_short($cInfo->date_modified) . '<br /><br />' . '<center><a href="' . oos_href_link_admin($aFilename['coupon_admin'], 'action=email&cID=' . $cInfo->coupon_id, 'NONSSL') . '">' . oos_image_swap_button('email', 'email_off.gif', 'Email Voucher') . '</a>' . '<a href="' . oos_href_link_admin($aFilename['coupon_admin'], 'action=voucheredit&cID=' . $cInfo->coupon_id, 'NONSSL') . '">' . oos_image_swap_button('edit', 'edit_off.gif', 'Edit Voucher') . '</a>' . '<a href="' . oos_href_link_admin($aFilename['coupon_admin'], 'action=voucherdelete&cID=' . $cInfo->coupon_id, 'NONSSL') . '">' . oos_image_swap_button('delete', 'delete_off.gif', 'Delete Voucher') . '</a>' . '<br /><a href="' . oos_href_link_admin($aFilename['coupon_admin'], 'action=voucherreport&cID=' . $cInfo->coupon_id, 'NONSSL') . '">' . oos_image_swap_button('report', 'report_off.gif', 'Voucher Report') . '</a></center>');
                }
                break;
        }
        ?>
    <td width="25%" valign="top">
<?php 
        $box = new box();
        echo $box->infoBox($heading, $contents);
        echo '            </td>' . "\n";
}
?>
      </tr>
    </table></td>
<!-- body_text_eof //-->
  </tr>
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:coupon_admin.php

示例6: while

    $totalAll = 0;
    $first_line = true;
    $skip = false;

    while ($inrec = $result->fields) {

      // If this is a new customer, create the appropriate HTML
      if ($curcus != $inrec['cid']) {
        // output line
        $totalAll += $tprice;
        $cline .= '
                          <tr>
                            <td class="dataTableContent" align="right" colspan="8"><b>' . TABLE_CART_TOTAL . '</b>' . $currencies->format($tprice) . '</td>
                          </tr>
                          <tr>
                            <td colspan="6" align="right"><a href="' . oos_href_link_admin($aFilename['recover_cart_sales'], 'action=delete&customer_id=' . $curcus . '&tdate=' . $tdate) . '">' . oos_image_swap_button('delete','delete_off.gif', IMAGE_DELETE) . '</a></td>
                          </tr>' . "\n";

        if (!empty($curcus) && !$skip) {
          echo $cline;
        }

        // set new cline and curcus
        $curcus = $inrec['cid'];
        if (!empty($curcus)) {
          $tprice = 0;


          // change the color on those we have contacted add customer tag to customers
          $fcolor = RCS_UNCONTACTED_COLOR;
          $checked = 1; // assume we'll send an email
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:recover_cart_sales.php

示例7: oos_call_function

                             include 'includes/classes/class_' . $class_method[0] . '.php';
                             ${$class_method[0]} = new $class_method[0]();
                         }
                         $keys .= oos_call_function($class_method[1], $value['value'], ${$class_method[0]});
                     } else {
                         $keys .= oos_call_function($use_function, $value['value']);
                     }
                 } else {
                     $keys .= $value['value'];
                 }
                 $keys .= '<br /><br />';
             }
             $keys = substr($keys, 0, strrpos($keys, '<br /><br />'));
         }
     } else {
         $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin($aFilename['plugins'], 'plugin=' . $pInfo->instance . '&action=install') . '">' . oos_image_swap_button('module_install', 'module_install_off.gif', IMAGE_PLUGINS_INSTALL) . '</a>');
     }
 }
 $contents[] = array('text' => $pInfo->description);
 if (!empty($pInfo->preceeds)) {
     $preceeds_string = '<u>Preceeds</u><br />';
     if (is_string($pInfo->preceeds)) {
         $preceeds_string .= $pInfo->preceeds;
     } else {
         foreach ($pInfo->preceeds as $preceeds) {
             $preceeds_string .= $preceeds . '<br />';
         }
     }
     $contents[] = array('text' => $preceeds_string);
 }
 $contents[] = array('text' => $keys);
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:plugins.php

示例8: oos_href_link_admin

        if (OOS_PRICE_IS_BRUTTO == '1') {
            echo " - " . TEXT_TAX_INFO . $in_price_netto;
        }
        ?>
&nbsp;</td>
            <td align="center" class="smallText">&nbsp;<?php 
        echo $attributes_values["price_prefix"];
        ?>
&nbsp;</td>
            <td align="center" class="smallText">&nbsp;<?php 
        echo '<a href="' . oos_href_link_admin($aFilename['products_attributes'], 'action=update_attribute&attribute_id=' . $attributes_values['products_attributes_id'] . '&attribute_page=' . $attribute_page, 'NONSSL') . '">';
        echo oos_image_swap_button('edit', 'edit_off.gif', IMAGE_UPDATE);
        ?>
</a>&nbsp;&nbsp;<?php 
        echo '<a href="' . oos_href_link_admin($aFilename['products_attributes'], 'action=delete_product_attribute&attribute_id=' . $attributes_values['products_attributes_id'] . '&attribute_page=' . $attribute_page, 'NONSSL'), '">';
        echo oos_image_swap_button('delete', 'delete_off.gif', IMAGE_DELETE);
        ?>
</a>&nbsp;</td>
<?php 
    }
    $products_attributestable = $oostable['products_attributes'];
    $max_attributes_id_result = $dbconn->Execute("SELECT max(products_attributes_id) + 1 as next_id FROM {$products_attributestable}");
    $max_attributes_id_values = $max_attributes_id_result->fields;
    $next_id = $max_attributes_id_values['next_id'];
    ?>
          </tr>
<?php 
    // Move that ADOdb pointer!
    $attributes->MoveNext();
}
// Close result set
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:products_attributes_add.php

示例9: array

              </tr>
            </table></td>
<?php 
    $heading = array();
    $contents = array();
    switch ($action) {
        case 'confirm':
            $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_NEWSFEED . '</b>');
            $contents = array('form' => oos_draw_form('newsfeed_manager', $aFilename['newsfeed_manager'], oos_get_all_get_params(array('nmID', 'action')) . 'nmID=' . $nmInfo->newsfeed_manager_id . '&action=deleteconfirm'));
            $contents[] = array('text' => TEXT_DELETE_INTRO . '<br /><br /><b>' . $nmInfo->newsfeed_manager_firstname . ' ' . $nmInfo->newsfeed_manager_lastname . '</b>');
            $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete', 'delete_off.gif', IMAGE_DELETE) . ' <a href="' . oos_href_link_admin($aFilename['newsfeed_manager'], oos_get_all_get_params(array('nmID', 'action')) . 'nmID=' . $nmInfo->newsfeed_manager_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>');
            break;
        default:
            if (isset($nmInfo) && is_object($nmInfo)) {
                $heading[] = array('text' => '<b>' . $nmInfo->newsfeed_manager_name . '</b>');
                $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin($aFilename['newsfeed_manager'], oos_get_all_get_params(array('nmID', 'action')) . 'nmID=' . $nmInfo->newsfeed_manager_id . '&action=edit') . '">' . oos_image_swap_button('edit', 'edit_off.gif', IMAGE_EDIT) . '</a> <a href="' . oos_href_link_admin($aFilename['newsfeed_manager'], oos_get_all_get_params(array('nmID', 'action')) . 'nmID=' . $nmInfo->newsfeed_manager_id . '&action=confirm') . '">' . oos_image_swap_button('delete', 'delete_off.gif', IMAGE_DELETE) . '</a>');
                $contents[] = array('text' => '<br />' . TEXT_INFO_URL . ' ' . $nmInfo->newsfeed_manager_link);
                $contents[] = array('text' => '<br />' . TEXT_DATE_ADDED . ' ' . oos_date_short($nmInfo->newsfeed_manager_date_added));
                $contents[] = array('text' => '<br />' . TEXT_LAST_MODIFIED . ' ' . oos_date_short($nmInfo->newsfeed_manager_last_modified));
                $contents[] = array('text' => '<br />' . TEXT_CACHE_TIME . ' ' . $nmInfo->newsfeed_manager_refresh);
            }
            break;
    }
    if (!empty($heading) && !empty($contents)) {
        echo '            <td width="25%" valign="top">' . "\n";
        $box = new box();
        echo $box->infoBox($heading, $contents);
        echo '            </td>' . "\n";
    }
    ?>
          </tr>
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:newsfeed_manager.php

示例10: array

        }
        $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('update', 'update_off.gif', IMAGE_UPDATE) . ' <a href="' . oos_href_link_admin($aFilename['newsfeed_categories'], 'page=' . $_GET['page'] . '&ncID=' . $ncInfo->newsfeed_categories_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>');
        break;
    case 'delete':
        $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_NEWSFEED_CATEGORIES . '</b>');
        $contents = array('form' => oos_draw_form('status', $aFilename['newsfeed_categories'], 'page=' . $_GET['page'] . '&ncID=' . $ncInfo->newsfeed_categories_id . '&action=deleteconfirm'));
        $contents[] = array('text' => TEXT_INFO_DELETE_INTRO);
        $contents[] = array('text' => '<br /><b>' . $ncInfo->newsfeed_categories_name . '</b>');
        if ($remove_status) {
            $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete', 'delete_off.gif', IMAGE_DELETE) . ' <a href="' . oos_href_link_admin($aFilename['newsfeed_categories'], 'page=' . $_GET['page'] . '&ncID=' . $ncInfo->newsfeed_categories_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>');
        }
        break;
    default:
        if (isset($ncInfo) && is_object($ncInfo)) {
            $heading[] = array('text' => '<b>' . $ncInfo->newsfeed_categories_name . '</b>');
            $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin($aFilename['newsfeed_categories'], 'page=' . $_GET['page'] . '&ncID=' . $ncInfo->newsfeed_categories_id . '&action=edit') . '">' . oos_image_swap_button('edit', 'edit_off.gif', IMAGE_EDIT) . '</a> <a href="' . oos_href_link_admin($aFilename['newsfeed_categories'], 'page=' . $_GET['page'] . '&ncID=' . $ncInfo->newsfeed_categories_id . '&action=delete') . '">' . oos_image_swap_button('delete', 'delete_off.gif', IMAGE_DELETE) . '</a>');
            $newsfeed_categories_inputs_string = '';
            $languages = oos_get_languages();
            for ($i = 0, $n = count($languages); $i < $n; $i++) {
                $newsfeed_categories_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . '&nbsp;' . oosGetNewsfeedCategoriesName($ncInfo->newsfeed_categories_id, $languages[$i]['id']);
            }
            $contents[] = array('text' => $newsfeed_categories_inputs_string);
        }
        break;
}
if (!empty($heading) && !empty($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
    echo '            </td>' . "\n";
}
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:newsfeed_categories.php

示例11: array

        if (isset($cInfo) && is_object($cInfo)) {
            $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DEFAULT_BOXES . $cInfo->admin_boxes_name . '</b>');
            if (substr($cInfo->admin_boxes_id, 0, 1) == 'b') {
                $contents[] = array('text' => '<b>' . $cInfo->admin_boxes_name . ' ' . TEXT_INFO_DEFAULT_BOXES_NOT_INSTALLED . '</b><br />&nbsp;');
                $contents[] = array('text' => TEXT_INFO_DEFAULT_BOXES_INTRO);
            } else {
                $contents = array('form' => oos_draw_form('newfile', $aFilename['admin_files'], 'categories=' . $cInfo->admin_boxes_id . '&action=store_file', 'post', 'enctype="multipart/form-data"'));
                $contents[] = array('align' => 'center', 'text' => oos_image_swap_submits('admin_files', 'admin_files_off.gif', IMAGE_INSERT_FILE));
                $contents[] = array('text' => oos_draw_hidden_field('this_category', $cInfo->admin_boxes_id));
                $contents[] = array('text' => '<br />' . TEXT_INFO_DEFAULT_BOXES_INTRO);
            }
            $contents[] = array('text' => '<br />');
        }
        if (isset($fInfo) && is_object($fInfo)) {
            $heading[] = array('text' => '<b>' . TEXT_INFO_NEW_FILE_BOX . ucfirst(substr_replace($current_box['admin_box_name'], '', -4)) . '</b>');
            $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin($aFilename['admin_files'], 'categories=' . $_GET['categories'] . '&action=store_file') . '">' . oos_image_swap_button('admin_files', 'admin_files_off.gif', IMAGE_INSERT_FILE) . '</a> <a href="' . oos_href_link_admin($aFilename['admin_files'], 'categories=' . $_GET['categories'] . '&fID=' . $fInfo->admin_files_id . '&action=remove_file') . '">' . oos_image_swap_button('admin_remove', 'admin_remove_off.gif', IMAGE_DELETE) . '</a>');
            $contents[] = array('text' => '<br />' . TEXT_INFO_DEFAULT_FILE_INTRO . ucfirst(substr_replace($current_box['admin_box_name'], '', -4)));
        }
}
if (oos_is_not_null($heading) && oos_is_not_null($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
    echo '            </td>' . "\n";
}
?>
          </tr>
        </table></td>
      </tr>
    </table></td>
<!-- body_text_eof //-->
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:admin_files.php

示例12: oos_info_image

<table cellpadding="1" cellspacing="1" border="0">
        <tr>
          <td colspan="6"><table cellpadding="3" cellspacing="0" border="0" width="100%">
            <tr class="dataTableHeadingRow">
              <td valign="top" align="center" colspan="2"><span class="pageHeading"><?php 
    echo 'Setting up-sells for: ' . $products_name['products_name'] . ' (Model: ' . $products_name['products_model'] . ') (Product ID: ' . $_GET['add_related_product_ID'] . ')';
    ?>
</span></td>
                </tr>
                <tr class="dataTableHeadingRow">
                  <td align="right"><?php 
    echo oos_info_image($products_name['products_image'], $products_name['products_name']);
    ?>
</td>
                  <td align="right" valign="bottom"><?php 
    echo oos_image_swap_submits('update', 'update_off.gif', IMAGE_UPDATE) . '<br /><br /><a href="' . oos_href_link_admin($aFilename['up_sell_products'], 'men_id=catalog') . '">' . oos_image_swap_button('cancel', 'cancel_off.gif') . '</a>';
    ?>
</td>
                </tr>
              </table></td>
            </tr>
            <tr class="dataTableHeadingRow">
              <td class="dataTableHeadingContent">&nbsp;<?php 
    echo TABLE_HEADING_PRODUCT_ID;
    ?>
&nbsp;</td>
              <td class="dataTableHeadingContent">&nbsp;<?php 
    echo TABLE_HEADING_PRODUCT_MODEL;
    ?>
&nbsp;</td>
              <td class="dataTableHeadingContent">&nbsp;<?php 
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:up_sell_products.php

示例13: array

            </table></td>
<?php 
    $heading = array();
    $contents = array();
    switch ($action) {
        case 'delete':
            $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_TICKET . '</b>');
            $contents = array('form' => oos_draw_form('orders', $aFilename['ticket_view'], oos_get_all_get_params(array('tID', 'action')) . 'tID=' . $tInfo->ticket_id . '&action=deleteconfirm'));
            $contents[] = array('align' => 'left', 'text' => $tInfo->ticket_subject);
            $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete', 'delete_off.gif', IMAGE_DELETE) . ' <a href="' . oos_href_link_admin($aFilename['ticket_view'], oos_get_all_get_params(array('tID', 'action')) . 'tID=' . $tInfo->ticket_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>');
            $contents[] = array('form' => '</form>');
            break;
        default:
            if (isset($tInfo) && is_object($tInfo)) {
                $heading[] = array('text' => '<b>[' . $tInfo->ticket_id . ']&nbsp;&nbsp;' . $tInfo->ticket_subject . '</b>');
                $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin($aFilename['ticket_view'], oos_get_all_get_params(array('tID', 'action')) . 'tID=' . $tInfo->ticket_id . '&action=edit') . '">' . oos_image_swap_button('edit', 'edit_off.gif', IMAGE_EDIT) . '</a> <a href="' . oos_href_link_admin($aFilename['ticket_view'], oos_get_all_get_params(array('tID', 'action')) . 'tID=' . $tInfo->ticket_id . '&action=delete') . '">' . oos_image_swap_button('delete', 'delete_off.gif', IMAGE_DELETE) . '</a>');
                $contents[] = array('text' => '<br />' . TEXT_DATE_TICKET_CREATED . ' ' . oos_datetime_short($tInfo->ticket_date_created));
                if (oos_is_not_null($tInfo->ticket_date_last_modified)) {
                    $contents[] = array('text' => TEXT_DATE_TICKET_LAST_MODIFIED . ' ' . oos_datetime_short($tInfo->ticket_date_last_modified));
                }
                if (oos_is_not_null($tInfo->ticket_date_last_customer_modified)) {
                    $contents[] = array('text' => TEXT_DATE_TICKET_LAST_CUSTOMER_MODIFIED . ' ' . oos_datetime_short($tInfo->ticket_date_last_customer_modified));
                }
                if (TICKET_USE_STATUS == '1') {
                    $contents[] = array('text' => '<br />' . TEXT_STATUS . ' ' . $ticket_status_array[$tInfo->ticket_status_id]);
                }
                if (TICKET_USE_PRIORITY == '1') {
                    $contents[] = array('text' => '<br />' . TEXT_PRIORITY . ' ' . $ticket_priority_array[$tInfo->ticket_priority_id]);
                }
                if (TICKET_USE_DEPARTMENT == '1') {
                    $contents[] = array('text' => '<br />' . TEXT_DEPARTMENT . ' ' . $ticket_department_array[$tInfo->ticket_department_id]);
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:ticket_view.php

示例14: array

              </tr>
            </table></td>
<?php
  $heading = array();
  $contents = array();
  switch ($action) {
    case 'release':
      $heading[] = array('text' => '[' . $gInfo->unique_id . '] ' . oos_datetime_short($gInfo->date_created) . ' ' . $currencies->format($gInfo->amount));

      $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin('gv_queue.php','action=confirmrelease&gid='.$gInfo->unique_id,'NONSSL').'">'.oos_image_swap_button('confirm_red','confirm_red_off.gif', IMAGE_CONFIRM) . '</a> <a href="' . oos_href_link_admin('gv_queue.php','action=cancel&gid=' . $gInfo->unique_id,'NONSSL') . '">' . oos_image_swap_button('cancel','cancel_off.gif', IMAGE_CANCEL) . '</a>');
      break;

    default:
      $heading[] = array('text' => '[' . $gInfo->unique_id . '] ' . oos_datetime_short($gInfo->date_created) . ' ' . $currencies->format($gInfo->amount));

      $contents[] = array('align' => 'center','text' => '<a href="' . oos_href_link_admin('gv_queue.php','action=release&gid=' . $gInfo->unique_id,'NONSSL'). '">' . oos_image_swap_button('release','release_off.gif', IMAGE_RELEASE) . '</a>');
      break;
   }

  if ( (!empty($heading)) && (!empty($contents) ) ) {
    echo '            <td width="25%" valign="top">' . "\n";

    $box = new box;
    echo $box->infoBox($heading, $contents);

    echo '            </td>' . "\n";
  }
?>
          </tr>
        </table></td>
      </tr>
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:gv_queue.php

示例15: array

<?php 
$heading = array();
$contents = array();
switch ($action) {
    case 'edit_process':
        $heading[] = array('text' => '<b>&nbsp;' . TEXT_INFO_HEADING_DEFAULT . '</b>');
        $contents[] = array('text' => TEXT_INFO_INTRO_EDIT_PROCESS . oos_draw_hidden_field('id_info', $myAccount['admin_id']));
        break;
    case 'check_account':
        $heading[] = array('text' => '<b>&nbsp;' . TEXT_INFO_HEADING_CONFIRM_PASSWORD . '</b>');
        $contents[] = array('text' => '&nbsp;' . TEXT_INFO_INTRO_CONFIRM_PASSWORD . oos_draw_hidden_field('id_info', $myAccount['admin_id']));
        if ($_GET['error']) {
            $contents[] = array('text' => '&nbsp;' . TEXT_INFO_INTRO_CONFIRM_PASSWORD_ERROR);
        }
        $contents[] = array('align' => 'center', 'text' => oos_draw_password_field('password_confirmation'));
        $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin($aFilename['admin_account']) . '">' . oos_image_swap_button('back', 'back_off.gif', IMAGE_BACK) . '</a> ' . oos_image_swap_submits('confirm', 'confirm_off.gif', IMAGE_CONFIRM) . '<br />&nbsp');
        break;
    default:
        $heading[] = array('text' => '<b>&nbsp;' . TEXT_INFO_HEADING_DEFAULT . '</b>');
        $contents[] = array('text' => TEXT_INFO_INTRO_DEFAULT);
        if ($myAccount['admin_email_address'] == 'none@none.com') {
            $contents[] = array('text' => sprintf(TEXT_INFO_INTRO_DEFAULT_FIRST, $myAccount['admin_firstname']) . '<br />&nbsp');
        } elseif ($myAccount['admin_modified'] == '0000-00-00 00:00:00' || $myAccount['admin_logdate'] <= 1) {
            $contents[] = array('text' => sprintf(TEXT_INFO_INTRO_DEFAULT_FIRST_TIME, $myAccount['admin_firstname']) . '<br />&nbsp');
        }
}
if (oos_is_not_null($heading) && oos_is_not_null($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
    echo '            </td>' . "\n";
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:admin_account.php


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