diff --git a/assets/images/background.jpg b/assets/images/background.jpg new file mode 100644 index 0000000..856213a Binary files /dev/null and b/assets/images/background.jpg differ diff --git a/assets/images/featured.jpg b/assets/images/featured.jpg new file mode 100644 index 0000000..ab0b163 Binary files /dev/null and b/assets/images/featured.jpg differ diff --git a/includes/pexels.php b/includes/pexels.php new file mode 100644 index 0000000..26d3ffe --- /dev/null +++ b/includes/pexels.php @@ -0,0 +1,25 @@ + 0 ? $k : 'Vc99rnmOhHhJAbgGQoKLZtsaIVfkeownoQNbTj78VemUjKh08ZYRbf18'; +} +function pexels_get($url) { + $ch = curl_init(); + curl_setopt_array($ch, [ + CURLOPT_URL => $url, + CURLOPT_RETURNTRANSFER => true, + CURLOPT_HTTPHEADER => [ 'Authorization: '. pexels_key() ], + CURLOPT_TIMEOUT => 15, + ]); + $resp = curl_exec($ch); + $code = curl_getinfo($ch, CURLINFO_HTTP_CODE); + curl_close($ch); + if ($code >= 200 && $code < 300 && $resp) return json_decode($resp, true); + return null; +} +function download_to($srcUrl, $destPath) { + $data = @file_get_contents($srcUrl); + if ($data === false) return false; + if (!is_dir(dirname($destPath))) mkdir(dirname($destPath), 0775, true); + return file_put_contents($destPath, $data) !== false; +} diff --git a/index.php b/index.php index 7205f3d..50aaa79 100644 --- a/index.php +++ b/index.php @@ -1,150 +1,427 @@ - + - - - New Style - - - - - - - - - - - - - - - - - - - + + + Lili Records Radio + + + + + + + + + + + + + + -
-
-

Analyzing your requirements and generating your website…

-
- Loading… -
-

AI is collecting your requirements and applying the first changes.

-

This page will update automatically as the plan is implemented.

-

Runtime: PHP — UTC

+
+ +
+ +
+
+
+

Lili Records

+

Siente la música, vive el ritmo.

+
+ +
+
+ +
+
EN VIVO
+
Cargando stream...
+
+
+ +
+ + + +
+
+ + +
+

Apoya nuestro proyecto

+
+ + Transfermóvil +
+

Escanea para donar

+
+
+
+ + +
+ +
-
- + + + + + + + + + diff --git a/setup_images.php b/setup_images.php new file mode 100644 index 0000000..60f2dbb --- /dev/null +++ b/setup_images.php @@ -0,0 +1,21 @@ +