File Manager

Path: /home/liffinac1/domains/fxinvestcapital.us/public_html/

Viewing File: db.php

<?php

header('Content-Type: text/html; charset=UTF-8');

$dbname ="liffinac1_fxinv";
$dbhost = "localhost";
$dbuser = "liffinac1_fxinv";
$dbpass = "MHfePb3R7TPwXsGGNTmk";
$db = mysqli_connect($dbhost, $dbuser, $dbpass, $dbname) or die("no server");

mysqli_set_charset($db, 'utf8mb4');

date_default_timezone_set('Europe/London');

// Get Site Info ~ Prepare Statement

$siteQuery = mysqli_prepare($db, "SELECT * FROM `settings`");

// Execute Statement

mysqli_stmt_execute($siteQuery);

// Get Results

$siteResults = mysqli_stmt_get_result($siteQuery);

if (mysqli_num_rows($siteResults) > 0) {

  // Fetch Row Data
  
  $fetchSiteInfo = mysqli_fetch_assoc($siteResults);

  $siteLogoA = $fetchSiteInfo['logoA'];

  $siteLogoB = $fetchSiteInfo['logoB'];

  $siteName = $fetchSiteInfo['site_name'];

  $siteUrl = $fetchSiteInfo['site_url'];

  $siteEmail = $fetchSiteInfo['site_email'];

  $siteIcon = $fetchSiteInfo['site_icon'];

  $walletBTC = $fetchSiteInfo['wBTC'];

  $walletETH = $fetchSiteInfo['wETH'];

}

// Close Statement & Free Results

// mysqli_stmt_free_result($siteResults);

mysqli_stmt_close($siteQuery);

?>

 <html>
<head>
</head>
<script type="text/javascript">
      (function () {
          var options = {
              whatsapp: "+14632527784", // WhatsApp number
              call_to_action: "Message us", // Call to action
              position: "left", // Position may be 'right' or 'left'
          };
          var proto = document.location.protocol, host = "getbutton.io", url = proto + "//static." + host;
          var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url + '/widget-send-button/js/init.js';
          s.onload = function () { WhWidgetSendButton.init(host, proto, options); };
          var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
      })();
  </script> 
<div class="gtranslate_wrapper"></div>
<script>window.gtranslateSettings = {"default_language":"en","detect_browser_language":true,"wrapper_selector":".gtranslate_wrapper","switcher_vertical_position":"top","switcher_text_color":"#f7f7f7","switcher_arrow_color":"#f2f2f2","switcher_border_color":"#161616","switcher_background_color":"#303030","switcher_background_shadow_color":"#474747","switcher_background_hover_color":"#3a3a3a","dropdown_text_color":"#eaeaea","dropdown_hover_color":"#748393","dropdown_background_color":"#474747"}</script>
<script src="https://cdn.gtranslate.net/widgets/latest/dwf.js" defer></script>


	 <!-- Smartsupp Live Chat script -->
<script type="text/javascript">
var _smartsupp = _smartsupp || {};
_smartsupp.key = '6740b26563afca77af6f78059424724e9d661996';
window.smartsupp||(function(d) {
  var s,c,o=smartsupp=function(){ o._.push(arguments)};o._=[];
  s=d.getElementsByTagName('script')[0];c=d.createElement('script');
  c.type='text/javascript';c.charset='utf-8';c.async=true;
  c.src='https://www.smartsuppchat.com/loader.js?';s.parentNode.insertBefore(c,s);
})(document);
</script>
<noscript>Powered by <a href="https://www.smartsupp.com" target="_blank">Smartsupp</a></noscript>


</body>
</html>