Commit 6d48bcf5 authored by TonyFord's avatar TonyFord
Browse files

convert to jekyll/php for deployment purposes

parent 7f2e5161
download/ElectrumFair*
_site
.jekyll-cache
-
-
title: Python <sup>(3.6.1 and higher)</sup>
img: /assets/images/tar-gz.png
url: https://github.com/criptomart/electrumfair/archive/3.3.4.tar.gz
name: ElectrumFair-3.3.4.tar.gz
sha256sum: 7cb3df5d5fd3f09acd8aad1640ad8cf75e14338b141ef8d44edb7333e013ff5d
sha256sum-url: https://github.com/criptomart/electrumfair/releases/download/3.3.4/CHECKSUM.md
-
url: https://github.com/criptomart/electrumfair/archive/3.3.4.zip
name: ElectrumFair-3.3.4.zip
sha256sum: 9ec331909be008a164ae50dd40bef259485ab5bc81f24a12fffa9e912f94f3a5
sha256sum-url: https://github.com/criptomart/electrumfair/releases/download/3.3.4/CHECKSUM.md
-
-
title: Linux
img: /assets/images/os_linux.gif
url: https://github.com/criptomart/electrumfair/releases/download/3.3.4/ElectrumFair-3.3.4.AppImage
name: ElectrumFair-3.3.4.AppImage
sha256sum: 2a899815951fc3334e9eeb65eb7f271e6afade5b251f72280fd4803f7bb48fc5
sha256sum-url: https://github.com/criptomart/electrumfair/releases/download/3.3.4/CHECKSUM.md
-
-
title: Windows <sup>(7 and higher)</sup>
img: /assets/images/os_windows.gif
url: https://github.com/criptomart/electrumfair/releases/download/3.3.4/ElectrumFair-3.3.4-setup.exe
name: ElectrumFair-3.3.4-setup.exe
sha256sum: 55a19ee14b635f62901f1503a1386fb54086c30e42869dd0111c5dd4295a637c
sha256sum-url: https://github.com/criptomart/electrumfair/releases/download/3.3.4/CHECKSUM.md
-
url: https://github.com/criptomart/electrumfair/releases/download/3.3.4/ElectrumFair-3.3.4-portable.exe
name: ElectrumFair-3.3.4-portable.exe
sha256sum: 8c53737b3d82c42f2f02402a146024ff7afe440ae08df1a4f4b1d710861e9e5b
sha256sum-url: https://github.com/criptomart/electrumfair/releases/download/3.3.4/CHECKSUM.md
-
-
title: OSX
img: /assets/images/os_apple.png
url: https://github.com/criptomart/electrumfair/releases/download/3.3.4/ElectrumFair-3.3.4.dmg
name: ElectrumFair-3.3.4.dmg
sha256sum: 3f37e32fa92dfd0f97513e0dd337e589d7b407c729c4914e72b37ac0b47e8a0b
sha256sum-url: https://github.com/criptomart/electrumfair/releases/download/3.3.4/CHECKSUM.md
-
-
title: Android <sup>(5.0 and higher)</sup>
img: /assets/images/android_icon.png
url: https://github.com/criptomart/electrumfair/releases/download/3.3.4/ElectrumFair-3.3.4.0-release.apk
name: ElectrumFair-3.3.4.0-release.apk
sha256sum: 235dcf61d4abcb2cdfb400136d4eebbaf70518d9241803ba9d2735767ef20472
sha256sum-url: https://github.com/criptomart/electrumfair/releases/download/3.3.4/CHECKSUM.md
- de
- en
- es
- fr
- sr
<footer class="pt-5 text-muted text-center text-small">
<p class="mb-1"><span class="copyleft">&copy;</span> 2014-2019 FreeVision <?= ln('COMMUNITY') ?></p>
<ul class="list-inline">
<li class="list-inline-item"><a href="index.php?ln=<?= $LANG ?>">Home</a></li>
<li class="list-inline-item"><a href="https://exchange.faircoin.co?ln=<?= $LANG ?>"><?= ln('EXCHANGE') ?></a></li>
<li class="list-inline-item"><a href="communication.php?ln=<?= $LANG ?>"><?= ln('COMMUNICATION') ?></a></li>
</ul>
</footer>
<footer class="pt-5 text-muted text-center text-small">
<p class="mb-1"><span class="copyleft">&copy;</span> 2014-2020 FreeVision {{ site.data.ln[page.ln].COMMUNITY }}</p>
<ul class="list-inline">
<li class="list-inline-item"><a href="/index.html">Home</a></li>
<li class="list-inline-item"><a href="https://exchange.faircoin.co?ln={{ page.ln }}">{{ site.data.ln[page.ln].EXCHANGE }}</a></li>
<li class="list-inline-item"><a href="communication.php?ln={{ page.ln }}">{{ site.data.ln[page.ln].COMMUNICATION }}</a></li>
</ul>
</footer>
<link rel="apple-touch-icon" sizes="180x180" href="/assets/images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/images/favicon-16x16.png">
<link rel="manifest" href="manifest.json">
<link rel="mask-icon" href="/assets/images/safari-pinned-tab.svg" color="#0f1539">
<meta name="theme-color" content="#ffffff">
<nav class="navbar navbar-expand-lg navbar-dark static-top">
<div class="container">
<img id="language-btn" src="assets/images/icon128px-gradient.png" height="39px"></img>&nbsp;
<img id="language-btn" src="/assets/images/icon128px-gradient.png" height="39px"></img>&nbsp;
<ul class="language-list d-none">
<?
foreach(LN_available as $l){
echo '<li>'.$l.'</li>';
}
?>
{% for l in site.data.language-codes %}
<li><a href="/ln/{{ l }}/{{ page.name }}">{{ l }}</a></li>
{% endfor %}
</ul>
<a class="navbar-brand" href="index.php?ln=<?= $LANG ?>">
<img src="assets/images/logo.png" alt="FairCoin Logo">
<a class="navbar-brand" href="index.html">
<img src="/assets/images/logo.png" alt="FairCoin Logo">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
......@@ -19,30 +17,30 @@
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item px-3 active">
<a class="nav-link text-center" href="index.php?ln=<?= $LANG ?>">Home
<a class="nav-link text-center" href="index.html">Home
<span class="sr-only">(current)</span>
</a>
</li>
<li class="nav-item px-3">
<a class="nav-link text-center" href="https://exchange.faircoin.co/?ln=<?= $LANG ?>"><?= ln('TICKER') ?></a>
<a class="nav-link text-center" href="https://exchange.faircoin.co/?ln={{ page.ln }}">{{ site.data.ln[page.ln].TICKER }}</a>
</li>
<li class="nav-item px-3 dropdown">
<a class="nav-link dropdown-toggle text-center" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<?= ln('TOOLS') ?>
{{ site.data.ln[page.ln].TOOLS }}
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item text-center" href="/download/"><?= ln('DOWNLOAD_WALLETS') ?></a>
<a class="dropdown-item text-center" href="/download/">{{ site.data.ln[page.ln].DOWNLOAD_WALLETS }}</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item text-center" href="https://paperwallet.faircoin.co"><?= ln('PAPER_WALLET') ?></a>
<a class="dropdown-item text-center" href="https://paperwallet.faircoin.co">{{ site.data.ln[page.ln].PAPER_WALLET }}</a>
<!--<div class="dropdown-divider"></div>
<a class="dropdown-item text-center" href="#"><?= ln('MAP') ?> <span class="badge badge-pill badge-danger"><?= ln('SOON') ?></span></a>-->
</div>
</li>
<li class="nav-item px-3">
<a class="nav-link text-center" href="https://exchange.faircoin.co/?help=1&ln=<?= $LANG ?>"><?= ln('EXCHANGE') ?></a>
<a class="nav-link text-center" href="https://exchange.faircoin.co/?help=1&ln={{ page.ln }}">{{ site.data.ln[page.ln].EXCHANGE }}</a>
</li>
<li class="nav-item px-3">
<a class="nav-link text-center" href="communication.php?ln=<?= $LANG ?>"><?= ln('COMMUNICATION') ?></a>
<a class="nav-link text-center" href="communication.html">{{ site.data.ln[page.ln].COMMUNICATION }}</a>
</li>
</ul>
</div>
......
<?php
include_once(($path='languages/').'language.php');
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>FairCoin FreeVision - <?= ln('COMMUNITY') ?></title>
<link rel="stylesheet" href="assets/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<? include('_navbar.php'); ?>
<style>
.main {
padding-left: 0px;
padding-right: 0px;
}
</style>
<section class="communication">
<div class="row-fluid text-center">
<div class="pt-5">
<div class="col-12">
<h1><?= ln('JOIN_OUR_ACTIVE_FREEVISION_COMMUNITY') ?></h1>
<p class="pt-2"><?= ln('WE_ARE_CONSTANTLY_LOOKING_FOR_SKILLED_PEOPLE') ?></p>
<h1>{{ site.data.ln[page.ln].JOIN_OUR_ACTIVE_FREEVISION_COMMUNITY }}</h1>
<p class="pt-2">{{ site.data.ln[page.ln].WE_ARE_CONSTANTLY_LOOKING_FOR_SKILLED_PEOPLE }}</p>
</div>
<div class="row pt-4">
<div class="col-4">
......@@ -44,18 +36,10 @@ include_once(($path='languages/').'language.php');
<img id="communication-img" src="/assets/images/communication.png" alt="Communication">
</div>
<div class="col-sm-12 col-md-5 text-center">
<h2><?= ln('COMMUNICATION') ?></h2>
<p><?= ln('WE_BELIEVE_IN_DEMOCRATIC_DISCOURSE') ?></p>
<h2>{{ site.data.ln[page.ln].COMMUNICATION }}</h2>
<p>{{ site.data.ln[page.ln].WE_BELIEVE_IN_DEMOCRATIC_DISCOURSE }}</p>
</div>
</div>
</div>
</section>
<? include('_footer.php') ?>
<script src="assets/js/jquery.slim.min.js"></script>
<script src="assets/js/popper.min.js"></script>
<script src="assets/bootstrap/bootstrap.min.js"></script>
<script src="assets/js/script.js"></script>
</body>
[whitepaper.pdf](/docs/whitepaper_de.pdf){: .btn .btn-sm .btn-cover}
{: .download_pdf }
# FairCoin FreeVision Grundsatzpapier
## Einleitung
......
[whitepaper.pdf](/docs/whitepaper_en.pdf){: .btn .btn-sm .btn-cover}
{: .download_pdf }
# FairCoin FreeVision Whitepaper
## Introduction
......
[whitepaper.pdf](/docs/whitepaper_es.pdf){: .btn .btn-sm .btn-cover}
{: .download_pdf }
# FairCoin FreeVision Whitepaper
## Introducción
......
<style>
.main {
padding-left: 0px;
padding-right: 0px;
}
</style>
<section class="cover">
<div class="container">
<div class="row pt-5 text-center text-md-left">
<div class="col-sm-12 col-md-6">
<img class="img-fluid" src="/assets/images/cover.png">
</div>
<div class="col-sm-12 col-md-6 pl-sm-5">
<div class="pt-5">
<h1>{{ site.data.ln[page.ln].WE_ARE_FREEVISION }}</h1>
<p>{{ site.data.ln[page.ln].FREEVISION_IS_A_PROJECT }}</p>
<div class="text-center">
<a class="btn btn-lg btn-cover" href="whitepaper.html" role="button">{{ site.data.ln[page.ln].READ_OUR_WHITEPAPER }}</a>
</div>
</div>
</div>
</div>
</div>
</section>
<div class="separator">
</div>
<section class="values" id="values">
<div class="container">
<div class="row mb-4">
<div class="col-12 text-center">
<h1>{{ site.data.ln[page.ln].THE_VALUES_OF_THE_COMMUNITY }}</h1>
</div>
</div>
<div class="row">
<div class="col-md-2 offset-md-2 text-center pt-3"><img src="/assets/images/cooperation.png" alt=""></div>
<div class="col-md-6 text-center text-md-left">
<h3>{{ site.data.ln[page.ln].COOPERATION }}</h3>
<p>{{ site.data.ln[page.ln].WE_WANT_COOPERATE }}</p>
</div>
</div>
<div class="row">
<div class="col-md-2 offset-md-2 text-center pt-2"><img src="/assets/images/reserve.png" alt=""></div>
<div class="col-md-6 text-center text-md-left">
<h3>{{ site.data.ln[page.ln].SUSTAINABLE_GROWTH }}</h3>
<p>{{ site.data.ln[page.ln].WE_DONT_WANT_MAKE_GROWTH_BY_PROMISES }}</p>
</div>
</div>
</div>
</section>
<section class="wallets">
<div class="container-fluid mt-5">
<div class="row vertical-align">
<div class="col-sm-12 col-md-6 text-center">
<img id="wallet-img" src="/assets/images/wallets.png" alt="Wallets">
</div>
<div class="col-sm-12 col-md-5 text-center">
<h2>{{ site.data.ln[page.ln].WALLETS }}</h2>
<p><a class="btn btn-lg btn-cover btn-cover-white" href="download" role="button">{{ site.data.ln[page.ln].YOU_CAN_DOWNLOAD_THE_WALLETS }}</a></p>
</div>
</div>
</div>
</section>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>FairCoin FreeVision - {{ site.data.ln[page.ln].COMMUNITY }}</title>
<link rel="stylesheet" href="/assets/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="/assets/css/styles.css">
{% if page.head == "download" %}{% include _head_download.html %}{% endif %}
</head>
<body>
{% include _navbar.html %}
<div class="container-fluid main">
{{ content }}
</div>
{% include _footer.html %}
<script src="/assets/js/jquery.slim.min.js"></script>
<script src="/assets/js/popper.min.js"></script>
<script src="/assets/bootstrap/bootstrap.min.js"></script>
<script src="/assets/js/script.js"></script>
</body>
<?
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
$RPCusername = $_ENV['rpcuser'];
$RPCpassword = $_ENV['rpcpassword'];
$RPCconnect = $_ENV['rpcconnect'];
$RPCport = $_ENV['rpcport'];
$faircoinAddress = $_GET['address'];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($ch, CURLOPT_USERPWD, $RPCusername.':'.$RPCpassword);
curl_setopt($ch, CURLOPT_URL, $RPCconnect.':'.$RPCport);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, '{"id":"curltext","method":"getaddressbalance","params":{"address":"'.$faircoinAddress.'"}}');
curl_setopt($ch, CURLOPT_POST, 1);
$headers = array();
$headers[] = "Content-Type: application/x-www-form-urlencoded";
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$result = curl_exec($ch);
if (curl_errno($ch))
{
echo 'Error:'.curl_error($ch).PHP_EOL;
}
else
{
$result =json_decode($result,true);
echo json_encode($result['result']);
//echo($result['result']['confirmed'].PHP_EOL);
//echo($result['result']['unconfirmed'].PHP_EOL);
}
curl_close ($ch);
exit();
?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment