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


PHP oos_href_link_admin函数代码示例

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


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

示例1: confirm

 function confirm()
 {
     // Get database information
     $dbconn =& oosDBGetConn();
     $oostable =& oosDBGetTables();
     $aFilename = oos_get_filename();
     $mail_result1 = $dbconn->Execute("SELECT COUNT(*) AS total FROM " . $oostable['customers'] . " WHERE customers_newsletter = '1'");
     $mail_result2 = $dbconn->Execute("SELECT COUNT(*) AS total FROM " . $oostable['maillist'] . " WHERE customers_newsletter = '1'");
     $mail1 = $mail_result1->fields;
     $mail2 = $mail_result2->fields;
     $mail['total'] = $mail1['total'] + $mail2['total'];
     $confirm_string = '<table border="0" cellspacing="0" cellpadding="2">' . "\n" . '  <tr>' . "\n" . '    <td class="main"><font color="#ff0000"><b>' . sprintf(TEXT_COUNT_CUSTOMERS, $mail['total']) . '</b></font></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>' . oos_draw_separator('trans.gif', '1', '10') . '</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td class="main"><b>' . $this->title . '</b></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>' . oos_draw_separator('trans.gif', '1', '10') . '</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td class="main"><tt>' . nl2br($this->content) . '</tt></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>' . oos_draw_separator('trans.gif', '1', '10') . '</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td align="right"><a href="' . oos_href_link_admin($aFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'] . '&action=confirm_send') . '">' . oos_image_button('send_off.gif', IMAGE_SEND) . '</a> <a href="' . oos_href_link_admin($aFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $_GET['nID']) . '">' . oos_image_button('cancel_off.gif', IMAGE_CANCEL) . '</a></td>' . "\n" . '  </tr>' . "\n" . '</table>';
     return $confirm_string;
 }
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:14,代码来源:newsletter.php

示例2: oos_admin_files_boxes

function oos_admin_files_boxes($filename, $sub_box_name)
{
    $sub_boxes = '';
    // Get database information
    $dbconn =& oosDBGetConn();
    $oostable =& oosDBGetTables();
    $aFilename = oos_get_filename();
    $admin_filestable = $oostable['admin_files'];
    $query = "SELECT admin_files_name\n              FROM {$admin_filestable}\n              WHERE FIND_IN_SET( '" . $_SESSION['login_groups_id'] . "', admin_groups_id)\n                AND admin_files_is_boxes = '0'\n                AND admin_files_name = '" . $filename . "'";
    $result =& $dbconn->Execute($query);
    if ($result->RecordCount()) {
        $sub_boxes = '<a href="' . oos_href_link_admin($aFilename[$filename]) . '" class="menuBoxContentLink">' . $sub_box_name . '</a><br />';
    }
    // Close result set
    $result->Close();
    return $sub_boxes;
}
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:17,代码来源:function_kernel.php

示例3: oos_draw_separator

                <td colspan="3" class="smallText"><?php echo $system['uptime']; ?></td>
              </tr>
              <tr>
                <td colspan="4"><?php echo oos_draw_separator('trans.gif', '1', '5'); ?></td>
              </tr>
              <tr>
                <td class="smallText"><b><?php echo TITLE_SYSTEM; ?></b></td>
                <td colspan="3" class="smallText"><?php echo php_uname(); ?></td>
              </tr>
              <tr>
                <td class="smallText"><b><?php echo TITLE_HTTP_SERVER; ?></b></td>
                <td colspan="3" class="smallText"><?php echo $system['HTTP_SERVER']; ?></td>
              </tr>
              <tr>
                <td class="smallText"><b><?php echo TITLE_PHP_VERSION; ?></b></td>
                <td colspan="3" class="smallText"><?php echo $system['php'] . ' (' . TITLE_ZEND_VERSION . ' ' . $system['zend'] . ')&nbsp;&raquo;&nbsp;&raquo;&nbsp;<a href="' . oos_href_link_admin($aFilename['php_info'], '', 'NONSSL') . '" target="_blank">' . TITLE_PHP_INFORMATION . '</a>'; ?></td>
             </tr>
             <tr>
                <td class="smallText"><b>ADODB Version</b></td>
                <td colspan="3" class="smallText"><?php echo $ADODB_vers; ?></td>
             </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
      </tr>
    </table></td>
<!-- body_text_eof //-->
  </tr>
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:server_info.php

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

示例5: intval

                             AND pd.products_languages_id = '" . intval($_SESSION['language_id']). "'
                             AND p.products_quantity <= p.products_reorder_level
                           GROUP BY pd.products_id
                           ORDER BY pd.products_name ASC";
  $products_split = new splitPageResults($_GET['page'], MAX_DISPLAY_SEARCH_RESULTS, $products_result_raw, $products_result_numrows);
  $products_result = $dbconn->Execute($products_result_raw);
  while ($products = $products_result->fields) {
    $rows++;

    if (strlen($rows) < 2) {
      $rows = '0' . $rows;
    }
?>
          <tr class="datatableRow" onmouseover="this.className='datatableRowOver';this.style.cursor='hand'" onmouseout="this.className='datatableRow'" onclick="document.location.href='<?php echo oos_href_link_admin($aFilename['products'], 'action=new_product_preview&read=only&pID=' . $products['products_id'] . '&origin=' . $aFilename['stats_products_viewed'] . '?page=' . $_GET['page'], 'NONSSL'); ?>'">
            <td align="left" class="smallText">&nbsp;<?php echo $rows; ?>.&nbsp;</td>
            <td class="smallText">&nbsp;<?php echo '<a href="' . oos_href_link_admin($aFilename['products'], 'action=new_product_preview&read=only&pID=' . $products['products_id'] . '&origin=' . $aFilename['stats_low_stock'] . '?page=' . $_GET['page'], 'NONSSL') . '" class="blacklink">' . $products['products_name'] . '</a>'; ?>&nbsp;</td>
            <td align="right" class="smallText">&nbsp;<?php echo $products['products_quantity']; ?>&nbsp;</td>
          </tr>
<?php
    // Move that ADOdb pointer!
    $products_result->MoveNext();
  }

  // Close result set
  $products_result->Close();
?>
          </table></td>
          </tr>
          <tr>
            <td colspan="3"><table border="0" width="100%" cellspacing="0" cellpadding="2">
              <tr>
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:stats_low_stock.php

示例6: ON

    $sql1 = "SELECT c.customers_firstname, c.customers_lastname FROM {$customerstable} c WHERE c.customers_id = '" . $cid . "'";
    $result1 = $dbconn->Execute($sql1);
    $crec = $result1->fields;
    // Query DB for the FIRST order that matches this customer ID and came after the abandoned cart
    $orderstable = $oostable['orders'];
    $orders_totaltable = $oostable['orders_total'];
    $orders_statustable = $oostable['orders_status'];
    $orders_sql = "SELECT o.orders_id, o.customers_id, o.date_purchased,\n                          s.orders_status_name, ot.text as order_total, ot.value\n                     FROM {$orderstable} o\n                LEFT JOIN {$orders_totaltable} ot ON (o.orders_id = ot.orders_id),\n                          {$orders_statustable} s\n                    WHERE (o.customers_id = '" . (int) $cid . "'\n                       OR o.customers_email_address like '" . $crec['customers_email_address'] . "'\n                       OR o.customers_name like '" . $crec['customers_firstname'] . ' ' . $crec['customers_lastname'] . "')\n                      AND o.orders_status > " . RCS_PENDING_SALE_STATUS . "\n                      AND o.orders_status = s.orders_status_id\n                      AND o.date_purchased >= '" . $inrec['recovercartsales_date_added'] . "'\n                      AND ot.class = 'ot_total'";
    $orders_result = $dbconn->Execute($orders_sql);
    $orders = $orders_result->fields;
    // If we got a match, create the table entry to display the information
    if (isset($orders) && !empty($orders)) {
        $custknt++;
        $total_recovered += $orders['value'];
        $custknt % 2 ? $class = RCS_REPORT_EVEN_STYLE : ($class = RCS_REPORT_ODD_STYLE);
        $custlist .= '<tr class="' . $class . '">' . '<td class="datatablecontent" align="right">' . $inrec['recovercartsales_id'] . '</td>' . '<td>&nbsp;</td>' . '<td class="datatablecontent" align="center">' . oos_date_order_stat($inrec['recovercartsales_date_added']) . '</td>' . '<td>&nbsp;</td>' . '<td class="datatablecontent"><a href="' . oos_href_link_admin($aFilename['customers'], 'search=' . $crec['customers_lastname'], 'NONSSL') . '">' . $crec['customers_firstname'] . ' ' . $crec['customers_lastname'] . '</a></td>' . '<td class="datatablecontent">' . oos_date_short($orders['date_purchased']) . '</td>' . '<td class="datatablecontent" align="center">' . $orders['orders_status_name'] . '</td>' . '<td class="datatablecontent" align="right">' . strip_tags($orders['order_total']) . '</td>' . '<td>&nbsp;</td>' . '</tr>';
    }
    // Move that ADOdb pointer!
    $result->MoveNext();
}
// Close result set
$result->Close();
$cline = "<tr><td height=\"15\" COLSPAN=8> </td></tr>" . "<tr>" . "<td align=right COLSPAN=3 class=main><b>" . TOTAL_RECORDS . "</b></td>" . "<td>&nbsp;</td>" . "<td align=left COLSPAN=5 class=main>" . $rc_cnt . "</td>" . "</tr>" . "<tr>" . "<td align=right COLSPAN=3 class=main><b>" . TOTAL_SALES . "</b></td>" . "<td>&nbsp;</td>" . "<td align=left COLSPAN=5 class=main>" . $custknt . TOTAL_SALES_EXPLANATION . " </td>" . "</tr>" . "<tr><td height=\"12\" COLSPAN=6> </td></tr>";
echo $cline;
?>
       <tr class="dataTableHeadingRow"> <!-- Header -->
        <td width="7%" class="dataTableHeadingContent" align="right"><?php 
