Initial commit

This commit is contained in:
root
2020-08-17 19:16:42 -04:00
commit 61584e0eb2
600 changed files with 50518 additions and 0 deletions

14
lotgd-web/lotgd/lib/mounts.php Executable file
View File

@ -0,0 +1,14 @@
<?php
// translator ready
// addnews ready
// mail ready
function getmount($horse=0) {
$sql = "SELECT * FROM " . db_prefix("mounts") . " WHERE mountid='$horse'";
$result = db_query_cached($sql, "mountdata-$horse", 3600);
if (db_num_rows($result)>0){
return db_fetch_assoc($result);
}else{
return array();
}
}
?>