public/main/session/add_many_session_to_category.php
Variable "tbl_session_category" is not in valid camel caps format Open
Open
$tbl_session_category = Database::get_main_table(TABLE_MAIN_SESSION_CATEGORY);
- Exclude checks
Variable "CourseList" is not in valid camel caps format Open
Open
$CourseList = $SessionList = [];
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
Open
$add_type = Security::remove_XSS($_REQUEST['add_type']);
- Exclude checks
Variable "SessionList" is not in valid camel caps format Open
Open
$CourseList = $SessionList = [];
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
Open
$tbl_session = Database::get_main_table(TABLE_MAIN_SESSION);
- Exclude checks
Variable "tbl_session_rel_user" is not in valid camel caps format Open
Open
$tbl_session_rel_user = Database::get_main_table(TABLE_MAIN_SESSION_USER);
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
$tool_name = get_lang('Subscription sessions in the category');
- Exclude checks
Variable "tbl_session_rel_course_rel_user" is not in valid camel caps format Open
Open
$tbl_session_rel_course_rel_user = Database::get_main_table(TABLE_MAIN_SESSION_COURSE_USER);
- Exclude checks
Variable "tbl_session_rel_course" is not in valid camel caps format Open
Open
$tbl_session_rel_course = Database::get_main_table(TABLE_MAIN_SESSION_COURSE);
- Exclude checks
Variable "tbl_course" is not in valid camel caps format Open
Open
$tbl_course = Database::get_main_table(TABLE_MAIN_COURSE);
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
Open
$add_type = 'multiple';
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_PLATFORM_ADMIN;
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
Open
$sql = "UPDATE $tbl_session SET session_category_id = NULL WHERE session_category_id = $categoryId";
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id = join(',', $sessionCategoryList);
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
Open
$sql = "UPDATE $tbl_session SET session_category_id = $categoryId WHERE id in ($session_id) ";
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$sql = "UPDATE $tbl_session SET session_category_id = $categoryId WHERE id in ($session_id) ";
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
<?php echo '<legend>'.$tool_name.'</legend>'; ?>
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
Open
$sql = 'SELECT id, title FROM '.$tbl_session.' WHERE session_category_id = '.$categoryId.' ORDER BY title';
- Exclude checks
Variable "rows_session" is not in valid camel caps format Open
Open
$rows_session = Database::store_result($result);
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
Open
$access_url_id = api_get_current_access_url_id();
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
Open
$sql = "SELECT s.id, s.title FROM $tbl_session s INNER JOIN $table_access_url_rel_session u ON s.id = u.session_id $where AND u.access_url_id = $access_url_id ORDER BY title";
- Exclude checks
Closing brace indented incorrectly; expected 0 spaces, found 12 Open
Open
} ?>
- Exclude checks
Variable "rows_category_session" is not in valid camel caps format Open
Open
$rows_category_session = [];
- Exclude checks
Variable "rows_category_session" is not in valid camel caps format Open
Open
$rows_category_session = Database::store_result($result);
- Exclude checks
Variable "table_access_url_rel_session" is not in valid camel caps format Open
Open
$sql = "SELECT s.id, s.title FROM $tbl_session s INNER JOIN $table_access_url_rel_session u ON s.id = u.session_id $where AND u.access_url_id = $access_url_id ORDER BY title";
- Exclude checks
Variable "rows_category_session" is not in valid camel caps format Open
Open
foreach ($rows_category_session as $enreg) {
- Exclude checks
Variable "OkMsg" is not in valid camel caps format Open
Open
if (!empty($OkMsg)) {
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
Open
$sql = "SELECT id, title FROM $tbl_session $where ORDER BY title";
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
Open
<?php if ('multiple' == $add_type) {
- Exclude checks
Variable "OkMsg" is not in valid camel caps format Open
Open
$OkMsg = get_lang('Category update');
- Exclude checks
Variable "rows_session_category" is not in valid camel caps format Open
Open
$rows_session_category = SessionManager::get_all_session_category();
- Exclude checks
Variable "table_access_url_rel_session" is not in valid camel caps format Open
Open
$table_access_url_rel_session = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
- Exclude checks
Variable "CourseList" is not in valid camel caps format Open
Open
if (in_array($enreg['id'], $CourseList)) {
- Exclude checks
Variable "CourseList" is not in valid camel caps format Open
Open
if (in_array($enreg['id'], $CourseList)) {
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
Display::display_header($tool_name);
- Exclude checks
Variable "rows_session_category" is not in valid camel caps format Open
Open
if (empty($rows_session_category)) {
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
Open
$sql = "SELECT s.id, s.title FROM $tbl_session s INNER JOIN $table_access_url_rel_session u ON s.id = u.session_id $where AND u.access_url_id = $access_url_id ORDER BY title";
- Exclude checks
Variable "rows_session_category" is not in valid camel caps format Open
Open
if (!empty($rows_session_category)) {
- Exclude checks
Variable "OkMsg" is not in valid camel caps format Open
Open
echo Display::return_message($OkMsg, 'confirm'); //main API
- Exclude checks
Variable "rows_session_category" is not in valid camel caps format Open
Open
foreach ($rows_session_category as $category) {
- Exclude checks
Variable "rows_session" is not in valid camel caps format Open
Open
foreach ($rows_session as $enreg) {
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 0 Open
Open
if (!empty($_GET['add'])) {
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 0 Open
Open
} ?>" style="margin:0px;">
- Exclude checks
Closing brace indented incorrectly; expected 0 spaces, found 12 Open
Open
} ?>
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 4 Open
Open
echo '&add=true';
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 12 Open
Open
} ?>
- Exclude checks