예제 #1
0
  This source file is subject to version 2.0 of the GPL license,   
  that is bundled with this package in the file LICENSE. If you
  did not receive a copy of the oscMall System license and are unable 
  to obtain it through the world-wide-web, please send a note to    
  license@systemsmanager.net so we can mail you a copy immediately.
*/
?>
<link href="style.css" rel="stylesheet" type="text/css">
<table border="0" width="600" height="100%" cellspacing="0" cellpadding="0" align="center" valign="middle" style="padding-top:40px;">
  <tr>
    <td><table border="0" width="600" height="440" cellspacing="0" cellpadding="1" align="center" valign="middle">
      <tr bgcolor="#000000">
        <td><table border="0" width="600" height="440" cellspacing="0" cellpadding="0">
          <tr bgcolor="#ffffff" height="50">
            <td height="50"><?php 
echo smn_info_image(STORE_LOGO, STORE_NAME, '200', '');
?>
</td>
            <td align="right" class="text" nowrap><?php 
echo '<a class="text" href="' . smn_href_link(FILENAME_DEFAULT) . '">' . HEADER_TITLE_ADMINISTRATION . '</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a class="text" href="' . smn_catalog_href_link() . '">' . HEADER_TITLE_ONLINE_CATALOG . '</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a class="text" href="http://www.systemsmanager.net" target="_blank">' . HEADER_TITLE_SUPPORT_SITE . '</a>';
?>
&nbsp;&nbsp;</td>
          </tr>
    <?php 
