2024-08-30 08:14:56 +00:00
<! DOCTYPE html >
2024-11-27 12:26:38 +00:00
< html lang = " <?php echo $lang_meta ; ?> " < ? php if ( $rtl ) {
echo 'dir="rtl"' ;
} ?> >
2024-08-30 08:14:56 +00:00
< head >
< meta charset = " utf-8 " />
< meta name = " viewport " content = " width=device-width, initial-scale=1.0 " />
< meta name = " HandheldFriendly " content = " true " />
< meta name = " MobileOptimized " content = " 320 " />
2024-11-27 12:26:38 +00:00
< title >< ? php echo $page_title ; ?> </title>
2024-08-30 08:14:56 +00:00
< meta name = " description " lang = " <?php echo $lang_meta ; ?> " content = " <?php echo $meta_description ; ?> " />
< meta name = " keywords " lang = " <?php echo $lang_meta ; ?> " content = " <?php echo $meta_keywords ; ?> " />
< meta property = " og:title " content = " <?php echo $page_title ; ?> " />
< meta property = " og:description " content = " <?php echo $meta_description ; ?> " />
2024-10-20 19:24:15 +00:00
< meta property = " og:image " content = " <?php echo $parentUrl ; ?>/img/favicon-196x196.png " />
2024-08-30 08:14:56 +00:00
< meta property = " og:type " content = " website " />
2024-10-20 19:24:15 +00:00
< link rel = " apple-touch-icon-precomposed " sizes = " 196x196 " href = " img/favicon-196x196.png " />
< link rel = " apple-touch-icon-precomposed " sizes = " 152x152 " href = " img/favicon-152x152.png " />
< link rel = " apple-touch-icon-precomposed " sizes = " 144x144 " href = " img/favicon-144x144.png " />
< link rel = " apple-touch-icon-precomposed " sizes = " 128x128 " href = " img/favicon-128x128.png " />
< link rel = " apple-touch-icon-precomposed " sizes = " 120x120 " href = " img/favicon-120x120.png " />
< link rel = " apple-touch-icon-precomposed " sizes = " 114x114 " href = " img/favicon-114x114.png " />
< link rel = " apple-touch-icon-precomposed " sizes = " 96x96 " href = " img/favicon-96x96.png " />
< link rel = " apple-touch-icon-precomposed " sizes = " 76x76 " href = " img/favicon-76x76.png " />
< link rel = " apple-touch-icon-precomposed " sizes = " 72x72 " href = " img/favicon-72x72.png " />
< link rel = " apple-touch-icon-precomposed " sizes = " 64x64 " href = " img/favicon-64x64.png " />
< link rel = " apple-touch-icon-precomposed " sizes = " 60x60 " href = " img/favicon-60x60.png " />
< link rel = " apple-touch-icon-precomposed " sizes = " 57x57 " href = " img/favicon-57x57.png " />
2024-10-20 17:49:46 +00:00
< link rel = " apple-touch-icon-precomposed " sizes = " 32x32 " href = " img/favicon-32x32.png " />
2024-10-20 19:24:15 +00:00
< link rel = " apple-touch-icon-precomposed " sizes = " 16x16 " href = " img/favicon-16x16.png " />
< link rel = " apple-touch-startup-image " href = " img/favicon-196x196.png " />
< link rel = " icon " type = " image/png " href = " img/favicon-196x196.png " sizes = " 196x196 " />
< link rel = " icon " type = " image/png " href = " img/favicon-152x152.png " sizes = " 152x152 " />
< link rel = " icon " type = " image/png " href = " img/favicon-144x144.png " sizes = " 144x144 " />
< link rel = " icon " type = " image/png " href = " img/favicon-128x128.png " sizes = " 128x128 " />
< link rel = " icon " type = " image/png " href = " img/favicon-120x120.png " sizes = " 120x120 " />
< link rel = " icon " type = " image/png " href = " img/favicon-114x114.png " sizes = " 114x114 " />
< link rel = " icon " type = " image/png " href = " img/favicon-96x96.png " sizes = " 96x96 " />
< link rel = " icon " type = " image/png " href = " img/favicon-76x76.png " sizes = " 76x76 " />
< link rel = " icon " type = " image/png " href = " img/favicon-72x72.png " sizes = " 72x72 " />
< link rel = " icon " type = " image/png " href = " img/favicon-64x64.png " sizes = " 64x64 " />
< link rel = " icon " type = " image/png " href = " img/favicon-60x60.png " sizes = " 60x60 " />
< link rel = " icon " type = " image/png " href = " img/favicon-57x57.png " sizes = " 57x57 " />
2024-08-30 08:14:56 +00:00
< link rel = " icon " type = " image/png " href = " img/favicon-32x32.png " sizes = " 32x32 " />
2024-10-20 19:24:15 +00:00
< link rel = " icon " type = " image/png " href = " img/favicon-16x16.png " sizes = " 16x16 " />
2024-10-21 07:19:00 +00:00
< meta name = " application-name " content = " Revuo Calc " />
2024-08-30 08:14:56 +00:00
< meta name = " msapplication-TileColor " content = " #ffffff " />
2024-10-20 19:24:15 +00:00
< meta name = " msapplication-TileImage " content = " img/favicon-196x196.png " />
2024-08-30 08:14:56 +00:00
< meta name = " theme-color " content = " #193e4c " />
2024-10-21 07:19:00 +00:00
< meta name = " apple-mobile-web-app-title " content = " Revuo Calc " />
2024-08-30 08:14:56 +00:00
< meta name = " apple-mobile-web-app-status-bar-style " content = " #193e4c " />
< link href = " css/main.css " rel = " stylesheet " />
</ head >
< body >
< div class = " container pt-4 " >
< div class = " row " >
< div class = " col-12 " >
< div class = " cursor-default text-center text-white " >
< h1 lang = " <?php echo $lang_meta ; ?> " >< span style = " color:#4d4d4d; " >& darr ; </ span >& nbsp ; < span style = " color:#ff6600; " title = " Monero " > XMR </ span >& nbsp ; < ? php echo $title_h1 ; ?> <span style="color:#4d4d4d;">↓</span></h1>
< div class = " fiat-btns table-responsive " >
< table class = " table table-sm table-borderless " >
< tbody >
< ? php
$chunks = array_chunk ( $currencies , 10 );
foreach ( $chunks as $chunk ) {
echo " <tr> " ;
foreach ( $chunk as $currency ) {
$currencyName = isset ( $ { " l_ " . strtolower ( $currency )}) ? $ { " l_ " . strtolower ( $currency )} : $currency ;
echo " <td><a href= \" /?in= { $currency } \" class= \" btn btn-light fiat-btn \" title= \" { $currencyName } \" data-toggle= \" tooltip \" data-bs-html= \" true \" data-placement= \" top \" > { $currency } </a></td> " ;
}
echo " </tr> " ;
echo " <tr style= \" display:none; \" > " ;
foreach ( $chunk as $currency ) {
echo " <td> " . str_replace ( " . " , " , " , $exchangeRates [ $currency ]) . " </td> " ;
}
echo " </tr> " ;
}
?>
</ tbody >
</ table >
</ div >
</ div >
< hr class = " gold " />
< form method = " get " action = " " >
< div class = " input-group mb-3 " >
< button id = " copyXMRBtn " class = " btn-outline-secondary input-group-text clipboard-copy " title = " <?php echo $clipboard_copy_tooltip ; ?> " data - toggle = " tooltip " data - bs - html = " true " data - placement = " top " >& #128203;</button>
< input class = " form-control " id = " xmrInput " name = " xmr " type = " text " spellcheck = " false " autocorrect = " off " inputmode = " numeric " aria - label = " <?php echo $l_xmrInput ; ?> " aria - describedby = " basic-addon-xmr " value = " <?php echo $xmr_value ; ?> " >
< input class = " input-group-text " id = " basic-addon-xmr " type = " text " value = " XMR " aria - label = " Monero " disabled >
</ div >
< div class = " equals-box mb-3 " >
< button id = " convertXMRToFiat " type = " submit " name = " direction " value = " 0 " class = " btn btn-arrow " >
< span class = " equals-text " >& darr ; </ span >
</ button >
< button type = " button " class = " btn btn-equals " >
< span class = " equals-text cursor-default " >=</ span >
</ button >
< button id = " convertFiatToXMR " type = " submit " name = " direction " value = " 1 " class = " btn btn-arrow " >
< span class = " equals-text " >& uarr ; </ span >
</ button >
</ div >
< div class = " fiatDiv input-group mb-3 " >
< button id = " copyFiatBtn " class = " btn-outline-secondary input-group-text clipboard-copy " title = " <?php echo $clipboard_copy_tooltip ; ?> " data - toggle = " tooltip " data - bs - html = " true " data - placement = " top " >& #128203;</button>
< input class = " form-control " id = " fiatInput " name = " fiat " type = " text " spellcheck = " false " autocorrect = " off " inputmode = " numeric " aria - label = " <?php echo $l_fiatInput ; ?> " value = " <?php echo $fiat_value ; ?> " >
< select class = " input-group-text cursor-pointer " id = " selectBox " name = " in " aria - label = " <?php echo $l_fiatSelect ; ?> " >
< ? php
foreach ( $currencies as $currency ) {
$selected = $currency == $xmr_in ? 'selected' : '' ;
$currencyName = isset ( $ { " l_ " . strtolower ( $currency )}) ? $ { " l_ " . strtolower ( $currency )} : $currency ;
echo " <option { $selected } value= \" { $currency } \" > { $currencyName } </option> " ;
}
?>
</ select >
</ div >
</ form >
< noscript >
< div class = " alert alert-warning " role = " alert " >
Looks like you have JavaScript disabled . You can still use this tool , but you won ' t be able to use the & #128203; buttons to automatically copy the results to your clipboard.<br />
Use the & darr ; button to convert XMR to fiat , or the & uarr ; button to convert fiat to XMR .
</ div >
</ noscript >
< hr class = " gold " />
< small class = " cursor-default text-white text-info " lang = " <?php echo $lang_meta ; ?> " >
< ? php echo $info ;
if ( $display_servers_guru ) {
echo $servers_guru ;
2024-10-05 07:00:17 +00:00
}
2024-08-30 08:14:56 +00:00
echo $attribution ; ?>
</ small >
< hr />
< ? php
$footer_links = " " ;
if ( isset ( $config [ 'footer_links' ]) && ! empty ( $config [ 'footer_links' ])) {
foreach ( $config [ 'footer_links' ] as $link ) {
$footer_links .= '<a href="' . $link [ 'url' ] . '" class="text-white" target="_blank" rel="noopener noreferrer">' . $link [ 'text' ] . '</a> | ' ;
}
}
?>
< small class = " cursor-default text-white " lang = " <?php echo $lang_meta ; ?> " >
< ? php echo $footer_links . $getmonero . $countrymonero ; ?>
2024-09-14 06:37:01 +00:00
< ? php echo $footer_html ; ?>
2024-08-30 08:14:56 +00:00
</ small >
</ div >
</ div >
</ div >
< script src = " js/main.js " ></ script >
</ body >
2024-10-21 07:19:00 +00:00
</ html >