-
Notifications
You must be signed in to change notification settings - Fork 0
/
widget.Pexels.php
54 lines (54 loc) · 6.04 KB
/
widget.Pexels.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php if(!defined('PLX_ROOT')) exit;
/**
* Plugin Banque d'image
*
* @CMS required PluXml
* @page medias.php Widget
* @version 0.0
* @date 2024-01-19
* @author G.Cyrille
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░ ░░ ░░ ░ ░░░ ░ ░ ░░ ░░░ ░░ ░░░░ ░░░░░░░░ ░ ░
▒ ▒▒▒▒ ▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒ ▒▒ ▒ ▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒ ▒▒▒▒ ▒ ▒▒▒▒ ▒ ▒▒ ▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒
▓ ▓▓ ▓▓▓▓▓▓▓▓ ▓▓ ▓ ▓ ▓ ▓▓▓▓▓▓ ▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓ ▓ ▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓ ▓▓▓▓
█ ███ ██ ███████████ ███ ██ █ ██████████ ████ ████ █ ████ █ █ █ ████████ ██████████ ████
█ ████ █ ████ ████ ███ █ ████ █ ██ ███ ██ ████ ████████ ████ ████
███████████████████████████████████████████████████████████████████████████████████████████████████████████
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░ ░░ ░░░░░░░ ░░░░ ░ ░░░░ ░░ ░░ ░░░ ░░ ░░░░░░░ ░░ ░░░░░ ░░░ ░ ░ ░
▒ ▒▒▒▒ ▒ ▒▒▒▒▒▒▒ ▒▒▒▒ ▒▒ ▒▒ ▒▒ ▒▒▒▒ ▒ ▒▒▒▒ ▒ ▒▒▒▒ ▒ ▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒ ▒▒ ▒ ▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒
▓ ▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓ ▓▓▓ ▓▓▓ ▓▓▓▓ ▓ ▓▓ ▓▓▓▓ ▓ ▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓ ▓▓▓▓▓ ▓ ▓ ▓ ▓▓▓▓▓▓ ▓▓▓▓
█ ███████ ███████ ████ ██ ██ ██ ████ █ ███████ ████ █ ██████████ ██████████ ████ ██ █ ██████████ ████
█ ███████ ██ ██ ████ ██ ██ ████████ ██ █ ██ ██ █ ███ █ ████ ████
█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
**/
//global $plxAdmin;
# récupération d'une instance de plxMotor
$plxMotor = plxMotor::getInstance();
$plxPlug = $plxMotor->plxPlugins->getInstance(basename(__DIR__));
?>
<link rel="stylesheet" href="<?php echo PLX_PLUGINS."Pexels/css/style.css" ?>" >
<link rel="stylesheet" href="<?php echo PLX_PLUGINS."Pexels/css/flex-images.css"?>" >
<script> const apikeyPexels ='<?= $plxPlug->apikey ?>';</script>
<div class="container top pexels">
<h1 class="hero-title">
<span>
<svg aria-hidden="true" data-prefix="fas" data-icon="camera-retro" class="icon-md camera" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M48 32C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48H48zm0 32h106c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H38c-3.3 0-6-2.7-6-6V80c0-8.8 7.2-16 16-16zm426 96H38c-3.3 0-6-2.7-6-6v-36c0-3.3 2.7-6 6-6h138l30.2-45.3c1.1-1.7 3-2.7 5-2.7H464c8.8 0 16 7.2 16 16v74c0 3.3-2.7 6-6 6zM256 424c-66.2 0-120-53.8-120-120s53.8-120 120-120 120 53.8 120 120-53.8 120-120 120zm0-208c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm-48 104c-8.8 0-16-7.2-16-16 0-35.3 28.7-64 64-64 8.8 0 16 7.2 16 16s-7.2 16-16 16c-17.6 0-32 14.4-32 32 0 8.8-7.2 16-16 16z"></path></svg>
</span>
Recherche sur Pexels</h1>
<form id="search-form-pexels">
<div class="alert-msg-pexels"></div>
<p><input type="search" class="search-pexels" id="search-pexels" placeholder="<?= L_SEARCH ?> : water drops ...">
<input type="hidden" id="page-pexels" value="1" >
<input type="submit" value="<?= L_SEARCH ?>" class="submit"></p>
<nav id="searchPagination-pexels"></nav>
</form>
</div>
<div id="success-pexels"></div>
<div class="container">
<div class="search-text-pexels"></div>
</div>
<div class="results-pexels"></div>
<div class="branding" id="bottom-pexels">Powered by <a href="https://Pexels.com/" target="_blank">Pexels</a> && pluged in by <a href="https://pluxopolis.net" target="_blank">@PluXopolis</a> </div>
<script type="text/javascript" src="<?php echo PLX_PLUGINS."Pexels/js/flex-images.js" ?>"></script>
<script type="text/javascript" src="<?php echo PLX_PLUGINS."Pexels/js/script.js" ?>"></script>