</div> </li> </ul> <?php } else { ?> <h2>Restricted Area</h2> <?php /* ****************************** When first time users conenct to the api there is no data for a certain module this section will initialise the data this is only shown if no admin user is found ******************************/ if (!PH::notlocalServer()) { $admins = PHDB::noAdminExist($this->module->id); if (count($admins) > 0) { echo "<b>Data has allready been initialised</b><br/>Below is your list of admin users :<br/>"; foreach ($admins as $key => $value) { echo "<b>" . $value["email"] . "</b><br/>"; } } else { echo "Your Application instance <b>" . $this->module->id . "</b> has no admin user, first initialise your data below :<br/>"; $this->renderPartial("application.components.api.views.adminPH.initData"); //var_dump(json_decode(file_get_contents("X:\\X_Dev\\humanpixel\\modules\\sample\\data\\applications.js"),true)); } } ?> <br/>or You can contact a PH admin <a class="btn" href="mail:contact@pixelhumain.com"><i class="fa fa-mail"></i></a> <?php }