Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta name=viewport content="width=device-width, initial-scale=1">
- <title>Fedoracoin (TiPS) Richlist</title>
- <style type="text/css">
- @font-face {
- font-family: Montserrat;
- src: url( 'http://fonts.gstatic.com/s/montserrat/v5/zhcz-_WihjSQC0oHJ9TCYL3hpw3pgy2gAi-Ip7WPMi0.woff' ) format( 'woff' ); }
- html {
- background-color: #d45f25;
- color: #303030;
- font-family: Montserrat, sans-serif;
- white-space: pre;
- font-size: 1em; }
- h1 {
- text-align: center; }
- table {
- margin-left: auto;
- margin-right: auto;
- border-spacing: 1em; }
- th {
- text-align: left; }
- a {
- color: #303030; }
- </style>
- </head>
- <body>
- <h1>Top 100 Richest Fedoracoin (TiPS) Addresses</h1>
- <table>
- <tr>
- <th>Address:</th>
- <th>Amount:</th>
- </tr>
- <?php
- $f = fopen("/usr/share/nginx/www/tally/output.txt", "r");
- // Read line by line until end of file
- while (!feof($f)) {
- // Make an array using space as delimiter
- $arrM = explode(" ",fgets($f));
- // Write links (get the data in the array)
- echo "<tr><td><a href=\"http://insight.fedoracha.in/address/$arrM[0]\" target=\"_blank\">" . $arrM[0] . "</a></td><td>" . $arrM[1$
- }
- fclose($f);
- ?>
- </table>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement