main/inc/lib/group_portal_manager.lib.php 1 location
|
@@ 551-555 (lines=5) @@
|
| 548 |
|
} |
| 549 |
|
|
| 550 |
|
$limit_text = ''; |
| 551 |
|
if (isset($from) && isset($limit)) { |
| 552 |
|
$from = intval($from); |
| 553 |
|
$limit = intval($limit); |
| 554 |
|
$limit_text = "LIMIT $from, $limit"; |
| 555 |
|
} |
| 556 |
|
|
| 557 |
|
if (count($relation_type) == 0) { |
| 558 |
|
$where_relation_condition = ''; |
main/inc/lib/course.lib.php 1 location
|
@@ 3213-3217 (lines=5) @@
|
| 3210 |
|
$whereConditions |
| 3211 |
|
$orderBy |
| 3212 |
|
"; |
| 3213 |
|
if (isset($from) && isset($limit)) { |
| 3214 |
|
$from = intval($from); |
| 3215 |
|
$limit = intval($limit); |
| 3216 |
|
$sql .= " LIMIT $from, $limit"; |
| 3217 |
|
} |
| 3218 |
|
|
| 3219 |
|
$result = Database::query($sql); |
| 3220 |
|
|
main/inc/lib/sessionmanager.lib.php 1 location
|
@@ 3324-3328 (lines=5) @@
|
| 3321 |
|
return $row['count']; |
| 3322 |
|
} |
| 3323 |
|
|
| 3324 |
|
if (isset($from) && isset($limit)) { |
| 3325 |
|
$from = intval($from); |
| 3326 |
|
$limit = intval($limit); |
| 3327 |
|
$sql .= " LIMIT $from, $limit"; |
| 3328 |
|
} |
| 3329 |
|
|
| 3330 |
|
$result = Database::query($sql); |
| 3331 |
|
$num_rows = Database::num_rows($result); |
main/inc/lib/usergroup.lib.php 1 location
|
@@ 1903-1907 (lines=5) @@
|
| 1900 |
|
} |
| 1901 |
|
|
| 1902 |
|
$limit_text = ''; |
| 1903 |
|
if (isset($from) && isset($limit)) { |
| 1904 |
|
$from = intval($from); |
| 1905 |
|
$limit = intval($limit); |
| 1906 |
|
$limit_text = "LIMIT $from, $limit"; |
| 1907 |
|
} |
| 1908 |
|
|
| 1909 |
|
if (count($relation_type) == 0) { |
| 1910 |
|
$where_relation_condition = ''; |
main/exercice/exercise.class.php 1 location
|
@@ 576-580 (lines=5) @@
|
| 573 |
|
|
| 574 |
|
$limitCondition = null; |
| 575 |
|
|
| 576 |
|
if (isset($start) && isset($limit)) { |
| 577 |
|
$start = intval($start); |
| 578 |
|
$limit = intval($limit); |
| 579 |
|
$limitCondition = " LIMIT $start, $limit"; |
| 580 |
|
} |
| 581 |
|
$sql .= $limitCondition; |
| 582 |
|
$result = Database::query($sql); |
| 583 |
|
$questions = array(); |