예제 #1
0
													<th><small>Coin</small></th>
													<th><small>Price</small></th>
													<th><small>Volume</small></th>
													<th><small>Change</small></th>
													<th><small>Name</small></th>
													</tr>
												</thead>
												<tbody>
												<?php 
foreach ($tricker as $key => $value) {
    $match = strstr($key, '_', true);
    if ($match == 'BTC') {
        $change = number_format((double) $value['percentChange'], 4, '.', '') * 100;
        $volume = number_format((double) $value['baseVolume'], 3, '.', '');
        $coin = substr($key, strpos($key, "_") + 1);
        $sql = $obj->full_currencyname($coin);
        while ($row1 = mysql_fetch_array($sql)) {
            ?>
												<tr><td><i class="fa fa-star"></i></td>
													<td><small data-url="<?php 
            echo $key;
            ?>
"><?php 
            echo $coin;
            ?>
</small></td>
													<td><small1><?php 
            echo $value['last'];
            ?>
</small></td>
													<td><small1><?php