Neuigkeiten
  • Die modified eCommerce Shopsoftware ist kostenlos, aber nicht umsonst.
    Spenden
  • Damit wir die modified eCommerce Shopsoftware auch zukünftig kostenlos anbieten können:
    Spenden
  • Thema: Shopvorstellung: www.ares-foto.de

    Ares Foto

    • Neu im Forum
    • Beiträge: 43
    • Geschlecht:
    Re: Shopvorstellung: www.ares-foto.de
    Antwort #45 am: 02. Januar 2013, 20:33:09
    Verstehe, die alte xtc-Seite wird geladen, was zu der Verzögerung führt.

    In der index.html Datei findet sich folgender Abschnitt:

    Code: PHP  [Auswählen]
    powered by <a href="http://www.modified eCommerce Shopsoftware.org" rel="nofollow" title="modified eCommerce Shopsoftware" target="_blank">modified eCommerce Shopsoftware</a><br />

    Wäre es ausreichend, wenn ich hier die neue Adresse einfüge?

    Und was ist jetzt das Problem mit diesem UTF-8 - würde dieser "Fix", sofern er dann mal verfügbar wäre, gar nicht mit meinem System funktionieren?

    Gruß!

    twe

    • Schreiberling
    • Beiträge: 293
    • Geschlecht:
    Re: Shopvorstellung: www.ares-foto.de
    Antwort #46 am: 02. Januar 2013, 20:35:43
    Die Ladezeit wird nicht von diesem Link verursacht, sondern im Admin beim Laden des RSS-Feeds.

    Der Fix sollte mit deinem System auch funktionieren.

    Ares Foto

    • Neu im Forum
    • Beiträge: 43
    • Geschlecht:
    Re: Shopvorstellung: www.ares-foto.de
    Antwort #47 am: 02. Januar 2013, 20:40:22
    Ach so, könnte ich den RSS-Feed auch händisch ändern und falls ja, in welcher Datei befinde sich dieser?

    twe

    • Schreiberling
    • Beiträge: 293
    • Geschlecht:
    Re: Shopvorstellung: www.ares-foto.de
    Antwort #48 am: 02. Januar 2013, 20:43:14
    in der admin/start.php

    ca. Zeile 413

    Als Anhang der Fix. Falls nicht erlaubt, bitte löschen

    Ares Foto

    • Neu im Forum
    • Beiträge: 43
    • Geschlecht:
    Re: Shopvorstellung: www.ares-foto.de
    Antwort #49 am: 02. Januar 2013, 20:57:23
    Danke, habe mal die start.php aus deiner Datei über meine geschrieben (natürlich vorher Daten gesichert).

    Jetzt läd der Admin blitzschnell und auch neue RSS-Infos werden angezeigt. Mir ist allerdings aufgefallen, daß die Umlaute der RSS-Beiträge nicht richtig angezeigt werden können, ist das normal?

    Gruß!

    twe

    • Schreiberling
    • Beiträge: 293
    • Geschlecht:
    Re: Shopvorstellung: www.ares-foto.de
    Antwort #50 am: 02. Januar 2013, 21:00:22
    Ja, wegen deinem UTF-8 vermute ich mal. Wurden die vorher richtig angezeigt?

    Ares Foto

    • Neu im Forum
    • Beiträge: 43
    • Geschlecht:
    Re: Shopvorstellung: www.ares-foto.de
    Antwort #51 am: 02. Januar 2013, 21:05:01
    hab zur Kontrolle wieder die alte Datei aufgespielt und ja, da werden die Umlaute richtig angezeigt, ach herje, habt ihr da auch eine start.php, die mit UTF-8 funktioniert? Ansonsten wäre das ja auch nicht schlimm mit den Umlauten, solange das Problem auf den Admin-Bereich beschränkt ist.

    Gruß!

    noRiddle (revilonetz)

    • Experte
    • Beiträge: 13.990
    • Geschlecht:
    Re: Shopvorstellung: www.ares-foto.de
    Antwort #52 am: 02. Januar 2013, 21:07:21
    Wende dich bzg. Umlaute und UTF-8 doch mal an Webkiste, der hat dir doch das Template gemacht, oder nicht ?

    Gruß,
    noRiddle

    twe

    • Schreiberling
    • Beiträge: 293
    • Geschlecht:
    Re: Shopvorstellung: www.ares-foto.de
    Antwort #53 am: 02. Januar 2013, 21:10:51
    Probiers mal mit dem Anhang.

    Es ist aber nur auf den Admin beschränkt

    Ares Foto

    • Neu im Forum
    • Beiträge: 43
    • Geschlecht:
    Re: Shopvorstellung: www.ares-foto.de
    Antwort #54 am: 02. Januar 2013, 21:15:11
    @twe: also mit dieser start.php werden die Umlaute auch nicht angezeigt.

    noRiddle (revilonetz)

    • Experte
    • Beiträge: 13.990
    • Geschlecht:
    Re: Shopvorstellung: www.ares-foto.de
    Antwort #55 am: 02. Januar 2013, 21:26:51
    Versuche mal folgendes:
    Über all wo in der start.php utf8_decode vorkommt (ich glaube vier mal), nimmst du die Funktion weg.
    D.h. du nimmst utf8_decode() weg, einschließlich Klammern, nicht aber den Inhalt der Klammern.

    Gruß,
    noRiddle

    twe

    • Schreiberling
    • Beiträge: 293
    • Geschlecht:
    Re: Shopvorstellung: www.ares-foto.de
    Antwort #56 am: 02. Januar 2013, 21:35:53
    in der neuen Datei wurde (hab jetzt mal die neue start.php mit der aus der utf-8 beta-Version verglichen)

    Code: PHP  [Auswählen]
    <?php
      /* --------------------------------------------------------------
       $Id: head.php 2638 2012-01-30 16:47:35Z hhacker $

       modified eCommerce Shopsoftware - community made shopping
       http://www.modified-shop.org

       Copyright (c) 2010-2012 modified eCommerce Shopsoftware
       --------------------------------------------------------------
       based on:
       (c) 2000-2001 The Exchange Project (earlier name of osCommerce)
       (c) 2002-2003 osCommerce, www.oscommerce.com
       (c) 2003      nextcommerce, www.nextcommerce.org
       (c) 2006      xt:Commerce, www.(( Wir dulden keine kommerziellen Werbelinks - Bitte Forenregeln beachten! ))

       Released under the GNU General Public License
       --------------------------------------------------------------*/

      defined( '_VALID_XTC' ) or die( 'Direct Access to this location is not allowed.' );
    ?>
    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html <?php echo HTML_PARAMS; ?>>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_SESSION['language_charset']; ?>">
      <title><?php echo TITLE; ?></title>
      <link rel="stylesheet" type="text/css" href="includes/stylesheet.css">

    in die head.php ausgelagert. Lade mal die 2 Dateien (head.php und footer.php) auch hoch.
    eventuell poste mal deine alte start.php.

    falcon78

    • Fördermitglied
    • Beiträge: 87
    • Geschlecht:
    Re: Shopvorstellung: www.ares-foto.de
    Antwort #57 am: 02. Januar 2013, 21:57:08
    Hallo Ares Foto

    Wow, gelungener Webshop!
    Dein Slider auf der Startseite ist echt...  :wohow:

    den will ich auch... habe aber eine Frage an Dich: kannst Du die Verwaltung des Sliders im Backend selbst vornehmen, ohne Mühe? Hast Du eventuell einen Screenshot davon?

    Ich werde mich dann nämlich direkt bei Webkiste melden und Ihm den Auftrag für das Einbauen des Sliders erteilen, bin geflasht :-B

    Gruss
    Falcon78

    Ares Foto

    • Neu im Forum
    • Beiträge: 43
    • Geschlecht:
    Re: Shopvorstellung: www.ares-foto.de
    Antwort #58 am: 02. Januar 2013, 22:06:38
    Servus,

    den Slider kann man leider nicht im Backend verändern. Da muß man dann erst Bilder in einem bestimmten Format erstellen, dann muß man die Bild-Dateien mit einem FTP-Programm manuell hochladen...

    Die "includes" hatte jetzt keinen Einfluß auf die Umlaute.

    Die Original-Datei lautet so:

    Code: PHP  [Auswählen]
    <?php

    /* --------------------------------------------------------------
       $Id: start.php 2289 2011-10-26 15:56:50Z gtb-modified $

       XT-Commerce - community made shopping
       http://www.(( Wir dulden keine kommerziellen Werbelinks - Bitte <a href="index.php?topic=3013.0">Forenregeln</a> beachten! ))

       Copyright (c) 2003 XT-Commerce
       --------------------------------------------------------------
       based on:
       (c) 2000-2001 The Exchange Project
       (c) 2002-2003 osCommerce coding standards (a typical file) www.oscommerce.com
       (c) 2003      nextcommerce (start.php,1.5 2004/03/17); www.nextcommerce.org

       Released under the GNU General Public License
       --------------------------------------------------------------*/


      $xx_mins_ago = (time() - 900);
    require ('includes/application_top.php');
    require_once ('includes/modules/magpierss/rss_fetch.inc');
    require_once (DIR_FS_INC.'xtc_validate_vatid_status.inc.php');
    require_once (DIR_FS_INC.'xtc_get_geo_zone_code.inc.php');
    require_once (DIR_FS_INC.'xtc_encrypt_password.inc.php');
    require_once (DIR_FS_INC.'xtc_js_lang.php');

    require_once(DIR_WS_CLASSES . 'currencies.php');
    $currencies = new currencies();

    $customers_statuses_array = xtc_get_customers_statuses();
    // remove entries that have expired
    xtc_db_query("delete from " . TABLE_WHOS_ONLINE . " where time_last_click < '" . $xx_mins_ago . "'");

    $language_id = (int) $_SESSION['languages_id'];
    // customer stats
    $customers_query = xtc_db_query('select cs.customers_status_name cust_group, count(*) cust_count
                         from '
    . TABLE_CUSTOMERS . ' c
                         join '
    . TABLE_CUSTOMERS_STATUS . ' cs on cs.customers_status_id = c.customers_status
                         --  exclude admin
                         where c.customers_status > 0
                         -- restrict to current language setting
                         and cs.language_id = '
    . $language_id . '
                         group by 1
                         union
                         select \''
    . TOTAL_CUSTOMERS . '\', count(*)
                         from '
    . TABLE_CUSTOMERS . '
                         order by 2 desc'
    );
    // save query result
    $customers = array();
    while ($row = xtc_db_fetch_array($customers_query))
      $customers[] = $row;

    // newsletter
    $newsletter_query = xtc_db_query("select count(*) as count
                        from "
    . TABLE_NEWSLETTER_RECIPIENTS. " where mail_status='1'");
    $newsletter = xtc_db_fetch_array($newsletter_query);

    // products
    $products_query = xtc_db_query('select
                      count(if(products_status = 0, products_id, null)) inactive_count,
                      count(if(products_status = 1, products_id, null)) active_count,
                      count(*) total_count
                      from '
    . TABLE_PRODUCTS);
    $products = xtc_db_fetch_array($products_query);

    // orders (status)
    $orders_query = xtc_db_query('select os.orders_status_name status, coalesce(o.order_count, 0) order_count
                    from '
    . TABLE_ORDERS_STATUS . ' os
                    left join (select orders_status, count(*) order_count
                               from '
    . TABLE_ORDERS . '
                               group by 1) o on o.orders_status = os.orders_status_id
                    where os.language_id = '
    . $language_id . '
                    order by os.orders_status_id'
    );
    $orders = array();
    while ($row = xtc_db_fetch_array($orders_query))
      $orders[] = $row;

    // specials
    $specials_query = xtc_db_query("select count(*) as specials_count from " . TABLE_SPECIALS);
    $specials = xtc_db_fetch_array($specials_query);

    // turnover
    $turnover_query = xtc_db_query('select
      round(coalesce(sum(if(date(o.date_purchased) = current_date, ot.value, null)), 0), 2) today,
      round(coalesce(sum(if(date(o.date_purchased) = current_date - interval 1 day, ot.value, null)), 0), 2) yesterday,
      round(coalesce(sum(if(extract(year_month from o.date_purchased) = extract(year_month from current_date), ot.value, null)), 0), 2) this_month,
      round(coalesce(sum(if(extract(year_month from o.date_purchased) = extract(year_month from current_date - interval 1 year_month), ot.value, null)), 0), 2) last_month,
      round(coalesce(sum(if(extract(year_month from o.date_purchased) = extract(year_month from current_date - interval 1 year_month) and o.orders_status <> 1, ot.value, null)), 0), 2) last_month_paid,
      round(coalesce(sum(ot.value), 0), 2) total
      from '
    . TABLE_ORDERS . ' o
      join '
    . TABLE_ORDERS_TOTAL . ' ot on ot.orders_id = o.orders_id
      where ot.class = \'ot_total\''
    );
    $turnover = xtc_db_fetch_array($turnover_query);
    ?>

    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html <?php echo HTML_PARAMS; ?>>
    <head>
    <meta http-equiv="Content-Language" content="de">
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_SESSION['language_charset']; ?>">
    <title><?php echo TITLE; ?></title>
    <link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
    <style type="text/css">
    h1 {
            font-size:18px;
            font-weight:bold;
            padding-left:10px;
    }
    .h2 {
            font-family: Verdana, Arial, Helvetica, sans-serif;
            font-size: 13pt;
            font-weight: bold;
    }
    .h3 {
            font-family: Verdana, Arial, Helvetica, sans-serif;
            font-size: 9pt;
            font-weight: bold;
    }
    .startphp td {
            font-family: Verdana, Arial, Helvetica, sans-serif;
            font-size: 11px;
            padding:5px;
    }
    .feedtitle a {
            font-size:12px;
            font-weight:bold;
    }
    </style>
    </head>
    <body style="margin:0" bgcolor="#FFFFFF">
    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
    <!-- BOF - Tomcraft - 2009-06-16 - Added security check //-->
    <table width="100%">
      <tr>
        <td><?php include(DIR_WS_MODULES.FILENAME_SECURITY_CHECK); ?></td>
      </tr>
    </table>
    <!-- EOF - Tomcraft - 2009-06-16 - Added security check //-->
    <!-- body //-->
    <table border="0" width="100%" cellspacing="2" cellpadding="2" class="startphp">
    <tr>
        <td class="columnLeft2" width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft">
    <!-- left_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
    <!-- left_navigation_eof //-->
        </table></td>
    <!-- body_text //-->
         <td width="100%" valign="top">
               <table border="0" width="100%" cellspacing="0" cellpadding="0">
             <tr>
             <td class="boxCenter" width="100%" valign="top">
         <table border="0" width="100%" cellspacing="0" cellpadding="0">
              <tr>
                   <td><h1><?php echo HEADING_TITLE; ?></h1></td>
              </tr>
              <tr>
                   <td>
                               <!--  BOF START INFOS STATISTIK -->
                               <table width="100%" border="0" cellspacing="0">
             <tr>
                      <td width="25%" valign="top"><table width="100%" border="0">
                                            <tr>
                                                     <td style="background:#eee"><strong><?php echo TURNOVER_TODAY; ?>:</strong></td>
                                                     <td  style="background:#eee" align="right"><?php echo $currencies->format($turnover['today']); ?></td>
                                            </tr>
                                            <tr>
                                                     <td style="background:#fff"><strong><?php echo TURNOVER_YESTERDAY; ?>:</strong></td>
                                                     <td style="background:#fff" align="right"><?php echo $currencies->format($turnover['yesterday']); ?></td>
                                            </tr>
                                            <tr>
                                                     <td style="background:#eee"><strong><?php echo TURNOVER_THIS_MONTH; ?>:</strong></td>
                                                     <td  style="background:#eee" align="right"><?php echo $currencies->format($turnover['this_month']); ?></td>
                                            </tr>
                                            <tr>
                                                     <td style="background:#ccc"><strong><?php echo TURNOVER_LAST_MONTH; ?>:</strong></td>
                                                     <td style="background:#ccc" align="right"><?php echo $currencies->format($turnover['last_month']); ?></td>
                                            </tr>
                                            <tr>
                                                     <td style="background:#ccc"><strong><?php echo TURNOVER_LAST_MONTH_PAID; ?>:</strong></td>
                                                     <td style="background:#ccc" align="right"><?php echo $currencies->format($turnover['last_month_paid']); ?></td>
                                            </tr>
                                            <tr>
                                                     <td style="background:#666; color:#FFF"><strong><?php echo TOTAL_TURNOVER; ?>:</strong></td>
                                                     <td style="background:#666; color:#FFF" align="right"><?php echo $currencies->format($turnover['total']); ?></td>
                                            </tr>
                               </table></td>
                      <td width="25%" valign="top"><table width="100%">

                      <?php
                     foreach ($customers as $customer) {
                    echo '<tr><td style="background:#e4e4e4"><strong>' . $customer['cust_group'] . ':</strong></td>';
                    echo '<td style="background:#e4e4e4" align="center">' . $customer['cust_count'] . '</td></tr>';
                 }
               ?>
                                            <tr>
                                                     <td style="background:#e4e4e4"><strong><?php echo TOTAL_SUBSCRIBERS; ?>:</strong></td>
                                                     <td style="background:#e4e4e4" align="center"><?php echo $newsletter['count']; ?></td>
                                            </tr>
                               </table></td>
                      <td width="25%" valign="top"><table width="100%">
                                            <tr>
                                                     <td style="background:#e4e4e4"><strong><?php echo TOTAL_PRODUCTS_ACTIVE; ?>:</strong></td>
                                                     <td style="background:#e4e4e4"><?php echo $products['active_count']; ?></td>
                                            </tr>
                                            <tr>
                                                     <td style="background:#e4e4e4"><strong><?php echo TOTAL_PRODUCTS_INACTIVE; ?>:</strong></td>
                                                     <td style="background:#e4e4e4"><?php echo $products['inactive_count']; ?></td>
                                            </tr>
                                            <tr>
                                                     <td style="background:#e4e4e4"><strong><?php echo TOTAL_PRODUCTS; ?>:</strong></td>
                                                     <td style="background:#e4e4e4"><?php echo $products['total_count'] ?></td>
                                            </tr>
                                            <tr>
                                                     <td style="background:#e4e4e4"><strong><?php echo TOTAL_SPECIALS; ?>:</strong></td>
                                                     <td style="background:#e4e4e4"><?php echo $specials['specials_count']; ?></td>
                                            </tr>
                               </table></td>
                      <td width="25%" valign="top">
                      <table width="100%">
                      <?php
                     foreach ($orders as $order) {
                    echo '<tr><td style="background:#e4e4e4"><strong>' . $order['status'] . ':</strong></td>';
                    echo '<td style="background:#e4e4e4">' . $order['order_count'] . '</td></tr>';
                 }
               ?>
                      </table>
                      </td>
             </tr>
    </table>
                               <!--  EOF START INFOS STATISTIK -->
                               </td>
              </tr>
              <tr>
              <td>

              <table valign="top" width="100%" cellpadding="0" cellspacing="0">
                            <tr>
                              <td></td>
                              </tr>
                            <tr>
                              <td>
                              <!--  BOF START INFOS USER ONLINE + NEUE KUNDEN  + LETZTE BESTELLUNGEN +  NEWSFEED-->
                              <table border="0" width="100%" cellspacing="0">
            <tr>
              <td width="48%" class="infoBoxHeading" style="border: 1px solid #b40076; border-bottom: 1px solid #b40076;"><strong><?php echo TABLE_CAPTION_USERS_ONLINE; ?></strong></td>
              <td width="4%"><p style="margin-left: 3px"></p>
              </td>
              <td width="48%" class="infoBoxHeading" style="border: 1px solid #b40076; border-bottom: 1px solid #b40076;"><font face="Verdana"><strong><?php echo TABLE_CAPTION_NEW_CUSTOMERS; ?> </strong><?php echo TABLE_CAPTION_NEW_CUSTOMERS_COMMENT; ?></font></td>
            </tr>
            <tr>
              <td style="background: #F9F0F1; border: 1px solid #b40076;" height="200" valign="top">&nbsp;<em><font face="Verdana" color="#7691A2"><?php echo TABLE_CAPTION_USERS_ONLINE_HINT; ?></font></em>
            <table border="0" width="98%" cellspacing="0" cellpadding="0">
              <tr class="dataTableHeadingRow">
                <td class="dataTableHeadingContent" bgcolor="#D9D9D9" height="20" width="22%"><strong> <font face="Verdana"><?php echo TABLE_HEADING_USERS_ONLINE_SINCE; ?></font></strong></td>
                <td class="dataTableHeadingContent" bgcolor="#D9D9D9" height="20" width="33%"><strong> <font face="Verdana"><?php echo TABLE_HEADING_USERS_ONLINE_NAME; ?></font></strong></td>
                <td class="dataTableHeadingContent" align="center" bgcolor="#D9D9D9" height="20" width="33%"><strong> <font face="Verdana"><?php echo TABLE_HEADING_USERS_ONLINE_LAST_CLICK; ?></font></strong></td>
                <td class="dataTableHeadingContent" align="center" bgcolor="#D9D9D9" height="20" width="33%"><strong><font face="Verdana"><?php echo TABLE_HEADING_USERS_ONLINE_INFO; ?></font></strong></td>
              </tr>
              <?php

              $whos_online_query = xtc_db_query("select customer_id, full_name, ip_address, time_entry, time_last_click, last_page_url, session_id from " . TABLE_WHOS_ONLINE ." order by time_last_click desc");

              while ($whos_online = xtc_db_fetch_array($whos_online_query)) {
                $time_online = (time() - $whos_online['time_entry']);
                if ( ((!$_GET['info']) || (@$_GET['info'] == $whos_online['session_id'])) && (!$info) ) {
                  $info = $whos_online['session_id'];
                }
            ?>
              <tr>
                <td class="dataTableContent" width="22%"><font face="Verdana"> <a href="whos_online.php?info=<?php echo $whos_online['session_id']; ?>"><?php echo gmdate('H:i:s', $time_online); ?></a></font></td>
                <td class="dataTableContent" width="33%"><font face="Verdana"> <a href="whos_online.php?info=<?php echo $whos_online['session_id']; ?>"><?php echo $whos_online['full_name']; ?></a></font></td>
                <td class="dataTableContent" align="center" width="33%"><font face="Verdana"> <a href="whos_online.php?info=<?php echo $whos_online['session_id']; ?>"><?php echo date('H:i:s', $whos_online['time_last_click']); ?></a></font></td>
                <td class="dataTableContent" align="center" width="33%"><font face="Verdana" color="#800000"><u><strong> <a href="whos_online.php?info=<?php echo $whos_online['session_id']; ?>"> <font color="#800000"><strong><?php echo TABLE_CELL_USERS_ONLINE_INFO; ?></strong></font></a></strong></u></font></td>
              </tr>
        <?php
              }
            ?>
            </table>
        </td>
              <td width="4%">&nbsp;</td>
              <td style="background: #F9F0F1; border: 1px solid #b40076;" height="200" valign="top">
          <table border="0" width="98%" cellspacing="0" cellpadding="0">
            <tr class="dataTableHeadingRow">
              <td class="dataTableHeadingContent" bgcolor="#D9D9D9" height="20" width="25%"><strong> <font face="Verdana"><?php echo TABLE_HEADING_NEW_CUSTOMERS_LASTNAME; ?></font></strong></td>
              <td class="dataTableHeadingContent" bgcolor="#D9D9D9" height="20" width="25%"><strong> <font face="Verdana"><?php echo TABLE_HEADING_NEW_CUSTOMERS_FIRSTNAME; ?></font></strong></td>
              <td class="dataTableHeadingContent" align="center" bgcolor="#D9D9D9" height="20" width="25%"><strong> <font face="Verdana"><?php echo TABLE_HEADING_NEW_CUSTOMERS_REGISTERED; ?></font></strong></td>
              <td class="dataTableHeadingContent" align="center" bgcolor="#D9D9D9" height="20" width="12%"><strong><font face="Verdana"><?php echo TABLE_HEADING_NEW_CUSTOMERS_EDIT; ?></font></strong></td>
              <td class="dataTableHeadingContent" align="center" bgcolor="#D9D9D9" height="20" width="12%"><strong><font face="Verdana"><?php echo TABLE_HEADING_NEW_CUSTOMERS_ORDERS; ?></font></strong></td>
            </tr>
            <?php

             // $whos_online_query = xtc_db_query("select customer_id, full_name, ip_address, time_entry, time_last_click, last_page_url, session_id from " . TABLE_WHOS_ONLINE ." order by time_last_click desc");

            ?>
            <?php
              $abfrage = "SELECT * FROM " . TABLE_CUSTOMERS . " ORDER BY customers_date_added DESC LIMIT 15";
              $ergebnis = mysql_query($abfrage);
              while($row = mysql_fetch_object($ergebnis)){
            ?>
            <tr>
              <td class="dataTableContent" width="25%"><?php  echo $row-> customers_lastname; ?>
              </td>
              <td class="dataTableContent" width="25%"><?php  echo $row-> customers_firstname; ?>
              </td>
              <td class="dataTableContent" align="center" width="25%"><?php  echo $row-> customers_date_added; ?>
              </td>
              <td class="dataTableContent" align="center" width="12%"><strong> <a href="customers.php?page=1&cID=<?php  echo $row-> customers_id; ?>&action=edit"> <font face="Verdana" color="#800000"><strong><?php echo TABLE_CELL_NEW_CUSTOMERS_EDIT; ?></strong></font></a></strong></td>
              <td class="dataTableContent" align="center" width="12%"><strong> <a href="orders.php?cID=<?php  echo $row-> customers_id; ?>"><font color="#7691A2" face="Verdana"><strong><?php echo TABLE_CELL_NEW_CUSTOMERS_ORDERS; ?></strong></font></a></strong></td>
            </tr>
            <?php

              }

            ?>
          </table>
        </td>
            </tr>
            <tr>
              <td width="48%">&nbsp;</td>
              <td width="4%">&nbsp;</td>
              <td width="48%">&nbsp;</td>
            </tr>
            <tr>
              <td width="48%" class="infoBoxHeading" style="border: 1px solid #b40076; border-bottom: 1px solid #b40076;"><span style="margin-left: 3px"><font face="Verdana"><strong><?php echo TABLE_CAPTION_NEW_ORDERS; ?> <?php echo TABLE_CAPTION_NEW_ORDERS_COMMENT; ?></strong></font></span></td>
              <td width="4%"><p style="margin-left: 3px"></p>
              </td>
              <td width="48%" class="infoBoxHeading" style="border: 1px solid #b40076; border-bottom: 1px solid #b40076;"><span style="margin-left: 3px"><font face="Verdana"><strong><?php echo TABLE_CAPTION_NEWSFEED; ?></strong> <a href="http://www.modified eCommerce Shopsoftware.org/blog" target="_blank">modified eCommerce Shopsoftware.org Blog</a></font></span></td>
            </tr>
            <tr>
              <td style="background: #F9F0F1; border: 1px solid #b40076; height: 200px;" valign="top">
          <table border="0" width="98%" cellspacing="0" cellpadding="0">
            <tr class="dataTableHeadingRow">
              <td class="dataTableHeadingContent" bgcolor="#D9D9D9" height="20" width="25%"><strong> <font face="Verdana"><?php echo TABLE_HEADING_NEW_ORDERS_ORDER_NUMBER; ?></font></strong></td>
              <td class="dataTableHeadingContent" bgcolor="#D9D9D9" height="20" width="25%"><p align="center"> <strong><font face="Verdana"><?php echo TABLE_HEADING_NEW_ORDERS_ORDER_DATE; ?></font></strong></td>
              <td class="dataTableHeadingContent" align="center" bgcolor="#D9D9D9" height="20" width="25%"><p align="center"> <strong><font face="Verdana"><?php echo TABLE_HEADING_NEW_ORDERS_CUSTOMERS_NAME; ?></font></strong></td>
              <td class="dataTableHeadingContent" align="center" bgcolor="#D9D9D9" height="20" width="12%"><p align="center"><strong><font face="Verdana"><?php echo TABLE_HEADING_NEW_ORDERS_EDIT; ?></font></strong></td>
              <td class="dataTableHeadingContent" align="center" bgcolor="#D9D9D9" height="20" width="12%"><p align="center"><strong><font face="Verdana"><?php echo TABLE_HEADING_NEW_ORDERS_DELETE; ?></font></strong></td>
            </tr>
            <?php

             // $whos_online_query = xtc_db_query("select customer_id, full_name, ip_address, time_entry, time_last_click, last_page_url, session_id from " . TABLE_WHOS_ONLINE ." order by time_last_click desc");

            ?>
            <?php
              $abfrage = "SELECT * FROM " . TABLE_ORDERS . " ORDER BY orders_id DESC LIMIT 20";
              $ergebnis = mysql_query($abfrage);
              while($row = mysql_fetch_object($ergebnis)){
            ?>
            <tr>
              <td class="dataTableContent" width="25%"><font face="Verdana">
                <?php  echo $row-> orders_id; ?>
              </font></td>
              <td class="dataTableContent" width="25%"><p align="center"> <font face="Verdana">
                  <?php  echo $row-> date_purchased; ?>
              </font> </td>
              <td class="dataTableContent" align="center" width="25%"><font face="Verdana">
                <?php  echo $row-> delivery_name; ?>
              </font></td>
              <td class="dataTableContent" align="center" width="12%"><strong> <a href="orders.php?page=1&oID=<?php  echo $row-> orders_id; ?>&action=edit"> <font face="Verdana" color="#7691A2"><strong><?php echo TABLE_CELL_NEW_CUSTOMERS_EDIT; ?></strong></font></a></strong></td>
              <td class="dataTableContent" align="center" width="12%"><font face="Verdana" color="#800000"> <strong> <a href="orders.php?page=1&oID=<?php  echo $row-> orders_id; ?>&action=delete"> <font color="#800000"><strong><?php echo TABLE_CELL_NEW_CUSTOMERS_DELETE; ?></strong></font></a></strong></font></td>
            </tr>
            <?php

              }

            ?>
            <tr>
              <td class="smallText" colspan="5"><em> <font face="Verdana"></font></em></td>
            </tr>
          </table>
        </td>
              <td>&nbsp;</td>
              <td style="background: #F9F0F1; border: 1px solid #b40076;" height="200" valign="top">
                <table border="0" width="98%" cellspacing="0" cellpadding="0">
          <?php
            $url = 'http://www.modified eCommerce Shopsoftware.org/feed/';
            $rss = fetch_rss($url);
            ?>
            <div style="background:#F0F1F1;font-size:11px; border:1px solid #999; padding:5px; font-weight: 700" align="left"><a target="_blank" href="<?php echo $rss->channel['link']; ?>"><?php echo $rss->channel['title']; ?></a>
              <br/>
              <?php echo $rss->channel['description']; ?>
            </div>
            <br/>
            <?php
            for ($i=0; $i<=2; $i++) {
            ?>
              <div class="feedtitle" align="left" style="padding:5px;font-size:11px;">
                <a target="_blank" href="<?php echo $rss->items[$i]['link']; ?>"><?php echo $rss->items[$i]['title']; ?></a>
                <br/>
                <?php echo $rss->items[$i]['description']; ?>
              </div>
              <hr noshade="noshade">
            <?php
            }
          ?>
          </table>
        </td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
      </tr>
            <tr>
              <td colspan="3" style="padding:0px">

    <!--  BOF START INFOS GEBURTSTAGSLISTE -->
              <table cellpadding="5" cellspacing="0" width="100%" id="table1" class="contentTable">
            <tr>
                    <td class="infoBoxHeading"><span style="margin-left: 3px"></span><font face="Verdana"><strong><?php echo TABLE_CAPTION_BIRTHDAYS; ?></strong></font></span></td>
            </tr>
    </table>
    <table cellpadding="5" cellspacing="0" style="font-family:Verdana; font-size:11px; border: 1px solid #b40076; border-top:0px;" width="100%" id="AutoNumber1">
            <tr>
                    <td width="100%" colspan="2" bgcolor="#F1F1F1" style="border-bottom: 1px solid #CCCCCC"><strong><?php echo TABLE_CELL_BIRTHDAYS_TODAY; ?>:</strong></td>
            </tr>
    <?php
    $ergebnis = xtc_db_query("select
                              concat(customers_firstname, ' ', customers_lastname) name,
                              customers_dob dob,
                              if(day(customers_dob) = day(current_date), true, false) today
                              from "
    . TABLE_CUSTOMERS . "
                              where month(customers_dob) = month(current_date) and
                              day(customers_dob) >= day(current_date)
                              order by customers_dob"
    );

    $this_month = array();
    while($row = xtc_db_fetch_array($ergebnis))
    {
       if ($row['today'] == 1) {
         echo '<tr><td width="68%" bgcolor="#F9F0F1">' . $row['name'] . '</td>';
         echo '<td width="32%" bgcolor="#F9F0F1">' . xtc_date_long($row['dob']) . '</td></tr>';
      }
      else
        $this_month[] = array('name' => $row['name'], 'dob' => $row['dob']);
    }
    ?>
      <tr>
         <td width="100%" colspan="2" style="border-top: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC" bgcolor="#F1F1F1"><strong><?php echo TABLE_CELL_BIRTHDAYS_THIS_MONTH; ?>:</strong></td>
      </tr>
    <?php
    foreach($this_month as $row) {
      echo '<tr><td width="68%" bgcolor="#F9F0F1">' . $row['name'] . '</td>';
      echo '<td width="32%" bgcolor="#F9F0F1">' . xtc_date_long($row['dob']) . '</td></tr>';
    }
    ?>
    </table>
    <!--  EOF START INFOS GEBURTSTAGSLISTE -->

          </td>
              </tr>
    </table>
                              <!--  EOF START INFOS USER ONLINE + NEUE KUNDEN  + LETZTE BESTELLUNGEN +  NEWSFEED-->
                              </td>
                             </tr>

              </table>

              </td>
           </tr>
         </table>
             </td></tr></table>
       </td>
      </tr>
    </table>
    </body>
    </html>
    <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

    twe

    • Schreiberling
    • Beiträge: 293
    • Geschlecht:
    Re: Shopvorstellung: www.ares-foto.de
    Antwort #59 am: 02. Januar 2013, 22:16:21
    nein, nicht die includes. neben der start sind noch header.php und footer.php

    dieser Teil fehlt in der neuen Datei und ist jetzt in der head.php

    Code: PHP  [Auswählen]
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_SESSION['language_charset']; ?>">
    46 Antworten
    22602 Aufrufe
    06. August 2011, 08:51:55 von Golfer
    2 Antworten
    3024 Aufrufe
    22. Februar 2010, 20:24:19 von Katana
    1 Antworten
    2238 Aufrufe
    16. Juli 2013, 11:29:09 von Tomcraft
    3 Antworten
    874 Aufrufe
    23. Juni 2022, 15:56:26 von marketeer