Location: PHPKode > projects > MembersGear > membersgear/admin/admin_sales_report.php
<?php 
require_once "../config/config.php";  
require_once INCLUDE_DIR."/users_class.php";  
$users = new users_class();    
if($users->IsAdminhavePermission($_SESSION[SESSION_PREFIX.'Admin_UserID'],'Can view Sales Report')==false)
{
    Redirect('admin_nopermission.php',true);  
    
}
require_once INCLUDE_DIR."/report_class.php";                          
//require_once INCLUDE_DIR."/get_vendor_report_data.php";  
//phpajax::init();  
$report=new report_class();
 $laselectcombo=$report->fillreportcombo();
  //if(!(isset($_SESSION[SESSION_PREFIX.'fillpresetcombo'])))
  {
     $lapreset=$report->fillpresetcombo();
  }
   //$lapreset=$_SESSION[SESSION_PREFIX.'fillpresetcombo'];    


  //$lapreset=$PaygearWebserviceClient->GetPaygearPresetTimeDurations();
  $smarty->assign('reporttype',$laselectcombo);
  $smarty->assign('presetarray',$lapreset);    

 $smarty->display('admin_vender_sales_report.tpl'); 
//  $clientId=$PaygearWebserviceClient->getVendorSalesData(3,'2009-01-01 15:07:00','2009-01-31 15:07:00',1,0,0,0,0,0,'','','','','');
  
?>
Return current item: MembersGear