Administration Panel
Previous  Top  Next

The Administration Panel can be accessed by navigating to the admin directory, which is password protected.  
 
Open the Administration Panel by typing a URL something like this into your browser address bar:  
http://www.yourdomain.com/ashop_dir/admin  
clip0040  
The default password that is installed with the program is ashopadmin. This should be changed after installation. If you forget your password, it can be looked up with your server's database browsing tools such as phpMyAdmin or through Shell access. Once logged in, the password times out after 20 minutes of inactivity.

Note: By adding the line: $noinactivitycheck = "false"; anywhere in the config.inc.php file the time check is skipped. This might be useful during initial setup or while adding a large number of products.

 
Note: The login has protection against brute force attacks were a hacker writes a script or program that will automatically try every possible combination of letters to figure out the password. After three incorrect login attempts the login.php script will block all further attempts until two minutes have passed. It will also send an email message to the administrator. This should make it very hard (or at least extremely slow) to get unauthorized access to an AShop administration panel.  
 
Time Zone Offset  
The Administration Index page shows quick stats of visitors to the shopping cart, sales, and affiliate.  
Note: The "Totol Today" resets each day at midnight. If the server time is different than your time zone, adjust the timezoneoffset accordingly. Otherwise, the stats will reset at a different time relative to yours.  
 
clip0153  
 
The visitors are tracked when they open the shopping cart catalogue (catalogue.php). Visitors can be tracked from other pages within the web site by inserting the following code in the head of each HTML page. For this to work, the server must be configured to run PHP from within HTML pages or there must be an .htaccess file present within the directory where this is used. This is the same requirement as when using OrderForm within HTML pages.
 
<?php   
include "counter.php";  
?>  
 
Change the "counter.php" file path depending on where the HTML page file is located in relation to the AShop program files.  
For instance, if the HTML page is one directory down, insert an "../" in front of the file path to step up one directory.  
Example: ../counter.php
If the HTML page is located one directory up from the counter.php script, add the directory name in front of the file name.
Example:
directoryname/counter.php
 
To return to the Administration Panel index page where the stats are shown, click on the AShop logo at the top of any page within the Administration Panel.  
clip0154  
 
 
The Administration panel is divided into four main sections:  
Store Configuration  
Edit Catalogue  
Manage Affiliates  
Manage Sales