if ($super_user == 'true') {
    ?>
   <tr bgcolor="#ffffff" height="50">
   <td class="headerBarContent">&nbsp;Currently Working in Store :<br><b>&nbsp;<?php 
    echo $store->get_store_name();
    ?>
</b></td>
예제 #2
0
     case 'delete':
         $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_REVIEW . '</b>');
         $contents = array('form' => smn_draw_form('reviews', FILENAME_REVIEWS, 'page=' . $_GET['page'] . '&rID=' . $rInfo->reviews_id . '&action=deleteconfirm'));
         $contents[] = array('text' => TEXT_INFO_DELETE_REVIEW_INTRO);
         $contents[] = array('text' => '<br><b>' . $rInfo->products_name . '</b>');
         $contents[] = array('align' => 'center', 'text' => '<br>' . smn_image_submit('button_delete.gif', IMAGE_DELETE) . ' <a href="' . smn_href_link(FILENAME_REVIEWS, 'page=' . $_GET['page'] . '&rID=' . $rInfo->reviews_id) . '">' . smn_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
         break;
     default:
         if (isset($rInfo) && is_object($rInfo)) {
             $heading[] = array('text' => '<b>' . $rInfo->products_name . '</b>');
             $contents[] = array('align' => 'center', 'text' => '<a href="' . smn_href_link(FILENAME_REVIEWS, 'page=' . $_GET['page'] . '&rID=' . $rInfo->reviews_id . '&action=edit') . '">' . smn_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . smn_href_link(FILENAME_REVIEWS, 'page=' . $_GET['page'] . '&rID=' . $rInfo->reviews_id . '&action=delete') . '">' . smn_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
             $contents[] = array('text' => '<br>' . TEXT_INFO_DATE_ADDED . ' ' . smn_date_short($rInfo->date_added));
             if (smn_not_null($rInfo->last_modified)) {
                 $contents[] = array('text' => TEXT_INFO_LAST_MODIFIED . ' ' . smn_date_short($rInfo->last_modified));
             }
             $contents[] = array('text' => '<br>' . smn_info_image($rInfo->products_image, $rInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT));
             $contents[] = array('text' => '<br>' . TEXT_INFO_REVIEW_AUTHOR . ' ' . $rInfo->customers_name);
             $contents[] = array('text' => TEXT_INFO_REVIEW_RATING . ' ' . smn_image(HTTP_CATALOG_SERVER . DIR_WS_CATALOG_IMAGES . 'stars_' . $rInfo->reviews_rating . '.gif'));
             $contents[] = array('text' => TEXT_INFO_REVIEW_READ . ' ' . $rInfo->reviews_read);
             $contents[] = array('text' => '<br>' . TEXT_INFO_REVIEW_SIZE . ' ' . $rInfo->reviews_text_size . ' bytes');
             $contents[] = array('text' => '<br>' . TEXT_INFO_PRODUCTS_AVERAGE_RATING . ' ' . number_format($rInfo->average_rating, 2) . '%');
         }
         break;
 }
 if (smn_not_null($heading) && smn_not_null($contents)) {
     echo '            <td width="25%" valign="top">' . "\n";
     $box = new box();
     echo $box->infoBox($heading, $contents);
     echo '            </td>' . "\n";
 }
 ?>
예제 #3
0
        $contents[] = array('text' => '<br>' . smn_draw_checkbox_field('delete_image', '', true) . ' ' . TEXT_DELETE_IMAGE);
        if ($mInfo->products_count > 0) {
            $contents[] = array('text' => '<br>' . smn_draw_checkbox_field('delete_products') . ' ' . TEXT_DELETE_PRODUCTS);
            $contents[] = array('text' => '<br>' . sprintf(TEXT_DELETE_WARNING_PRODUCTS, $mInfo->products_count));
        }
        $contents[] = array('align' => 'center', 'text' => '<br>' . smn_image_submit('button_delete.gif', IMAGE_DELETE) . ' <a href="' . smn_href_link(FILENAME_MANUFACTURERS, 'page=' . $_GET['page'] . '&mID=' . $mInfo->manufacturers_id) . '">' . smn_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
        break;
    default:
        if (isset($mInfo) && is_object($mInfo)) {
            $heading[] = array('text' => '<b>' . $mInfo->manufacturers_name . '</b>');
            $contents[] = array('align' => 'center', 'text' => '<a href="' . smn_href_link(FILENAME_MANUFACTURERS, 'page=' . $_GET['page'] . '&mID=' . $mInfo->manufacturers_id . '&action=edit') . '">' . smn_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . smn_href_link(FILENAME_MANUFACTURERS, 'page=' . $_GET['page'] . '&mID=' . $mInfo->manufacturers_id . '&action=delete') . '">' . smn_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
            $contents[] = array('text' => '<br>' . TEXT_DATE_ADDED . ' ' . smn_date_short($mInfo->date_added));
            if (smn_not_null($mInfo->last_modified)) {
                $contents[] = array('text' => TEXT_LAST_MODIFIED . ' ' . smn_date_short($mInfo->last_modified));
            }
            $contents[] = array('text' => '<br>' . smn_info_image($mInfo->manufacturers_image, $mInfo->manufacturers_name));
            $contents[] = array('text' => '<br>' . TEXT_PRODUCTS . ' ' . $mInfo->products_count);
        }
        break;
}
if (smn_not_null($heading) && smn_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>
예제 #4
0
    $contents = array();
    switch ($action) {
        case 'delete':
            $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_SPECIALS . '</b>');
            $contents = array('form' => smn_draw_form('specials', FILENAME_SPECIALS, 'page=' . $_GET['page'] . '&sID=' . $sInfo->specials_id . '&action=deleteconfirm'));
            $contents[] = array('text' => TEXT_INFO_DELETE_INTRO);
            $contents[] = array('text' => '<br><b>' . $sInfo->products_name . '</b>');
            $contents[] = array('align' => 'center', 'text' => '<br>' . smn_image_submit('button_delete.gif', IMAGE_DELETE) . '&nbsp;<a href="' . smn_href_link(FILENAME_SPECIALS, 'page=' . $_GET['page'] . '&sID=' . $sInfo->specials_id) . '">' . smn_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
            break;
        default:
            if (is_object($sInfo)) {
                $heading[] = array('text' => '<b>' . $sInfo->products_name . '</b>');
                $contents[] = array('align' => 'center', 'text' => '<a href="' . smn_href_link(FILENAME_SPECIALS, 'page=' . $_GET['page'] . '&sID=' . $sInfo->specials_id . '&action=edit') . '">' . smn_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . smn_href_link(FILENAME_SPECIALS, 'page=' . $_GET['page'] . '&sID=' . $sInfo->specials_id . '&action=delete') . '">' . smn_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
                $contents[] = array('text' => '<br>' . TEXT_INFO_DATE_ADDED . ' ' . smn_date_short($sInfo->specials_date_added));
                $contents[] = array('text' => '' . TEXT_INFO_LAST_MODIFIED . ' ' . smn_date_short($sInfo->specials_last_modified));
                $contents[] = array('align' => 'center', 'text' => '<br>' . smn_info_image($sInfo->products_image, $sInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT));
                $contents[] = array('text' => '<br>' . TEXT_INFO_ORIGINAL_PRICE . ' ' . $currencies->format($sInfo->products_price));
                $contents[] = array('text' => '' . TEXT_INFO_NEW_PRICE . ' ' . $currencies->format($sInfo->specials_new_products_price));
                $contents[] = array('text' => '' . TEXT_INFO_PERCENTAGE . ' ' . number_format(100 - $sInfo->specials_new_products_price / $sInfo->products_price * 100) . '%');
                $contents[] = array('text' => '<br>' . TEXT_INFO_EXPIRES_DATE . ' <b>' . smn_date_short($sInfo->expires_date) . '</b>');
                $contents[] = array('text' => '' . TEXT_INFO_STATUS_CHANGE . ' ' . smn_date_short($sInfo->date_status_change));
            }
            break;
    }
    if (smn_not_null($heading) && smn_not_null($contents)) {
        echo '            <td width="25%" valign="top">' . "\n";
        $box = new box();
        echo $box->infoBox($heading, $contents);
        echo '            </td>' . "\n";
    }
}
a.sub:link, a.sub:visited { color: #dddddd; text-decoration: none; }
A.sub:hover { color: #dddddd; text-decoration: underline; }
.sub { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; line-height: 1.5; color: #dddddd; }
.text { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color: #000000; }
.smallText { font-family: Verdana, Arial, sans-serif; font-size: 10px; }
.login_heading { font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #000000;}
.login { font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #000000;}
//--></style>
<table border="0" width="600" height="100%" cellspacing="0" cellpadding="0" align="center" valign="middle">
  <tr>
    <td><table border="0" width="600" height="440" cellspacing="0" cellpadding="1" align="center" valign="middle">
      <tr bgcolor="#000000">
        <td><table border="0" width="600" height="440" cellspacing="0" cellpadding="0">
          <tr bgcolor="#ffffff" height="50">
            <td height="50"><?php 
echo smn_info_image(STORE_LOGO, STORE_NAME, '', '150');
?>
</td>
            <td align="right" class="text" nowrap><?php 
echo '<a href="' . smn_href_link(FILENAME_DEFAULT) . '">' . HEADER_TITLE_ADMINISTRATION . '</a>&nbsp;|&nbsp;<a href="' . smn_catalog_href_link() . '">' . HEADER_TITLE_ONLINE_CATALOG . '</a>&nbsp;|&nbsp;<a href="http://forum.systemsmanager.net" target="_blank">' . HEADER_TITLE_SUPPORT_SITE . '</a>';
?>
&nbsp;&nbsp;</td>
          </tr>
          <tr bgcolor="#ffffff">
            <td colspan="2" align="center" valign="middle">
                          <?php 
echo smn_draw_form('login', 'password_forgotten.php?action=process');
?>
                            <table width="280" border="0" cellspacing="0" cellpadding="2">
                              <tr>
                                <td class="login_heading" valign="top">&nbsp;<b><?php 
예제 #6
0
         $contents[] = array('text' => '<br>' . TEXT_INFO_CURRENT_CATEGORIES . '<br><b>' . smn_output_generated_store_category_path($pInfo->store_id, 'store') . '</b>');
         $contents[] = array('text' => '<br>' . TEXT_CATEGORIES . '<br>' . smn_draw_pull_down_menu('store_categories_id', $store->smn_get_store_category_tree(), $current_store_category_id));
         $contents[] = array('text' => '<br>' . TEXT_HOW_TO_COPY . '<br>' . smn_draw_radio_field('copy_as', 'link', true) . ' ' . TEXT_COPY_AS_LINK . '<br>');
         $contents[] = array('align' => 'center', 'text' => '<br>' . smn_image_submit('button_copy.gif', IMAGE_COPY) . ' <a href="' . smn_href_link(FILENAME_MANAGEMENT, 'sPath=' . $sPath . '&sID=' . $pInfo->store_id) . '">' . smn_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
         break;
     default:
         if ($rows > 0) {
             if (isset($cInfo) && is_object($cInfo)) {
                 // store_category info box contents
                 $heading[] = array('text' => '<b>' . $cInfo->store_categories_name . '</b>');
                 $contents[] = array('align' => 'center', 'text' => '<a href="' . smn_href_link(FILENAME_MANAGEMENT, 'sPath=' . $sPath . '&cID=' . $cInfo->store_categories_id . '&action=edit_store_category') . '">' . smn_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . smn_href_link(FILENAME_MANAGEMENT, 'sPath=' . $sPath . '&cID=' . $cInfo->store_categories_id . '&action=delete_store_category') . '">' . smn_image_button('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . smn_href_link(FILENAME_MANAGEMENT, 'sPath=' . $sPath . '&cID=' . $cInfo->store_categories_id . '&action=move_store_category') . '">' . smn_image_button('button_move.gif', IMAGE_MOVE) . '</a>');
                 $contents[] = array('text' => '<br>' . TEXT_DATE_ADDED . ' ' . smn_date_short($cInfo->date_added));
                 if (smn_not_null($cInfo->last_modified)) {
                     $contents[] = array('text' => TEXT_LAST_MODIFIED . ' ' . smn_date_short($cInfo->last_modified));
                 }
                 $contents[] = array('text' => '<br>' . smn_info_image($cInfo->store_categories_image, $cInfo->store_categories_name, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT) . '<br>' . $cInfo->store_categories_image);
                 $contents[] = array('text' => '<br>' . TEXT_SUBCATEGORIES . ' ' . $cInfo->childs_count . '<br>' . TEXT_STORES . ' ' . $cInfo->store_count);
             } elseif (isset($pInfo) && is_object($pInfo)) {
                 // store info box contents
                 $heading[] = array('text' => '<b>' . $pInfo->store_name . '</b>');
                 $contents[] = array('align' => 'center', 'text' => '<a href="' . smn_href_link(FILENAME_MANAGEMENT, 'sPath=' . $sPath . '&sID=' . $pInfo->store_id . '&action=edit_store') . '">' . smn_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . smn_href_link(FILENAME_MANAGEMENT, 'sPath=' . $sPath . '&sID=' . $pInfo->store_id . '&action=delete_store') . '">' . smn_image_button('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . smn_href_link(FILENAME_MANAGEMENT, 'sPath=' . $sPath . '&sID=' . $pInfo->store_id . '&action=move_store') . '">' . smn_image_button('button_move.gif', IMAGE_MOVE) . '</a> <a href="' . smn_href_link(FILENAME_MANAGEMENT, 'sPath=' . $sPath . '&sID=' . $pInfo->store_id . '&action=copy_to') . '">' . smn_image_button('button_copy_to.gif', IMAGE_COPY_TO) . '</a>');
                 $contents[] = array('text' => '<br>' . TEXT_DATE_ADDED . ' ' . smn_date_short($pInfo->date_added));
             } else {
                 // create store_category/store info
                 $heading[] = array('text' => '<b>' . EMPTY_CATEGORY . '</b>');
                 $contents[] = array('text' => TEXT_NO_CHILD_CATEGORIES_OR_STORES);
             }
         }
         break;
 }
 if (smn_not_null($heading) && smn_not_null($contents)) {
예제 #7
0
}
if ($store->smn_admin_check_boxes('tools.php') == true) {
    include DIR_WS_BOXES . 'tools.php';
}
if ($store->smn_admin_check_boxes('layout.php') == true) {
    include DIR_WS_BOXES . 'layout.php';
}
if ($store->smn_admin_check_boxes('affiliate.php') == true) {
    require DIR_WS_BOXES . 'affiliate.php';
}
/* Menu Setup - END */
?>
 <table border="0" width="100%" cellspacing="0" cellpadding="0" id="headerTable">
  <tr bgcolor="#FFFFFF">
   <td><?php 
echo smn_info_image(STORE_LOGO, $store_name, '200', '');
?>
</td>
   <td align="right" bgcolor="#FFFFFF"></td>
  </tr>
  <tr class="headerBar">
   <td class="headerBarContent">&nbsp;&nbsp;<?php 
if (smn_session_is_registered('login_id')) {
    echo '<a href="' . smn_href_link(FILENAME_ADMIN_ACCOUNT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_ACCOUNT . '</a>' . ' &nbsp;|&nbsp; <a href="' . smn_href_link(FILENAME_LOGOFF, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_LOGOFF . '</a>';
} else {
    echo '<a href="' . smn_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_TOP . '</a>';
}
echo ' &nbsp;|&nbsp; <a href="http://www.systemsmanager.net" class="headerLink">' . HEADER_TITLE_SUPPORT_SITE . '</a>' . ' &nbsp;|&nbsp; <a href="' . smn_catalog_href_link() . '" class="headerLink">' . HEADER_TITLE_ONLINE_CATALOG . '</a>' . ' &nbsp;|&nbsp; <a href="' . smn_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_ADMINISTRATION . '</a>' . ' &nbsp;|&nbsp;<a href="javascript:popupWindow(\'' . 'includes/help/' . FILENAME_POPUP_HELP . '?HelpID=' . str_replace('.php', '', basename($PHP_SELF)) . '\')" class="headerLink">' . HEADER_TITLE_HELP . '</a>';
?>
</td>
   <td class="headerBarContent" align="center"></td>