authpartner
Clone or download
Modified Files
Binary files /dev/null and b/Downloads/AddressProof(1).jpeg differ
--- 'a/Downloads/Documents'
+++ /dev/null
@@ -1 +0,0 @@
-{"error":"invalid_uri","error_description":"Please provide document URI"}
\ No newline at end of file
Binary files 'a/Downloads/Registration of Vehicles' and /dev/null differ
Binary files 'a/Downloads/Voter ID Card' and /dev/null differ
--- 'a/browse.php'
+++ b/browse.php
@@ -23,5 +23,6 @@ curl_setopt($ch, CURLOPT_TCP_NODELAY, 1)
curl_setopt($ch, CURLOPT_HTTPHEADER, $ur);
$output = curl_exec($ch);
curl_close($ch);
-echo ' Your file has been uploaded';
+echo "Your file has been uploaded";
+
?>
\ No newline at end of file
--- 'a/doc.php'
+++ b/doc.php
@@ -10,6 +10,7 @@ $post = array(
'client_secret' => 'DQ3pWgCtB0I3EhSrtTXU',
'redirect_uri' => 'http://localhost/digibank/doc.php',
);
+
$vh = curl_init($url);
curl_setopt($vh, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($vh, CURLOPT_POST, true);
@@ -103,9 +104,6 @@ $dataI = json_decode($issuedNew[1], TRUE
}
?>
<tr>
- <?php /**
- <a href="/digibank/uri.php?access_tocken=<?php echo $access_token; ?>&uri=<?php echo($api_detail['uri']); ?>&id=<?php echo($api_detail['id']); ?>"></a>
- * * */ ?>
<?php
if (isset($api_detail['type']) == "dir") {
echo '<td onclick="uriData(' . $api_detail['id'] . ',' . $api_detail['parent'] . ')">';
@@ -155,7 +153,7 @@ $dataI = json_decode($issuedNew[1], TRUE
<th>Date</th>
</tr>
<?php
- foreach ($dataI['items'] as $issued_detail):
+ foreach ((array)($dataI['items']) as $issued_detail):
?>
<tr><td>
<?php
@@ -207,7 +205,6 @@ $dataI = json_decode($issuedNew[1], TRUE
var accessToken = "<?php echo $access_token; ?>";
$.post("http://localhost/digibank/uri.php", {access_token: accessTocken, id: id}, function (result) {
$.each(result.items, function (i, l) {
-
if (result.items[i].type == "file") {
console.log(result.items);
fileOrFolder = "<i class='fa fa-file-o'></i> ";
@@ -229,9 +226,5 @@ $dataI = json_decode($issuedNew[1], TRUE
});
}
-// function thisIsNotAFolder() {
-// alert('This is not a folder');
-// }
-
</script>
</html>
\ No newline at end of file
--- 'a/payment.php'
+++ b/payment.php
@@ -49,7 +49,7 @@
</div>
<div class='form-row'>
<div class='col-md-12 form-group'>
- <a href="loanapproval.php"><input type="button" class="btn btn-primary" value="Pay" /></a>
+ <a href="loanapproval.php"><input type="button" class="btn btn-primary" value="Pay" /></a>
</div>
</div>
<div class='form-row'>