A comprehensive web-based Faculty Profile System designed for managing faculty information, attendance, Personal Data Sheets (PDS), requirements submissions, and payroll management.
- Faculty Management - Create, edit, delete faculty accounts
- Attendance Tracking - Real-time QR code-based time logging
- PDS Review - Review and approve faculty Personal Data Sheets
- Requirements Management - Create and track document submissions
- Payroll Management - Calculate salaries with deductions
- Analytics Dashboard - Comprehensive system statistics
- Bulk Operations - Import faculty via CSV
- Announcements - System-wide notifications
- Station Management - Configure time-keeping stations
- Profile Management - Update personal information
- PDS Submission - Complete Civil Service Form 212
- Requirements Submission - Upload required documents
- Attendance View - View personal time logs
- Pardon Requests - Request attendance corrections
- Calendar - View official schedules and holidays
- Notifications - Real-time system updates
- QR Code Access - Personal QR code for time logging
- QR Scanner - Scan faculty QR codes for time logging
- Manual Entry - Manual time log entry
- Real-time Logging - Instant attendance recording
- Station-based - Multiple timekeeper stations
This system is 100% portable! It can be moved to any computer or server without modifying code.
- β No hardcoded paths
- β Auto-detection of URLs and base paths
- β Relative file includes
- β Dynamic upload paths
- β Works on Windows, Linux, macOS
- β Works in any directory (root or subdirectory)
See PORTABILITY_GUIDE.md for detailed transfer instructions.
- PHP: 7.4+ (8.0+ recommended)
- MySQL/MariaDB: 5.7+ (8.0+ recommended)
- Web Server: Apache 2.4+ or nginx
- Disk Space: 100MB + uploads
- Memory: 128MB PHP memory limit
- PDO & pdo_mysql
- GD (for QR codes)
- mbstring
- curl
- zip
# Clone or copy the FP folder to your web directory
# Example: C:\xampp\htdocs\FP
# Or: /var/www/html/FPEdit includes/config.php:
define('DB_HOST', 'localhost');
define('DB_NAME', 'wpu_faculty_system');
define('DB_USER', 'root');
define('DB_PASS', '');# Create database
mysql -u root -p -e "CREATE DATABASE wpu_faculty_system;"
# Import SQL file
mysql -u root -p wpu_faculty_system < wpu_faculty_system.sqlcd /path/to/FP
composer installOpen in browser:
http://localhost/FP/verify_portability.php
All checks should pass β
http://localhost/FP/
Default Admin Login:
- Check your database for admin credentials
- Or create via registration
FP/
βββ admin/ # Admin panel
βββ faculty/ # Faculty panel
βββ timekeeper/ # Timekeeper interface
βββ includes/ # Core system files
β βββ config.php # Main configuration βοΈ
β βββ database.php # Database class
β βββ functions.php # Helper functions
β βββ ...
βββ assets/ # CSS, JS, images
βββ uploads/ # User uploads
β βββ submissions/
β βββ profiles/
β βββ pds/
β βββ qr_codes/
βββ storage/logs/ # System logs
βββ vendor/ # Composer dependencies
βββ db/ # Database files
βββ home.php # Entry point
βββ login.php
βββ README.md # This file
Admin Account:
- Check your imported database for credentials
- Default admin can be found in the
userstable whereuser_type='admin'
Creating New Admin:
- Register via the registration page
- Update
user_typein database to'admin'
- PHP 8.0+ - Server-side logic
- MySQL 8.0 - Database
- PDO - Database abstraction
- Composer - Dependency management
- Bootstrap 5 - UI framework
- jQuery - DOM manipulation
- Chart.js - Analytics charts
- FontAwesome - Icons
- HTML5-QRCode - QR scanning
- PHPMailer - Email sending
- Endroid QR Code - QR code generation
- PHPSpreadsheet - Excel exports
- ZipStream - File compression
See PORTABILITY_GUIDE.md for complete instructions.
Quick steps:
- Copy the entire
FPfolder - Update database credentials in
includes/config.php(if needed) - Import
wpu_faculty_system.sql - Run
composer install(if vendor folder missing) - Access the system
That's it! The system auto-detects all paths and URLs.
includes/config.php:
define('DB_HOST', 'localhost');
define('DB_NAME', 'wpu_faculty_system');
define('DB_USER', 'root');
define('DB_PASS', '');For email notifications:
define('SMTP_HOST', 'smtp.gmail.com');
define('SMTP_PORT', 587);
define('SMTP_USER', 'your-email@gmail.com');
define('SMTP_PASS', 'your-app-password');
define('ENABLE_MAIL', true);Disable email for offline use:
define('OFFLINE_MODE', true);define('MAX_FILE_SIZE', 5242880); // 5MB
define('ALLOWED_FILE_TYPES', ['pdf', 'doc', 'docx', 'jpg', 'jpeg', 'png']);- Check credentials in
includes/config.php - Verify MySQL is running
- Ensure database exists
- Clear browser cache (Ctrl + F5)
- Check
assets/folder exists - Run
verify_portability.phpto check paths
- Check folder permissions (755 or 777)
- Verify PHP settings:
upload_max_filesize>= 5MB - Ensure
uploads/folder is writable
- Clear browser cookies
- Check session directory permissions
- Try:
home.php?force_login=1
More solutions: See PORTABILITY_GUIDE.md
- PORTABILITY_GUIDE.md - System portability & transfer guide
- CSP_FIX_SUMMARY.md - Content Security Policy fixes
- DESIGNATIONS_QUICK_START.txt - Position setup
- includes/MOBILE_FUNCTIONS_README.md - Mobile features
- β Prepared statements (SQL injection protection)
- β Password hashing (bcrypt)
- β Session management
- β CSRF protection
- β Input validation & sanitization
- β File upload restrictions
- β Secure headers (CSP, X-Frame-Options)
- β Access control (role-based)
- Automatic QR code generation for each faculty
- Station-based time logging
- Mobile-friendly QR scanner
- Real-time attendance tracking
- Complete Civil Service Form 212 (Revised 2017)
- Auto-save functionality
- Multi-page form with navigation
- Review and approval workflow
- Salary calculation based on position
- Deduction management (SSS, PhilHealth, Pag-IBIG, Tax)
- Monthly payroll generation
- Export to Excel
- Create custom requirements
- Set deadlines and file type restrictions
- Track submission status
- Bulk operations support
- Total faculty count
- Attendance statistics
- Submission tracking
- Visual charts and graphs
Main Tables:
users- User accountsfaculty_profiles- Faculty informationfaculty_pds- Personal Data Sheetsrequirements- System requirementsfaculty_submissions- Document submissionsemployee_logs- Attendance recordstimekeeping_stations- Station configurationpardon_requests- Attendance correctionsannouncements- System announcementspositions- Job positions with salary
- β Fully Functional - All features working
- β Portable - Can be moved to any computer
- β Tested - Windows, Linux, localhost
- β Documented - Comprehensive guides
- β Secure - Best practices implemented
- β Maintained - Active development
This is a private institutional system. For modifications:
- Test thoroughly on local environment
- Backup database before changes
- Document any configuration changes
- Follow existing code style
- Update documentation as needed
- β Full portability implementation
- β Auto URL and path detection
- β Comprehensive documentation
- β Verification script
- β Security enhancements
- β Mobile optimizations
For technical issues:
- Run
verify_portability.phpfor diagnostics - Check error logs in
storage/logs/ - Review PORTABILITY_GUIDE.md
- Check browser console (F12) for errors
System Administrator:
- Contact your institution's IT department
- Review system logs for detailed error information
Proprietary System
West Philippine University Faculty Profile System
Β© 2025 All Rights Reserved
This system is for institutional use only.
System Name: SAFE_SYSTEM/FP (Faculty Profile System)
Institution: West Philippine University
Purpose: Faculty information and attendance management
Version: 2.0
Last Updated: December 4, 2025
After installation, test these features:
- Login as admin
- Login as faculty
- Create a new faculty account
- Upload a profile picture
- Generate a QR code
- Submit a requirement
- View attendance logs
- Create an announcement
- Export data to Excel
All working? β System is ready!
- Read: PORTABILITY_GUIDE.md
- Install: Follow Quick Installation above
- Verify: Run
verify_portability.php - Test: Login and explore features
- Configure: Update SMTP, positions, etc.
- Use: Start managing faculty data!
Need help? Check the PORTABILITY_GUIDE.md for detailed troubleshooting.
Ready to move? The system is fully portable - just copy and go! π