echo TABLE_HEADING_SCART_ID;
?>
</td>
        <td width="1%" class="dataTableHeadingContent">&nbsp;</td>
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:stats_recover_cart_sales.php

示例7: Copyright

<?php

/* ----------------------------------------------------------------------
   $Id$

   OOS [OSIS Online Shop]
   http://www.oos-shop.de/

   Copyright (c) 2003 - 2009 by the OOS Development Team.
   ----------------------------------------------------------------------
   Released under the GNU General Public License
   ---------------------------------------------------------------------- */
?>
<!-- plugins //-->
          <tr>
            <td>
<?php 
$heading = array();
$contents = array();
$heading[] = array('text' => BOX_HEADING_PLUGINS, 'link' => oos_href_link_admin(basename($_SERVER['PHP_SELF']), oos_get_all_get_params(array('selected_box')) . 'selected_box=plugins'));
if ($_SESSION['selected_box'] == 'plugins') {
    $contents[] = array('text' => '<a href="' . oos_href_link_admin($aFilename['plugins'], '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_PLUGINS_EVENT . '</a>');
}
$box = new box();
echo $box->menuBox($heading, $contents);
?>
            </td>
          </tr>
<!-- plugins_eof //-->
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:29,代码来源:plugins.php

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

示例9: array

 $contents = array();
 switch ($action) {
     case 'delete':
         $heading[] = array('text' => '<b>' . $nInfo->title . '</b>');
         $contents = array('form' => oos_draw_form('newsletters', $aFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $nInfo->newsletters_id . '&action=deleteconfirm'));
         $contents[] = array('text' => TEXT_INFO_DELETE_INTRO);
         $contents[] = array('text' => '<br /><b>' . $nInfo->title . '</b>');
         $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete', 'delete_off.gif', IMAGE_DELETE) . ' <a href="' . oos_href_link_admin($aFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $_GET['nID']) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>');
         break;
     default:
         if (isset($nInfo) && is_object($nInfo)) {
             $heading[] = array('text' => '<b>' . $nInfo->title . '</b>');
             if ($nInfo->locked > 0) {
                 $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin($aFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $nInfo->newsletters_id . '&action=new') . '">' . oos_image_swap_button('edit', 'edit_off.gif', IMAGE_EDIT) . '</a> <a href="' . oos_href_link_admin($aFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $nInfo->newsletters_id . '&action=delete') . '">' . oos_image_swap_button('delete', 'delete_off.gif', IMAGE_DELETE) . '</a> <a href="' . oos_href_link_admin($aFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $nInfo->newsletters_id . '&action=preview') . '">' . oos_image_swap_button('preview', 'preview_off.gif', IMAGE_PREVIEW) . '</a> <a href="' . oos_href_link_admin($aFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $nInfo->newsletters_id . '&action=send') . '">' . oos_image_swap_button('send', 'send_off.gif', IMAGE_SEND) . '</a> <a href="' . oos_href_link_admin($aFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $nInfo->newsletters_id . '&action=unlock') . '">' . oos_image_swap_button('unlock', 'unlock_off.gif', IMAGE_UNLOCK) . '</a>');
             } else {
                 $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin($aFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $nInfo->newsletters_id . '&action=preview') . '">' . oos_image_swap_button('preview', 'preview_off.gif', IMAGE_PREVIEW) . '</a> <a href="' . oos_href_link_admin($aFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $nInfo->newsletters_id . '&action=lock') . '">' . oos_image_swap_button('lock', 'lock_off.gif', IMAGE_LOCK) . '</a>');
             }
             $contents[] = array('text' => '<br />' . TEXT_NEWSLETTER_DATE_ADDED . ' ' . oos_date_short($nInfo->date_added));
             if ($nInfo->status == '1') {
                 $contents[] = array('text' => TEXT_NEWSLETTER_DATE_SENT . ' ' . oos_date_short($nInfo->date_sent));
             }
         }
         break;
 }
 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,代码来源:newsletters.php

