mirror of
https://gitlab.com/CodeSolutionsProject/CodeShare.git
synced 2026-03-05 09:52:02 +01:00
Add languages, categorized them, add rechaptcha
This commit is contained in:
@@ -211,15 +211,13 @@ class DB
|
||||
}
|
||||
}
|
||||
}
|
||||
if(count($array)==1)
|
||||
$where = $where . "S.Lang<>''";
|
||||
|
||||
if (isset($array["o"]))
|
||||
$first = $array["o"] * 10;
|
||||
else
|
||||
$first = 0;
|
||||
if(array_key_exists("search",$array))
|
||||
$search = $array("search");
|
||||
$search = $this->search($array["search"]);
|
||||
else
|
||||
$search = "";
|
||||
$queryLast = ") AND Version = (SELECT MAX(Version) FROM Sources WHERE S.Lang = Lang AND S.IDC = IDC)" . $search . " ORDER BY Modification DESC LIMIT $first, 10";
|
||||
|
||||
Reference in New Issue
Block a user