-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreflection.php
More file actions
150 lines (112 loc) · 5.29 KB
/
reflection.php
File metadata and controls
150 lines (112 loc) · 5.29 KB
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
<?php
include('session.php');
?>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>NEU SLHC | Home</title>
<!-- Bootstrap core CSS-->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS files -->
<link href="css/bootstrap.css" rel="stylesheet">
<!-- Sticky Footer CSS -->
<link href="css/sticky-footer.css" rel="stylesheet">
<!-- Personal Custom styles -->
<link href="css/custom.css" rel="stylesheet">
<!-- Favicon -->
<link rel="icon" href="https://bouve.northeastern.edu/assets/uploads/2014/05/favicon.png">
<!-- Custom styles for this template -->
<link href="signin.css" rel="stylesheet">
</head>
<body>
<!-- Top of Page Navigation Panel-->
<header>
<nav class="navbar navbar-custom navbar-fixed-top" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<a class="navbar-brand" href="welcome.php">Northeastern University | Speech-Language & Hearing Center <span class="glyphicon glyphicon-home" aria-hidden="true"></span></a>
</div> <!-- Navbar-header -->
<!-- Collect the nav links and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li><a href="playlists.php">Playlists <span class="glyphicon glyphicon-list" aria-hidden="true"></span></a></li>
<li><a href="https://bouve.northeastern.edu/csd/clinic/">About Us <span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span></a></li>
<li><a href="settings.php">Settings <span class="glyphicon glyphicon-cog" aria-hidden="true"></span></a></li>
<li><a href="logout.php">Sign Out <span class="glyphicon glyphicon-log-out" aria-hidden="true"></span></a></li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
</header>
<!-- BEGIN PAGE CONTENT -->
<!-- Main component for a primary marketing message or call to action -->
<?php
$myusername = $_SESSION['login_user'];
$sql = "SELECT * FROM Clinician WHERE Email = '$myusername'";
$result = mysqli_query($db,$sql);
$user = mysqli_fetch_assoc($result);
$vid = $_GET['vid'];
?>
<div class="container-custom">
<div class="page-header col-xs-12 col-sm-12 col-md-12 col-lg-12">
<h3 class="text-left">Welcome,<?php echo " " . $user['Fname']?></h3>
</div>
<?php
$instructions = "Use the sections on this form to comment on the client’s performance, your performance, and what you might do in the next session based on this information. Present your ideas in a logical, sequential manner. Check your work for grammar, presentation, and spelling. You can use the following questions to guide your Self-Evaluation:";
$q1 = "1. Describe at least three things that you thought went well in the session and why.";
$q2 = "2. Describe at least three things that you’d like to improve upon or do differently in the session and why.";
$q3 = "3. How did you feel about what happened? Why do you think you acted as you did?";
$q4 = "4. What do you need to learn or do to be better equipped for the things that happened in the session?";
$q5 = "Client’s Performance:";
$q6 = "Clinician's Performance:";
$q7 = "What to change/continue doing in the next session:";
if ($user['Role'] == 3){
echo "<div class=\"col-xs-11 col-sm-11 col-md-11 col-lg-11\">";
echo "<br>";
echo "<p>";
echo $instructions;
echo "<br>";
echo "<br>";
echo $q1;
echo "<br>";
echo $q2;
echo "<br>";
echo $q3;
echo "<br>";
echo $q4;
echo "<br>";
echo "<br>";
echo $q5;
echo "<br>";
?>
<form action="newreflection.php?vid=<?php echo $vid; ?>" method="post">
<textarea rows='6' cols='100' name='message1'></textarea><br><br>
<?php
echo $q6;
echo "<br>";
?>
<textarea rows='6' cols='100' name='message2'></textarea><br><br>
<?php
echo $q7;
echo "<br>";
?>
<textarea rows='6' cols='100' name='message3'></textarea><br><br>
<button type='submit' name='submit'>Submit Reflection</button>
</form>
<?php
echo "</p></div><br>";
} else {
echo "You do not have access to this page.";
}
?>
</div> <!-- /container -->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>