Login report changes
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -21,7 +21,7 @@ $logdateto =(isset($_GET['logdateto']))? strtotime($_GET['logdateto']." ".$logt | ... | @@ -21,7 +21,7 @@ $logdateto =(isset($_GET['logdateto']))? strtotime($_GET['logdateto']." ".$logt |
| 21 | $campaign =(isset($_GET['campaign'])) ? $_GET['campaign'] : "All"; | 21 | $campaign =(isset($_GET['campaign'])) ? $_GET['campaign'] : "All"; |
| 22 | 22 | ||
| 23 | // testing input | 23 | // testing input |
| 24 | $logtime = 9;$logtimeto = 20;$logdate = strtotime("2017-10-03 ".$logtime.":00:00");$logdateto = strtotime("2017-10-03 ".$logtimeto.":00:00");$campaign = 'All'; | 24 | //$logtime = 9;$logtimeto = 20;$logdate = strtotime("2017-10-03 ".$logtime.":00:00");$logdateto = strtotime("2017-10-03 ".$logtimeto.":00:00");$campaign = 'All'; |
| 25 | // testing input | 25 | // testing input |
| 26 | 26 | ||
| 27 | $alist=CRMCallArchive::where('user_id','!=',0)->where('created_at','>=',date("Y-m-d H:i:s",$logdate+$timeoffset))->where('created_at','<=',date("Y-m-d H:i:s",$logdateto+$timeoffset)); | 27 | $alist=CRMCallArchive::where('user_id','!=',0)->where('created_at','>=',date("Y-m-d H:i:s",$logdate+$timeoffset))->where('created_at','<=',date("Y-m-d H:i:s",$logdateto+$timeoffset)); | ... | ... |
-
Please register or sign in to post a comment