-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a9c302f
commit 3188cbe
Showing
35 changed files
with
2,311 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
include "../config.php"; | ||
|
||
$IdsArray = $_GET['checkedIds']; | ||
|
||
|
||
|
||
$placeholders = implode(',',array_fill(0, count($IdsArray), '?')); | ||
$query = $conn->prepare("DELETE FROM users WHERE user_id IN ($placeholders)"); | ||
$query->bind_param(str_repeat('s',count($IdsArray)), ...$IdsArray); | ||
$query->execute(); | ||
|
||
if ($query){ | ||
echo 1; | ||
} else { | ||
echo 0; | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
include "../config.php"; | ||
|
||
$IdsArray = $_GET['checkedIds']; | ||
|
||
|
||
|
||
$placeholders = implode(',',array_fill(0, count($IdsArray), '?')); | ||
$query = $conn->prepare("DELETE FROM appointments WHERE id IN ($placeholders)"); | ||
$query->bind_param(str_repeat('i',count($IdsArray)), ...$IdsArray); | ||
$query->execute(); | ||
|
||
if ($query){ | ||
echo 1; | ||
} else { | ||
echo 0; | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
include "../config.php"; | ||
|
||
$IdsArray = $_GET['checkedIds']; | ||
|
||
|
||
|
||
$placeholders = implode(',',array_fill(0, count($IdsArray), '?')); | ||
$query = $conn->prepare("DELETE FROM class_timetable WHERE id IN ($placeholders)"); | ||
$query->bind_param(str_repeat('i',count($IdsArray)), ...$IdsArray); | ||
$query->execute(); | ||
|
||
if ($query){ | ||
echo 1; | ||
} else { | ||
echo 0; | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
include "../config.php"; | ||
|
||
$IdsArray = $_GET['checkedIds']; | ||
|
||
|
||
|
||
$placeholders = implode(',',array_fill(0, count($IdsArray), '?')); | ||
$query = $conn->prepare("DELETE FROM contacts WHERE id IN ($placeholders)"); | ||
$query->bind_param(str_repeat('i',count($IdsArray)), ...$IdsArray); | ||
$query->execute(); | ||
|
||
if ($query){ | ||
echo 1; | ||
} else { | ||
echo 0; | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
include "../config.php"; | ||
|
||
$IdsArray = $_GET['checkedIds']; | ||
|
||
|
||
|
||
$placeholders = implode(',',array_fill(0, count($IdsArray), '?')); | ||
$query = $conn->prepare("DELETE FROM events WHERE id IN ($placeholders)"); | ||
$query->bind_param(str_repeat('i',count($IdsArray)), ...$IdsArray); | ||
$query->execute(); | ||
|
||
if ($query){ | ||
echo 1; | ||
} else { | ||
echo 0; | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
include "../config.php"; | ||
|
||
$IdsArray = $_GET['checkedIds']; | ||
|
||
|
||
|
||
$placeholders = implode(',',array_fill(0, count($IdsArray), '?')); | ||
$query = $conn->prepare("DELETE FROM goals WHERE id IN ($placeholders)"); | ||
$query->bind_param(str_repeat('i',count($IdsArray)), ...$IdsArray); | ||
$query->execute(); | ||
|
||
if ($query){ | ||
echo 1; | ||
} else { | ||
echo 0; | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
include "../config.php"; | ||
|
||
$IdsArray = $_GET['checkedIds']; | ||
|
||
|
||
|
||
$placeholders = implode(',',array_fill(0, count($IdsArray), '?')); | ||
$query = $conn->prepare("DELETE FROM payments WHERE id IN ($placeholders)"); | ||
$query->bind_param(str_repeat('i',count($IdsArray)), ...$IdsArray); | ||
$query->execute(); | ||
|
||
if ($query){ | ||
echo 1; | ||
} else { | ||
echo 0; | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
include "../config.php"; | ||
|
||
$IdsArray = $_GET['checkedIds']; | ||
|
||
|
||
|
||
$placeholders = implode(',',array_fill(0, count($IdsArray), '?')); | ||
$query = $conn->prepare("DELETE FROM personal_timetable WHERE id IN ($placeholders)"); | ||
$query->bind_param(str_repeat('i',count($IdsArray)), ...$IdsArray); | ||
$query->execute(); | ||
|
||
if ($query){ | ||
echo 1; | ||
} else { | ||
echo 0; | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
include "../config.php"; | ||
|
||
$IdsArray = $_GET['checkedIds']; | ||
|
||
|
||
|
||
$placeholders = implode(',',array_fill(0, count($IdsArray), '?')); | ||
$query = $conn->prepare("DELETE FROM projects WHERE id IN ($placeholders)"); | ||
$query->bind_param(str_repeat('i',count($IdsArray)), ...$IdsArray); | ||
$query->execute(); | ||
|
||
if ($query){ | ||
echo 1; | ||
} else { | ||
echo 0; | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.