| @@ 129-141 (lines=13) @@ | ||
| 126 | //exclude this case |
|
| 127 | } else { |
|
| 128 | //encrypt PW |
|
| 129 | if (empty($post_salt_key) === false && null !== $post_salt_key) { |
|
| 130 | $pw = cryption( |
|
| 131 | $record['pw'], |
|
| 132 | mysqli_escape_string($link, stripslashes($post_salt_key)), |
|
| 133 | "decrypt" |
|
| 134 | ); |
|
| 135 | } else { |
|
| 136 | $pw = cryption( |
|
| 137 | $record['pw'], |
|
| 138 | "", |
|
| 139 | "decrypt" |
|
| 140 | ); |
|
| 141 | } |
|
| 142 | ||
| 143 | // get KBs |
|
| 144 | $arr_kbs = ""; |
|
| @@ 369-381 (lines=13) @@ | ||
| 366 | //exclude this case |
|
| 367 | } else { |
|
| 368 | //encrypt PW |
|
| 369 | if (empty($post_salt_key) === false && null !== $post_salt_key) { |
|
| 370 | $pw = cryption( |
|
| 371 | $record['pw'], |
|
| 372 | mysqli_escape_string($link, stripslashes($post_salt_key)), |
|
| 373 | "decrypt" |
|
| 374 | ); |
|
| 375 | } else { |
|
| 376 | $pw = cryption( |
|
| 377 | $record['pw'], |
|
| 378 | "", |
|
| 379 | "decrypt" |
|
| 380 | ); |
|
| 381 | } |
|
| 382 | ||
| 383 | // get KBs |
|
| 384 | $arr_kbs = []; |
|
| @@ 118-130 (lines=13) @@ | ||
| 115 | //exclude this case |
|
| 116 | } else { |
|
| 117 | //encrypt PW |
|
| 118 | if (empty($post_salt_key) === false && null !== $post_salt_key) { |
|
| 119 | $pw = cryption( |
|
| 120 | $record['pw'], |
|
| 121 | mysqli_escape_string($link, stripslashes($post_salt_key)), |
|
| 122 | "decrypt" |
|
| 123 | ); |
|
| 124 | } else { |
|
| 125 | $pw = cryption( |
|
| 126 | $record['pw'], |
|
| 127 | "", |
|
| 128 | "decrypt" |
|
| 129 | ); |
|
| 130 | } |
|
| 131 | ||
| 132 | $full_listing[$i] = array( |
|
| 133 | 'id' => $record['id'], |
|