示例10: confirm

 function confirm()
 {
     $audience = array();
     // Get database information
     $dbconn =& oosDBGetConn();
     $oostable =& oosDBGetTables();
     $aFilename = oos_get_filename();
     if ($_GET['global'] == 'true') {
         $products_result = $dbconn->Execute("SELECT distinct customers_id FROM " . $oostable['products_notifications']);
         while ($products = $products_result->fields) {
             $audience[$products['customers_id']] = '1';
             // Move that ADOdb pointer!
             $products_result->MoveNext();
         }
         $customers_result = $dbconn->Execute("SELECT customers_info_id FROM " . $oostable['customers_info'] . " WHERE global_product_notifications = '1'");
         while ($customers = $customers_result->fields) {
             $audience[$customers['customers_info_id']] = '1';
             // Move that ADOdb pointer!
             $customers_result->MoveNext();
         }
     } else {
         $chosen = $_POST['chosen'];
         $ids = implode(',', $chosen);
         $products_result = $dbconn->Execute("SELECT DISTINCT customers_id FROM " . $oostable['products_notifications'] . " WHERE products_id in (" . $ids . ")");
         while ($products = $products_result->fields) {
             $audience[$products['customers_id']] = '1';
             $products_result->MoveNext();
         }
         $customers_result = $dbconn->Execute("SELECT customers_info_id FROM " . $oostable['customers_info'] . " WHERE global_product_notifications = '1'");
         while ($customers = $customers_result->fields) {
             $audience[$customers['customers_info_id']] = '1';
             // Move that ADOdb pointer!
             $customers_result->MoveNext();
         }
     }
     $confirm_string = '<table border="0" cellspacing="0" cellpadding="2">' . "\n" . '  <tr>' . "\n" . '    <td class="main"><font color="#ff0000"><b>' . sprintf(TEXT_COUNT_CUSTOMERS, count($audience)) . '</b></font></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>' . oos_draw_separator('trans.gif', '1', '10') . '</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td class="main"><b>' . $this->title . '</b></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>' . oos_draw_separator('trans.gif', '1', '10') . '</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td class="main"><tt>' . nl2br($this->content) . '</tt></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>' . oos_draw_separator('trans.gif', '1', '10') . '</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . oos_draw_form('confirm', $aFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'] . '&action=confirm_send') . "\n" . '    <td align="right">';
     if (count($audience) > 0) {
         if ($_GET['global'] == 'true') {
             $confirm_string .= oos_draw_hidden_field('global', 'true');
         } else {
             for ($i = 0, $n = count($chosen); $i < $n; $i++) {
                 $confirm_string .= oos_draw_hidden_field('chosen[]', $chosen[$i]);
             }
         }
         $confirm_string .= oos_image_submit('send.gif', IMAGE_SEND) . ' ';
     }
     $confirm_string .= '<a href="' . oos_href_link_admin($aFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'] . '&action=send') . '">' . oos_image_button('back.gif', IMAGE_BACK) . '</a> <a href="' . oos_href_link_admin($aFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $_GET['nID']) . '">' . oos_image_button('cancel_off.gif', IMAGE_CANCEL) . '</a></td>' . "\n" . '  </tr>' . "\n" . '</table>';
     return $confirm_string;
 }
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:49,代码来源:product_notification.php

