diff --git a/logs.php b/logs.php index d04011db..e9940790 100644 --- a/logs.php +++ b/logs.php @@ -48,10 +48,10 @@ if(!empty($_GET['dtf'])){ //Rebuild URL $url_query_strings_sb = http_build_query(array_merge($_GET,array('sb' => $sb, 'o' => $o))); -$sql = mysqli_query($mysqli,"SELECT SQL_CALC_FOUND_ROWS * FROM logs +$sql = mysqli_query($mysqli,"SELECT SQL_CALC_FOUND_ROWS * FROM logs, users WHERE (log_type LIKE '%$q%' OR log_action LIKE '%$q%' OR log_description LIKE '%$q%') AND DATE(log_created_at) BETWEEN '$dtf' AND '$dtt' - AND (user_id IS NULL) + AND (logs.user_id = users.user_id AND logs.user_id IS NULL) ORDER BY $sb $o LIMIT $record_from, $record_to"); $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()")); @@ -98,6 +98,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()")); "> Timestamp + User Type Action Description @@ -112,11 +113,17 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()")); $log_action = $row['log_action']; $log_description = $row['log_description']; $log_created_at = $row['log_created_at']; + $user_id = $row['user_id']; + $name = $row['name']; + if($user_id == 0){ + $name = "-"; + } ?> + diff --git a/setup.php b/setup.php index ec21ad83..a311acda 100644 --- a/setup.php +++ b/setup.php @@ -290,7 +290,7 @@ if(isset($_POST['add_company_settings'])){ - ITFlow +

ITFlow

@@ -376,7 +376,7 @@ if(isset($_POST['add_company_settings'])){
- + @@ -386,7 +386,7 @@ if(isset($_POST['add_company_settings'])){
- + @@ -396,7 +396,7 @@ if(isset($_POST['add_company_settings'])){
- + @@ -583,7 +583,7 @@ if(isset($_POST['add_company_settings'])){
- + @@ -593,7 +593,7 @@ if(isset($_POST['add_company_settings'])){
-

Welcome to ITFlow Setup

+

Welcome to ITFlow Setup

Click on the install button to start the install process, you must create a database before proceeding

@@ -607,7 +607,7 @@ if(isset($_POST['add_company_settings'])){
  • Get List of Emails in CSV to export to a mailing list
  • Acquire balance can be useful for customer's to get their balance by phone
  • -


    Install
    +
    Install