diff --git a/fa25import.csv b/fa25import.csv
index 94a9c2c..8ed0405 100644
--- a/fa25import.csv
+++ b/fa25import.csv
@@ -1,24 +1,18 @@
title,starttime,length,mode,location_irl,desc,location,type
Welcome Back to all Employees,2025-08-22 09:00:00,2,hybrid,Theater,Join us for the morning session and kick off the Fall 2025 semester.,,20
Just Report It/Title IX,2025-08-21 09:00:00,50,online,,"It can be difficult to decide where and how to report an incident here at Gavilan. In this session, we will discuss the different types of referrals and reporting forms. Potential referrals and reports may include disruptive behaviors, harassment, sexual misconduct, trip hazards, injuries on campus, academic integrity, emotional wellness, basic needs, student complaints, and more.",https://gavilan-edu.zoom.us/j/6925203873?omn=88194616085,101
-Empowering Educators: Navigating Imposter Syndrome,2025-08-21 10:00:00,90,online,,"First of two sessions designed to help you create inclusive, supportive learning
-environments where every student can thrive. Participants will:
-Develop an understanding of the five types of imposter syndrome
-Adapt strategies to cultivate vulnerability and authenticity in the classroom",https://us02web.zoom.us/j/89823148464,101
+Empowering Educators: Navigating Imposter Syndrome,2025-08-21 10:00:00,90,online,,"First of two sessions designed to help you create inclusive, supportive learning environments where every student can thrive. Participants will:
Develop an understanding of the five types of imposter syndrome
Adapt strategies to cultivate vulnerability and authenticity in the classroom
",https://us02web.zoom.us/j/89823148464,101
Club Advisor Training,2025-08-21 10:00:00,90,hybrid,SS 111,"This workshop will share information with current and prospective club advisors on best practices including managing club finances, processes for organizing events, travel and fundraising.",,101
"Making Assessment a Culture, Not a Checkbox",2025-08-21 12:00:00,90,hybrid,SS 205,"How meaningful does SLO and SAO assessment feel to you? In many ways, our current approaches feel empty. There is a myth that all we need to do is assess and archive and, voila, we are done. In this session, we will examine the need to “close the loop” in assessment in order to increase equity, accountability, and student success, as well as to make this work meaningful. SLO assessment should help us identify best practices and improve our teaching and our classrooms. We will look at how to do this work together. This will be an interactive session. By the end of our workshop, we hope that you will have concrete steps in mind around “closing the loop,” which you can bring back to your department or program.",,101
"Tortured Histories: Race, Health, and Medicine in the US",2025-08-21 12:00:00,150,online,,"Important for health professionals and everyone concerned about the health of their communities. Dr. Richard Daily, a scholar of African American and Queer history, will explore with us how United States medicine was developed through experimentation on and torture of enslaved women, cadavers, those deemed mentally ill, incarcerated folks, and even everyday people.",,101
Employee Benefits Overview,2025-08-21 14:45:00,1,hybrid,MP 114,"This workshop will cover the following health benefits: medical, dental, vision, life insurance, voluntary insurance plans, employee assistance program and other benefit enhancements. In addition, we will review changes in medical benefit rates which go into effect as of October 1, 2023, for the start of our new medical plan year.",,101
-UFW Workshop Supporting Undocumented and Immigrant Students,2025-08-21 09:00:00,2,inperson,,TBD and START TIME ALSO TBD,,101
+UFW Workshop Supporting Undocumented and Immigrant Students,2025-08-21 13:30:00,1,hybrid,,"UFW Foundation’s Immigration Legal Services provides Gavilan College students and employees with FREE access to personalized immigration legal services from highly qualified attorneys and accredited representatives in multiple languages, including English, Spanish, Mixteco, Mandarin, and more. Learn about the latest updates in current immigration relief options and know your rights. Presented by Ricardo Nunez, Senior Legal Representative.",,101
Full-Time Faculty Orientation,2025-08-21 14:45:00,105,inperson,,"
This orientation welcomes new full-time faculty and introduces key resources, responsibilities, and support systems at the college. Participants will:
Meet the faculty mentoring team and learn about upcoming FT-specific sessions.
Get started on technology and technical support services.
Understand Flex obligations and co-curricular opportunities for faculty engagement.
Gain insight into college structure and shared governance.
This session is designed to support your successful transition into full-time teaching. Come ready with questions!
",,101
Breakfast / Affinity Groups Tables,2025-08-22 08:00:00,45,inperson,Student Center,,,101
LGBTQ+ Training,2025-08-22 11:15:00,1,inperson,SS 210,,,101
Reports and Tools in Precision Campus,2025-08-22 11:15:00,1,hybrid,SS 205,"We will introduce the reports and interface of Precision Campus, which is a platform that provides institutional data and helps track student outcomes. We will demonstrate the features in Precision Campus that users may find helpful for understanding student success, retention, and persistence. This workshop may be helpful for anyone working on program review or grants. ",,101
Classroom Technology Upgrades,2025-08-22 11:15:00,1,hybrid,MP 114,"With the completion of the Hollister Campus classrooms, the new Classroom Technology Standards have been implemented. This training session will cover all essential aspects of the new audio, visual, and hyflex technology, helping ensure that faculty members are well-prepared to incorporate it into their teaching. Our goal is to ensure a smooth transition and effective use of these new tools. In the Fall of 2024, a demonstration classroom with the standard technology was developed in the Gilroy campus in the Multipurpose room 114. Several of you visited the classroom and had an opportunity to experience the technology and provide valuable input to adjust the standards. These adjustments have been implemented at the Hollister campus as well as eight classrooms on the Gilroy campus which are currently going through a renovation process. If you are scheduled to teach at the Hollister campus or one of the Gilroy classrooms, this session is a must for you.",,101
-Cultivating Empathy and Belonging to Break Bias Barriers,2025-08-22 11:15:00,1,online,,"Second of two sessions designed to help you create inclusive, supportive learning environments. Participants will:
-Learn practical applications of empathy to boost student engagement
-Applying asset-based frameworks to foster student success
-Gain knowledge to the Universal Design for Learning to help meet the diverse needs of all students",https://us02web.zoom.us/j/89823148464,101
+Cultivating Empathy and Belonging to Break Bias Barriers,2025-08-22 11:15:00,1,online,,"Second of two sessions designed to help you create inclusive, supportive learning environments. Participants will:
Learn practical applications of empathy to boost student engagement
Applying asset-based frameworks to foster student success
Gain knowledge to the Universal Design for Learning to help meet the diverse needs of all students
",https://us02web.zoom.us/j/89823148464,101
Nature Walk,2025-08-22 11:15:00,1,inperson,Meet outside Security Office,"Meet outside of the Security Office to begin your guided tour of Gavilan. Together, we will head down the Oak Woodland foothill trails to observe the natural beauty. Explore the arboretum, bird boxes, duck pond, and oak woodland projects. This is an opportunity to be in community with one another and to be more present to the beauty that surrounds us.",,101
Supporting Distressed Students,2025-08-22 11:15:00,1,online,,"Do you have students that you know could use mental health and wellness support? Do you have students that seem to be distressed, and you just aren’t sure how to approach them? Attend this session to learn some strategies to help your students access resources and for you to feel more confident to assist your students. After this session, you will be able to recognize progressing signs and symptoms of mental health and wellness decline and understand where to guide the distressed student for support.",https://gavilan-edu.zoom.us/j/6925203873?omn=81138397628,101
Lunch,2025-08-22 12:15:00,1,inperson,Student Center,Please sign up for lunch if you plan on attending. We want an accurate count to order food!,,101
diff --git a/flex.zip b/flex.zip
new file mode 100644
index 0000000..3dd9d32
Binary files /dev/null and b/flex.zip differ
diff --git a/import.php b/import.php
index b4b6568..3a8d475 100644
--- a/import.php
+++ b/import.php
@@ -1,14 +1,12 @@
connect_error) {
- die("DB Connection failed: " . $mysqli->connect_error);
-}
+ include_once("peter_db.php");
+ $peter_db = new peter_db();
+ $mysqli = $peter_db -> getConnection();
+ // Check connection
+ if ($mysqli->connect_error) {
+ die("Connection failed: " . $mysqli->connect_error);
+ }
// import and get id of welcome session to use as parent
if (0) {
diff --git a/import2.csv b/import2.csv
index d08961f..5222ee9 100644
--- a/import2.csv
+++ b/import2.csv
@@ -1,6 +1,7 @@
title,starttime,length,mode,location_irl,desc,location,type,parent
-Strategies for Part-Time Faculty,2025-08-22 14:30:00,1,online,,,,101,1413
-Budget Workshop,2025-08-22 14:30:00,1,,,Become more familiar with the Gavilan budget and all the figures frequently referred to in meetings and reports. The administration will give a brief overview and discuss the organization and details of our budget. There will be time for discussion and questions.,,101,1413
-Artificial Intelligence,2025-08-22 14:30:00,1,online,,Continue the discussion and share strategies for approaching AI. Emphasis on how it can help or hurt learning and thinking. We'll also review how to introduce and frame AI tools for our students.,https://zoom.us/my/phowell,101,1413
-CAP Clusters Planning Work,2025-08-22 14:30:00,1,inperson,,,,101,1413
-Mindfulness,2025-08-22 14:30:00,1,inperson,MP 114,"In this session, we will explore together how to create a space for learning, reflection, and practice around self-care, focusing on how mindfulness meditation can deepen our awareness of everyday moments that impact our well-being. We’ll explore the science behind mindfulness and self-care, learning how small, intentional choices can support our overall health and help us cultivate more meaningful, mindful habits.",,101,1413
\ No newline at end of file
+Budget Workshop,2025-08-22 14:30:00,1,,,Become more familiar with the Gavilan budget and all the figures frequently referred to in meetings and reports. The administration will give a brief overview and discuss the organization and details of our budget. There will be time for discussion and questions.,,101,1445
+Artificial Intelligence,2025-08-22 14:30:00,1,online,,Continue the discussion and share strategies for approaching AI. Emphasis on how it can help or hurt learning and thinking. We'll also review how to introduce and frame AI tools for our students.,https://zoom.us/my/phowell,101,1445
+CAP Clusters Planning Work,2025-08-22 14:30:00,1,inperson,,,,101,1445
+CAP Clusters Planning Work,2025-08-22 13:20:00,1,inperson,,,,101,1445
+Mindfulness,2025-08-22 14:30:00,1,inperson,MP 114,"In this session, we will explore together how to create a space for learning, reflection, and practice around self-care, focusing on how mindfulness meditation can deepen our awareness of everyday moments that impact our well-being. We’ll explore the science behind mindfulness and self-care, learning how small, intentional choices can support our overall health and help us cultivate more meaningful, mindful habits.",,101,1445
+Strategies for Part-Time Faculty,2025-08-22 14:30:00,1,online,,,,101,1445
\ No newline at end of file
diff --git a/import3.csv b/import3.csv
new file mode 100644
index 0000000..0f3d1a4
--- /dev/null
+++ b/import3.csv
@@ -0,0 +1,27 @@
+title,starttime,length,mode,location_irl,desc,location,type,parent
+Just Report It/Title IX,2025-08-21 09:00:00,50,online,,"It can be difficult to decide where and how to report an incident here at Gavilan. In this session, we will discuss the different types of referrals and reporting forms. Potential referrals and reports may include disruptive behaviors, harassment, sexual misconduct, trip hazards, injuries on campus, academic integrity, emotional wellness, basic needs, student complaints, and more.",https://gavilan-edu.zoom.us/j/6925203873?omn=88194616085,101,1445
+Empowering Educators: Navigating Imposter Syndrome,2025-08-21 10:00:00,90,online,,"First of two sessions designed to help you create inclusive, supportive learning environments where every student can thrive. Participants will:
Develop an understanding of the five types of imposter syndrome
Adapt strategies to cultivate vulnerability and authenticity in the classroom
",https://us02web.zoom.us/j/89823148464,101,1445
+Club Advisor Training,2025-08-21 10:00:00,90,hybrid,SS 111,"This workshop will share information with current and prospective club advisors on best practices including managing club finances, processes for organizing events, travel and fundraising.",,101,1445
+"Making Assessment a Culture, Not a Checkbox",2025-08-21 12:00:00,90,hybrid,SS 205,"How meaningful does SLO and SAO assessment feel to you? In many ways, our current approaches feel empty. There is a myth that all we need to do is assess and archive and, voila, we are done. In this session, we will examine the need to “close the loop” in assessment in order to increase equity, accountability, and student success, as well as to make this work meaningful. SLO assessment should help us identify best practices and improve our teaching and our classrooms. We will look at how to do this work together. This will be an interactive session. By the end of our workshop, we hope that you will have concrete steps in mind around “closing the loop,” which you can bring back to your department or program.",,101,1445
+"Tortured Histories: Race, Health, and Medicine in the US",2025-08-21 12:00:00,150,online,,"Important for health professionals and everyone concerned about the health of their communities. Dr. Richard Daily, a scholar of African American and Queer history, will explore with us how United States medicine was developed through experimentation on and torture of enslaved women, cadavers, those deemed mentally ill, incarcerated folks, and even everyday people.",,101,1445
+Employee Benefits Overview,2025-08-21 14:45:00,1,hybrid,MP 114,"This workshop will cover the following health benefits: medical, dental, vision, life insurance, voluntary insurance plans, employee assistance program and other benefit enhancements. In addition, we will review changes in medical benefit rates which go into effect as of October 1, 2023, for the start of our new medical plan year.",,101,1445
+UFW Workshop Supporting Undocumented and Immigrant Students,2025-08-21 13:30:00,1,hybrid,,"UFW Foundation’s Immigration Legal Services provides Gavilan College students and employees with FREE access to personalized immigration legal services from highly qualified attorneys and accredited representatives in multiple languages, including English, Spanish, Mixteco, Mandarin, and more. Learn about the latest updates in current immigration relief options and know your rights. Presented by Ricardo Nunez, Senior Legal Representative.",,101,1445
+Full-Time Faculty Orientation,2025-08-21 14:45:00,105,inperson,,"
This orientation welcomes new full-time faculty and introduces key resources, responsibilities, and support systems at the college. Participants will:
Meet the faculty mentoring team and learn about upcoming FT-specific sessions.
Get started on technology and technical support services.
Understand Flex obligations and co-curricular opportunities for faculty engagement.
Gain insight into college structure and shared governance.
This session is designed to support your successful transition into full-time teaching. Come ready with questions!
",,101,1445
+Breakfast / Affinity Groups Tables,2025-08-22 08:00:00,45,inperson,Student Center,,,101,1445
+LGBTQ+ Training,2025-08-22 11:15:00,1,inperson,SS 210,,,101,1445
+Reports and Tools in Precision Campus,2025-08-22 11:15:00,1,hybrid,SS 205,"We will introduce the reports and interface of Precision Campus, which is a platform that provides institutional data and helps track student outcomes. We will demonstrate the features in Precision Campus that users may find helpful for understanding student success, retention, and persistence. This workshop may be helpful for anyone working on program review or grants. ",,101,1445
+Classroom Technology Upgrades,2025-08-22 11:15:00,1,hybrid,MP 114,"With the completion of the Hollister Campus classrooms, the new Classroom Technology Standards have been implemented. This training session will cover all essential aspects of the new audio, visual, and hyflex technology, helping ensure that faculty members are well-prepared to incorporate it into their teaching. Our goal is to ensure a smooth transition and effective use of these new tools. In the Fall of 2024, a demonstration classroom with the standard technology was developed in the Gilroy campus in the Multipurpose room 114. Several of you visited the classroom and had an opportunity to experience the technology and provide valuable input to adjust the standards. These adjustments have been implemented at the Hollister campus as well as eight classrooms on the Gilroy campus which are currently going through a renovation process. If you are scheduled to teach at the Hollister campus or one of the Gilroy classrooms, this session is a must for you.",,101,1445
+Cultivating Empathy and Belonging to Break Bias Barriers,2025-08-22 11:15:00,1,online,,"Second of two sessions designed to help you create inclusive, supportive learning environments. Participants will:
Learn practical applications of empathy to boost student engagement
Applying asset-based frameworks to foster student success
Gain knowledge to the Universal Design for Learning to help meet the diverse needs of all students
",https://us02web.zoom.us/j/89823148464,101,1445
+Nature Walk,2025-08-22 11:15:00,1,inperson,Meet outside Security Office,"Meet outside of the Security Office to begin your guided tour of Gavilan. Together, we will head down the Oak Woodland foothill trails to observe the natural beauty. Explore the arboretum, bird boxes, duck pond, and oak woodland projects. This is an opportunity to be in community with one another and to be more present to the beauty that surrounds us.",,101,1445
+Supporting Distressed Students,2025-08-22 11:15:00,1,online,,"Do you have students that you know could use mental health and wellness support? Do you have students that seem to be distressed, and you just aren’t sure how to approach them? Attend this session to learn some strategies to help your students access resources and for you to feel more confident to assist your students. After this session, you will be able to recognize progressing signs and symptoms of mental health and wellness decline and understand where to guide the distressed student for support.",https://gavilan-edu.zoom.us/j/6925203873?omn=81138397628,101,1445
+Lunch,2025-08-22 12:15:00,1,inperson,Student Center,Please sign up for lunch if you plan on attending. We want an accurate count to order food!,,101,1445
+Centering Connection: Approaches to Student Conduct through a Restorative Justice & Mindfulness Lens,2025-08-22 13:20:00,1,hybrid,SS 205,"
This interactive workshop will explore how restorative justice (RJ) practices and mindfulness-based strategies can transform student conduct and classroom management approaches. Rather than focusing on punitive discipline, we will examine how restorative and mindful approaches foster deeper accountability, empathy, community building, and healing. Workshop participants will gain practical tools for addressing conflict, behavioral disruptions, and harm in ways that support student growth and foster inclusive learning environments.
As part of this session, Professor Jessica Hooper will share examples of short, accessible mindfulness practices that faculty can easily integrate into their classes to promote emotional regulation, focus, and a sense of calm. These techniques are especially helpful in moments of tension in the classroom.
In addition, we will provide an overview of the Just Report It webpage and the CARE report process, offering clear guidance for faculty and staff who have concerns about a student in their classroom or program.
",,101,1445
+Dual Enrollment,2025-08-22 13:20:00,1,hybrid,MP 114,,,101,1445
+The Basics of Excel,2025-08-22 13:20:00,1,online,,"Master the fundamentals of Excel with this beginner-friendly training! You'll learn essential skills like navigating spreadsheets, entering and formatting data, using basic formulas, and creating simple pivot tables. Whether you're new to Excel or need a refresher, this session will help you build confidence and efficiency in handling data.",,101,1445
+"Win a Shirt, Change a life: Become a Basic Needs Ally",2025-08-22 13:20:00,1,inperson,El Centro,"You’ve seen the shirt—now earn it! Join El Centro for a fast-paced, interactive Kahoot session where you’ll test your knowledge, win exclusive swag (yes, that Basic Needs Ally shirt), and gain practical tools to support students facing food insecurity, housing instability, and more. Learn how faculty, classified staff, and administrators alike can break down barriers and connect students to life-changing resources—no matter your role. Come for the prizes, leave as a campus ally.",,101,1445
+Just in Time Support for Canvas Shells/Courses,2025-08-22 13:20:00,1,hybrid,BU 120,"Elevate your online teaching experience this semester with our zoom “Drop-in Live Help” session. Benefit from instant guidance, solutions, and collaborative discussions with fellow teachers. Troubleshooting technical issues? Our experts, Peter and Sabrina will be here to assist you on the spot. Don't let challenges hold you back – join us and start the semester off in your online classroom with confidence!",,101,1445
+Strategies for Part-Time Faculty,2025-08-22 14:30:00,1,online,,,,101,1445
+Budget Workshop,2025-08-22 14:30:00,1,,,Become more familiar with the Gavilan budget and all the figures frequently referred to in meetings and reports. The administration will give a brief overview and discuss the organization and details of our budget. There will be time for discussion and questions.,,101,1445
+Artificial Intelligence,2025-08-22 14:30:00,1,online,,Continue the discussion and share strategies for approaching AI. Emphasis on how it can help or hurt learning and thinking. We'll also review how to introduce and frame AI tools for our students.,https://zoom.us/my/phowell,101,1445
+CAP Clusters Planning Work,2025-08-22 14:30:00,1,inperson,,,,101,1445
+Mindfulness,2025-08-22 14:30:00,1,inperson,MP 114,"In this session, we will explore together how to create a space for learning, reflection, and practice around self-care, focusing on how mindfulness meditation can deepen our awareness of everyday moments that impact our well-being. We’ll explore the science behind mindfulness and self-care, learning how small, intentional choices can support our overall health and help us cultivate more meaningful, mindful habits.",,101,1445
\ No newline at end of file
diff --git a/js/dir_app.js b/js/dir_app.js
index 0e300c7..4c20eaa 100644
--- a/js/dir_app.js
+++ b/js/dir_app.js
@@ -1271,7 +1271,7 @@ const ActivityList = Vue.component('activitylist', {
It looks like you haven't signed up for any sessions yet!
+ Error: Could not write {$file}";
+ }
+
+ } */
+
+ // Open the queries.txt file and read each line
+ /*if (file_exists($file)) {
+ $queries = file($file, FILE_IGNORE_NEW_LINES); // Read lines into an array
+ foreach ($queries as $query) {
+ // Create a link for each query in the file
+ echo '
";
+ }
+ }
+ }
+
+ /*
+ // Now let's append the query to queries.txt if it's not already there
+ $queries = file($file, FILE_IGNORE_NEW_LINES); // Read the existing queries into an array
+ if (!in_array($query, $queries)) {
+ $queries[] = $query; // Add the new query to the array
+ sort($queries); // Sort the queries alphabetically
+ file_put_contents($file, implode(PHP_EOL, $queries) . PHP_EOL); // Save the sorted queries back to the file
+ //echo "
Query added to queries.txt.
";
+ } else {
+ echo "";
+ //echo "
Query already exists in queries.txt.
";
+ }
+ */
+
+
+ $conn->close();
+ }
+ ?>
+
+
\ No newline at end of file
diff --git a/queries.txt b/queries.txt
new file mode 100644
index 0000000..d43128e
--- /dev/null
+++ b/queries.txt
@@ -0,0 +1,16 @@
+Show tables|show tables;
+All sessions, most recent first|select * from conf_sessions order by id desc;
+Signups by user|select i.id, i.timestamp, u.name, u.goo, u.email, s.title, s.mode from conf_signups i join conf_users u on i.user=u.id join conf_sessions s on i.session=s.id order by i.id desc;
+Signups by session|select n.title,u.name, n.type,n.starttime,n.mode, u.goo, u.email from conf_sessions n join conf_signups s on s.session=n.id join conf_users u on s.user=u.id where n.id>1413 order by n.id desc;
+Signup count per session|SELECT n.title, n.type, n.starttime, n.mode, COUNT(s.user) AS signup_count FROM conf_sessions n JOIN conf_signups s ON s.session = n.id WHERE n.id > 1413 GROUP BY n.title, n.type, n.starttime, n.mode ORDER BY n.starttime;
+Signup count per session by popularity|SELECT n.title, n.type, n.starttime, n.mode, COUNT(s.user) AS signup_count FROM conf_sessions n JOIN conf_signups s ON s.session = n.id WHERE n.id > 1413 GROUP BY n.title, n.type, n.starttime, n.mode ORDER BY signup_count desc;
+Meta data|select * from conf_uinforecord;
+All users, most recent first|select * from conf_users order by id desc;
+Hosts with emails|SELECT u.email FROM conf_sessions n JOIN conf_hosts h ON h.session=n.id JOIN conf_users u ON h.host=u.id WHERE n.id > 1413 ORDER BY n.starttime;
+Surveys with user|select a.answer, s.title, u.name, s.starttime, s.mode from conf_answers a join conf_users u on u.id=a.user join conf_sessions s on s.id=a.session where s.id>1412 order by a.session, a.question, u.name
+Surveys without user|select a.answer, s.title, s.starttime, s.mode from conf_answers a join conf_sessions s on s.id=a.session where s.id>1412 order by a.session, a.question
+Full surveys with users|SELECT s.id AS sessionid, s.title, s.starttime, s.mode, s.parent, GROUP_CONCAT(DISTINCT u1.name ORDER BY u1.name SEPARATOR ', ') AS hosts, GROUP_CONCAT(DISTINCT u2.name ORDER BY u2.name SEPARATOR ', ') AS signups, GROUP_CONCAT(DISTINCT CONCAT(u3.name, ': ', a.answer, ' (Q', a.question, ')') ORDER BY a.question SEPARATOR ' | ') AS ratings_comments FROM conf_sessions s LEFT JOIN conf_hosts h ON h.session = s.id LEFT JOIN conf_users u1 ON h.host = u1.id LEFT JOIN conf_signups i ON i.session = s.id LEFT JOIN conf_users u2 ON i.user = u2.id LEFT JOIN conf_answers a ON a.session = s.id LEFT JOIN conf_users u3 ON a.user = u3.id GROUP BY s.id ORDER BY s.id DESC;
+Full surveys without users|SELECT s.id AS sessionid, s.title, s.starttime, s.mode, s.parent, GROUP_CONCAT(DISTINCT u1.name ORDER BY u1.name SEPARATOR ', ') AS hosts, GROUP_CONCAT(DISTINCT u2.name ORDER BY u2.name SEPARATOR ', ') AS signups, CONCAT( 'Rating 1: ', IFNULL(r.count_1, 0), ' \n', 'Rating 2: ', IFNULL(r.count_2, 0), ' \n', 'Rating 3: ', IFNULL(r.count_3, 0), ' \n', 'Rating 4: ', IFNULL(r.count_4, 0), ' \n', 'Rating 5: ', IFNULL(r.count_5, 0), ' \n' '\n ', GROUP_CONCAT(DISTINCT CASE WHEN a.answer REGEXP '^[0-9]+$' THEN NULL ELSE CONCAT(a.answer, '\n
') END ORDER BY a.question SEPARATOR '' ) ) AS ratings_comments FROM conf_sessions s LEFT JOIN conf_hosts h ON h.session = s.id LEFT JOIN conf_users u1 ON h.host = u1.id LEFT JOIN conf_signups i ON i.session = s.id LEFT JOIN conf_users u2 ON i.user = u2.id LEFT JOIN conf_answers a ON a.session = s.id LEFT JOIN ( SELECT session, COUNT(CASE WHEN answer = '1' THEN 1 END) AS count_1, COUNT(CASE WHEN answer = '2' THEN 1 END) AS count_2, COUNT(CASE WHEN answer = '3' THEN 1 END) AS count_3, COUNT(CASE WHEN answer = '4' THEN 1 END) AS count_4, COUNT(CASE WHEN answer = '5' THEN 1 END) AS count_5 FROM conf_answers WHERE answer REGEXP '^[1-5]$' GROUP BY session ) r ON r.session = s.id WHERE s.id > 1412 GROUP BY s.id ORDER BY s.starttime;
+Turn on zoom links and surveys|update conf_uinforecord set `value`=1 where id>1 and id<4;
+Turn off zoom links and surveys|update conf_uinforecord set `value`=0 where id>1 and id<4;
+New user|insert into conf_users (`name`,`goo`,`email`,`active`,p2id) values ('name','123456','yyy@gavilan.edu',0,0);
diff --git a/report.php b/report.php
new file mode 100644
index 0000000..c00cf9b
--- /dev/null
+++ b/report.php
@@ -0,0 +1,9 @@
+";
+include 'layout.php';