Advertisement
| 10.06.2008 at 12:28PM PDT, ID: 23791637 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: 123: |
<?php
/*
+--------------------------------------------------------------------------
| CubeCart v3.0.14
| ========================================
| by Alistair Brookbanks
| CubeCart is a Trade Mark of Devellion Limited
| Copyright Devellion Limited 2005 - 2006. All rights reserved.
| Devellion Limited,
| 22 Thomas Heskin Court,
| Station Road,
| Bishops Stortford,
| HERTFORDSHIRE.
| CM23 3EE
| UNITED KINGDOM
| http://www.devellion.com
| UK Private Limited Company No. 5323904
| ========================================
| Web: http://www.cubecart.com
| Date: Tuesday, 1st November 2006
| Email: sales (at) cubecart (dot) com
| License Type: CubeCart is NOT Open Source Software and Limitations Apply
| Licence Info: http://www.cubecart.com/site/faq/license.php
+--------------------------------------------------------------------------
| index.php
| ========================================
| Admin Homepage
+--------------------------------------------------------------------------
*/
include("../includes/ini.inc.php");
include_once("../includes/global.inc.php");
include_once("../classes/db.inc.php");
$db = new db();
include_once("../includes/functions.inc.php");
$config = fetchDbConfig("config");
include_once("../language/".$config['defaultLang']."/lang.inc.php");
$enableSSl = 1;
include_once("../includes/sslSwitch.inc.php");
include_once("includes/auth.inc.php");
include_once("includes/header.inc.php");
// no Products
$query = "SELECT count(productId) as noProducts FROM ".$glob['dbprefix']."CubeCart_inventory";
$noProducts = $db->select($query);
// no Categories
$query = "SELECT count(cart_order_id) as noOrders FROM ".$glob['dbprefix']."CubeCart_order_sum";
$noOrders = $db->select($query);
// no Ccustomers
$query = "SELECT count(customer_id) as noCustomers FROM ".$glob['dbprefix']."CubeCart_customer WHERE type = 1";
$noCustomers = $db->select($query);
// no Ccustomers
$query = "SELECT * FROM ".$glob['dbprefix']."CubeCart_admin_sessions ORDER BY time DESC LIMIT 1, 1";
$lastSession = $db->select($query);
?>
<p class="pageTitle">Welcome To Your Discount Kids Ads Admin Area</p>
<?php
if(isset($config['filePerms']) && $config['filePerms']==1 && substr(sprintf('%o', fileperms('../includes/global.inc.php')), -4) != 644){
?>
<p class='warnText'><?php echo $lang['admin']['other']['global_risk']; ?></p>
<?php
}
?>
<?php if($lastSession==False){ ?>
<p <?php if($lastSession[0]['success']==1) { ?>class="infoText"<?php } else { echo "class='warnText'"; } ?>><?php echo $lang['admin']['other']['last_login']; ?> <?php echo formatTime($lastSession[0]['time']); ?> <?php echo $lang['admin']['other']['by']; ?> <?php echo $lastSession[0]['username']; ?> <?php if($lastSession[0]['success']==0) { ?><?php echo $lang['admin']['other']['failed']; ?><?php } ?></p>
<?php } ?>
<table width="100%" border="0" cellpadding="4" cellspacing="0" class="mainTable">
<?php if(permission("settings","read")==TRUE){ ?>
<tr>
<td colspan="4" class="tdTitle"><?php echo $lang['admin']['other']['store_overview']; ?></td>
</tr>
<tr>
<td width="25%" class="tdText"> </td>
</tr>
<tr>
<td width="25%"><span class="tdText"><?php echo $lang['admin']['other']['no_products'];?></span></td>
<td width="25%" class="tdText"><?php echo number_format($noProducts[0]['noProducts']); ?></td>
</tr>
<tr>
<td width="25%"><span class="tdText"><?php echo $lang['admin']['other']['no_customers']; ?></span></td>
<td width="25%" class="tdText"><?php echo number_format($noCustomers[0]['noCustomers']); ?></td>
</tr>
</table>
<br />
<table width="100%" border="0" cellpadding="4" cellspacing="0" class="mainTable">
<tr>
<td colspan="2" class="tdTitle"><?php echo $lang['admin']['other']['quick_search']; ?></td>
</tr>
<tr>
<td><span class="tdText"><?php echo $lang['admin']['other']['order_no']; ?></span></td>
<td>
<form name="orderSearch" method="get" action="<?php echo $GLOBALS['rootRel'];?>admin/orders/index.php"><input name="oid" type="text" class="textbox" size="30" <?php if(permission("orders","read")==FALSE) { echo "disabled"; } ?> />
<input name="submit" type="submit" id="submit" value="<?php echo $lang['admin']['other']['search_now']; ?>" class="submit" <?php if(permission("orders","read")==FALSE) { echo "disabled"; } ?> />
</form></td>
</tr>
<tr>
<td><span class="tdText"><?php echo $lang['admin']['other']['customer']; ?></span></td>
<td>
<form name="customerSearch" method="get" action="<?php echo $GLOBALS['rootRel']; ?>admin/customers/"> <input name="searchStr" type="text" class="textbox" id="searchStr" size="30" <?php if(permission("customers","read")==FALSE) { echo "disabled"; } ?> />
<input name="search" type="submit" id="search" value="<?php echo $lang['admin']['other']['search_now']; ?>" class="submit" <?php if(permission("customers","read")==FALSE) { echo "disabled"; } ?> />
</form></td>
</tr>
<?php } else { echo ; } ?>
</table>
<!-- In-House Affiliates MOD v1.2 START -->
<?php include("./inhouse_affiliates/dashboard.inc.php");?>
<!-- In-House Affiliates MOD v1.2 END -->
<?php if(isset($config['lk'])) { ?>
<br />
<?php } ?>
<?php include("includes/footer.inc.php"); ?>
|
Advertisement