First Commit

This commit is contained in:
mark committed 2026-10-19 15:22:52 -07:00
1 parent 5eb9dd037d
commit 2e62c0e60b
11877 files changed
+2035312

No files matched your search

+2
View File
@@ -39,6 +39,7 @@ temp/
templates/
test/
tmp/
videos/
_web1/
work/
errorlog.log
@@ -56,3 +57,4 @@ sql_error.log
sql_query.log
trx.history.log
trx.log
supplier-orders.txt
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

+6696
View File
File diff suppressed because it is too large. Load diff
+10
View File
@@ -0,0 +1,10 @@
Options -Indexes
IndexIgnore *
<Files "*.log">
Order Allow,Deny
Deny from all
</Files>
+11
View File
@@ -0,0 +1,11 @@
0
1
2
3
4
5
6
7
8
9
10
+505
View File
@@ -0,0 +1,505 @@
Tue, 04 Aug 2026 02:49:35 -0700
Array
(
[charset] => windows-1252
[payer_email] => dane.durelle@gmail.com
[receiver_email] => cleblanc@carbeau.ca
[payer_status] => unverified
[receiver_id] => F677KV8CP7KVE
[item_number] =>
[discount] => 0.00
[transaction_subject] =>
[residence_country] => CA
[txn_id] => 1VU31620F82440118
[shipping_method] => Default
[payment_gross] =>
[protection_eligibility] => Eligible
[first_name] => Danica
[payment_date] => 02:49:23 Aug 04, 2026 PDT
[quantity] => 1
[business] => cleblanc@carbeau.ca
[payment_status] => Completed
[custom] => 5022941
[last_name] => Durelle
[item_name] => Carrefour Beausoleil Order Payment
[notify_version] => 3.9
[mc_currency] => CAD
[payment_type] => instant
[shipping_discount] => 0.00
[insurance_amount] => 0.00
[txn_type] => web_accept
[payment_fee] =>
[payer_id] => W4ST9TUDNAB9J
[mc_fee] => 3.79
[mc_gross] => 120.45
[ipn_track_id] => ca25ca6d94ae7
[verify_sign] => AvhLWcyd.69juFH8-N.WGclLl5htAQRGEqmENgS4RH2UGJF6bPIv.1x8
)
Tue, 04 Aug 2026 02:58:25 -0700
Array
(
[charset] => windows-1252
[payer_email] => nadine.street@gmail.com
[receiver_email] => cleblanc@carbeau.ca
[payer_status] => verified
[receiver_id] => F677KV8CP7KVE
[item_number] =>
[discount] => 0.00
[transaction_subject] =>
[residence_country] => CA
[txn_id] => 9UY86117MB389481G
[shipping_method] => Default
[payment_gross] =>
[protection_eligibility] => Eligible
[first_name] => nadine
[payment_date] => 02:58:12 Aug 04, 2026 PDT
[quantity] => 1
[business] => cleblanc@carbeau.ca
[payment_status] => Completed
[custom] => 5023767
[last_name] => street
[item_name] => Carrefour Beausoleil Order Payment
[notify_version] => 3.9
[mc_currency] => CAD
[payment_type] => instant
[shipping_discount] => 0.00
[insurance_amount] => 0.00
[txn_type] => web_accept
[payment_fee] =>
[payer_id] => TZ73TVS3JPESN
[mc_fee] => 2.05
[mc_gross] => 60.37
[ipn_track_id] => f322904a819d6
[verify_sign] => Ad03Yticgoky4TfX2VmDiiDVlBumAXAQf6XZooAoNlkKHvcqUz-zMsa6
)
Tue, 04 Aug 2026 03:34:02 -0700
Array
(
[charset] => windows-1252
[payer_email] => a_danie@hotmail.com
[receiver_email] => cleblanc@carbeau.ca
[payer_status] => verified
[receiver_id] => F677KV8CP7KVE
[item_number] =>
[discount] => 0.00
[transaction_subject] =>
[residence_country] => CA
[txn_id] => 1MX36762YN757515K
[shipping_method] => Default
[payment_gross] =>
[protection_eligibility] => Eligible
[first_name] => danie
[payment_date] => 03:33:54 Aug 04, 2026 PDT
[quantity] => 1
[business] => cleblanc@carbeau.ca
[payment_status] => Completed
[custom] => 5023769
[last_name] => arseneault
[item_name] => Carrefour Beausoleil Order Payment
[notify_version] => 3.9
[mc_currency] => CAD
[payment_type] => instant
[shipping_discount] => 0.00
[insurance_amount] => 0.00
[txn_type] => web_accept
[payment_fee] =>
[payer_id] => WTPCV5JQC57ZY
[mc_fee] => 0.99
[mc_gross] => 23.92
[ipn_track_id] => ca25ce80c8f7f
[verify_sign] => ASa3wqyaC3l6dtcZeSsQrNebNaqCAF8Sc1wAA2r0kgeBlxcEA547AJKD
)
Tue, 04 Aug 2026 03:55:51 -0700
Array
(
[charset] => windows-1252
[payer_email] => jillian.md.price@gmail.com
[receiver_email] => cleblanc@carbeau.ca
[payer_status] => verified
[receiver_id] => F677KV8CP7KVE
[item_number] =>
[discount] => 0.00
[transaction_subject] =>
[residence_country] => CA
[txn_id] => 01782194PS8825228
[shipping_method] => Default
[payment_gross] =>
[protection_eligibility] => Eligible
[first_name] => Jillian
[payment_date] => 03:55:40 Aug 04, 2026 PDT
[quantity] => 1
[business] => cleblanc@carbeau.ca
[payment_status] => Completed
[custom] => 5023179
[last_name] => Price
[item_name] => Carrefour Beausoleil Order Payment
[notify_version] => 3.9
[mc_currency] => CAD
[payment_type] => instant
[shipping_discount] => 0.00
[insurance_amount] => 0.00
[txn_type] => web_accept
[payment_fee] =>
[payer_id] => HTMJBK29X5ZEW
[mc_fee] => 4.12
[mc_gross] => 131.75
[ipn_track_id] => ca25d07eeee40
[verify_sign] => A2F49WGh0ZHlZH8mbBSgH42lqK6oATJW.b2lyEiKLx3O-MCCfzu7NW0Q
)
Tue, 04 Aug 2026 05:23:07 -0700
Array
(
[charset] => UTF-8
[payer_email] => jyoth@hotmail.com
[receiver_email] => Lana@prossermanjcc.com
[payer_status] => unverified
[receiver_id] => 4CEMSL4SWKEYJ
[item_number] =>
[discount] => 0.00
[transaction_subject] =>
[residence_country] => CA
[txn_id] => 40S85470U0850530B
[shipping_method] => Default
[payment_gross] =>
[protection_eligibility] => Eligible
[first_name] => Jyoti
[payment_date] => 05:22:48 Aug 04, 2026 PDT
[quantity] => 1
[business] => Lana@prossermanjcc.com
[payment_status] => Completed
[custom] => 5023733
[last_name] => Khona
[item_name] => The Jack and Pat Kay Centre Camp Order Payment
[notify_version] => 3.9
[mc_currency] => CAD
[payment_type] => instant
[shipping_discount] => 0.00
[insurance_amount] => 0.00
[txn_type] => web_accept
[payment_fee] =>
[payer_id] => 8LUVTSGVGSSSE
[mc_fee] => 0.62
[mc_gross] => 11.00
[ipn_track_id] => f516428c5a633
[verify_sign] => ARuoMZlsSEN2RBFskKy7embHW8gOA-FVWFJkBzggDmynnhdkevQDil0r
)
Tue, 04 Aug 2026 07:20:51 -0700
Array
(
[charset] => UTF-8
[payer_email] => elif.yurekli@gmail.com
[receiver_email] => admin@northstarmontessori.com
[payer_status] => unverified
[receiver_id] => MNRQB24BMEK46
[item_number] =>
[discount] => 0.00
[transaction_subject] =>
[residence_country] => CA
[txn_id] => 198784038S634573K
[shipping_method] => Default
[payment_gross] =>
[protection_eligibility] => Eligible
[first_name] => Elif
[payment_date] => 07:20:39 Aug 04, 2026 PDT
[quantity] => 1
[business] => admin@northstarmontessori.com
[payment_status] => Completed
[custom] => 5023770
[last_name] => Ozgen
[item_name] => Northstar Montessori Order Payment
[notify_version] => 3.9
[mc_currency] => CAD
[payment_type] => instant
[shipping_discount] => 0.00
[insurance_amount] => 0.00
[txn_type] => web_accept
[payment_fee] =>
[payer_id] => J3M8RQYNG8JUW
[mc_fee] => 1.74
[mc_gross] => 49.80
[ipn_track_id] => f5517761ddc62
[verify_sign] => Axbg6XqwY3Avx6ovfI27tyNZsQ5pACBOvgLcuN6Ny9.HWlaw3aFTV30O
)
Tue, 04 Aug 2026 08:29:45 -0700
Array
(
[charset] => windows-1252
[payer_email] => jchaps@hotmail.com
[receiver_email] => tudor.marcarian@gmail.com
[payer_status] => unverified
[receiver_id] => L9M32TBT88F44
[item_number] =>
[discount] => 0.00
[transaction_subject] =>
[residence_country] => CA
[txn_id] => 0KE5477485233664J
[shipping_method] => Default
[payment_gross] =>
[protection_eligibility] => Eligible
[first_name] => Jennifer
[payment_date] => 08:29:33 Aug 04, 2026 PDT
[quantity] => 1
[business] => tudor.marcarian@gmail.com
[payment_status] => Completed
[custom] => 5023772
[last_name] => Chapman
[item_name] => Rotherglen Elementary Order Payment
[notify_version] => 3.9
[mc_currency] => CAD
[payment_type] => instant
[shipping_discount] => 0.00
[insurance_amount] => 0.00
[txn_type] => web_accept
[payment_fee] =>
[payer_id] => XTPXKPCXSD64C
[mc_fee] => 1.40
[mc_gross] => 38.05
[ipn_track_id] => f741172d4aa8c
[verify_sign] => ApbtYInpkWAd1t5yxJF3sOOEEwlzAa0aY8JKE6r1ujRsj.zfp-mFrTkg
)
Tue, 04 Aug 2026 08:48:52 -0700
Array
(
[charset] => windows-1252
[payer_email] => laurenm@bgcolds.ca
[receiver_email] => boysgirlsolds@live.com
[payer_status] => unverified
[receiver_id] => 9BTE697HPADZ4
[item_number] =>
[discount] => 0.00
[transaction_subject] =>
[residence_country] => CA
[txn_id] => 4D29706570358244H
[shipping_method] => Default
[payment_gross] =>
[protection_eligibility] => Eligible
[first_name] => Lauren
[payment_date] => 08:48:39 Aug 04, 2026 PDT
[quantity] => 1
[business] => boysgirlsolds@live.com
[payment_status] => Completed
[custom] => 5023430
[last_name] => MacMullen
[receipt_id] => 4074-7431-0397-3242
[item_name] => BGC Olds and Area Order Payment
[notify_version] => 3.9
[mc_currency] => CAD
[payment_type] => instant
[shipping_discount] => 0.00
[insurance_amount] => 0.00
[txn_type] => web_accept
[payment_fee] =>
[payer_id] => EYB67GQX8PTJ8
[mc_fee] => 1.31
[mc_gross] => 34.72
[ipn_track_id] => f417210e87bab
[verify_sign] => ASAfT7ioQXIuKYeqUfmM7.qmixqXAkQxzrbVYHEeWY-DCcBmLoooNAib
)
Tue, 04 Aug 2026 10:41:41 -0700
Array
(
[charset] => UTF-8
[payer_email] => acmyers@gmail.com
[receiver_email] => Lana@prossermanjcc.com
[payer_status] => verified
[receiver_id] => 4CEMSL4SWKEYJ
[item_number] =>
[discount] => 0.00
[transaction_subject] =>
[residence_country] => CA
[txn_id] => 8SD28005E5927204V
[shipping_method] => Default
[payment_gross] =>
[protection_eligibility] => Eligible
[first_name] => Andrew
[payment_date] => 10:41:33 Aug 04, 2026 PDT
[quantity] => 1
[business] => Lana@prossermanjcc.com
[payment_status] => Completed
[custom] => 5023774
[last_name] => Myers
[item_name] => The Jack and Pat Kay Centre Camp Order Payment
[notify_version] => 3.9
[mc_currency] => CAD
[payment_type] => instant
[shipping_discount] => 0.00
[insurance_amount] => 0.00
[txn_type] => web_accept
[payment_fee] =>
[payer_id] => ZJ5E3ASNMNTC8
[mc_fee] => 0.60
[mc_gross] => 10.50
[ipn_track_id] => f54550019b320
[verify_sign] => ANJAcnkVSNPU62CYJlJoHmKUkQQSAh8REuCKOg0DgBEqKh.ZVQg.Oe1d
)
Tue, 04 Aug 2026 12:02:37 -0700
Array
(
[charset] => windows-1252
[payer_email] => arabella.shales@gmail.com
[receiver_email] => office@axxiscatering.com
[payer_status] => unverified
[receiver_id] => NAGV99RXVSHSA
[item_number] =>
[discount] => 0.00
[transaction_subject] =>
[residence_country] => CA
[txn_id] => 5FY4421734206010L
[shipping_method] => Default
[payment_gross] =>
[protection_eligibility] => Eligible
[first_name] => Arabella
[payment_date] => 12:02:22 Aug 04, 2026 PDT
[quantity] => 1
[business] => office@axxiscatering.com
[payment_status] => Completed
[custom] => 5023775
[last_name] => Shales
[item_name] => Maclachlan College Order Payment
[notify_version] => 3.9
[mc_currency] => CAD
[payment_type] => instant
[shipping_discount] => 0.00
[insurance_amount] => 0.00
[txn_type] => web_accept
[payment_fee] =>
[payer_id] => Z269DUNSQJAEQ
[mc_fee] => 0.55
[mc_gross] => 8.78
[ipn_track_id] => f6984795a1508
[verify_sign] => A1kuIwLEOXH74.mD6jfTpLCqSeZfA8IiwXFjKQ0VrsFKLQ4TrNapDSUo
)
Tue, 04 Aug 2026 12:59:03 -0700
Array
(
[charset] => UTF-8
[payer_email] => jyoth@hotmail.com
[receiver_email] => Lana@prossermanjcc.com
[payer_status] => unverified
[receiver_id] => 4CEMSL4SWKEYJ
[item_number] =>
[discount] => 0.00
[transaction_subject] =>
[residence_country] => CA
[txn_id] => 6YX262599T413980S
[shipping_method] => Default
[payment_gross] =>
[protection_eligibility] => Eligible
[first_name] => Jyoti
[payment_date] => 12:58:53 Aug 04, 2026 PDT
[quantity] => 1
[business] => Lana@prossermanjcc.com
[payment_status] => Completed
[custom] => 5023776
[last_name] => Khona
[receipt_id] => 0348-8478-0401-4210
[item_name] => The Jack and Pat Kay Centre Camp Order Payment
[notify_version] => 3.9
[mc_currency] => CAD
[payment_type] => instant
[shipping_discount] => 0.00
[insurance_amount] => 0.00
[txn_type] => web_accept
[payment_fee] =>
[payer_id] => YNPBPQLFYD6DG
[mc_fee] => 0.46
[mc_gross] => 5.50
[ipn_track_id] => f89192698ea12
[verify_sign] => Al.fYxgZH6EDW9Cj4AkZIImXt3D7AxzgJzq5B4LEazjzeqCB6qHj-OXG
)
Tue, 04 Aug 2026 14:16:46 -0700
Array
(
[charset] => windows-1252
[payer_email] => arabella.shales@gmail.com
[receiver_email] => office@axxiscatering.com
[payer_status] => unverified
[receiver_id] => NAGV99RXVSHSA
[item_number] =>
[discount] => 0.00
[transaction_subject] =>
[residence_country] => CA
[txn_id] => 8PH98605CG087234L
[shipping_method] => Default
[payment_gross] =>
[protection_eligibility] => Eligible
[first_name] => Arabella
[payment_date] => 14:16:26 Aug 04, 2026 PDT
[quantity] => 1
[business] => office@axxiscatering.com
[payment_status] => Completed
[custom] => 5023778
[last_name] => Shales
[item_name] => Maclachlan College Order Payment
[notify_version] => 3.9
[mc_currency] => CAD
[payment_type] => instant
[shipping_discount] => 0.00
[insurance_amount] => 0.00
[txn_type] => web_accept
[payment_fee] =>
[payer_id] => Z269DUNSQJAEQ
[mc_fee] => 0.81
[mc_gross] => 17.53
[ipn_track_id] => ca260954469fe
[verify_sign] => AXDkaQ7SEOWacc-tmeaYuPS9XVvcAPXnZMxTFZVsUWtmbNKjo8UEZ6F0
)
+26
View File
@@ -0,0 +1,26 @@
<?php
//
// Process all requests for missing pages
//
$ValidAccess = 2010;
require_once("include/globals.php");
startTemplate();
$templatePageTitle = $school_record['school_name'];
?>
<center>
<p><br></p>
<p><br></p>
<h2>The requested page is not found on this server</h2>
<p><br></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><br></p>
</center>
<?php
endTemplate();
?>
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+62
View File
@@ -0,0 +1,62 @@
<html>
<head><title>{EMAIL_TITLE}</title>
<style type="text/css">
<!--
body,p,li,td {
font: 12px Arial,Helvetica;
}
h1 {
font: 20px Arial,Helvetica;
font-weight: bold;
padding: 0 0 0 10px;
margin: 0 0 5px 0;
}
h2 {
padding: 0 0 0 10px;
margin: 0 0 5px 0;
}
.footer {
font: 10px Arial,Helvetica;
}
-->
</style>
<link rel="stylesheet" href="css/{SCHOOL_CSS}" type="text/css">
</head>
<body bgcolor="#ffffff">
<center>
<table width="700" border="0" cellpadding="1" cellspacing="0">
<tr>
<td bgcolor=''>
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="content-table">
<tr>
<td align='left' class='heading'>
<h2>{SCHOOL_NAME}</h2>
<h1>{EMAIL_TITLE}</h1>
</td>
</tr>
<tr>
<td>
<table width="100%" cellpadding="0" cellspacing="10" border="0" bgcolor="#ffffff">
<tr>
<td align='left'>
{EMAIL_BODY_TEXT}
</td>
</tr>
<tr>
<td align='left'>
<br>
<hr width="75%" size="1">
<p class='footer'>{FOOTER_TEXT}</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
<img src='images/spacer.gif'>
</body>
</html>
File diff suppressed because it is too large. Load diff
+16
View File
@@ -0,0 +1,16 @@
<?php
include "/m/data1/app.hotlunches.net/db.php";
include "/m/data1/app.hotlunches.net/include/school-functions.php";
include "/m/data1/app.hotlunches.net/include/date-time.php";
include "/m/data1/app.hotlunches.net/include/sendmail2.php";
// Set current mode if required
$mode = "";
// $mode = "log-only";
// Set logging mode
$displayMode = "cron";
include "/m/data1/app.hotlunches.net/Email.Reminders.inc.php";
?>
+19
View File
@@ -0,0 +1,19 @@
<?php
include "/m/data1/app.hotlunches.net/db.php";
include "/m/data1/app.hotlunches.net/include/school-functions.php";
include "/m/data1/app.hotlunches.net/include/date-time.php";
include "/m/data1/app.hotlunches.net/include/sendmail2.php";
// Set current mode if required
$mode = "";
// $mode = "log-only";
// Set logging mode
$displayMode = "cron";
// Single school
$selected_school = 222;
include "/m/data1/app.hotlunches.net/Email.Reminders.inc.php";
?>
+62
View File
@@ -0,0 +1,62 @@
<html>
<head><title>{EMAIL_TITLE}</title>
<style type="text/css">
<!--
body,p,li,td {
font: 12px Arial,Helvetica;
}
h1 {
font: 20px Arial,Helvetica;
font-weight: bold;
padding: 0 0 0 10px;
margin: 0 0 5px 0;
}
h2 {
padding: 0 0 0 10px;
margin: 0 0 5px 0;
}
.footer {
font: 10px Arial,Helvetica;
}
-->
</style>
<link rel="stylesheet" href="http://hotlunches.net/admin/css/{SCHOOL_CSS}" type="text/css">
</head>
<body bgcolor="#ffffff">
<center>
<table width="700" border="0" cellpadding="1" cellspacing="0">
<tr>
<td bgcolor=''>
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="content-table">
<tr>
<td align='left' class='heading'>
<h2>{SCHOOL_NAME}</h2>
<h1>{EMAIL_TITLE}</h1>
</td>
</tr>
<tr>
<td>
<table width="100%" cellpadding="0" cellspacing="10" border="0" bgcolor="#ffffff">
<tr>
<td align='left'>
{EMAIL_BODY_TEXT}
</td>
</tr>
<tr>
<td align='left'>
<br>
<hr width="75%" size="1">
<p class='footer'>{FOOTER_TEXT}</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
<img src='images/spacer.gif'>
</body>
</html>
+37
View File
@@ -0,0 +1,37 @@
<?php
exit();
$CurrentDomain = "hotlunches.net";
$BASEDIR = "/m/data1/app.$CurrentDomain";
$WORKDIR = "$BASEDIR";
chdir("$BASEDIR");
date_default_timezone_set("Canada/Pacific");
$ValidAccess = 2010;
// include "$BASEDIR/include/school-functions.php";
// include "$BASEDIR/include/date-time.php";
include "include/globals.php";
// ---------- WILL BE A SERVER-WIDE SCRIPT ----------
if (!is_file("$BASEDIR/include/sendmailt.php")) {
echo("ERROR: $BASEDIR/include/sendmailt.php not found\n");
@unlink($lockFile);
exit();
}
include "$BASEDIR/include/sendmailt.php";
$email_to = "mark@hotlunches.net";
$email_from = "mark@hotlunches.net";
$email_from = "mark@gmail.com";
$email_subject = "This is a test";
$email_message = "This is a test message to see how the system works with other email addresses";
$email_from_name = "Mark Fester";
$email_to_name = "Mark";
$attachments = array();
$template_file = "";
SendEmail($email_to, $email_from, $email_subject, $email_message, $email_from_name, $email_to_name, $attachments, $template_file);
?>
+75
View File
@@ -0,0 +1,75 @@
<?php
require_once("include/globals.php");
if (SessionActive() != 1 || ! UserLoggedIn()) {
header("Location: /");
exit();
}
//
// Process all actions to list and edit records
//
$TitleText = "Form Actions Management";
// Start the template and output buffering
startTemplate();
$templatePageTitle = $TitleText;
// Ensure that only valid user types have access to this module
$AllowedUserTypes = array('SuperUser');
if (checkPermission($AllowedUserTypes) != 1) {
$error_message = getLanguageText('ERRORMSG-ACCESS-DENIED');
include "form.messages.php";
endTemplate();
exit();
}
//
// Setup generic table processing
//
$FormActionName = "form-actions";
// $TableName = "_form_actions";
// $ListTableName = "form-actions";
// $SequenceFlag = 'N';
// $DialogTitle = $TitleText;
// $SearchField = 'none';
// $CustomData = "";
//
// $YN = array(array('Y','Yes'),array('N','No'));
//
// $FormFields = array(
// array('action_name','Action Name','text',50,'required'),
// array('action_table_name','DB Table Name','text',40,'required'),
// array('action_table_load_name','DataTable Lookup Name','text',60,'optional'),
// array('action_dialog_title','Dialog Title','text',40,'required'),
// array('action_sortable_flag','Sortable','select-records',$YN,'required'),
// array('action_default_commands_flag','Default Commands','select-records',$YN,'required'),
// array('action_searchable_flag','Searchable','select-records',$YN,'required'),
// array('action_searchable_fields','Search Fields','text',40,'optional'),
// array('action_lookup_custom_data','Custom Lookup Data','text',40,'optional'),
// array('action_custom_jquery','Custom JQuery Code','textbox',80,'optional'),
// );
// $FormDefaults = array(
// array('action_sortable_flag','N'),
// array('action_default_commands_flag','Y'),
// array('action_searchable_flag','N'));
//
// $CustomJQuery = "
// $(document).on('click touch', '.edit-form-fields', function(e) {
// e.preventDefault(e);
//
// var rnum = $(this).attr('rnum');
// location.href = '/?action=formfields&formaction='+rnum;
// exit();
// });
//
// ";
include "table-edit.php";
endTemplate();
?>
+100
View File
@@ -0,0 +1,100 @@
<?php
require_once("include/globals.php");
if (SessionActive() != 1 || ! UserLoggedIn()) {
header("Location: /");
exit();
}
//
// Process all actions to list and edit records
//
// Start the template and output buffering
startTemplate();
// Ensure that only valid user types have access to this module
$AllowedUserTypes = array('SuperUser');
if (checkPermission($AllowedUserTypes) != 1) {
$error_message = getLanguageText('ERRORMSG-ACCESS-DENIED');
include "form.messages.php";
endTemplate();
exit();
}
// Get parameters
$fanum = 0;
if (array_key_exists('formaction', $_GET)) $fanum = intval($_GET['formaction']);
if ($fanum == 0) {
logExit("Form Action Number not set");
}
$action_name = db_getVal("SELECT action_name FROM _form_actions WHERE record_num = $fanum");
if (!$action_name) logExit("Invalid Form Action Number parameter");
$TitleText = "Form Fields Management - $action_name";
$templatePageTitle = $TitleText;
//
// Setup generic table processing
//
$FormActionName = "form-fields";
$TableName = "_form_fields";
$ListTableName = "form-fields";
$SequenceFlag = 'Y';
$DialogTitle = $TitleText;
$SearchField = 'none';
$CustomData = "&action_name=$action_name";
$YN = array(array('Y','Yes'),array('N','No'));
$field_types_array = array('text','integer','decimal','date','datetime','select','select-records','textbox','hidden');
$field_lengths = array(3,60);
$report_sequence = array(1,2,3,4,5,6,7,8,9,10);
$FormFields = array(
array('action_fields_column_name','DB Column Name','text',40,'required'),
array('action_fields_screen_field_type','Field Type','select',$field_types_array,'required'),
array('action_fields_field_prompt','Field Prompt','text',40,'required'),
array('action_fields_additional_message','Additional Screen Message','text',40,'optional'),
array('action_fields_custom_css','Custom Form CSS','text',40,'optional'),
array('action_fields_insert_active_flag','Active for Insert','select-records',$YN,'required'),
array('action_fields_update_active_flag','Active for Update','select-records',$YN,'required'),
array('action_fields_required_field_flag','TEXT-REQUIRED','select-records',$YN,'required'),
array('action_fields_default_field_value','Default Field Value','text',40,'optional'),
array('action_fields_report_sequence','Report Sequence','select',$report_sequence,'optional'),
array('action_fields_text_length','Text Field Length','text',$field_lengths,'optional','','action-field-optional action-field-text'),
array('action_fields_min_date','Minimum Date','date','','optional','','action-field-optional action-field-date'),
array('action_fields_max_date','Maximum Date','date','','optional','','action-field-optional action-field-date'),
array('action_fields_select_options','Select List Options','text',40,'optional','Comma separated list of options','action-field-optional action-field-select-records action-field-select'),
array('action_fields_select_records_sql','Select List SQL Query','text',80,'optional','','action-field-optional action-field-select-records'),
array('action_name','','hidden',$action_name,''),
array('action_num','','hidden',$fanum,''),
);
$FormDefaults = array(array('action_fields_screen_field_type','text'),
array('action_fields_insert_active_flag','Y'),
array('action_fields_update_active_flag','Y'),
array('action_fields_required_field_flag','N'),
);
$CustomJQuery = "
$('.action-field-optional').hide();
function updateDialogFields() {
var ftype = $('#action_fields_screen_field_type').val();
$('.action-field-optional').hide();
$('.action-field-'+ftype).show();
}
";
include "table-edit.php";
endTemplate();
?>
+57
View File
@@ -0,0 +1,57 @@
<?php
require_once("include/globals.php");
if (SessionActive() != 1 || ! UserLoggedIn()) {
header("Location: /");
exit();
}
//
// Process all actions to list and edit records
//
// Start the template and output buffering
startTemplate();
// Ensure that only valid user types have access to this module
$AllowedUserTypes = array('SuperUser');
if (checkPermission($AllowedUserTypes) != 1) {
$error_message = getLanguageText('ERRORMSG-ACCESS-DENIED');
include "form.messages.php";
endTemplate();
exit();
}
// Get parameters
$fanum = 0;
if (array_key_exists('formaction', $_GET)) $fanum = intval($_GET['formaction']);
if ($fanum == 0) {
logExit("Form Action Number not set");
}
$action_name = db_getVal("SELECT action_name FROM _form_actions WHERE record_num = $fanum");
if (!$action_name) logExit("Invalid Form Action Number parameter");
$TitleText = "Form Permission Management - $action_name";
$templatePageTitle = $TitleText;
//
// Setup generic table processing
//
$FormActionName = "form-permission";
$TableName = "_form_permission";
$ListTableName = "form-permission";
$SequenceFlag = 'Y';
$DialogTitle = $TitleText;
$SearchField = 'none';
$CustomData = "&action_name=$action_name";
include "table-edit.php";
endTemplate();
?>
+5
View File
@@ -0,0 +1,5 @@
Options +Indexes
IndexIgnore *.zip
IndexOptions +FancyIndexing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loaded 100 of 11877 files, more files were not shown because too many files have changed in this diff. Show more