API Documentation
Table of Contents
Classes
- SimpleICS
- SimpleICS_Event
- JarsUser
- HtmlClass
- Class to simplify rendering standard html tags with indents etc
- JARSForm
- JarsForm class to create neat forms in Jars
- sql_db
- MYPDF
Traits
Constants
- _ADMIN_LOGIN_ERR = "Error login: Please check admin username or password"
- _ALREADY_TAKEN = "(Already Taken!.)"
- _CHANGE_MY_INFO = "Change My Info"
- _CHANGE_MY_INFORMATION = "Change my information:"
- _CHANGE_MY_PASSWORD = "Change Password"
- _CHANGE_MY_PWD = "Change My Password"
- _CHANGE_PWD = "Change Password"
- _CHARSET = ""
- _CITY = "City"
- _CLICK_HERE_BROWSER_REDIRECT = "Click here if your browser doesn't support redirecting."
- _CONFIRM_NEW_PWD = "Confirm New Password"
- _COUNTRY = "Country"
- _DEL = "Del"
- _DELETE = "Delete"
- _DONT_RESPOND_WILL_IGNORED = "Please do not respond to this email as it may be ignored."
- _EDIT = "Edit"
- _EG = "eg."
- _EMAIL = "Email"
- _EMAIL_DIE = "Failed sending registration email, please report this to the webmaster ({$site_email})"
- _ERROR_INVALID_EMAIL = "Error: Invalid email address."
- _ERROR_NEW_PWD_DOESNT_MATCH = "Error: The new password doen't match!."
- _ERROR_PASSWORD_DOESNT_MATCH = "<b>Error:</b> Password doesn't match."
- _ERROR_PLEASE_FILL_FIELDS = "<b>Error:</b> Please fill all fields with (*) ."
- _FIELDS_WITH_STAR_ARE_REQUIRED = "Fields marked with a * are required."
- _FILED_STAR_REQUIRED = "Fields marked with a (*) are required."
- _FORGOT_PASSWORD = "Forgot password?"
- _FROM = "from"
- _FULLNAME = "Full Name"
- _GOBACK = "[ <a href=\"javascript:history.go(-1)\">Go Back</a> ]"
- _GOHOME = "[ <a href=\"index.php\">Home</a> ]"
- _HELLO = "Hello"
- _HERE_ISIT_BELOW = "Here it is below."
- _HOME = "Home"
- _LAST_LOGIN = "Last login"
- _LOGIN = "Login"
- _LOGIN_ERROR = "Login error. Please check username/password."
- _LOGIN_SUCCESS = "Login success please wait ..."
- _LOGOUT = "Logout"
- _LTR_RTL = "ltr"
- _MY_ACCOUNT = "My Account"
- _NEW_PASSWORD = "New password"
- _NEW_PASSWORD_SENT_WAIT = "Your new Password has been sent to your email. <br> Please wait ..."
- _NEW_PWD = "New Password"
- _NEW_PWD_SENT_TO_YOUR_EMAIL = "New password has been sent to your email."
- _NOT_AUTHORIZED = "Error: You are not authorized to access this page."
- _NOT_YET = "Not Yet!"
- _OLD_PWD = "Old Password"
- _OLD_PWD_DONT_MATCH = "Error: Old password doesn't match the one in our database."
- _ON = "on"
- _ONCE_CHANGED_LOGOUT = "<br />Once your password has been changed, you will be logged out automatically."
- _PASSWORD = "Domain Password"
- _PLEASE_ENTER_YOUR_USER = "Please enter your username and password to login."
- _PLZ_DONT_FORGOT_PWD = "Please do not forget your password as it has been encrypted in our database and we cannot retrieve it for you. However, should you forget your password you can request a new one which will be sent to your email."
- _PLZ_KEEP_THIS_EMAIL = "Please keep this email for your records. Your account information is as follows:"
- _PLZ_REMEBER_NEW_PWS = "Please remember your new password."
- _PLZ_WAIT = "Please wait ..."
- _PROFILE = "Profile"
- _REDIRECTING = "Redirecting ... "
- _REG_FORM = "Registration Form"
- _REG_SUCCESS = "Registration was successful and you can now login"
- _REG_SUCCESS_VALIDATE = "Registration was successful. <br> Please go and check your email. <br> You'll find how to activate your account."
- _REGISTER = "Register"
- _REMEBER_ME = "Remember me for 2 weeks"
- _REQUIRED = "Required!"
- _RETYPE_PASSWORD = "Re-type Password"
- _SAVE_CHANGES = "Save Changes"
- _SAVECHANGES = "Save Changes"
- _SEARCH = "Search"
- _SEND_NEW_PASSWORD = "Send me a new password"
- _SEND_PASSWORD = "Send password"
- _SUCCESS_PWD_CHANGED = "Success: Your password has been changed."
- _TEL_MOBILE = "Tel/Mobile"
- _THANKS = "Thanks"
- _THANKS_FOR_REGISTERING = "Thank you for registering."
- _THE_EMAIL = "The email"
- _THIS_EMAIL_AUTO_GENERATED = "This email was automatically generated."
- _USERNAME = "Username"
- _VALIDATE_DONE = "Congratulations!. <br> Your account has been activated successfully. <br> You can now login."
- _VALIDATE_EMAIL = "Validation & login information"
- _VALIDATE_ERROR = "Error in validation code. Maybe it's already used."
- _VALIDATE_ERROR_LOGIN = "Error logging in. <br> Your account is not active. <br> Please check your email on how to activate your account."
- _WEBSITE = "Website"
- _WELCOME = "Welcome"
- _WELCOME_TO = "Welcome to"
- _WRONG_USEREMAIL = "Error: Wrong username/email"
- _YOU_ARE_RECEIVING_EMAIL = "You are receiving this email because you have (or someone pretending to be you has) requested a new password be sent for your account on the "
- _YOU_CAN_OFCOURSE_CHANGE_PWS = "You can of course change this password yourself. If you have any difficulties please contact the webmaster."
- _YOU_MAY_LOGIN_BELOW = "You may login below:"
- _YOUR_ACCOUNT_IS_CURRENTLY_ACTIVE = "Your account is currently active. You can use it by visiting the following link:"
- _YOUR_ACCOUNT_IS_NOT_ACTIVE = "Your account is currently NOT active. Please click following link to activate your account now."
- _YOUR_INFO_AT = "Your login information"
- _YOUR_INFO_HAS_BEEN_CHANGES = "Your information has been successfully changed."
- HEAD_MAGNIFICATION = 1.1
- K_BLANK_IMAGE = \K_PATH_IMAGES . '_blank.png'
- K_CELL_HEIGHT_RATIO = 1.25
- K_PATH_CACHE = $_SERVER['DOCUMENT_ROOT'] . '/pdfs/cache/'
- K_PATH_FONTS = \K_PATH_MAIN . 'fonts/'
- K_PATH_IMAGES = $_SERVER['DOCUMENT_ROOT'] . '/images/'
- K_PATH_MAIN = $_SERVER['DOCUMENT_ROOT'] . '/vendor/tecnickcom/tcpdf/'
- K_PATH_URL = \K_PATH_MAIN
- K_PATH_URL_CACHE = \K_PATH_CACHE
- K_SMALL_RATIO = 2 / 3
- K_TCPDF_CALLS_IN_HTML = \true
- K_TCPDF_EXTERNAL_CONFIG = \true
- K_TCPDF_EXTERNAL_CONFIG = true
- K_TCPDF_EXTERNAL_CONFIG = \true
- K_TCPDF_EXTERNAL_CONFIG = \true
- K_TCPDF_EXTERNAL_CONFIG = \true
- K_TCPDF_EXTERNAL_CONFIG = \true
- K_TCPDF_EXTERNAL_CONFIG = \true
- K_TCPDF_EXTERNAL_CONFIG = true
- K_TCPDF_EXTERNAL_CONFIG = \true
- K_THAI_TOPCHARS = \true
- K_TITLE_MAGNIFICATION = 1.3
- PDF_AUTHOR = 'JARS'
- PDF_CREATOR = 'Amtek'
- PDF_FONT_MONOSPACED = 'courier'
- PDF_FONT_NAME_DATA = 'helvetica'
- PDF_FONT_NAME_MAIN = 'helvetica'
- PDF_FONT_SIZE_DATA = 8
- PDF_FONT_SIZE_MAIN = 10
- PDF_HEADER_LOGO = 'amtek_header.png'
- PDF_HEADER_LOGO_WIDTH = 100
- PDF_HEADER_STRING = ''
- PDF_HEADER_TITLE = ''
- PDF_IMAGE_SCALE_RATIO = 1.2
- PDF_MARGIN_BOTTOM = 5
- PDF_MARGIN_FOOTER = 5
- PDF_MARGIN_HEADER = 5
- PDF_MARGIN_LEFT = 15
- PDF_MARGIN_RIGHT = 15
- PDF_MARGIN_TOP = 35
- PDF_PAGE_FORMAT = 'A4'
- PDF_PAGE_ORIENTATION = 'P'
- PDF_UNIT = 'mm'
- SHOW_MY_HOLIDAYS = "<input type='button' style='margin:0 3em' class='pseudobtn_s' value=\"Show My Holidays\" " . " onclick=\"window.open('hols-details.php','','width=800,height=400,status=no,toolbar=no,menubar=no,scrollbars=1')\">"
Functions
- main() : mixed
- main_table() : mixed
- visitors_table() : mixed
- getUserName() : mixed
- getLastDoorEntry() : mixed
- toggle() : mixed
- toggle2() : mixed
- visitor() : mixed
- t_visitor() : mixed
- do_add() : mixed
- qry() : mixed
- main() : mixed
- send() : mixed
- report() : mixed
- check() : mixed
- report() : mixed
- report2() : mixed
- report3() : mixed
- minus_1() : mixed
- main() : mixed
- parsetool() : mixed
- toggle() : mixed
- change() : mixed
- invoice() : mixed
- buttons() : mixed
- main() : mixed
- addline() : mixed
- status() : mixed
- runreport() : mixed
- radio_validate() : mixed
- set_up() : mixed
- save() : mixed
- runreport() : mixed
- Users() : mixed
- addUserForm() : mixed
- EditUser() : mixed
- EditUserForm() : mixed
- delUser() : mixed
- do_EditUser() : mixed
- do_addUser() : mixed
- main() : mixed
- hd() : mixed
- listsites() : mixed
- EditSite() : mixed
- EditSiteForm() : mixed
- do_editSite() : mixed
- do_update() : mixed
- do_active_update() : mixed
- table() : mixed
- detailsection() : mixed
- detail_tool() : mixed
- details2() : mixed
- project_date() : mixed
- week_day() : mixed
- cookies() : mixed
- dse_query() : mixed
- invite() : mixed
- index() : mixed
- do_active() : mixed
- do_active_update() : mixed
- addUser() : mixed
- editUser() : mixed
- UserForm() : mixed
- delUser() : mixed
- do_EditUser() : mixed
- check_email() : mixed
- do_addUser() : mixed
- SendEmail() : mixed
- do_SendEmail() : mixed
- SendAll() : mixed
- do_SendAll() : mixed
- enable_2fa() : mixed
- ENABLE 2FA
- getUserList() : mixed
- getUserCount() : mixed
- getUser() : mixed
- checkDateTime() : mixed
- timesheets() : mixed
- checktime() : mixed
- do_approve() : mixed
- listjobs() : mixed
- hols() : mixed
- whatday() : string
- whatday: given a date string, gives us the three letter day of the week. eg 'Mon'
- index() : mixed
- do_hol_approve() : mixed
- do_hol_approve_update() : mixed
- getUnapprovedJobs() : mixed
- main() : mixed
- cc_authorisation() : mixed
- q_authorisation() : mixed
- formsubmit() : mixed
- ascii2entities() : mixed
- ListBH() : mixed
- delBH() : mixed
- EditBH() : mixed
- AddBH() : mixed
- do_AddBH() : mixed
- do_EditBH() : mixed
- SelectYear() : mixed
- queryhols() : mixed
- posthols() : mixed
- index() : mixed
- checktime() : mixed
- report() : mixed
- Llist() : mixed
- do_search() : mixed
- highlight() : mixed
- do_active() : mixed
- do_active_update() : mixed
- deljob() : mixed
- Editjob() : mixed
- Add() : mixed
- do_Editjob() : mixed
- do_Addjob() : mixed
- Llist() : mixed
- getHolidays() : mixed
- List_Cust() : mixed
- delcust() : mixed
- do_search() : mixed
- highlight() : mixed
- EditCustForm() : mixed
- AddCustForm() : mixed
- do_Editcust() : mixed
- do_Addcust() : mixed
- index() : mixed
- main() : mixed
- AddDoc() : mixed
- doAdd() : mixed
- theader() : mixed
- tcell() : mixed
- index() : mixed
- displayitem() : mixed
- showEngineers() : mixed
- saveForecast() : mixed
- saveDelivery() : mixed
- msgline() : mixed
- saveReview() : mixed
- showform() : mixed
- showdates() : mixed
- getJobDates() : mixed
- getFailReasons() : mixed
- getJobCode() : mixed
- getJob() : mixed
- List_Cust() : mixed
- do_search() : mixed
- highlight() : mixed
- delcust() : mixed
- Editcust() : mixed
- Addcust() : mixed
- custForm() : mixed
- GetPackages() : mixed
- prepare() : mixed
- index() : mixed
- do_Editcust() : mixed
- do_Addcust() : mixed
- getCustomerList() : mixed
- getCustomerCount() : mixed
- link_clean() : mixed
- Llist() : mixed
- do_active() : mixed
- do_active_update() : mixed
- Editjob() : mixed
- Add() : mixed
- do_Editjob() : mixed
- do_Addjob() : mixed
- doAddDoc() : mixed
- main() : mixed
- formsubmit() : mixed
- chart_internal() : mixed
- chart_external() : mixed
- Llist() : mixed
- do_active() : mixed
- do_active_update() : mixed
- Editjob() : mixed
- Add() : mixed
- do_Editjob() : mixed
- do_Addjob() : mixed
- check_user() : mixed
- info() : mixed
- viewlist() : mixed
- head() : mixed
- main() : mixed
- intro() : mixed
- section_1() : mixed
- section_2() : mixed
- section_3() : mixed
- section_4() : mixed
- section_5() : mixed
- section_6() : mixed
- section_7() : mixed
- table() : mixed
- formsubmit() : mixed
- review() : mixed
- reviewdetails() : mixed
- reviewsubmit() : mixed
- preview() : mixed
- dse_pdf() : mixed
- invite() : mixed
- info() : mixed
- head() : mixed
- main() : mixed
- intro() : mixed
- section_1() : mixed
- section_2() : mixed
- section_3() : mixed
- section_4() : mixed
- section_5() : mixed
- section_6() : mixed
- section_7() : mixed
- table() : mixed
- formsubmit() : mixed
- review() : mixed
- reviewdetails() : mixed
- reviewsubmit() : mixed
- preview() : mixed
- dse_pdf() : mixed
- viewlist() : mixed
- invite() : mixed
- Llist() : mixed
- debugtable() : mixed
- Add() : mixed
- reportline() : mixed
- lineheader() : mixed
- addline() : mixed
- Editjob() : mixed
- do_Editjob() : mixed
- do_Addjob() : mixed
- main() : mixed
- formsubmit() : mixed
- prepare() : mixed
- message() : mixed
- index() : mixed
- hols() : mixed
- cancel_hol() : mixed
- whatday() : mixed
- write_header() : mixed
- getHolidayList() : mixed
- getHolidayStatus() : mixed
- hols() : null
- Request holiday form
- parsedates() : sql
- Parse Date
- whatday() : the
- Get a day from a datetime
- Do_addhol() : null
- Add a holiday to the database
- howmanydays() : mixed
- viewhols() : mixed
- showevents() : mixed
- approve() : null
- TODO add description etc
- GetUser() : mixed
- GetHolEntitlement() : mixed
- listtools() : mixed
- do_active() : mixed
- do_active_update() : mixed
- deljob() : mixed
- Edittool() : mixed
- Addtool() : mixed
- do_Edittool() : mixed
- do_Addtool() : mixed
- comment() : mixed
- is_logged_in() : userid
- global function for checking whether user is logged in or not.
- check_logged_in() : mixed
- checks whether user is logged in. If not redirects to the login page (index)
- is_logged_in_admin() : mixed
- msg_redirect() : mixed
- check_user() : mixed
- If user isn't valid for given level (or 4), this will redirect to main.
- check_user_main() : mixed
- Returns current users usermode.
- check_superuser() : mixed
- inpostvalue() : string
- check whether a value is in $_POST and return the value or an empty string
- datediff() : mixed
- jars_insert() : int
- jars_insert
- jars_error() : mixed
- add_date() : mixed
- getHolidays() : mixed
- getHolidays creates a list of bank holidays we should actually use the official govt file from gov.uk/bank_hoidays.json
- external_cmd() : mixed
- sendIcalEvent() : mixed
- pagelist() : string
- Creates a string containing a list of links to pages
- IsReal() : true
- Determine if a mysql column type requires left alignment
- get_sig() : img
- Little function to create an img element with a signature if the signature img exists - tries using initals as-is, of not, then using lowercase - TODO take userid and use numerical sig file
- base32_encode() : string
- Base32 encode for use in 2fa
- make_radio() : mixed
- make_radio create entry for radio button
- icon() : mixed
- searchform() : mixed
- display a search form requires the action module to have a 'do_search' action
- showPageList() : mixed
- date_adjust() : mixed
- little function to return the date offset for the friday of the specified week replaces the switch/case statements used widely in pre-mp code
- debugPost() : mixed
- display_message() : mixed
- TblCheckbox() : mixed
- Table Checkbox.
- two_dp() : mixed
- printDayHeaders() : mixed
- bookedtime() : mixed
- Functions for handling hours logged to jobs
- addtime() : mixed
- outputs columns for hours each day of the week + a column total for the week
- showDailyHoursForJob() : mixed
- signin_dates() : mixed
- getUserJobSummaryForPeriod() : mixed
- get all jobs where the given user has logged time within the date period
- getHrsForUserJob() : mixed
- getDoorRecs() : mixed
- time_diff() : mixed
- cell() : mixed
- cell2() : mixed
- cell with automatice check of user level
- cell_bl() : mixed
- nav_menu() : mixed
- breakdown() : mixed
- timesheets_menu() : mixed
- jobs_menu() : mixed
- misc1_menu() : mixed
- misc2_menu() : mixed
- misc3_menu() : mixed
- iso9001_menu() : mixed
- approver_menu() : mixed
- admin_menu() : mixed
- kpi_menu() : mixed
- extras_menu() : mixed
- jars_mail() : mixed
- index() : mixed
- login_form() : mixed
- do_login() : mixed
- do_login_fail() : mixed
- top() : mixed
- bottom() : mixed
- safe_get() : mixed
- check_ldap() : mixed
- Llist() : mixed
- Editjob() : mixed
- Add() : mixed
- do_Editjob() : mixed
- do_Addjob() : mixed
- Llist() : mixed
- SelectProcess() : mixed
- Editjob() : mixed
- Add() : mixed
- do_Editjob() : mixed
- do_Addjob() : mixed
- Llist() : mixed
- Editjob() : mixed
- Add() : mixed
- do_Editjob() : mixed
- do_Addjob() : mixed
- index() : mixed
- archive() : mixed
- _exec() : mixed
- info() : mixed
- head() : mixed
- main() : mixed
- showlist() : mixed
- header_table() : mixed
- debugtable() : mixed
- table() : mixed
- edit_table() : mixed
- pdf_table() : mixed
- formsubmit() : mixed
- editsubmit() : mixed
- generate_pdf() : mixed
- add() : mixed
- edit() : mixed
- jobsearch() : mixed
- getActiveJobs() : mixed
- theader() : mixed
- tcell() : mixed
- listjobs() : mixed
- selectcustomer() : mixed
- link_clean() : mixed
- highlight() : mixed
- do_active() : mixed
- do_active_update() : mixed
- deljob() : mixed
- Editjob() : mixed
- Addjob() : mixed
- do_Editjob() : mixed
- do_Addjob() : mixed
- index() : mixed
- theader() : mixed
- tcell() : mixed
- listjobs() : mixed
- selectcustomer() : mixed
- link_clean() : mixed
- do_search() : mixed
- highlight() : mixed
- do_active() : mixed
- do_active_update() : mixed
- deljob() : mixed
- Editjob() : mixed
- Addjob() : mixed
- do_Editjob() : mixed
- do_Addjob() : mixed
- index() : mixed
- index() : mixed
- div_heading() : mixed
- report() : mixed
- cclist() : mixed
- invoicelist() : mixed
- jobreport() : mixed
- lessonlearntreport() : mixed
- designreview() : mixed
- link_clean() : mixed
- index() : mixed
- checktime() : mixed
- jobsummary() : mixed
- index() : mixed
- do_addtime() : mixed
- parsedates() : mixed
- edittime() : mixed
- do_edit() : mixed
- Edit_time() : mixed
- Edit_time_1() : mixed
- bulk() : mixed
- getJobsByTimesheetID() : mixed
- getTimeSheet() : mixed
- do_addHours() : mixed
- index() : mixed
- SelectJobsForm() : mixed
- ShowHours() : mixed
- do_move() : mixed
- getHours() : mixed
- getTgtJob() : mixed
- listjobs() : mixed
- runreport() : mixed
- report_summary() : mixed
- html_header() : mixed
- report_detail() : mixed
- report_main() : mixed
- index() : mixed
- OrderList() : mixed
- OrderJobList() : mixed
- edit() : mixed
- editOrderForm() : mixed
- details() : mixed
- view() : mixed
- addJobForm() : mixed
- add() : mixed
- OrderForm() : mixed
- add_job() : mixed
- remove_job() : mixed
- getOrder() : mixed
- getAllOrders() : mixed
- getList() : mixed
- getOrderJobs() : mixed
- getCustomers() : mixed
- getCustomerJobList() : mixed
- do_add() : mixed
- edit_order() : mixed
- IndividualRecord() : mixed
- ascii2entities() : mixed
- CompleteJobRecord() : mixed
- IndividualRecord() : mixed
- ascii2entities() : mixed
- CompleteJobRecord() : mixed
- IndividualRecord() : mixed
- ascii2entities() : mixed
- IndividualRecord() : mixed
- ascii2entities() : mixed
- payrollreport() : mixed
- main() : mixed
- GetHeader() : mixed
- GetFooter() : mixed
- main() : mixed
- main() : mixed
- parsedates() : mixed
- parsedates_hydro() : mixed
- parsedates_hydro_job() : mixed
- parsedates_hydro_job_2() : mixed
- parsedates_jobs() : mixed
- showtime_jobs() : mixed
- showtime() : mixed
- showtime_jobs_2() : mixed
- parsedates() : mixed
- parsedates_hydro() : mixed
- parsedates_hydro_job() : mixed
- parsedates_hydro_job_2() : mixed
- parsedates_jobs() : mixed
- showtime_jobs() : mixed
- showtime() : mixed
- showtime_jobs_2() : mixed
- parsedates() : mixed
- parsedates_hydro() : mixed
- parsedates_hydro_job() : mixed
- parsedates_hydro_job_2() : mixed
- parsedates_jobs() : mixed
- showtime_jobs() : mixed
- showtime() : mixed
- showtime_jobs_2() : mixed
- parsedates() : mixed
- parsedates_hydro() : mixed
- parsedates_hydro_job() : mixed
- parsedates_hydro_job_2() : mixed
- parsedates_jobs() : mixed
- showtime_jobs() : mixed
- showtime() : mixed
- showtime_jobs_2() : mixed
- GetHeader() : mixed
- GetFooter() : mixed
- main() : mixed
- main() : mixed
- parsedates() : mixed
- parsedates_jobs() : mixed
- showtime_jobs() : mixed
- showtime() : mixed
- GetHeader() : mixed
- GetFooter() : mixed
- runreport() : mixed
- main() : mixed
- GetHeader() : mixed
- GetFooter() : mixed
- main() : mixed
- main() : mixed
- AddDoc() : mixed
- doAdd() : mixed
- PadL() : mixed
- PadL() : mixed
- listreports() : mixed
- do_activate() : mixed
- do_approve_update() : mixed
- addReport() : mixed
- do_Add() : mixed
- CriteriaField2() : mixed
- CriteriaField() : mixed
- editReport() : mixed
- reportForm() : mixed
- do_Edit() : mixed
- fieldlist() : mixed
- typelist() : mixed
- index() : mixed
- getReportList() : mixed
- getReportCount() : mixed
- getReport() : mixed
- listreports() : mixed
- runreport() : mixed
- build_list() : mixed
- listreports() : mixed
- runreport() : mixed
- build_list() : mixed
- listreports() : mixed
- runreport() : mixed
- build_list() : mixed
- listreports() : mixed
- runreport() : mixed
- build_list() : mixed
- index() : mixed
- emptyrow() : mixed
- showtime() : mixed
- parsedates() : mixed
- parsedates_hydro() : mixed
- parsedates_hydro_job() : mixed
- parsedates_jobs() : mixed
- jobs() : mixed
- showtime_jobs() : mixed
- header1() : mixed
- footer() : mixed
- index() : mixed
- DateSelectorForm() : mixed
- tcell() : mixed
- showTable() : mixed
- getSickTime() : mixed
- getSickList() : mixed
- table() : mixed
- detailsection() : mixed
- detail_tool() : mixed
- details2() : mixed
- project_date() : mixed
- index() : mixed
- getThing() : mixed
- getStuffList() : mixed
- getTotp() : mixed
- checktotp() : mixed
- index() : mixed
- Logout() : mixed
- EditMyInfo() : mixed
- EditMyInfo_form() : mixed
- do_EditMyInfo() : mixed
- Activate() : mixed
- domainpasswords() : mixed
- function to redirect to main if called
- show_2fa() : mixed
- ENABLE 2FA
- index() : mixed
- checktime() : mixed
- wishlist() : mixed
- Editjob() : mixed
- Add() : mixed
- do_Editjob() : mixed
- do_Addjob() : mixed
- ascii2entities() : mixed
Constants
_ADMIN_LOGIN_ERR
public
mixed
_ADMIN_LOGIN_ERR
= "Error login: Please check admin username or password"
_ALREADY_TAKEN
public
mixed
_ALREADY_TAKEN
= "(Already Taken!.)"
_CHANGE_MY_INFO
public
mixed
_CHANGE_MY_INFO
= "Change My Info"
_CHANGE_MY_INFORMATION
public
mixed
_CHANGE_MY_INFORMATION
= "Change my information:"
_CHANGE_MY_PASSWORD
public
mixed
_CHANGE_MY_PASSWORD
= "Change Password"
_CHANGE_MY_PWD
public
mixed
_CHANGE_MY_PWD
= "Change My Password"
_CHANGE_PWD
public
mixed
_CHANGE_PWD
= "Change Password"
_CHARSET
public
mixed
_CHARSET
= ""
_CITY
public
mixed
_CITY
= "City"
_CLICK_HERE_BROWSER_REDIRECT
public
mixed
_CLICK_HERE_BROWSER_REDIRECT
= "Click here if your browser doesn't support redirecting."
_CONFIRM_NEW_PWD
public
mixed
_CONFIRM_NEW_PWD
= "Confirm New Password"
_COUNTRY
public
mixed
_COUNTRY
= "Country"
_DEL
public
mixed
_DEL
= "Del"
_DELETE
public
mixed
_DELETE
= "Delete"
_DONT_RESPOND_WILL_IGNORED
public
mixed
_DONT_RESPOND_WILL_IGNORED
= "Please do not respond to this email as it may be ignored."
_EDIT
public
mixed
_EDIT
= "Edit"
_EG
public
mixed
_EG
= "eg."
_EMAIL
public
mixed
_EMAIL
= "Email"
_EMAIL_DIE
public
mixed
_EMAIL_DIE
= "Failed sending registration email, please report this to the webmaster ({$site_email})"
_ERROR_INVALID_EMAIL
public
mixed
_ERROR_INVALID_EMAIL
= "Error: Invalid email address."
_ERROR_NEW_PWD_DOESNT_MATCH
public
mixed
_ERROR_NEW_PWD_DOESNT_MATCH
= "Error: The new password doen't match!."
_ERROR_PASSWORD_DOESNT_MATCH
public
mixed
_ERROR_PASSWORD_DOESNT_MATCH
= "<b>Error:</b> Password doesn't match."
_ERROR_PLEASE_FILL_FIELDS
public
mixed
_ERROR_PLEASE_FILL_FIELDS
= "<b>Error:</b> Please fill all fields with (*) ."
_FIELDS_WITH_STAR_ARE_REQUIRED
public
mixed
_FIELDS_WITH_STAR_ARE_REQUIRED
= "Fields marked with a * are required."
_FILED_STAR_REQUIRED
public
mixed
_FILED_STAR_REQUIRED
= "Fields marked with a (*) are required."
_FORGOT_PASSWORD
public
mixed
_FORGOT_PASSWORD
= "Forgot password?"
_FROM
public
mixed
_FROM
= "from"
_FULLNAME
public
mixed
_FULLNAME
= "Full Name"
_GOBACK
public
mixed
_GOBACK
= "[ <a href=\"javascript:history.go(-1)\">Go Back</a> ]"
_GOHOME
public
mixed
_GOHOME
= "[ <a href=\"index.php\">Home</a> ]"
_HELLO
public
mixed
_HELLO
= "Hello"
_HERE_ISIT_BELOW
public
mixed
_HERE_ISIT_BELOW
= "Here it is below."
_HOME
public
mixed
_HOME
= "Home"
_LAST_LOGIN
public
mixed
_LAST_LOGIN
= "Last login"
_LOGIN
public
mixed
_LOGIN
= "Login"
_LOGIN_ERROR
public
mixed
_LOGIN_ERROR
= "Login error. Please check username/password."
_LOGIN_SUCCESS
public
mixed
_LOGIN_SUCCESS
= "Login success please wait ..."
_LOGOUT
public
mixed
_LOGOUT
= "Logout"
_LTR_RTL
public
mixed
_LTR_RTL
= "ltr"
_MY_ACCOUNT
public
mixed
_MY_ACCOUNT
= "My Account"
_NEW_PASSWORD
public
mixed
_NEW_PASSWORD
= "New password"
_NEW_PASSWORD_SENT_WAIT
public
mixed
_NEW_PASSWORD_SENT_WAIT
= "Your new Password has been sent to your email. <br> Please wait ..."
_NEW_PWD
public
mixed
_NEW_PWD
= "New Password"
_NEW_PWD_SENT_TO_YOUR_EMAIL
public
mixed
_NEW_PWD_SENT_TO_YOUR_EMAIL
= "New password has been sent to your email."
_NOT_AUTHORIZED
public
mixed
_NOT_AUTHORIZED
= "Error: You are not authorized to access this page."
_NOT_YET
public
mixed
_NOT_YET
= "Not Yet!"
_OLD_PWD
public
mixed
_OLD_PWD
= "Old Password"
_OLD_PWD_DONT_MATCH
public
mixed
_OLD_PWD_DONT_MATCH
= "Error: Old password doesn't match the one in our database."
_ON
public
mixed
_ON
= "on"
_ONCE_CHANGED_LOGOUT
public
mixed
_ONCE_CHANGED_LOGOUT
= "<br />Once your password has been changed, you will be logged out automatically."
_PASSWORD
public
mixed
_PASSWORD
= "Domain Password"
_PLEASE_ENTER_YOUR_USER
public
mixed
_PLEASE_ENTER_YOUR_USER
= "Please enter your username and password to login."
_PLZ_DONT_FORGOT_PWD
public
mixed
_PLZ_DONT_FORGOT_PWD
= "Please do not forget your password as it has been encrypted in our database and we cannot retrieve it for you. However, should you forget your password you can request a new one which will be sent to your email."
_PLZ_KEEP_THIS_EMAIL
public
mixed
_PLZ_KEEP_THIS_EMAIL
= "Please keep this email for your records. Your account information is as follows:"
_PLZ_REMEBER_NEW_PWS
public
mixed
_PLZ_REMEBER_NEW_PWS
= "Please remember your new password."
_PLZ_WAIT
public
mixed
_PLZ_WAIT
= "Please wait ..."
_PROFILE
public
mixed
_PROFILE
= "Profile"
_REDIRECTING
public
mixed
_REDIRECTING
= "Redirecting ... "
_REG_FORM
public
mixed
_REG_FORM
= "Registration Form"
_REG_SUCCESS
public
mixed
_REG_SUCCESS
= "Registration was successful and you can now login"
_REG_SUCCESS_VALIDATE
public
mixed
_REG_SUCCESS_VALIDATE
= "Registration was successful. <br> Please go and check your email. <br> You'll find how to activate your account."
_REGISTER
public
mixed
_REGISTER
= "Register"
_REMEBER_ME
public
mixed
_REMEBER_ME
= "Remember me for 2 weeks"
_REQUIRED
public
mixed
_REQUIRED
= "Required!"
_RETYPE_PASSWORD
public
mixed
_RETYPE_PASSWORD
= "Re-type Password"
_SAVE_CHANGES
public
mixed
_SAVE_CHANGES
= "Save Changes"
_SAVECHANGES
public
mixed
_SAVECHANGES
= "Save Changes"
_SEARCH
public
mixed
_SEARCH
= "Search"
_SEND_NEW_PASSWORD
public
mixed
_SEND_NEW_PASSWORD
= "Send me a new password"
_SEND_PASSWORD
public
mixed
_SEND_PASSWORD
= "Send password"
_SUCCESS_PWD_CHANGED
public
mixed
_SUCCESS_PWD_CHANGED
= "Success: Your password has been changed."
_TEL_MOBILE
public
mixed
_TEL_MOBILE
= "Tel/Mobile"
_THANKS
public
mixed
_THANKS
= "Thanks"
_THANKS_FOR_REGISTERING
public
mixed
_THANKS_FOR_REGISTERING
= "Thank you for registering."
_THE_EMAIL
public
mixed
_THE_EMAIL
= "The email"
_THIS_EMAIL_AUTO_GENERATED
public
mixed
_THIS_EMAIL_AUTO_GENERATED
= "This email was automatically generated."
_USERNAME
public
mixed
_USERNAME
= "Username"
_VALIDATE_DONE
public
mixed
_VALIDATE_DONE
= "Congratulations!. <br> Your account has been activated successfully. <br> You can now login."
_VALIDATE_EMAIL
public
mixed
_VALIDATE_EMAIL
= "Validation & login information"
_VALIDATE_ERROR
public
mixed
_VALIDATE_ERROR
= "Error in validation code. Maybe it's already used."
_VALIDATE_ERROR_LOGIN
public
mixed
_VALIDATE_ERROR_LOGIN
= "Error logging in. <br> Your account is not active. <br> Please check your email on how to activate your account."
_WEBSITE
public
mixed
_WEBSITE
= "Website"
_WELCOME
public
mixed
_WELCOME
= "Welcome"
_WELCOME_TO
public
mixed
_WELCOME_TO
= "Welcome to"
_WRONG_USEREMAIL
public
mixed
_WRONG_USEREMAIL
= "Error: Wrong username/email"
_YOU_ARE_RECEIVING_EMAIL
public
mixed
_YOU_ARE_RECEIVING_EMAIL
= "You are receiving this email because you have (or someone pretending to be you has) requested a new password be sent for your account on the "
_YOU_CAN_OFCOURSE_CHANGE_PWS
public
mixed
_YOU_CAN_OFCOURSE_CHANGE_PWS
= "You can of course change this password yourself. If you have any difficulties please contact the webmaster."
_YOU_MAY_LOGIN_BELOW
public
mixed
_YOU_MAY_LOGIN_BELOW
= "You may login below:"
_YOUR_ACCOUNT_IS_CURRENTLY_ACTIVE
public
mixed
_YOUR_ACCOUNT_IS_CURRENTLY_ACTIVE
= "Your account is currently active. You can use it by visiting the following link:"
_YOUR_ACCOUNT_IS_NOT_ACTIVE
public
mixed
_YOUR_ACCOUNT_IS_NOT_ACTIVE
= "Your account is currently NOT active. Please click following link to activate your account now."
_YOUR_INFO_AT
public
mixed
_YOUR_INFO_AT
= "Your login information"
_YOUR_INFO_HAS_BEEN_CHANGES
public
mixed
_YOUR_INFO_HAS_BEEN_CHANGES
= "Your information has been successfully changed."
HEAD_MAGNIFICATION
public
mixed
HEAD_MAGNIFICATION
= 1.1
K_BLANK_IMAGE
public
mixed
K_BLANK_IMAGE
= \K_PATH_IMAGES . '_blank.png'
K_CELL_HEIGHT_RATIO
public
mixed
K_CELL_HEIGHT_RATIO
= 1.25
K_PATH_CACHE
public
mixed
K_PATH_CACHE
= $_SERVER['DOCUMENT_ROOT'] . '/pdfs/cache/'
K_PATH_FONTS
public
mixed
K_PATH_FONTS
= \K_PATH_MAIN . 'fonts/'
K_PATH_IMAGES
public
mixed
K_PATH_IMAGES
= $_SERVER['DOCUMENT_ROOT'] . '/images/'
K_PATH_MAIN
public
mixed
K_PATH_MAIN
= $_SERVER['DOCUMENT_ROOT'] . '/vendor/tecnickcom/tcpdf/'
K_PATH_URL
public
mixed
K_PATH_URL
= \K_PATH_MAIN
K_PATH_URL_CACHE
public
mixed
K_PATH_URL_CACHE
= \K_PATH_CACHE
K_SMALL_RATIO
public
mixed
K_SMALL_RATIO
= 2 / 3
K_TCPDF_CALLS_IN_HTML
public
mixed
K_TCPDF_CALLS_IN_HTML
= \true
K_TCPDF_EXTERNAL_CONFIG
public
mixed
K_TCPDF_EXTERNAL_CONFIG
= \true
K_TCPDF_EXTERNAL_CONFIG
public
mixed
K_TCPDF_EXTERNAL_CONFIG
= true
K_TCPDF_EXTERNAL_CONFIG
public
mixed
K_TCPDF_EXTERNAL_CONFIG
= \true
K_TCPDF_EXTERNAL_CONFIG
public
mixed
K_TCPDF_EXTERNAL_CONFIG
= \true
K_TCPDF_EXTERNAL_CONFIG
public
mixed
K_TCPDF_EXTERNAL_CONFIG
= \true
K_TCPDF_EXTERNAL_CONFIG
public
mixed
K_TCPDF_EXTERNAL_CONFIG
= \true
K_TCPDF_EXTERNAL_CONFIG
public
mixed
K_TCPDF_EXTERNAL_CONFIG
= \true
K_TCPDF_EXTERNAL_CONFIG
public
mixed
K_TCPDF_EXTERNAL_CONFIG
= true
K_TCPDF_EXTERNAL_CONFIG
public
mixed
K_TCPDF_EXTERNAL_CONFIG
= \true
K_THAI_TOPCHARS
public
mixed
K_THAI_TOPCHARS
= \true
K_TITLE_MAGNIFICATION
public
mixed
K_TITLE_MAGNIFICATION
= 1.3
PDF_AUTHOR
public
mixed
PDF_AUTHOR
= 'JARS'
PDF_CREATOR
public
mixed
PDF_CREATOR
= 'Amtek'
PDF_FONT_MONOSPACED
public
mixed
PDF_FONT_MONOSPACED
= 'courier'
PDF_FONT_NAME_DATA
public
mixed
PDF_FONT_NAME_DATA
= 'helvetica'
PDF_FONT_NAME_MAIN
public
mixed
PDF_FONT_NAME_MAIN
= 'helvetica'
PDF_FONT_SIZE_DATA
public
mixed
PDF_FONT_SIZE_DATA
= 8
PDF_FONT_SIZE_MAIN
public
mixed
PDF_FONT_SIZE_MAIN
= 10
PDF_HEADER_LOGO
public
mixed
PDF_HEADER_LOGO
= 'amtek_header.png'
PDF_HEADER_LOGO_WIDTH
public
mixed
PDF_HEADER_LOGO_WIDTH
= 100
PDF_HEADER_STRING
public
mixed
PDF_HEADER_STRING
= ''
PDF_HEADER_TITLE
public
mixed
PDF_HEADER_TITLE
= ''
PDF_IMAGE_SCALE_RATIO
public
mixed
PDF_IMAGE_SCALE_RATIO
= 1.2
PDF_MARGIN_BOTTOM
public
mixed
PDF_MARGIN_BOTTOM
= 5
PDF_MARGIN_FOOTER
public
mixed
PDF_MARGIN_FOOTER
= 5
PDF_MARGIN_HEADER
public
mixed
PDF_MARGIN_HEADER
= 5
PDF_MARGIN_LEFT
public
mixed
PDF_MARGIN_LEFT
= 15
PDF_MARGIN_RIGHT
public
mixed
PDF_MARGIN_RIGHT
= 15
PDF_MARGIN_TOP
public
mixed
PDF_MARGIN_TOP
= 35
PDF_PAGE_FORMAT
public
mixed
PDF_PAGE_FORMAT
= 'A4'
PDF_PAGE_ORIENTATION
public
mixed
PDF_PAGE_ORIENTATION
= 'P'
PDF_UNIT
public
mixed
PDF_UNIT
= 'mm'
SHOW_MY_HOLIDAYS
public
mixed
SHOW_MY_HOLIDAYS
= "<input type='button' style='margin:0 3em' class='pseudobtn_s' value=\"Show My Holidays\" " . " onclick=\"window.open('hols-details.php','','width=800,height=400,status=no,toolbar=no,menubar=no,scrollbars=1')\">"
Functions
main()
main() : mixed
main_table()
main_table(mixed $result_users) : mixed
Parameters
- $result_users : mixed
visitors_table()
visitors_table(mixed $result) : mixed
Parameters
- $result : mixed
getUserName()
getUserName(mixed $userid) : mixed
Parameters
- $userid : mixed
getLastDoorEntry()
getLastDoorEntry(mixed $userid) : mixed
Parameters
- $userid : mixed
toggle()
toggle() : mixed
toggle2()
toggle2() : mixed
visitor()
visitor() : mixed
t_visitor()
t_visitor() : mixed
do_add()
do_add() : mixed
qry()
qry(mixed $qrytext) : mixed
Parameters
- $qrytext : mixed
main()
main() : mixed
send()
send() : mixed
report()
report(mixed $job) : mixed
Parameters
- $job : mixed
check()
check(mixed $jobid, mixed $adj) : mixed
Parameters
- $jobid : mixed
- $adj : mixed
report()
report(mixed $qry) : mixed
Parameters
- $qry : mixed
report2()
report2(mixed $qry) : mixed
Parameters
- $qry : mixed
report3()
report3(mixed $qry) : mixed
Parameters
- $qry : mixed
minus_1()
minus_1(mixed $givendate) : mixed
Parameters
- $givendate : mixed
main()
main() : mixed
parsetool()
parsetool(mixed $id) : mixed
Parameters
- $id : mixed
toggle()
toggle() : mixed
change()
change() : mixed
invoice()
invoice() : mixed
buttons()
buttons() : mixed
main()
main() : mixed
addline()
addline() : mixed
status()
status() : mixed
runreport()
runreport(mixed $id, mixed $fullname, mixed $email, mixed $from) : mixed
Parameters
- $id : mixed
- $fullname : mixed
- $email : mixed
- $from : mixed
radio_validate()
radio_validate(mixed $validate) : mixed
Parameters
- $validate : mixed
set_up()
set_up() : mixed
save()
save() : mixed
runreport()
runreport(mixed $id, mixed $fullname, mixed $email) : mixed
Parameters
- $id : mixed
- $fullname : mixed
- $email : mixed
Users()
Users() : mixed
addUserForm()
addUserForm() : mixed
EditUser()
EditUser() : mixed
EditUserForm()
EditUserForm() : mixed
delUser()
delUser() : mixed
do_EditUser()
do_EditUser() : mixed
do_addUser()
do_addUser() : mixed
main()
main() : mixed
hd()
hd() : mixed
listsites()
listsites() : mixed
EditSite()
EditSite() : mixed
EditSiteForm()
EditSiteForm() : mixed
do_editSite()
do_editSite() : mixed
do_update()
do_update() : mixed
do_active_update()
do_active_update(mixed $row1) : mixed
Parameters
- $row1 : mixed
table()
table(mixed $qry[, mixed $drill = 0 ]) : mixed
Parameters
- $qry : mixed
- $drill : mixed = 0
detailsection()
detailsection(mixed $job, mixed $y) : mixed
Parameters
- $job : mixed
- $y : mixed
detail_tool()
detail_tool(mixed $job, mixed $tool, mixed $y) : mixed
Parameters
- $job : mixed
- $tool : mixed
- $y : mixed
details2()
details2(mixed $type, mixed $forecast[, mixed $delivery = "" ]) : mixed
Parameters
- $type : mixed
- $forecast : mixed
- $delivery : mixed = ""
project_date()
project_date(mixed $job) : mixed
Parameters
- $job : mixed
week_day()
week_day() : mixed
cookies()
cookies(mixed $user) : mixed
Parameters
- $user : mixed
dse_query()
dse_query(mixed $user, mixed $computer) : mixed
Parameters
- $user : mixed
- $computer : mixed
invite()
invite(mixed $id, mixed $computer) : mixed
Parameters
- $id : mixed
- $computer : mixed
index()
index() : mixed
do_active()
do_active() : mixed
do_active_update()
do_active_update(mixed $row1) : mixed
Parameters
- $row1 : mixed
addUser()
addUser() : mixed
editUser()
editUser() : mixed
UserForm()
UserForm(mixed $action, mixed $src) : mixed
Parameters
- $action : mixed
- $src : mixed
delUser()
delUser() : mixed
do_EditUser()
do_EditUser() : mixed
check_email()
check_email(mixed $id, mixed $email) : mixed
Parameters
- $id : mixed
- $email : mixed
do_addUser()
do_addUser() : mixed
SendEmail()
SendEmail() : mixed
do_SendEmail()
do_SendEmail() : mixed
SendAll()
SendAll() : mixed
do_SendAll()
do_SendAll() : mixed
enable_2fa()
ENABLE 2FA
enable_2fa(mixed $makenew) : mixed
Parameters
- $makenew : mixed
getUserList()
getUserList(mixed $pg, mixed $showAll) : mixed
Parameters
- $pg : mixed
- $showAll : mixed
getUserCount()
getUserCount(mixed $showAll) : mixed
Parameters
- $showAll : mixed
getUser()
getUser(mixed $id) : mixed
Parameters
- $id : mixed
checkDateTime()
checkDateTime(mixed $data) : mixed
Parameters
- $data : mixed
timesheets()
timesheets() : mixed
checktime()
checktime(mixed $userid, mixed $week) : mixed
Parameters
- $userid : mixed
- $week : mixed
do_approve()
do_approve() : mixed
listjobs()
listjobs() : mixed
hols()
hols() : mixed
whatday()
whatday: given a date string, gives us the three letter day of the week. eg 'Mon'
whatday(string $date) : string
@param $date string
Parameters
- $date : string
Return values
string —three letter version of the day of the week
index()
index() : mixed
do_hol_approve()
do_hol_approve() : mixed
do_hol_approve_update()
do_hol_approve_update(mixed $row1, mixed $userid1) : mixed
Parameters
- $row1 : mixed
- $userid1 : mixed
getUnapprovedJobs()
getUnapprovedJobs(mixed $userid, mixed $startdate, mixed $enddate) : mixed
Parameters
- $userid : mixed
- $startdate : mixed
- $enddate : mixed
main()
main() : mixed
cc_authorisation()
cc_authorisation(mixed $cc_id) : mixed
Parameters
- $cc_id : mixed
q_authorisation()
q_authorisation(mixed $job_code_crc, mixed $quote_ref_crc) : mixed
Parameters
- $job_code_crc : mixed
- $quote_ref_crc : mixed
formsubmit()
formsubmit() : mixed
ascii2entities()
ascii2entities(mixed $string) : mixed
Parameters
- $string : mixed
ListBH()
ListBH() : mixed
delBH()
delBH() : mixed
EditBH()
EditBH() : mixed
AddBH()
AddBH() : mixed
do_AddBH()
do_AddBH() : mixed
do_EditBH()
do_EditBH() : mixed
SelectYear()
SelectYear() : mixed
queryhols()
queryhols() : mixed
posthols()
posthols() : mixed
index()
index() : mixed
checktime()
checktime() : mixed
report()
report(mixed $jobid) : mixed
Parameters
- $jobid : mixed
Llist()
Llist() : mixed
do_search()
do_search() : mixed
highlight()
highlight(mixed $haystack, mixed $needle) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
do_active()
do_active() : mixed
do_active_update()
do_active_update(mixed $row1) : mixed
Parameters
- $row1 : mixed
deljob()
deljob() : mixed
Editjob()
Editjob() : mixed
Add()
Add() : mixed
do_Editjob()
do_Editjob() : mixed
do_Addjob()
do_Addjob() : mixed
Llist()
Llist() : mixed
getHolidays()
getHolidays([mixed $year = null ]) : mixed
Parameters
- $year : mixed = null
List_Cust()
List_Cust() : mixed
delcust()
delcust() : mixed
do_search()
do_search() : mixed
highlight()
highlight(mixed $haystack, mixed $needle) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
EditCustForm()
EditCustForm() : mixed
AddCustForm()
AddCustForm() : mixed
do_Editcust()
do_Editcust() : mixed
do_Addcust()
do_Addcust() : mixed
index()
index() : mixed
main()
main() : mixed
AddDoc()
AddDoc() : mixed
doAdd()
doAdd() : mixed
theader()
theader(mixed $content[, mixed $wd = '8em' ]) : mixed
Parameters
- $content : mixed
- $wd : mixed = '8em'
tcell()
tcell(mixed $content) : mixed
Parameters
- $content : mixed
index()
index() : mixed
displayitem()
displayitem(mixed $key, mixed $value) : mixed
Parameters
- $key : mixed
- $value : mixed
showEngineers()
showEngineers(mixed $jobid) : mixed
Parameters
- $jobid : mixed
saveForecast()
saveForecast() : mixed
saveDelivery()
saveDelivery() : mixed
msgline()
msgline(mixed $key, mixed $value) : mixed
Parameters
- $key : mixed
- $value : mixed
saveReview()
saveReview() : mixed
showform()
showform(mixed $jobid) : mixed
Parameters
- $jobid : mixed
showdates()
showdates() : mixed
getJobDates()
getJobDates(mixed $jobid) : mixed
Parameters
- $jobid : mixed
getFailReasons()
getFailReasons() : mixed
getJobCode()
getJobCode(mixed $jobid) : mixed
Parameters
- $jobid : mixed
getJob()
getJob(mixed $jobid) : mixed
Parameters
- $jobid : mixed
List_Cust()
List_Cust() : mixed
do_search()
do_search() : mixed
highlight()
highlight(mixed $haystack, mixed $needle) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
delcust()
delcust() : mixed
Editcust()
Editcust() : mixed
Addcust()
Addcust() : mixed
custForm()
custForm(mixed $action, mixed $src[, mixed $page = 1 ]) : mixed
Parameters
- $action : mixed
- $src : mixed
- $page : mixed = 1
GetPackages()
GetPackages() : mixed
prepare()
prepare() : mixed
index()
index() : mixed
do_Editcust()
do_Editcust() : mixed
do_Addcust()
do_Addcust() : mixed
getCustomerList()
getCustomerList(mixed $pg) : mixed
Parameters
- $pg : mixed
getCustomerCount()
getCustomerCount() : mixed
link_clean()
link_clean(mixed $link) : mixed
Parameters
- $link : mixed
Llist()
Llist() : mixed
do_active()
do_active() : mixed
do_active_update()
do_active_update(mixed $row1) : mixed
Parameters
- $row1 : mixed
Editjob()
Editjob() : mixed
Add()
Add() : mixed
do_Editjob()
do_Editjob() : mixed
do_Addjob()
do_Addjob() : mixed
doAddDoc()
doAddDoc() : mixed
main()
main() : mixed
formsubmit()
formsubmit() : mixed
chart_internal()
chart_internal() : mixed
chart_external()
chart_external() : mixed
Llist()
Llist() : mixed
do_active()
do_active() : mixed
do_active_update()
do_active_update(mixed $row1) : mixed
Parameters
- $row1 : mixed
Editjob()
Editjob() : mixed
Add()
Add() : mixed
do_Editjob()
do_Editjob() : mixed
do_Addjob()
do_Addjob() : mixed
check_user()
check_user(mixed $user) : mixed
Parameters
- $user : mixed
info()
info() : mixed
viewlist()
viewlist() : mixed
head()
head() : mixed
main()
main() : mixed
intro()
intro() : mixed
section_1()
section_1() : mixed
section_2()
section_2() : mixed
section_3()
section_3() : mixed
section_4()
section_4() : mixed
section_5()
section_5() : mixed
section_6()
section_6() : mixed
section_7()
section_7() : mixed
table()
table(mixed $qry, mixed $next) : mixed
Parameters
- $qry : mixed
- $next : mixed
formsubmit()
formsubmit() : mixed
review()
review() : mixed
reviewdetails()
reviewdetails() : mixed
reviewsubmit()
reviewsubmit() : mixed
preview()
preview() : mixed
dse_pdf()
dse_pdf(mixed $id) : mixed
Parameters
- $id : mixed
invite()
invite([mixed $id = 0 ]) : mixed
Parameters
- $id : mixed = 0
info()
info() : mixed
head()
head() : mixed
main()
main() : mixed
intro()
intro() : mixed
section_1()
section_1() : mixed
section_2()
section_2() : mixed
section_3()
section_3() : mixed
section_4()
section_4() : mixed
section_5()
section_5() : mixed
section_6()
section_6() : mixed
section_7()
section_7() : mixed
table()
table(mixed $qry, mixed $next) : mixed
Parameters
- $qry : mixed
- $next : mixed
formsubmit()
formsubmit() : mixed
review()
review() : mixed
reviewdetails()
reviewdetails() : mixed
reviewsubmit()
reviewsubmit() : mixed
preview()
preview() : mixed
dse_pdf()
dse_pdf(mixed $id) : mixed
Parameters
- $id : mixed
viewlist()
viewlist() : mixed
invite()
invite([mixed $id = 0 ]) : mixed
Parameters
- $id : mixed = 0
Llist()
Llist() : mixed
debugtable()
debugtable() : mixed
Add()
Add() : mixed
reportline()
reportline(mixed $type, mixed $header) : mixed
Parameters
- $type : mixed
- $header : mixed
lineheader()
lineheader(mixed $type) : mixed
Parameters
- $type : mixed
addline()
addline(mixed $type) : mixed
Parameters
- $type : mixed
Editjob()
Editjob() : mixed
do_Editjob()
do_Editjob() : mixed
do_Addjob()
do_Addjob() : mixed
main()
main() : mixed
formsubmit()
formsubmit() : mixed
prepare()
prepare() : mixed
message()
message() : mixed
index()
index() : mixed
hols()
hols() : mixed
cancel_hol()
cancel_hol() : mixed
whatday()
whatday(mixed $date) : mixed
Parameters
- $date : mixed
write_header()
write_header() : mixed
getHolidayList()
getHolidayList(mixed $userid, mixed $year) : mixed
Parameters
- $userid : mixed
- $year : mixed
getHolidayStatus()
getHolidayStatus(mixed $userid, mixed $year) : mixed
Parameters
- $userid : mixed
- $year : mixed
hols()
Request holiday form
hols([mixed $msg = '' ]) : null
Parameters
- $msg : mixed = ''
-
string if there is an error - show in the add holiday form
Return values
nullparsedates()
Parse Date
parsedates(mixed $start, mixed $end, mixed $id, mixed $type, mixed $enhanced) : sql
Parameters
- $start : mixed
-
unknown
- $end : mixed
-
unknown
- $id : mixed
-
unknown
- $type : mixed
-
unknown
- $enhanced : mixed
-
unknown
Return values
sql —condition unknown
whatday()
Get a day from a datetime
whatday(mixed $date) : the
Parameters
- $date : mixed
-
the date for which the day of the week is to be fetched
Return values
the —day in eg 'Fri' from a given datetime
Do_addhol()
Add a holiday to the database
Do_addhol() : null
Return values
nullhowmanydays()
howmanydays(mixed $userid, mixed $Startdate) : mixed
Parameters
- $userid : mixed
- $Startdate : mixed
viewhols()
viewhols() : mixed
showevents()
showevents(mixed $actday, mixed $firstDay) : mixed
Parameters
- $actday : mixed
- $firstDay : mixed
approve()
TODO add description etc
approve() : null
Return values
nullGetUser()
GetUser(mixed $id) : mixed
Parameters
- $id : mixed
GetHolEntitlement()
GetHolEntitlement(mixed $id) : mixed
Parameters
- $id : mixed
listtools()
listtools() : mixed
do_active()
do_active() : mixed
do_active_update()
do_active_update(mixed $row1) : mixed
Parameters
- $row1 : mixed
deljob()
deljob() : mixed
Edittool()
Edittool() : mixed
Addtool()
Addtool() : mixed
do_Edittool()
do_Edittool() : mixed
do_Addtool()
do_Addtool() : mixed
comment()
comment(mixed $data) : mixed
Parameters
- $data : mixed
is_logged_in()
global function for checking whether user is logged in or not.
is_logged_in() : userid
you will notice we will use it everwhere in the script. NB checks against database password, which therefore must have been sync'd to LDAP
Return values
userid —or 0 if not logged in also adds usermode, fullname to $USR object
- perms 2025-01-19
check_logged_in()
checks whether user is logged in. If not redirects to the login page (index)
check_logged_in() : mixed
@return userid if logged in
is_logged_in_admin()
is_logged_in_admin(mixed $admin) : mixed
Parameters
- $admin : mixed
msg_redirect()
msg_redirect(mixed $msg, mixed $url, mixed $seconds) : mixed
Parameters
- $msg : mixed
- $url : mixed
- $seconds : mixed
check_user()
If user isn't valid for given level (or 4), this will redirect to main.
check_user(mixed $user[, mixed $value = 4 ]) : mixed
Parameters
- $user : mixed
- $value : mixed = 4
check_user_main()
Returns current users usermode.
check_user_main() : mixed
deprecated - just use glocal $USR->mode
check_superuser()
check_superuser(mixed $userid) : mixed
Parameters
- $userid : mixed
inpostvalue()
check whether a value is in $_POST and return the value or an empty string
inpostvalue(string $key) : string
Parameters
- $key : string
Return values
string —value from _POST or blank if it doesn't exist
datediff()
datediff(mixed $interval, mixed $datefrom, mixed $dateto[, mixed $using_timestamps = false ]) : mixed
Parameters
- $interval : mixed
- $datefrom : mixed
- $dateto : mixed
- $using_timestamps : mixed = false
jars_insert()
jars_insert
jars_insert(string $qry[, string $redirect = '' ][, mixed $sent_id = 0 ]) : int
Parameters
- $qry : string
-
is a query to be performed should not provide a result set: suited to updates and inserts
- $redirect : string = ''
-
gives a URL to deirect to after performing the query
- $sent_id : mixed = 0
Return values
int —last insert id if not redirected
jars_error()
jars_error(mixed $errortext, mixed $redirect) : mixed
Parameters
- $errortext : mixed
- $redirect : mixed
add_date()
add_date(mixed $givendate[, mixed $day = 0 ][, mixed $mth = 0 ][, mixed $yr = 0 ]) : mixed
Parameters
- $givendate : mixed
- $day : mixed = 0
- $mth : mixed = 0
- $yr : mixed = 0
getHolidays()
getHolidays creates a list of bank holidays we should actually use the official govt file from gov.uk/bank_hoidays.json
getHolidays([mixed $year = null ]) : mixed
Parameters
- $year : mixed = null
external_cmd()
external_cmd(mixed $ext_cmd, mixed $ext_arg) : mixed
Parameters
- $ext_cmd : mixed
- $ext_arg : mixed
sendIcalEvent()
sendIcalEvent(mixed $email_message, mixed $headers, mixed $to_name, mixed $to_address, mixed $startTime, mixed $endTime, mixed $subject, mixed $description, mixed $location) : mixed
Parameters
- $email_message : mixed
- $headers : mixed
- $to_name : mixed
- $to_address : mixed
- $startTime : mixed
- $endTime : mixed
- $subject : mixed
- $description : mixed
- $location : mixed
pagelist()
Creates a string containing a list of links to pages
pagelist(int $totpages, int $currentpage, string $actionstring) : string
Parameters
- $totpages : int
-
often like ceil($totalrows/$users_per_page)
- $currentpage : int
- $actionstring : string
-
eg action=ListUsers
Return values
stringIsReal()
Determine if a mysql column type requires left alignment
IsReal(mixed $x) : true
Parameters
- $x : mixed
-
may be string or integer depending on mysql version
Return values
true —if its for example a real and wants to be right formatted
get_sig()
Little function to create an img element with a signature if the signature img exists - tries using initals as-is, of not, then using lowercase - TODO take userid and use numerical sig file
get_sig(string $initials[, mixed $path = "../admin/sigs" ]) : img
Parameters
- $initials : string
- $path : mixed = "../admin/sigs"
Return values
img —element for signature image
base32_encode()
Base32 encode for use in 2fa
base32_encode(string $data) : string
Parameters
- $data : string
Return values
string —encode data
make_radio()
make_radio create entry for radio button
make_radio(mixed $fieldname, mixed $key, mixed $text, mixed $val) : mixed
Parameters
- $fieldname : mixed
- $key : mixed
- $text : mixed
- $val : mixed
icon()
icon(mixed $name[, mixed $class = "icon" ]) : mixed
Parameters
- $name : mixed
- $class : mixed = "icon"
searchform()
display a search form requires the action module to have a 'do_search' action
searchform(mixed $action[, mixed $value = '' ][, mixed $width = '40em' ][, mixed $method = 'POST' ]) : mixed
Parameters
- $action : mixed
- $value : mixed = ''
- $width : mixed = '40em'
- $method : mixed = 'POST'
showPageList()
showPageList(mixed $currentPage, mixed $totalPages[, mixed $extraParms = '' ]) : mixed
Parameters
- $currentPage : mixed
- $totalPages : mixed
- $extraParms : mixed = ''
date_adjust()
little function to return the date offset for the friday of the specified week replaces the switch/case statements used widely in pre-mp code
date_adjust(mixed $weekdiff) : mixed
Parameters
- $weekdiff : mixed
debugPost()
debugPost() : mixed
display_message()
display_message() : mixed
TblCheckbox()
Table Checkbox.
TblCheckbox(mixed $field[, mixed $ttl = '' ][, mixed $indent = " " ]) : mixed
Converts a boolean/tinyint to display as a readonly checkbox
Parameters
- $field : mixed
-
number field value @return null
- $ttl : mixed = ''
- $indent : mixed = " "
two_dp()
two_dp(mixed $num[, mixed $empty = '' ]) : mixed
Parameters
- $num : mixed
- $empty : mixed = ''
printDayHeaders()
printDayHeaders(mixed $datestring[, mixed $class = 'dayhead' ][, mixed $style = '' ]) : mixed
Parameters
- $datestring : mixed
- $class : mixed = 'dayhead'
- $style : mixed = ''
bookedtime()
Functions for handling hours logged to jobs
bookedtime(mixed $userid) : mixed
Parameters
- $userid : mixed
Tags
addtime()
outputs columns for hours each day of the week + a column total for the week
addtime() : mixed
@param mysqli_result::fetch_object $job (t.ts_job,j.job_code,j.job_name,j.job_budget_hours,j.job_type, c.cust_name)
showDailyHoursForJob()
showDailyHoursForJob(mixed $job, mixed $userid, mixed $adj, mixed $dow) : mixed
Parameters
- $job : mixed
- $userid : mixed
- $adj : mixed
- $dow : mixed
signin_dates()
signin_dates(mixed $userid, mixed $adj) : mixed
Parameters
- $userid : mixed
- $adj : mixed
getUserJobSummaryForPeriod()
get all jobs where the given user has logged time within the date period
getUserJobSummaryForPeriod(mixed $userid, mixed $date1, mixed $date2) : mixed
@param int userid
Parameters
- $userid : mixed
- $date1 : mixed
- $date2 : mixed
getHrsForUserJob()
getHrsForUserJob(mixed $jobid, mixed $date, mixed $userid) : mixed
Parameters
- $jobid : mixed
- $date : mixed
- $userid : mixed
getDoorRecs()
getDoorRecs(mixed $qdate, mixed $userid, mixed $dir) : mixed
Parameters
- $qdate : mixed
- $userid : mixed
- $dir : mixed
time_diff()
time_diff(mixed $s) : mixed
Parameters
- $s : mixed
cell()
cell(mixed $content[, mixed $clr = "#CCFFCC" ]) : mixed
Parameters
- $content : mixed
- $clr : mixed = "#CCFFCC"
cell2()
cell with automatice check of user level
cell2(mixed $content[, mixed $level = 2 ][, mixed $clr = "#CCFFCC" ]) : mixed
Parameters
- $content : mixed
- $level : mixed = 2
- $clr : mixed = "#CCFFCC"
cell_bl()
cell_bl() : mixed
nav_menu()
nav_menu() : mixed
breakdown()
breakdown() : mixed
timesheets_menu()
timesheets_menu() : mixed
jobs_menu()
jobs_menu() : mixed
misc1_menu()
misc1_menu() : mixed
misc2_menu()
misc2_menu() : mixed
misc3_menu()
misc3_menu() : mixed
iso9001_menu()
iso9001_menu() : mixed
approver_menu()
approver_menu() : mixed
admin_menu()
admin_menu() : mixed
kpi_menu()
kpi_menu() : mixed
extras_menu()
extras_menu() : mixed
jars_mail()
jars_mail(mixed $to, mixed $subject, mixed $txt[, mixed $cc = '' ][, mixed $bcc = '' ]) : mixed
Parameters
- $to : mixed
- $subject : mixed
- $txt : mixed
- $cc : mixed = ''
- $bcc : mixed = ''
index()
index() : mixed
login_form()
login_form() : mixed
do_login()
do_login() : mixed
do_login_fail()
do_login_fail() : mixed
top()
top() : mixed
bottom()
bottom() : mixed
safe_get()
safe_get(mixed $field, mixed $src) : mixed
Parameters
- $field : mixed
- $src : mixed
check_ldap()
check_ldap(mixed $username, mixed $password) : mixed
Parameters
- $username : mixed
- $password : mixed
Llist()
Llist() : mixed
Editjob()
Editjob() : mixed
Add()
Add() : mixed
do_Editjob()
do_Editjob() : mixed
do_Addjob()
do_Addjob() : mixed
Llist()
Llist() : mixed
SelectProcess()
SelectProcess(mixed $match) : mixed
Parameters
- $match : mixed
Editjob()
Editjob() : mixed
Add()
Add() : mixed
do_Editjob()
do_Editjob() : mixed
do_Addjob()
do_Addjob() : mixed
Llist()
Llist() : mixed
Editjob()
Editjob() : mixed
Add()
Add() : mixed
do_Editjob()
do_Editjob() : mixed
do_Addjob()
do_Addjob() : mixed
index()
index() : mixed
archive()
archive() : mixed
_exec()
_exec(mixed $cmd) : mixed
Parameters
- $cmd : mixed
info()
info() : mixed
head()
head() : mixed
main()
main() : mixed
showlist()
showlist() : mixed
header_table()
header_table(mixed $qry[, mixed $id = 0 ][, mixed $type = 0 ]) : mixed
Parameters
- $qry : mixed
- $id : mixed = 0
- $type : mixed = 0
debugtable()
debugtable() : mixed
table()
table(mixed $qry, mixed $type) : mixed
Parameters
- $qry : mixed
- $type : mixed
edit_table()
edit_table(mixed $qry, mixed $id) : mixed
Parameters
- $qry : mixed
- $id : mixed
pdf_table()
pdf_table(mixed $qry, mixed $id) : mixed
Parameters
- $qry : mixed
- $id : mixed
formsubmit()
formsubmit() : mixed
editsubmit()
editsubmit() : mixed
generate_pdf()
generate_pdf(mixed $id) : mixed
Parameters
- $id : mixed
add()
add() : mixed
edit()
edit([mixed $id = 0 ]) : mixed
Parameters
- $id : mixed = 0
jobsearch()
jobsearch(mixed $target, mixed $action, mixed $jobid[, mixed $all = true ]) : mixed
Parameters
- $target : mixed
- $action : mixed
- $jobid : mixed
- $all : mixed = true
getActiveJobs()
getActiveJobs([mixed $internal = 0 ]) : mixed
Parameters
- $internal : mixed = 0
theader()
theader(mixed $content[, mixed $cls = '' ]) : mixed
Parameters
- $content : mixed
- $cls : mixed = ''
tcell()
tcell(mixed $content[, mixed $center = 0 ]) : mixed
Parameters
- $content : mixed
- $center : mixed = 0
listjobs()
listjobs() : mixed
selectcustomer()
selectcustomer(mixed $action) : mixed
Parameters
- $action : mixed
link_clean()
link_clean(mixed $link) : mixed
Parameters
- $link : mixed
highlight()
highlight(mixed $haystack, mixed $needle) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
do_active()
do_active() : mixed
do_active_update()
do_active_update(mixed $row1) : mixed
Parameters
- $row1 : mixed
deljob()
deljob() : mixed
Editjob()
Editjob() : mixed
Addjob()
Addjob() : mixed
do_Editjob()
do_Editjob() : mixed
do_Addjob()
do_Addjob() : mixed
index()
index() : mixed
theader()
theader(mixed $content[, mixed $cls = '' ]) : mixed
Parameters
- $content : mixed
- $cls : mixed = ''
tcell()
tcell(mixed $content[, mixed $center = 0 ]) : mixed
Parameters
- $content : mixed
- $center : mixed = 0
listjobs()
listjobs() : mixed
selectcustomer()
selectcustomer(mixed $action) : mixed
Parameters
- $action : mixed
link_clean()
link_clean(mixed $link) : mixed
Parameters
- $link : mixed
do_search()
do_search() : mixed
highlight()
highlight(mixed $haystack, mixed $needle) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
do_active()
do_active() : mixed
do_active_update()
do_active_update(mixed $row1) : mixed
Parameters
- $row1 : mixed
deljob()
deljob() : mixed
Editjob()
Editjob() : mixed
Addjob()
Addjob() : mixed
do_Editjob()
do_Editjob() : mixed
do_Addjob()
do_Addjob() : mixed
index()
index() : mixed
index()
index() : mixed
div_heading()
div_heading(mixed $div) : mixed
Parameters
- $div : mixed
report()
report(mixed $jobcode) : mixed
Parameters
- $jobcode : mixed
cclist()
cclist(mixed $jobcode) : mixed
Parameters
- $jobcode : mixed
invoicelist()
invoicelist(mixed $jobcode) : mixed
Parameters
- $jobcode : mixed
jobreport()
jobreport(mixed $jobcode) : mixed
Parameters
- $jobcode : mixed
lessonlearntreport()
lessonlearntreport(mixed $jobcode) : mixed
Parameters
- $jobcode : mixed
designreview()
designreview(mixed $jobcode) : mixed
Parameters
- $jobcode : mixed
link_clean()
link_clean(mixed $link) : mixed
Parameters
- $link : mixed
index()
index() : mixed
checktime()
checktime() : mixed
jobsummary()
jobsummary(mixed $jobid) : mixed
Parameters
- $jobid : mixed
index()
index() : mixed
do_addtime()
do_addtime() : mixed
parsedates()
parsedates(mixed $start, mixed $end, mixed $job_code, mixed $foruserid, mixed $hours, mixed $locn_code, mixed $userid, mixed $description) : mixed
Parameters
- $start : mixed
- $end : mixed
- $job_code : mixed
- $foruserid : mixed
- $hours : mixed
- $locn_code : mixed
- $userid : mixed
- $description : mixed
edittime()
edittime() : mixed
do_edit()
do_edit() : mixed
Edit_time()
Edit_time() : mixed
Edit_time_1()
Edit_time_1() : mixed
bulk()
bulk() : mixed
getJobsByTimesheetID()
getJobsByTimesheetID(mixed $ts_id) : mixed
Parameters
- $ts_id : mixed
getTimeSheet()
getTimeSheet(mixed $id) : mixed
Parameters
- $id : mixed
do_addHours()
do_addHours() : mixed
index()
index() : mixed
SelectJobsForm()
SelectJobsForm() : mixed
ShowHours()
ShowHours() : mixed
do_move()
do_move() : mixed
getHours()
getHours(mixed $job_id) : mixed
Parameters
- $job_id : mixed
getTgtJob()
getTgtJob(mixed $job_id) : mixed
Parameters
- $job_id : mixed
listjobs()
listjobs() : mixed
runreport()
runreport() : mixed
report_summary()
report_summary(mixed $tool) : mixed
Parameters
- $tool : mixed
html_header()
html_header() : mixed
report_detail()
report_detail(mixed $tool) : mixed
Parameters
- $tool : mixed
report_main()
report_main(mixed $qry, mixed $mode) : mixed
Parameters
- $qry : mixed
- $mode : mixed
index()
index() : mixed
OrderList()
OrderList() : mixed
OrderJobList()
OrderJobList() : mixed
edit()
edit() : mixed
editOrderForm()
editOrderForm(mixed $order) : mixed
Parameters
- $order : mixed
details()
details(mixed $prompt, mixed $value) : mixed
Parameters
- $prompt : mixed
- $value : mixed
view()
view() : mixed
addJobForm()
addJobForm(mixed $order) : mixed
Parameters
- $order : mixed
add()
add() : mixed
OrderForm()
OrderForm(mixed $action, mixed $src[, mixed $page = 1 ]) : mixed
Parameters
- $action : mixed
- $src : mixed
- $page : mixed = 1
add_job()
add_job() : mixed
remove_job()
remove_job() : mixed
getOrder()
getOrder(mixed $id) : mixed
Parameters
- $id : mixed
getAllOrders()
getAllOrders() : mixed
getList()
getList() : mixed
getOrderJobs()
getOrderJobs(mixed $order_id) : mixed
Parameters
- $order_id : mixed
getCustomers()
getCustomers() : mixed
getCustomerJobList()
getCustomerJobList(mixed $cust_id) : mixed
Parameters
- $cust_id : mixed
do_add()
do_add() : mixed
edit_order()
edit_order() : mixed
IndividualRecord()
IndividualRecord() : mixed
ascii2entities()
ascii2entities(mixed $string) : mixed
Parameters
- $string : mixed
CompleteJobRecord()
CompleteJobRecord() : mixed
IndividualRecord()
IndividualRecord() : mixed
ascii2entities()
ascii2entities(mixed $string) : mixed
Parameters
- $string : mixed
CompleteJobRecord()
CompleteJobRecord() : mixed
IndividualRecord()
IndividualRecord() : mixed
ascii2entities()
ascii2entities(mixed $string) : mixed
Parameters
- $string : mixed
IndividualRecord()
IndividualRecord() : mixed
ascii2entities()
ascii2entities(mixed $string) : mixed
Parameters
- $string : mixed
payrollreport()
payrollreport(mixed $start_date, mixed $end_date, mixed $weeks[, mixed $userid = 0 ]) : mixed
Parameters
- $start_date : mixed
- $end_date : mixed
- $weeks : mixed
- $userid : mixed = 0
main()
main() : mixed
GetHeader()
GetHeader() : mixed
GetFooter()
GetFooter() : mixed
main()
main() : mixed
main()
main() : mixed
parsedates()
parsedates(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $userid) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $userid : mixed
parsedates_hydro()
parsedates_hydro(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $ht_id, mixed $ht_rev, mixed $hs_id, mixed $userid) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $ht_id : mixed
- $ht_rev : mixed
- $hs_id : mixed
- $userid : mixed
parsedates_hydro_job()
parsedates_hydro_job(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $ht_id, mixed $ht_rev, mixed $hs_id, mixed $userid) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $ht_id : mixed
- $ht_rev : mixed
- $hs_id : mixed
- $userid : mixed
parsedates_hydro_job_2()
parsedates_hydro_job_2(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $ht_id, mixed $ht_rev, mixed $hs_id) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $ht_id : mixed
- $ht_rev : mixed
- $hs_id : mixed
parsedates_jobs()
parsedates_jobs(mixed $start, mixed $end, mixed $id, mixed $userid[, mixed $locn = 0 ]) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $userid : mixed
- $locn : mixed = 0
showtime_jobs()
showtime_jobs([mixed $job = 0 ]) : mixed
Parameters
- $job : mixed = 0
showtime()
showtime() : mixed
showtime_jobs_2()
showtime_jobs_2([mixed $job = 0 ]) : mixed
Parameters
- $job : mixed = 0
parsedates()
parsedates(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $userid) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $userid : mixed
parsedates_hydro()
parsedates_hydro(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $ht_id, mixed $ht_rev, mixed $hs_id, mixed $userid) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $ht_id : mixed
- $ht_rev : mixed
- $hs_id : mixed
- $userid : mixed
parsedates_hydro_job()
parsedates_hydro_job(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $ht_id, mixed $ht_rev, mixed $hs_id, mixed $userid) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $ht_id : mixed
- $ht_rev : mixed
- $hs_id : mixed
- $userid : mixed
parsedates_hydro_job_2()
parsedates_hydro_job_2(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $ht_id, mixed $ht_rev, mixed $hs_id) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $ht_id : mixed
- $ht_rev : mixed
- $hs_id : mixed
parsedates_jobs()
parsedates_jobs(mixed $start, mixed $end, mixed $id, mixed $userid[, mixed $locn = 0 ]) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $userid : mixed
- $locn : mixed = 0
showtime_jobs()
showtime_jobs([mixed $job = 0 ]) : mixed
Parameters
- $job : mixed = 0
showtime()
showtime() : mixed
showtime_jobs_2()
showtime_jobs_2([mixed $job = 0 ]) : mixed
Parameters
- $job : mixed = 0
parsedates()
parsedates(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $userid) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $userid : mixed
parsedates_hydro()
parsedates_hydro(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $ht_id, mixed $ht_rev, mixed $hs_id, mixed $userid) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $ht_id : mixed
- $ht_rev : mixed
- $hs_id : mixed
- $userid : mixed
parsedates_hydro_job()
parsedates_hydro_job(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $ht_id, mixed $ht_rev, mixed $hs_id, mixed $userid) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $ht_id : mixed
- $ht_rev : mixed
- $hs_id : mixed
- $userid : mixed
parsedates_hydro_job_2()
parsedates_hydro_job_2(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $ht_id, mixed $ht_rev, mixed $hs_id) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $ht_id : mixed
- $ht_rev : mixed
- $hs_id : mixed
parsedates_jobs()
parsedates_jobs(mixed $start, mixed $end, mixed $id, mixed $userid[, mixed $locn = 0 ]) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $userid : mixed
- $locn : mixed = 0
showtime_jobs()
showtime_jobs([mixed $job = 0 ]) : mixed
Parameters
- $job : mixed = 0
showtime()
showtime() : mixed
showtime_jobs_2()
showtime_jobs_2([mixed $job = 0 ]) : mixed
Parameters
- $job : mixed = 0
parsedates()
parsedates(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $userid) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $userid : mixed
parsedates_hydro()
parsedates_hydro(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $ht_id, mixed $ht_rev, mixed $hs_id, mixed $userid) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $ht_id : mixed
- $ht_rev : mixed
- $hs_id : mixed
- $userid : mixed
parsedates_hydro_job()
parsedates_hydro_job(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $ht_id, mixed $ht_rev, mixed $hs_id, mixed $userid) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $ht_id : mixed
- $ht_rev : mixed
- $hs_id : mixed
- $userid : mixed
parsedates_hydro_job_2()
parsedates_hydro_job_2(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $ht_id, mixed $ht_rev, mixed $hs_id) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $ht_id : mixed
- $ht_rev : mixed
- $hs_id : mixed
parsedates_jobs()
parsedates_jobs(mixed $start, mixed $end, mixed $id[, mixed $locn = 0 ]) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed = 0
showtime_jobs()
showtime_jobs([mixed $job = 0 ]) : mixed
Parameters
- $job : mixed = 0
showtime()
showtime() : mixed
showtime_jobs_2()
showtime_jobs_2([mixed $job = 0 ]) : mixed
Parameters
- $job : mixed = 0
GetHeader()
GetHeader() : mixed
GetFooter()
GetFooter() : mixed
main()
main() : mixed
main()
main() : mixed
parsedates()
parsedates(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $userid) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $userid : mixed
parsedates_jobs()
parsedates_jobs(mixed $start, mixed $end, mixed $id, mixed $userid, mixed $locn) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $userid : mixed
- $locn : mixed
showtime_jobs()
showtime_jobs([mixed $job = 0 ], mixed $userid, mixed $from, mixed $to) : mixed
Parameters
- $job : mixed = 0
- $userid : mixed
- $from : mixed
- $to : mixed
showtime()
showtime() : mixed
GetHeader()
GetHeader() : mixed
GetFooter()
GetFooter() : mixed
runreport()
runreport() : mixed
main()
main() : mixed
GetHeader()
GetHeader() : mixed
GetFooter()
GetFooter() : mixed
main()
main() : mixed
main()
main() : mixed
AddDoc()
AddDoc() : mixed
doAdd()
doAdd() : mixed
PadL()
PadL(mixed $source, mixed $length, mixed $padchar) : mixed
Parameters
- $source : mixed
- $length : mixed
- $padchar : mixed
PadL()
PadL(mixed $source, mixed $length, mixed $padchar) : mixed
Parameters
- $source : mixed
- $length : mixed
- $padchar : mixed
listreports()
listreports() : mixed
do_activate()
do_activate() : mixed
do_approve_update()
do_approve_update(mixed $row1) : mixed
Parameters
- $row1 : mixed
addReport()
addReport() : mixed
do_Add()
do_Add() : mixed
CriteriaField2()
CriteriaField2(mixed $nf, mixed $num, mixed $title, mixed $field, mixed $type) : mixed
Parameters
- $nf : mixed
- $num : mixed
- $title : mixed
- $field : mixed
- $type : mixed
CriteriaField()
CriteriaField(mixed $nf, mixed $num, mixed $title, mixed $field, mixed $type) : mixed
Parameters
- $nf : mixed
- $num : mixed
- $title : mixed
- $field : mixed
- $type : mixed
editReport()
editReport() : mixed
reportForm()
reportForm(mixed $action, mixed $row) : mixed
Parameters
- $action : mixed
- $row : mixed
do_Edit()
do_Edit() : mixed
fieldlist()
fieldlist(mixed $var) : mixed
Parameters
- $var : mixed
typelist()
typelist(mixed $var) : mixed
Parameters
- $var : mixed
index()
index() : mixed
getReportList()
getReportList(mixed $pg) : mixed
Parameters
- $pg : mixed
getReportCount()
getReportCount() : mixed
getReport()
getReport(mixed $id) : mixed
Parameters
- $id : mixed
listreports()
listreports() : mixed
runreport()
runreport() : mixed
build_list()
build_list(mixed $type) : mixed
Parameters
- $type : mixed
listreports()
listreports() : mixed
runreport()
runreport() : mixed
build_list()
build_list(mixed $type) : mixed
Parameters
- $type : mixed
listreports()
listreports() : mixed
runreport()
runreport() : mixed
build_list()
build_list(mixed $type) : mixed
Parameters
- $type : mixed
listreports()
listreports() : mixed
runreport()
runreport() : mixed
build_list()
build_list(mixed $type) : mixed
Parameters
- $type : mixed
index()
index() : mixed
emptyrow()
emptyrow([mixed $class = 'datarow' ]) : mixed
Parameters
- $class : mixed = 'datarow'
showtime()
showtime() : mixed
parsedates()
parsedates(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $userid) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $userid : mixed
parsedates_hydro()
parsedates_hydro(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $ht_id, mixed $ht_rev, mixed $hs_id, mixed $userid) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $ht_id : mixed
- $ht_rev : mixed
- $hs_id : mixed
- $userid : mixed
parsedates_hydro_job()
parsedates_hydro_job(mixed $start, mixed $end, mixed $id, mixed $locn, mixed $ht_id, mixed $ht_rev, mixed $hs_id, mixed $userid) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $locn : mixed
- $ht_id : mixed
- $ht_rev : mixed
- $hs_id : mixed
- $userid : mixed
parsedates_jobs()
parsedates_jobs(mixed $start, mixed $end, mixed $id, mixed $userid[, mixed $locn = "" ]) : mixed
Parameters
- $start : mixed
- $end : mixed
- $id : mixed
- $userid : mixed
- $locn : mixed = ""
jobs()
jobs() : mixed
showtime_jobs()
showtime_jobs() : mixed
header1()
header1() : mixed
footer()
footer() : mixed
index()
index() : mixed
DateSelectorForm()
DateSelectorForm(mixed $startdate, mixed $enddate) : mixed
Parameters
- $startdate : mixed
- $enddate : mixed
tcell()
tcell(mixed $content) : mixed
Parameters
- $content : mixed
showTable()
showTable(mixed $data) : mixed
Parameters
- $data : mixed
getSickTime()
getSickTime(mixed $id, mixed $start, mixed $end) : mixed
Parameters
- $id : mixed
- $start : mixed
- $end : mixed
getSickList()
getSickList(mixed $start, mixed $end[, mixed $job = 36 ]) : mixed
Parameters
- $start : mixed
- $end : mixed
- $job : mixed = 36
table()
table(mixed $qry[, mixed $drill = 0 ]) : mixed
Parameters
- $qry : mixed
- $drill : mixed = 0
detailsection()
detailsection(mixed $job, mixed $y) : mixed
Parameters
- $job : mixed
- $y : mixed
detail_tool()
detail_tool(mixed $job, mixed $tool, mixed $y) : mixed
Parameters
- $job : mixed
- $tool : mixed
- $y : mixed
details2()
details2(mixed $type, mixed $forecast[, mixed $delivery = "" ]) : mixed
Parameters
- $type : mixed
- $forecast : mixed
- $delivery : mixed = ""
project_date()
project_date(mixed $job) : mixed
Parameters
- $job : mixed
index()
index() : mixed
getThing()
getThing(mixed $id) : mixed
Parameters
- $id : mixed
getStuffList()
getStuffList(mixed $pg) : mixed
Parameters
- $pg : mixed
getTotp()
getTotp(mixed $secret) : mixed
Parameters
- $secret : mixed
checktotp()
checktotp(mixed $secret, mixed $sent) : mixed
Parameters
- $secret : mixed
- $sent : mixed
index()
index(mixed $user) : mixed
Parameters
- $user : mixed
Logout()
Logout(mixed $user) : mixed
Parameters
- $user : mixed
EditMyInfo()
EditMyInfo() : mixed
EditMyInfo_form()
EditMyInfo_form() : mixed
do_EditMyInfo()
do_EditMyInfo() : mixed
Activate()
Activate() : mixed
domainpasswords()
function to redirect to main if called
domainpasswords() : mixed
show_2fa()
ENABLE 2FA
show_2fa(mixed $makenew) : mixed
Parameters
- $makenew : mixed
index()
index() : mixed
checktime()
checktime() : mixed
wishlist()
wishlist() : mixed
Editjob()
Editjob([mixed $canedit = '1' ]) : mixed
Parameters
- $canedit : mixed = '1'
Add()
Add() : mixed
do_Editjob()
do_Editjob() : mixed
do_Addjob()
do_Addjob() : mixed
ascii2entities()
ascii2entities(mixed $string) : mixed
Parameters
- $string : mixed