| Server IP : 208.109.34.209 / Your IP : 216.73.217.134 Web Server : Apache System : Linux 209.34.109.208.host.secureserver.net 5.14.0-687.29.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 23 16:18:48 EDT 2026 x86_64 User : oceanproject ( 1012) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/oceanproject/public_html/wp-content/themes/reda/inc/ |
Upload File : |
<?php
function reda_get_svg($icon = array()) {
$icons = array(
'burger' => '<svg id="icon-burger" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 120 60" preserveAspectRatio="xMidYMid meet" zoomAndPan="disable" ><line id="line-top" x1="10" y1="59" x2="110" y2="59" shape-rendering="crispEdges" stroke="#fff" style="stroke-width: 2px; vector-effect: non-scaling-stroke; fill: none;"/><line id="line-center" x1="10" y1="30" x2="110" y2="30" shape-rendering="crispEdges" stroke="#fff" style="stroke-width: 2px; vector-effect: non-scaling-stroke; fill: none;"/><line id="line-bottom" x1="10" y1="1" x2="110" y2="1" shape-rendering="crispEdges" stroke="#fff" style="stroke-width: 2px; vector-effect: non-scaling-stroke; fill: none;"/><rect width="30px" height="30px" fill="none"></rect></svg>',
'close' => '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="40px" height="40px" viewBox="0 0 100 100" xml:space="preserve"><circle cx="50" cy="50" r="40" stroke="#fff" style="stroke-width: 2px; vector-effect: non-scaling-stroke; fill: none;"/><line x1="35" y1="35" x2="65" y2="65" stroke="#fff" style="stroke-width: 2px; vector-effect: non-scaling-stroke; fill: none;"/><line x1="65" y1="35" x2="35" y2="65" stroke="#fff" style="stroke-width: 2px; vector-effect: non-scaling-stroke; fill: none;"/></svg>'
);
if(isset($icons[$icon['icon']])) {
return $icons[$icon['icon']];
}
}