Skip to content

Commit

Permalink
v1
Browse files Browse the repository at this point in the history
  • Loading branch information
rhalp10 committed Mar 5, 2018
1 parent ad740ce commit 9818a8d
Show file tree
Hide file tree
Showing 179 changed files with 41,403 additions and 1,929 deletions.
15 changes: 3 additions & 12 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
RewriteRule ^index$ index.php [L]
RewriteRule ^alumni$ alumni.php [L]
RewriteRule ^batchmates$ batchmates.php [L]
RewriteRule ^dashboard$ dashboard.php [L]
RewriteRule ^forum$ forum.php [L]
RewriteRule ^survey$ survey.php [L]
RewriteRule ^statistic$ statistic.php [L]
RewriteRule ^profile$ profile.php [L]
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $.php
IndexIgnore *

Options +MultiViews

#Custom Error 403
ErrorDocument 403 http://localhost/Tracer/ErrorPages/403.php
Expand Down
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
# TracerStudy System
[![GitHub license](https://img.shields.io/github/license/rhalp10/TracerStudy-System.svg?style=for-the-badge)](https://github.com/rhalp10/TracerStudy-System/blob/master/LICENSE)
[![GitHub issues](https://img.shields.io/github/issues/rhalp10/TracerStudy-System.svg?style=for-the-badge)](https://github.com/rhalp10/TracerStudy-System/issues)
[![GitHub forks](https://img.shields.io/github/forks/rhalp10/TracerStudy-System.svg?style=for-the-badge)](https://github.com/rhalp10/TracerStudy-System/network)
[![GitHub forks](https://img.shields.io/badge/release-v0.9.0-blue.svg?style=for-the-badge)](https://github.com/rhalp10/TracerStudy-System/releases)

## License (MIT)
Copyright (c) 2017-2018 Rhalp Darren Cabrera, https://github.com/rhalp10/TracerStudy-System
## Index Preview
![alt text](https://github.com/rhalp10/TracerStudy-System/blob/master/screenshots/index.png "Index")

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Tracer Study System"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
## Forum Preview
![alt text](https://github.com/rhalp10/TracerStudy-System/blob/master/screenshots/forum.png "Forum")

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
## Statistic Graphs Preview
![alt text](https://github.com/rhalp10/TracerStudy-System/blob/master/screenshots/statistic.png "Statistic Graphs")
2 changes: 1 addition & 1 deletion action/signup_action.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
$result1 = mysqli_query($con,"UPDATE `user_student_detail` SET `student_status` = 'register',`student_secretquestion` = '$secret_question',`student_secretanswer` = '$secret_answer',`student_userID` = '$last_id' WHERE `student_IDNumber` = '$student_number'");

// add survey record default
mysql_query($con,"INSERT INTO `survey_maxcount` (`survey_id`, `survey_ownerID`, `survey_maxattemp`) VALUES (NULL, '$last_id', '2');");
mysqli_query($con,"INSERT INTO `survey_maxcount` (`survey_id`, `survey_ownerID`, `survey_maxattemp`) VALUES (NULL, '$last_id', '2');");
echo "<script>alert('Register Successfully !');
window.location='../index.php';
</script>";
Expand Down
62 changes: 62 additions & 0 deletions alter.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
ALTER TABLE survey_maxcount
ADD FOREIGN KEY (survey_ownerID) REFERENCES user_account(user_ID);

ALTER TABLE survey_forms
ADD FOREIGN KEY (form_ownerID) REFERENCES user_account(user_ID);

ALTER TABLE survey_question1
ADD FOREIGN KEY (survey_formID) REFERENCES survey_forms(form_id);
ALTER TABLE survey_question2
ADD FOREIGN KEY (survey_formID) REFERENCES survey_forms(form_id);
ALTER TABLE survey_question3
ADD FOREIGN KEY (survey_formID) REFERENCES survey_forms(form_id);
ALTER TABLE survey_question4
ADD FOREIGN KEY (survey_formID) REFERENCES survey_forms(form_id);
ALTER TABLE survey_question5
ADD FOREIGN KEY (survey_formID) REFERENCES survey_forms(form_id);
ALTER TABLE survey_question6
ADD FOREIGN KEY (survey_formID) REFERENCES survey_forms(form_id);
ALTER TABLE survey_question7
ADD FOREIGN KEY (survey_formID) REFERENCES survey_forms(form_id);
ALTER TABLE survey_question8
ADD FOREIGN KEY (survey_formID) REFERENCES survey_forms(form_id);


ALTER TABLE user_teacher_detail
ADD FOREIGN KEY (teacher_civilStat) REFERENCES marital_status(ID);
ALTER TABLE user_student_detail
ADD FOREIGN KEY (student_civilStat) REFERENCES marital_status(ID);
ALTER TABLE user_admin_detail
ADD FOREIGN KEY (admin_civilStat) REFERENCES marital_status(ID);



ALTER TABLE message_thread_participant
ADD FOREIGN KEY (participant_threadID) REFERENCES message_thread(thread_ID);
ALTER TABLE message_thread_participant
ADD FOREIGN KEY (participant_userID) REFERENCES user_account(user_ID);


ALTER TABLE message_send_state
ADD FOREIGN KEY (state_msgID) REFERENCES message_send(message_ID);
ALTER TABLE message_send_state
ADD FOREIGN KEY (state_readerID) REFERENCES user_account(user_ID);

ALTER TABLE forum_comment
ADD FOREIGN KEY (comment_topicID) REFERENCES forum_topic(topic_ID);
ALTER TABLE forum_comment
ADD FOREIGN KEY (comment_userID) REFERENCES user_account(user_ID);


ALTER TABLE forum_comment_reply
ADD FOREIGN KEY (comment_reply_parentID) REFERENCES forum_comment(comment_ID);

ALTER TABLE forum_comment_reply
ADD FOREIGN KEY (comment_reply_userID) REFERENCES user_account(user_ID);

ALTER TABLE user_notification
ADD FOREIGN KEY (notif_topicID) REFERENCES forum_comment(comment_ID);
ALTER TABLE user_notification
ADD FOREIGN KEY (notif_userID) REFERENCES user_account(user_ID);
ALTER TABLE user_notification
ADD FOREIGN KEY (notif_receiverID) REFERENCES user_account(user_ID);
Binary file added assets/img/profile_img/123123.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/profile_img/21212121.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/profile_img/500x500.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/profile_img/744533991_319.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/profile_img/captain.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions assets/lib/FPDF/alumnibatchprint.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ function Header(){
$this->Cell(30,10,'CvSU - CEIT DIT ONLINE TRACER STUDY',0,1,'C');
$this->Cell(80);

if ($req_course == 'IT') {
if ($req_course == 2) {
$this->Cell(30,10,'Information Technology',0,1,'C');
}
if ($req_course == 'COMSCI') {
if ($req_course == 1) {
$this->Cell(30,10,'Computer Science',0,1,'C');
}
if ($req_course == 'OA') {
if ($req_course == 3) {

$this->Cell(30,10,'Office Addministration',0,1,'C');

Expand Down
Loading

0 comments on commit 9818a8d

Please sign in to comment.