break; case "cor": break; case "delete": breakbreak; case "order": # Include required functions file require_once ( case "mail": break; case "return": # Include required functions file require_once ( $_CCFG['_PKG_PATH_MDLS'].$_GPV[mod].'/'.$_GPV[mod].'_funcs_order.php'); break; case "view": break; default: $_GPV[mode]="order"; # Include required functions file require_once ( $_CCFG['_PKG_PATH_MDLS'].$_GPV[mod].'/'.$_GPV[mod].'_funcs_order.php'); break; } # Build time_stamp values when edit or add IF ( $_GPV[mode] == 'add' || $_GPV[mode] == 'edit' ) { IF ( $_GPV[ord_ts_hour] == '' ) { $_GPV[ord_ts_hour] = 0; } IF ( $_GPV[ord_ts_minute] == '' ) { $_GPV[ord_ts_minute] = 0; } IF ( $_GPV[ord_ts_second] == '' ) { $_GPV[ord_ts_second] = 0; } IF ( $_GPV[ord_ts_year] == '' || $_GPV[ord_ts_month] == '' || $_GPV[ord_ts_day] == '' ) { $_GPV[ord_ts] = ''; } ELSE { $_GPV[ord_ts] = mktime( $_GPV[ord_ts_hour],$_GPV[ord_ts_minute],$_GPV[ord_ts_second],$_GPV[ord_ts_month],$_GPV[ord_ts_day],$_GPV[ord_ts_year] ); } # ELSE { $_GPV[ord_ts] = mktime( 0,0,0,$_GPV[ord_ts_month],$_GPV[ord_ts_day],$_GPV[ord_ts_year] ); } } # Unwanted text parser call IF ( $_GPV[mode]=='order' ) { # Loop $_GPV array to parse out nasties from anonymous input data while(list($key, $var) = each($_GPV)) { $_GPV[$key] = do_parse_input_data ( $_GPV[$key] ); } reset($_GPV); } # Build Data Array (may also be over-ridden later in code) $data = $_GPV; # Get the users ID and original name from session/database read unless it is an admin IF (!$_SEC['_sadmin_flg']) { $_GPV['cl_id'] = $_SEC['_suser_id']; $_GPV['ord_cl_id'] = $_SEC['_suser_id']; $_c_info = get_contact_client_info($_GPV['ord_cl_id']); $_GPV['ord_user_name_orig'] = $_cinfo['cl_user_name']; } ############################## # Operation: Any Perm Check # Summary: # - Exit out on perm error. ############################## IF ( $_SEC['_sadmin_flg'] && $_PERMS[AP16] != 1 && $_PERMS[AP08] != 1 ) { $_PFLAG = ($_GPV[mode]=='add' || $_GPV[mode]=='delete' || $_GPV[mode]=='edit'); IF ( $_PERMS[AP10] != 1 || ($_PERMS[AP10] == 1 && $_PFLAG) ) { $_out .= ''.$_nl; $_out .= do_no_permission_message (); $_out .= '
'.$_nl; echo $_out; exit; } } ############################## # Mode Call: Order # Summary: # - Placing Orders ############################## IF ( $_GPV[mode]=='order' ) { # Set orders Session Records (purge, update, insert) $_ret = do_orders_session_set(); # Call input validation code IF ($_GPV[stage] > 2) {$err_entry = do_input_validation($_GPV);} # Required TOS / AUP Flags IF ( $_GPV[ord_accept_tos] != 1 && $_CCFG['ORDERS_TOS_ENABLE'] == 1 ) { $_req_tos_err = 1; } ELSE { $_req_tos_err = 0; } I="usage_200704.html">Apr 2007 67 36 28 11 167 14510 336 840 1105 2010 Mar 2007 64 40 21 13 183 20664 406 652 1256 1985 Feb 2007 76 56 21 10 196 33316 287 605 1571 2147 Jan 2007 52 31 18 12 229 11143 378 567 961 1620 Dec 2006 60 34 23 12 225 14254 379 724 1065 1884 Nov 2006 51 32 20 10 188 22733 327 606 976 1555 Oct 2006 48 22 22 10 188 8054 317 712 711 1494 Totals 201180 3956 7319 11849 19971


Generated by Webalizer Version 2.01