| 12. | Income Taxes |
| | | As of June 30, | | ||||
| | | 2017 | | 2016 | | ||
| Fixed assets | | $ | 519 | | $ | 610 | |
| Share-based compensation | | | 664 | | | 545 | |
| Reserves | | | 9 | | | 13 | |
| Other accruals | | | 33 | | | 119 | |
| Asset retirement obligation | | | 196 | | | 203 | |
| Net operating loss carryforwards | | | 21,302 | | | 19,110 | |
| Total deferred tax assets | | | 22,723 | | | 20,600 | |
| Valuation allowance | | | (22,723) | | | (20,600) | |
| Total | | $ | - | | $ | - | |
| | | For the year ended June 30, | | |||||||
| | | 2017 | | 2016 | | 2015 | | |||
| Expected income tax benefit base on statutory rate of 35% | | $ | (2,157) | | $ | (1,649) | | $ | (1,288) | |
| Meals and entertainment | | | 17 | | | 7 | | | 10 | |
| Non-deductible penalties | | | 16 | | | 21 | | | 19 | |
| Warrant derivative liability | | | (9) | | | (54) | | | (131) | |
| Share-based compensation | | | 10 | | | - | | | - | |
| Change in valuation allowance | | | 2,123 | | | 1,675 | | | 1,390 | |
| Income tax expense (benefit) | | $ | - | | $ | - | | $ | - | |