20 Commits

Author SHA1 Message Date
arman
996c3d5a0a format code 2025-02-10 19:54:20 +00:00
51650c4f34 Resolve errors, improve code style, and remove legacy dependencies 2025-01-29 03:30:48 +00:00
ba6e7156cb Fixed the sql error on signature page. Used bind params to assign variables into the query. Did some other changes to other files as well, my bad. But the sql error is the big change. 2025-01-02 10:54:18 -05:00
36996267e0 Resolved warning and issues for Fair administration except print/expoert reports and print award ceremony script 2024-12-31 19:12:42 -05:00
bc588358ee Fix PDO and Warnings continued 2024-12-19 22:29:06 -05:00
ea287cd7af WIP PDO and Warnings 2024-12-18 11:48:09 -05:00
idziak
b5c795b317 addTextX function added 2010-03-22 02:20:04 +00:00
james
58c321441d Simplify table output - always quote fields with "quotes" and that way, if there's a quote on the inside, it'll properly be quoted as a double quote, and if its at the beginning, it'll be a triple quote and work properly-
eg:
"field1","""my title is in quotes""","another field"
2010-02-16 21:42:55 +00:00
james
2539a1726f escape " with "" 2010-02-16 21:21:56 +00:00
dave
2af3482ecf - Also quote a field if it contains a newline. 2007-12-18 19:52:13 +00:00
james
907c394e8c Oops relaly fix it 2007-11-14 22:48:22 +00:00
james
03ea9ff03b Fix IE/SSL/CSV 2007-11-14 22:45:50 +00:00
james
eb0481b2a1 - Add hr() and vspace() to the CSV report generator. 2007-03-13 05:01:37 +00:00
james
5843be049d close the php tag 2005-11-21 21:27:52 +00:00
james
424274b52c fix filename on CSV too 2005-04-22 19:35:39 +00:00
james
db6b2dad28 LPDF: fix bug when one line of text is added with addtext
LCSV: add addtext, newpage functions

Create new report containing judging team project assignments, one team per page.
2005-04-21 20:29:08 +00:00
james
44f40885e5 LCSV: add heading() and nextline()
Add judging teams list and judging teams view reports

Fix judges team number assignments to assign new teams the next available number, filling empty/missing numbers.
2005-04-15 16:12:00 +00:00
james
09918861fc enclose CSV headings in quotation marks to avoid the first 2 chars of the file being "ID", which microsoft chokes on see:
http://support.microsoft.com/kb/q215591/
2005-03-29 21:33:59 +00:00
james
6d58c108c0 add judges CSV report (it would be waaaaay too wide to make into a PDF)
update lcsv to send content-type: text/x-csv

reduce duplicate code by using same variable for both kinds of reports, then $rep->addTable and $rep->output are the same for both pdf and csv
2005-02-23 14:55:01 +00:00
james
353835d402 add a class to export the reports to CSV - modelled after the PDF class so the two will be easy to use together
update the checkin reports to export to CSV as well
2005-02-23 14:29:28 +00:00