diff --git a/API/request.php b/API/request.php index 1c0bcc7..0c2c381 100644 --- a/API/request.php +++ b/API/request.php @@ -4,13 +4,10 @@ header("Cache-Control: post-check=0, pre-check=0", false); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Pragma: no-cache"); header('Content-Type: application/json'); -$servername = "localhost"; -$username = "paredu"; -$password = "d5X5\$cN$9G"; -$dbname = "paredu"; +include "../creds.php"; // Create connection -$conn = new mysqli($servername, $username, $password, $dbname); +$conn = new mysqli($sqlserver, $sqluser, $sqlpass, $dbname); // Check connection if ($conn->connect_error) { diff --git a/admin/dataupload.php b/admin/dataupload.php index d689be4..9874ca9 100644 --- a/admin/dataupload.php +++ b/admin/dataupload.php @@ -89,7 +89,6 @@ - @@ -101,7 +100,7 @@ fotója
- &id=" height="100px" width="100px"> +
diff --git a/css/Roboto-Regular.ttf b/css/.fuse_hidden0002546300000002 similarity index 100% rename from css/Roboto-Regular.ttf rename to css/.fuse_hidden0002546300000002 diff --git a/css/Roboto-Regular.woff2 b/css/Roboto-Regular.woff2 new file mode 100644 index 0000000..6362d7f Binary files /dev/null and b/css/Roboto-Regular.woff2 differ diff --git a/css/Roboto-ext.woff2 b/css/Roboto-ext.woff2 new file mode 100644 index 0000000..530e22c Binary files /dev/null and b/css/Roboto-ext.woff2 differ diff --git a/css/Roboto.woff2 b/css/Roboto.woff2 deleted file mode 100644 index a52ee35..0000000 Binary files a/css/Roboto.woff2 and /dev/null differ diff --git a/css/font.css b/css/font.css index 117c4c4..790aea2 100644 --- a/css/font.css +++ b/css/font.css @@ -1,9 +1,26 @@ -/* fallback */ @font-face { font-family: 'Material Icons'; font-style: normal; font-weight: 400; - src: url(Roboto.woff2) format('woff2'); + src: url(icons.woff2) format('woff2'); +} +/* fallback */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(Roboto-Regular.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(Roboto-ext.woff2) format('woff2'); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } .material-icons { diff --git a/header.php b/header.php index 450c515..58cfbe5 100644 --- a/header.php +++ b/header.php @@ -371,7 +371,7 @@ if(!isset($liteload) && $loggedin == false && $isadmin && $type != 1 && $type != - +