示例11: oos_image

  if ($no_js_general == '1') {
?>
   <link rel="StyleSheet" href="includes/stylesheet.css" type="text/css" >
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
<?php
  } else {
?>
    <script type="text/javascript" src="includes/general.js"></script>
    <link rel="StyleSheet" href="includes/stylesheet.css" type="text/css" >
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF" onload="SetFocus();">
<?php
  }
?>
<?php
  if ($messageStack->size > 0) {
    echo $messageStack->output();
  }
?>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td></td>
    <td align="right"><?php echo '<a href="http://www.oos-shop.de/" target="_blank">' . oos_image(OOS_IMAGES . 'support.png', HEADER_TITLE_SUPPORT_SITE, '50', '50') . '</a>&nbsp;&nbsp;<a href="' . oos_catalog_link($aCatalogPage['default']) . '">' . oos_image(OOS_IMAGES . 'checkout.png', HEADER_TITLE_ONLINE_CATALOG, '50', '50') . '</a>&nbsp;&nbsp;<a href="' . oos_href_link_admin($aFilename['default'], '', 'NONSSL') . '">' . oos_image(OOS_IMAGES . 'administration.png', HEADER_TITLE_ADMINISTRATION, '50', '50') . '</a>'; ?>&nbsp;&nbsp;</td>
  </tr>
  <tr class="headerBar">
    <td class="headerBarContent">&nbsp;&nbsp;<?php if (isset($_SESSION['login_id'])) { echo '<a href="' . oos_href_link_admin($aFilename['admin_account'], '', 'SSL') . '" class="headerLink">' . HEADER_TITLE_ACCOUNT . '</a> | <a href="' . oos_href_link_admin($aFilename['logoff'], '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_LOGOFF . '</a>'; } else { echo '<a href="' . oos_href_link_admin($aFilename['default'], '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_TOP . '</a>'; }?></td>
    <td class="headerBarContent" align="right"><?php echo '<a href="http://www.oos-shop.de/" class="headerLink">' . HEADER_TITLE_SUPPORT_SITE . '</a> &nbsp;|&nbsp; <a href="' . oos_catalog_link($aCatalogPage['default']) . '" class="headerLink">' . HEADER_TITLE_ONLINE_CATALOG . '</a>&nbsp;|&nbsp; <a href="' . oos_href_link_admin($aFilename['default'], '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_ADMINISTRATION . '</a>'; ?>&nbsp;&nbsp;</td>
  </tr>
</table>
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:30,代码来源:oos_header.php

示例12: oos_draw_separator

      <tr>
        <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td class="pageHeading"><?php 
    echo ADDING_TITLE;
    ?>
 #<?php 
    echo $oID;
    ?>
</td>
            <td class="pageHeading" align="right"><?php 
    echo oos_draw_separator('trans.gif', 1, HEADING_IMAGE_HEIGHT);
    ?>
</td>
            <td class="pageHeading" align="right"><?php 
    echo '<a href="' . oos_href_link_admin($aFilename['orders'], oos_get_all_get_params(array('action'))) . '">' . oos_image_swap_button('back', 'back_off.gif', IMAGE_BACK) . '</a>';
    ?>
</td>
          </tr>
        </table></td>
      </tr>

<?php 
    //$result = $dbconn->Execute("SELECT products_name, p.products_id, cd.categories_name, ptc.categories_id FROM " . $oostable['products'] . " p LEFT JOIN " . $oostable['products_description'] . " pd ON pd.products_id=p.products_id LEFT JOIN " . $oostable['products_to_categories'] . " ptc ON ptc.products_id=p.products_id LEFT JOIN " . $oostable['categories_description'] . " cd ON cd.categories_id=ptc.categories_id LEFT JOIN " . $oostable['categories_description'] . " x ON x.categories_name=cd.categories_name ORDER BY categories_id");
    $result = $dbconn->Execute("SELECT products_name, p.products_id, cd.categories_name, ptc.categories_id FROM " . $oostable['products'] . " p LEFT JOIN " . $oostable['products_description'] . " pd ON pd.products_id=p.products_id LEFT JOIN " . $oostable['products_to_categories'] . " ptc ON ptc.products_id=p.products_id LEFT JOIN " . $oostable['categories_description'] . " cd ON cd.categories_id=ptc.categories_id ORDER BY categories_id");
    while ($row = $result->fields) {
        extract($row, EXTR_PREFIX_ALL, "db");
        $ProductList[$db_categories_id][$db_products_id] = $db_products_name;
        $CategoryList[$db_categories_id] = $db_categories_name;
        $LastCategory = $db_categories_name;
        // Move that ADOdb pointer!
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:edit_orders.php

示例13: while

while ($products = $products_result->fields) {
    $rows++;
    if (strlen($rows) < 2) {
        $rows = '0' . $rows;
    }
    ?>
              <tr class="dataTableRow" onmouseover="this.className='dataTableRowOver';this.style.cursor='hand'" onmouseout="this.className='dataTableRow'" onclick="document.location.href='<?php 
    echo oos_href_link_admin($aFilename['products'], 'action=new_product_preview&read=only&pID=' . $products['products_id'] . '&origin=' . $aFilename['stats_products_purchased'] . '?page=' . $_GET['page'], 'NONSSL');
    ?>
'">
                <td class="dataTableContent"><?php 
    echo $rows;
    ?>
.</td>
                <td class="dataTableContent"><?php 
    echo '<a href="' . oos_href_link_admin($aFilename['products'], 'action=new_product_preview&read=only&pID=' . $products['products_id'] . '&origin=' . $aFilename['stats_products_purchased'] . '?page=' . $_GET['page'], 'NONSSL') . '">' . $products['products_name'] . '</a>';
    ?>
</td>
                <td class="dataTableContent" align="center"><?php 
    echo $products['products_ordered'];
    ?>
&nbsp;</td>
              </tr>
<?php 
    // Move that ADOdb pointer!
    $products_result->MoveNext();
}
// Close result set
$products_result->Close();
?>
            </table></td>
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:stats_products_purchased.php

示例14: oos_draw_input_field

			<div><img src="./captcha.php" alt="CAPTCHA"></div>
                        <div class="inputlabel"><?php 
    echo SECURITYCODE;
    ?>
</div>
			<div><?php 
    echo oos_draw_input_field('captchastring', '', 'class="inputbox" size="15"');
    ?>
</div>
<?php 
}
?>

	        	<div align="left"><input type="submit" name="submit" class="button" value="Login" /></div>
                        <div class="ctr"><a href="<?php 
echo oos_href_link_admin($aFilename['password_forgotten'], '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN;
?>
</a></div>


        	</div>
			</form>
    	</div>
		<div class="login-text">

			<div class="ctr"><img src="images/security.gif" width="64" height="64" alt="security" /></div>
			<p><?php 
echo TEXT_WELCOME;
?>
</p>
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:30,代码来源:login.php

示例15: oos_href_link_admin

              // Move that ADOdb pointer!
              $attrib_result->MoveNext();
            }
          }
        }
        // END OF ATTRIBUTE DB CODE

        $tprice = $tprice + ($inrec['qty'] * $sprice);
        $pprice_formated  = $currencies->format($sprice);
        $tpprice_formated = $currencies->format(($inrec['qty'] * $sprice));

        $cline = '<tr class="dataTableRow">
                      <td class="dataTableContent" align="left" vAlign="top" colspan="2" width="12%" nowrap> &nbsp;</td>
                      <td class="dataTableContent" align="left" vAlign="top" width="13%" nowrap>' . $inrec6['model'] . '</td>
                      <td class="dataTableContent" align="left" vAlign="top" colspan="2" width="55%"><a href="' . oos_href_link_admin($aFilename['products'], 'action=new_product_preview&read=only&pID=' . $inrec['pid'] . '&origin=' . $aFilename['recover_cart_sales'] . '?page=' . (int)$_GET['page'], 'NONSSL') . '"><b>' . $inrec6['name'] . '</b></a>
                      ' . $prodAttribs . '
                      </td>
                      <td class="dataTableContent" align="center" vAlign="top" width="5%" nowrap>' . $inrec['qty'] . '</td>
                      <td class="dataTableContent" align="right"  vAlign="top" width="5%" nowrap>' . $pprice_formated . '</td>
                      <td class="dataTableContent" align="right"  vAlign="top" width="10%" nowrap>' . $tpprice_formated . '</td>
                   </tr>';
        echo $cline;
      }

      $curcus = '';

      // Move that ADOdb pointer!
      $result->MoveNext();
    }
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:29,代码来源:recover_cart_sales.php


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