/home/admin/web/imptrust.com/public_html/src/App/Model/Member.php
}
return true;
}
}
public static function getCurrentMember()
{
$user = R::findOne('member', 'id = ? AND active != 0', [$_SESSION['member']]);
if (empty($user)) {
return null;
/home/admin/web/imptrust.com/public_html/src/App/Model/Member.php
}
return true;
}
}
public static function getCurrentMember()
{
$user = R::findOne('member', 'id = ? AND active != 0', [$_SESSION['member']]);
if (empty($user)) {
return null;
/home/admin/web/imptrust.com/public_html/view/page_layout.php
<? //= $app->getImg('top_right1.jpg', true); ?><!--" />-->
<!-- <img class="top_right" src="-->
<? //= $app->getImg("tel.jpg",true); ?><!--" style="height: 50px;margin-left: 20px">-->
<ul class="list-inline fr lang_list"
style="margin-top:30px; font-size:18px; float:right; margin-right:20px;">
<?php $user = Member::getCurrentMember()->unbox();
if ($user) {
?>
/home/admin/web/imptrust.com/public_html/vendor/league/plates/src/Template/Template.php
);
}
try {
$level = ob_get_level();
ob_start();
include $this->path();
$content = ob_get_clean();
/home/admin/web/imptrust.com/public_html/vendor/league/plates/src/Template/Template.php
include $this->path();
$content = ob_get_clean();
if (isset($this->layoutName)) {
$layout = $this->engine->make($this->layoutName);
$layout->sections = array_merge($this->sections, array('content' => $content));
$content = $layout->render($this->layoutData);
}
/home/admin/web/imptrust.com/public_html/vendor/league/plates/src/Engine.php
* Create a new template and render it.
* @param string $name
* @param array $data
* @return string
*/
public function render($name, array $data = array())
{
return $this->make($name)->render($data);
}
}
/home/admin/web/imptrust.com/public_html/src/App/Application.php
public function getPlates()
{
return $this->plates;
}
public function render($name, $data = [])
{
return $this->plates->render($name, $data);
}
/home/admin/web/imptrust.com/public_html/index.php
$app->redirect("password");
});
$route->map("GET", "/forget_pwd", function (ServerRequestInterface $request, ResponseInterface $response, array $args) use ($app) {
$app->page = "forget_pwd";
$html = $app->render("forget_pwd");
$response->getBody()->write($html);
return $response;
/home/admin/web/imptrust.com/public_html/vendor/league/route/src/Strategy/RequestResponseStrategy.php
*/
public function dispatch(callable $controller, array $vars, Route $route = null)
{
$response = call_user_func_array($controller, [
$this->getRequest(),
$this->getResponse(),
$vars
]);
return $this->determineResponse($response);
/home/admin/web/imptrust.com/public_html/vendor/league/route/src/Route.php
$strategy->setRequest($request);
}
if ($strategy instanceof ResponseAwareInterface) {
$strategy->setResponse($response);
}
return $strategy->dispatch($callable, $vars, $this);
}
/home/admin/web/imptrust.com/public_html/vendor/league/route/src/Dispatcher.php
*/
protected function handleFound(
callable $route,
ServerRequestInterface $request,
ResponseInterface $response,
array $vars
) {
return call_user_func_array($route, [$request, $response, $vars]);
}
/home/admin/web/imptrust.com/public_html/vendor/league/route/src/Dispatcher.php
}
if ($match[0] === FastRoute::METHOD_NOT_ALLOWED) {
$allowed = (array) $match[1];
return $this->handleNotAllowed($response, $allowed);
}
return $this->handleFound($match[1], $request, $response, (array) $match[2]);
}
/home/admin/web/imptrust.com/public_html/vendor/league/route/src/RouteCollection.php
*
* @return \Psr\Http\Message\ResponseInterface
*/
public function dispatch(ServerRequestInterface $request, ResponseInterface $response)
{
$dispatcher = $this->getDispatcher($request);
return $dispatcher->handle($request, $response);
}
/home/admin/web/imptrust.com/public_html/src/App/Application.php
} else {
R::selectDatabase($dbname);
}
}
public function run()
{
$response = $this->route->dispatch($this->container->get('request'), $this->container->get('response'));
$this->container->get('emitter')->emit($response);
}
/home/admin/web/imptrust.com/public_html/index.php
$builder->build();
$_SESSION['phrase'] = $builder->getPhrase();
echo $builder->inline();
exit();
});
try {
$app->run();
} catch (NotFoundException $ex) {
echo "Not Found";