Add a coin"; echo << end; showTableSorter('maintable', "{ headers: { 0: { sorter: false} }, widgets: ['zebra','filter'], widgetOptions: { filter_external: '.search', filter_columnFilters: false, filter_childRows : true, filter_ignoreCase: true } }"); echo << Name Symbol Algo Status Version Created Height Message Links end; $total_active = 0; $total_installed = 0; $coins = getdbolist('db_coins', "1 order by id desc"); foreach($coins as $coin) { // if($coin->symbol == 'BTC') continue; if($coin->enable) $total_active++; if($coin->installed) $total_installed++; $coin->errors = substr($coin->errors, 0, 30); $coin->version = substr($coin->version, 0, 20); $difficulty = Itoa2($coin->difficulty, 3); $d = datetoa2($coin->created); echo ""; echo ""; echo "$coin->name"; if($this->admin) echo "$coin->symbol"; else echo "$coin->symbol"; echo "$coin->algo"; if($coin->enable) echo "running"; else if($coin->installed) echo "installed"; else echo ""; echo "$coin->version"; echo "$d ago"; // echo "$difficulty"; echo "$coin->block_height"; echo "$coin->errors"; echo ""; if(!empty($coin->link_bitcointalk)) echo "forum "; if(!empty($coin->link_github)) echo "git "; // if(!empty($coin->link_explorer)) // echo "expl "; echo "google "; // if(!empty($coin->link_exchange)) // echo "exch "; $list2 = getdbolist('db_markets', "coinid=$coin->id"); foreach($list2 as $market) { $url = getMarketUrl($coin, $market->name); echo "$market->name "; } echo ""; echo ""; } echo ""; $total = count($coins); echo ""; echo ""; echo "$total coins, $total_installed installed, $total_active running"; echo ""; echo ""; echo "




"; echo "




";