Fork of php time clock v 1.1 with bootstrap
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
admin added aditional config.inc.php in admin section for dirty date fix Feb 27, 2018
css initial upload of version 1.1 without fixes Jul 27, 2016
docs initial upload of version 1.1 without fixes Jul 27, 2016
images initial upload of version 1.1 without fixes Jul 27, 2016
reports Update timerpt.php Feb 27, 2018
screenshots some screenshots Aug 12, 2016
scripts added aditional config.inc.php in admin section for dirty date fix Feb 27, 2018
templates added aditional config.inc.php in admin section for dirty date fix Feb 27, 2018
theme added aditional config.inc.php in admin section for dirty date fix Feb 27, 2018
LICENSE Initial commit Jul 27, 2016
README.md PHP 7 Aug 26, 2016
alter_tables.sql initial upload of version 1.1 without fixes Jul 27, 2016
config.inc.php removed ereg/eregi and replaced mysql to mysqli for PHH 7 Aug 26, 2016
create_tables.sql fixed create_tables and removed default img logo Jul 27, 2016
display.php removed ereg/eregi and replaced mysql to mysqli for PHH 7 Aug 26, 2016
footer.php removed ereg/eregi and replaced mysql to mysqli for PHH 7 Aug 26, 2016
functions.php removed ereg/eregi and replaced mysql to mysqli for PHH 7 Aug 26, 2016
header.php removed ereg/eregi and replaced mysql to mysqli for PHH 7 Aug 26, 2016
index.php initial upload of version 1.1 without fixes Jul 27, 2016
leftmain.php removed ereg/eregi and replaced mysql to mysqli for PHH 7 Aug 26, 2016
login.php removed ereg/eregi and replaced mysql to mysqli for PHH 7 Aug 26, 2016
login_reports.php initial upload of version 1.1 without fixes Jul 27, 2016
logout.php initial upload of version 1.1 without fixes Jul 27, 2016
phpweather.php PHP Weather discontinued Aug 26, 2016
resetcookie.php initial upload of version 1.1 without fixes Jul 27, 2016
timeclock.php removed ereg/eregi and replaced mysql to mysqli for PHH 7 Aug 26, 2016
topmain.php removed ereg/eregi and replaced mysql to mysqli for PHH 7 Aug 26, 2016
tzoffset.php initial upload of version 1.1 without fixes Jul 27, 2016

README.md

About

A fork of timeclock version 1.10 that uses bootstrap

Timeclock - What Is It?

(from http://timeclock.sf.net/ ...)

Punchclock - What Is It?

(from http://www.acmebase.org/punchclock/ ...)

##Installation

New Install


  • Unpack the distribution into your webserver's document root directory.
  • Create a database named "timeclock" or whatever you wish to name it.
  • Create a mysql user named "timeclock" (or whatever you wish to name it) with a password.
  • Give this user at least SELECT, UPDATE, INSERT, DELETE, ALTER, and CREATE privileges to ONLY this database.
  • Import the tables using the create_tables.sql script included in this distribution.
  • Edit config.inc.php.
  • Open index.php with your web browser.
  • Click on the Administration link on the right side of the page. Input "admin" (without the quotes) for the username and "admin" (without the quotes) for the password. Please change the password for this admin user after the initial setup of PHP Timeclock is complete.
  • Create at least one office by clicking on the Create Office link on the left side of the page. You MUST create an office to achieve the desired results. Create more offices if needed.
  • Create at least one group by clicking on the Create Group link on the left side of the page. You MUST create a group to achieve the desired results. Create more groups if needed.
  • Add your users by clicking on the Create New Users link, and assign them to the office(s) and group(s) you created above. Give Sys Admin level access for users who will administrate PHP Timeclock. Give Time Admin level access for users who will need to edit users' time, but who will not need Sys Admin level access. If you require the reports to be secured so only certain users can run them, then give these users reports level access.

Migration from another verison of PHP-Timeclock


  • Backup your current install directory and database.
  • Delete all files in your current install directory.
  • Copy all files from a zip of this repo's master branch
  • Modify the new config.inc.php file to match your old settings, make sure you correctly set your timezone in php.ini (recommended) or config.inc.php.

##Roles Admin level access and reports level access are completely separate from each other. Just because a user has admin level access does not give that user reports level access. You must specifically give them reports level access when you are creating or editing the users, if you choose to secure these reports for these users. To make PHP Timeclock lock down the reports to only these users, set the use_reports_password setting in config.inc.php to "yes".

##PHP Weather discontinued The PHP Weather part has been discontinued and the code has not been updated to PHP 7. Do not use it on PHP7 servers.

Now PHP 7 enabled.

All ereg/eregi and mysql code had been updated to PHP 7.

##License


This software and changes made are licensed under the GNU GENERAL PUBLIC LICENSE 2 as found in docs/LICENSE

##Swedish


Digital stämplelklocka i PHP och Bootstrap

##Screenshots


Startpage

User create page

Reportpage