<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: 			*/
// +----------------------------------------------------------------------+
// | PHP version 4/5                                                      |
// +----------------------------------------------------------------------+
// | Copyright (c) 2004-2010 ARMIA INC                                    |
// +----------------------------------------------------------------------+
// | This source file is a part of iScripts VistaCart                     |
// +----------------------------------------------------------------------+
// | Authors: Jipson<jipson.thomas@armiasystems.com>             		  |
// +----------------------------------------------------------------------+
?>
<?php $session->flash(); ?>


				<div align="center" class="subheading">
						  <div align="left">Store @ A Glance</div>
						</div>
						<br />
				<div align="left" id="item_details_admin">
				<!--items display area start -->
				
						<div align="center" id="items_display_area">
						
								
						  <div align="center" class="item_block_adminbox">
								<div id="admin_heading">Orders</div>
								<div align="center" class="displaybottom">
								
								<div class="maintext">
								  <div class="smallfont">
								    <div align="left">Status Summary</div>
								  </div>
								</div>
								</div>
								
								
								<div class="displaybottom">
								<div class="maintext1_admin">
									<div class="adminbox_left">Today</div>
									<div class="adminbox_right"><a href="<?php echo $html->url('/orders/index/');?>"><?php echo $todays_order; ?></a></div>
								    <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div>
								
								</div>
								</div>
								
								
								<div class="displaybottom">
								<div class="maintext1_admin">
									<div class="adminbox_left">This Month</div>
									<div class="adminbox_right"><a href="<?php echo $html->url('/orders/index/');?>"><?php echo $thisMonth_order; ?></a></div>
								    <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div>
								
								</div>
								</div>
								
								<div class="displaybottom">
								<div class="maintext1_admin">
									<div class="adminbox_left">Last Month</div>
									<div class="adminbox_right"><a href="<?php echo $html->url('/orders/index/');?>"><?php echo $lastMonth_order; ?></a></div>
								    <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div>
								
								</div>
								</div>
								
								<div class="displaybottom">
								<div class="maintext1_admin">
									<div class="adminbox_left">Change</div>
									<div class="adminbox_right"><a href="<?php echo $html->url('/orders/index/');?>"><?php echo $order_change; ?></a></div>
								    <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div>
								
								</div>
								</div>
								<div class="displaybottom">
								<div class="maintext1_admin">
									<div class="adminbox_left">Pending Orders</div>
									<div class="adminbox_right"><a href="<?php echo $html->url('/orders/index/');?>"><?php echo $pending_order; ?></a></div>
								    <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div>
								
								</div>
								</div>
								<div class="displaybottom">
								<div class="maintext1_admin">
									<div class="adminbox_left">Total</div>
									<div class="adminbox_right"><a href="<?php echo $html->url('/orders/index/');?>"><?php echo $total_order; ?></a></div>
								    <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div>
								
								</div>
								</div>
								
								
						  </div>
							
							
							<div align="center" class="item_block_adminbox">
                              <div id="admin_heading">Sales</div>
                              <div align="center" class="displaybottom">
                                <div class="maintext">
                                  <div class="smallfont">
                                    <div align="left">Status Summary</div>
                                  </div>
                                </div>
                              </div>
                              <div class="displaybottom">
                                <div class="maintext1_admin">
                                  <div class="adminbox_left">Today</div>
                                  <div class="adminbox_right"><a href="<?php echo $html->url('/orders/index/');?>"><?php echo $salesToday; ?></a></div>
                                  <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div>
                                </div>
                              </div>
                              <div class="displaybottom">
                                <div class="maintext1_admin">
                                  <div class="adminbox_left">This Month</div>
                                  <div class="adminbox_right"><a href="<?php echo $html->url('/orders/index/');?>"><?php echo $salesThisMonth; ?></a></div>
                                  <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div>
                                </div>
                              </div>
                              <div class="displaybottom">
                                <div class="maintext1_admin">
                                  <div class="adminbox_left">Last Month</div>
                                  <div class="adminbox_right"><a href="<?php echo $html->url('/orders/index/');?>"><?php echo $salesLastMonth; ?></a></div>
                                  <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div>
                                </div>
                              </div>
                              <div class="displaybottom">
                                <div class="maintext1_admin">
                                  <div class="adminbox_left">Change</div>
                                  <div class="adminbox_right"><a href="<?php echo $html->url('/orders/index/');?>"><?php echo $sales_change; ?></a></div>
                                  <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div>
                                </div>
                              </div>
							  <div class="displaybottom">
                                <div class="maintext1_admin">
                                  <div class="adminbox_left">Total</div>
                                  <div class="adminbox_right"><a href="<?php echo $html->url('/orders/index/');?>"><?php echo $totalSales; ?></a></div>
                                  <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div>
                                </div>
                              </div>
						  </div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div>
								
								<div align="center" class="item_block_adminbox">
                                  <div id="admin_heading">Users</div>
                                  <div align="center" class="displaybottom">
                                    <div class="maintext">
                                      <div class="smallfont">
                                        <div align="left">Status Summary</div>
                                      </div>
                                    </div>
                                  </div>
                                  <div class="displaybottom">
                                    <div class="maintext1_admin">
                                      <div class="adminbox_left">Today</div>
                                      <div class="adminbox_right"><a href="<?php echo $html->url('/users/index/');?>"><?php echo $usrToday; ?></a></div>
                                      <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div>
                                    </div>
                                  </div>
                                  <div class="displaybottom">
                                    <div class="maintext1_admin">
                                      <div class="adminbox_left">This Month</div>
                                      <div class="adminbox_right"><a href="<?php echo $html->url('/users/index/');?>"><?php echo $usrThisMonth; ?></a></div>
                                      <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div>
                                    </div>
                                  </div>
								   <div class="displaybottom">
                                    <div class="maintext1_admin">
                                      <div class="adminbox_left">Last Month</div>
                                      <div class="adminbox_right"><a href="<?php echo $html->url('/users/index/');?>"><?php echo $usrLastMonth; ?></a></div>
                                      <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div>
                                    </div>
                                  </div>
                                  <div class="displaybottom">
                                    <div class="maintext1_admin">
                                      <div class="adminbox_left">Change</div>
                                      <div class="adminbox_right"><a href="<?php echo $html->url('/users/index/');?>"><?php echo $users_change; ?></a></div>
                                      <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div>
                                    </div>
                                  </div>
                                  <div class="displaybottom">
                                    <div class="maintext1_admin">
                                      <div class="adminbox_left">Total Users</div>
                                      <div class="adminbox_right"><a href="<?php echo $html->url('/users/index/');?>"><?php echo $usrnum; ?></a></div>
                                      <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div>
                                    </div>
                                  </div>
						  </div>
								<div align="center" class="item_block_adminbox">
                                  <div id="admin_heading">Sales Graph</div>
                                  
                                 <br>
								 <?php echo $html->image('/files/Graph/sales.png',array('width' => 300, 'height' => 200)); ?>
                                  
						  </div>
								<div align="left" class="float_clear1"></div>
						</div>
				  <!--items display area end -->
		  </div>
		  <div align="left" class="float_clear"><?php echo $html->image('/img/clear.gif');?></div>
		<!--mainbody area end -->
