-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfeedback.php
168 lines (164 loc) · 9.73 KB
/
feedback.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<?php
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Suggestions and Complaints</title>
<link rel="icon" type="image/png" href="./images/blue-coin.png">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU"
crossorigin="anonymous">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="css/materialize.css" media="screen,projection" />
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/user-module.css">
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
</head>
<body style="display:flex; min-height: 100vh; flex-direction: column;">
<nav>
<div class="nav-wrapper" style="background-color:white;">
<div style="margin-top: 5px; margin-left:12px;" class="img-hold">
<a href="user-dashboard.php" class="brand-logo"><img src="./images/p2p-green-logo-resized.png"></a>
</div>
<!--Menu Trigger on Small Screen-->
<a href="#" data-target="mobile-demo" id="mobile-menu-icon" class="sidenav-trigger"><i class="material-icons">menu</i></a>
<ul id="nav-mobile" class="right hide-on-med-and-down">
<li id="settings-link"><a href="./user-settings.php"><i class="material-icons">settings</i></a></li>
<li><a class="dropdown-trigger user-name-lend" href="#" data-target="dropdown-user-module"><?php echo $_SESSION['FName'][0];?><i
class="material-icons right">arrow_drop_down</i></a></li>
</ul>
</div>
</nav>
<!-- Drop Down Links -->
<ul id="dropdown-user-module" class="dropdown-content">
<li><a href="./user-profile.php">My Profile<i class="material-icons left">account_circle</i></a></li>
<li class="divider"></li>
<li><a href="./logout.php">Logout<i class="material-icons left">power_settings_new</i></a></li>
</ul>
<!-- Smaller Screen Menu -->
<ul class="sidenav" id="mobile-demo">
<li><a href="./user-dashboard.php">Dashboard<i class="fas fa-tachometer-alt left"></i></a></li>
<li><a href="./lend.php">Lend Money<i class="fas fa-hand-holding-usd left"></i></a></li>
<li><a href="./wallet.php">Wallet<i class="fas fa-wallet left"></i></a></li>
<li><a href="./borrow.php">Borrow Money<i class="fas fa-exchange-alt"></i></a></li>
<li><a href="./user-settings.php">Manage Settings<i class="fas fa-cog left"></i></a></li>
<li><a href="./feedback.php">Feedback<i class="fas fa-comment-alt left"></i></a></li>
<li><a href="./user-profile.php">View Profile<i class="fas fa-user-circle left"></i></a></li>
<li><a href="./wallet.php#recent-transactions">Recent Transactions<i class="fas fa-history left"></i></a></li>
<li><a href="./logout.php">Logout<i class="fas fa-power-off left"></i></a></li>
</ul>
<main style="flex:1 0 auto;">
<div class="row" style="margin-bottom:0px;">
<div class="col l1 hide-on-med-and-down">
<div class="row" style="margin-bottom:0px;">
<div class="white col l6 center-align">
<ul class="side-nav-user-module" style="min-height:125vh;">
<li><a href="./user-dashboard.php" title="Dashboard"><i class="fas fa-tachometer-alt"></i></a></li>
<li><a href="./lend.php" title="Lend Money"><i class="fas fa-hand-holding-usd"></i></a></li>
<li><a href="./wallet.php" title="Wallet"><i class="fas fa-wallet"></i></a></li>
<li><a href="./borrow.php" title="Borrow Money"><i class="fas fa-exchange-alt"></i></a></li>
<li><a href="./user-settings.php" title="Manage Settings"><i class="fas fa-cog"></i></a></li>
<li><a href="./feedback.php" title="Feedback"><i class="fas fa-comment-alt"></i></a></li>
<li><a href="./wallet.php#recent-transactions" title="Transaction History"><i class="fas fa-history"></i></a></li>
<li><a href="./user-profile.php" title="View Profile"><i class="fas fa-user-circle"></i></a></li>
</ul>
</div>
</div>
</div>
<div class="col s12 m12 l11">
<div class="row" id="feedback-suggestions-header">
<div class="col s4 m4 l4">
<span>User Suggestions</span>
</div>
</div>
<div class="row" id="suggestion-courtesy">
<div class="col s12 m12 l12">
<span>We'd appreciate feedback from you to improve our platform.</span>
</div>
</div>
<form action="suggestions.php" method="post">
<div class="row" style="margin: 0 auto;">
<div class="input-field s12 m12 l12">
<i class="fas fa-comment-alt prefix"></i>
<textarea maxlength="40" id="suggestion-text" name="suggest" class="materialize-textarea" rows="3" cols="12"></textarea>
<label for="suggestion-text">Suggestions</label>
</div>
</div>
<div class="row">
<div class="col s12 m12 l12 center-align">
<button class="btn waves-effect waves-light" name="" type="submit">
Submit <i class="material-icons right">send</i>
</button>
</div>
</div>
</form>
<div class="row" id="report-header">
<div class="col s4 m4 l4">
<span>User Complaint</span>
</div>
</div>
<div class="row" id="report-text">
<div class="col s12 m12 l12">
<span>Send complaints about other users</span>
</div>
</div>
<div class="row">
<div class="col s4 m4 l4">
<a href="#modal-report" onclick="$('#modal-report').modal('open')" class="btn-large waves-effect waves-light"
id="report-btn">Report User</a>
</div>
</div>
<!-- Report Modal -->
<div class="modal" id="modal-report">
<div class="modal-content">
<div class="row">
<div class="col s8 m8 l8" id="report-container">
<span class="report-modal-header">Report A User</span>
</div>
<div class="col s4 m4 l4">
<a href="#!" class="modal-close waves-effect waves-green right"><i class="material-icons center">close</i></a>
</div>
</div>
<form action="complaints.php" method="post">
<div class="row" style="margin: 0 auto;">
<div class="input-field col s12 m12 112" id="report-name-area">
<i class="fas fa-user-minus prefix"></i>
<input type="text" name="name" id="report-name-icon">
<label for="report-name-icon">Name of the user being reported</label>
</div>
</div>
<div class="row" style="margin:0 auto;">
<div class="input-field col s12 m12 l12" id="report-name-area">
<i class="fas fa-exclamation prefix"></i>
<textarea name="complaint" id="report-icon" class="materialize-textarea"></textarea>
<label for="report-icon">Reason</label>
</div>
</div>
<div class="row">
<div class="col s12 m12 l12 center-align">
<button class="btn waves-effect waves-light" name="" type="submit">
Report <i class="material-icons right">send</i>
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</main>
<script type="text/javascript" src="js/materialize.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<footer style="background-color: #323232;" class="page-footer" style="text-align:center; padding: 10px; margin-top:0;">
<!-- <div class="center-align container" id="foot-logo">
<img src="./images/p2p-blue-new-layout.png" alt="company-logo">
</div> -->
<div class=" center-align container">
© 2018 StrathFund
</div>
</footer>
</body>
</html>