/home/rgstech/ilmetal.com/app/helper/frontend-modal.php
if ($systemLang == '') {
return "tr";
}
if ($systemLang != "tr") {
return "en";
} else {
return "tr";
}
}
function social()
{
global $db;
$social = $db->from('tbl_social')->where('s_status', 1)->all();
return $social;
}//wio
function chooseLang()
{
$systemLang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
switch ($systemLang) {
case "tr":
$lang = "tr";
break;
case "en":
$lang = "en";
break;
case "es":
$lang = "es";
break;
case "fr":
$lang = "fr";
break;
default:
$lang = "tr";
}
if (!@$_COOKIE['lang'] && !get('lang')) {
setcookie("lang", $lang, time() + (86400 * 30), "/");
return $lang;
} elseif (@get('lang')) {
/home/rgstech/ilmetal.com/vendor/illuminate/view/Engines/PhpEngine.php
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
}
/home/rgstech/ilmetal.com/app/helper/frontend-modal.php
if ($systemLang == '') {
return "tr";
}
if ($systemLang != "tr") {
return "en";
} else {
return "tr";
}
}
function social()
{
global $db;
$social = $db->from('tbl_social')->where('s_status', 1)->all();
return $social;
}//wio
function chooseLang()
{
$systemLang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
switch ($systemLang) {
case "tr":
$lang = "tr";
break;
case "en":
$lang = "en";
break;
case "es":
$lang = "es";
break;
case "fr":
$lang = "fr";
break;
default:
$lang = "tr";
}
if (!@$_COOKIE['lang'] && !get('lang')) {
setcookie("lang", $lang, time() + (86400 * 30), "/");
return $lang;
} elseif (@get('lang')) {
/home/rgstech/ilmetal.com/app/helper/frontend-modal.php
if ($systemLang == '') {
return "tr";
}
if ($systemLang != "tr") {
return "en";
} else {
return "tr";
}
}
function social()
{
global $db;
$social = $db->from('tbl_social')->where('s_status', 1)->all();
return $social;
}//wio
function chooseLang()
{
$systemLang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
switch ($systemLang) {
case "tr":
$lang = "tr";
break;
case "en":
$lang = "en";
break;
case "es":
$lang = "es";
break;
case "fr":
$lang = "fr";
break;
default:
$lang = "tr";
}
if (!@$_COOKIE['lang'] && !get('lang')) {
setcookie("lang", $lang, time() + (86400 * 30), "/");
return $lang;
} elseif (@get('lang')) {
/home/rgstech/ilmetal.com/app/view/frontend/themes/rgs-catalog/cache/0c3a6f76bf9e69df9b07fd949b71275d196422f5.php
<!DOCTYPE html>
<html lang="<?php echo e(chooseLang()); ?>">
<head>
<?php echo $__env->make('inc/head', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php echo $__env->make('static/rgs-head', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</head>
<?php echo $__env->make('inc/loader', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<body>
<div class="body">
<?php echo $__env->make('inc/menu', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<div role="main" class="main">
<section class="section section-with-shape-divider overflow-hidden border-0 m-0" style="background-image: url(<?php echo e(upload_url('images/').images('anasayfa_buyuk')); ?>); background-repeat: no-repeat; background-size: cover; background-position: center;">
<div class="shape-divider shape-divider-bottom" style="height: 120px;">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 2000 120" preserveAspectRatio="xMinYMin">
<polygon fill="#FFF" points="-11,2 693,112 2019,6 2019,135 -11,135 "/>
</svg>
</div>
<div class="container-fluid px-0 mb-5">
<div class="row">
<div class="col-sm-9 col-md-8 col-lg-7 col-xl-4 text-center text-sm-end z-index-0 px-5 px-sm-0 mt-5 mt-sm-0 pt-4 pt-sm-0">
<div class="position-relative bg-color-grey p-5">
<div class="spacer my-5 py-2 d-none d-sm-block"></div>
<div class="overflow-hidden pt-sm-5 mt-sm-5">
<h1 class="font-weight-semibold text-10 mb-0 appear-animation" data-appear-animation="maskUp" data-appear-animation-delay="300"><?php echo e(flang('hero-text-1')); ?></h1>
</div>
<div class="mb-1">
<h2 class="font-weight-semibold text-10 line-height-2 mb-0 appear-animation" data-appear-animation="maskUp" data-appear-animation-delay="500">
<strong class="font-weight-extra-bold custom-font-size-2"><?php echo e(flang('hero-text-2')); ?></strong>
</h2>
</div>
<p class="custom-font-size-1 appear-animation" data-appear-animation="fadeInUpShorter" data-appear-animation-delay="700"><?php echo e(flang('hero-text-3')); ?></p>
<a href="<?php echo e(site_url('urunlerimiz')); ?>" class="btn btn-primary text-color-hover-light mb-sm-5 appear-animation" data-appear-animation="fadeInUpShorter" data-appear-animation-delay="900">
<?php echo e(flang('button-text')); ?>
</a>
<div class="custom-hero-sub-images-style-1 text-start">
<div class="custom-hero-sub-images-shadow"></div>
</div>
<div class="spacer py-2"></div>
/home/rgstech/ilmetal.com/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
/home/rgstech/ilmetal.com/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
/home/rgstech/ilmetal.com/vendor/illuminate/view/Engines/PhpEngine.php
}
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
/home/rgstech/ilmetal.com/vendor/illuminate/view/Engines/CompilerEngine.php
*
* @param string $path
* @param array $data
* @return string
*/
public function get($path, array $data = [])
{
$this->lastCompiled[] = $path;
// If this given view has expired, which means it has simply been edited since
// it was last compiled, we will re-compile the views so we can evaluate a
// fresh copy of the view. We'll pass the compiler the path of the view.
if ($this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
$e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
/home/rgstech/ilmetal.com/vendor/illuminate/view/View.php
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
* @return array
*/
public function gatherData()
{
$data = array_merge($this->factory->getShared(), $this->data);
foreach ($data as $key => $value) {
if ($value instanceof Renderable) {
$data[$key] = $value->render();
}
}
return $data;
}
/home/rgstech/ilmetal.com/vendor/illuminate/view/View.php
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
*/
protected function renderContents()
{
// We will keep track of the amount of views being rendered so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
/home/rgstech/ilmetal.com/vendor/illuminate/view/View.php
$this->view = $view;
$this->path = $path;
$this->engine = $engine;
$this->factory = $factory;
$this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return string
*
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// another view gets rendered in the future by the application developer.
$this->factory->flushStateIfDoneRendering();
return ! is_null($response) ? $response : $contents;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
/home/rgstech/ilmetal.com/app/view/frontend/mainpage.php
<?php
/**
* 23.03.2022
* 11:04
* Prepared by Buğra Şıkel @bugraskl
* https://www.bugra.work/
*/
require 'build.php';
echo $blade->make('main')->render();
/home/rgstech/ilmetal.com/app/controller/index.php
<?php
/**
* 23.12.2021
* 11:36
* Prepared by Buğra Şıkel @bugraskl
* https://www.bugra.work/
*/
require view('frontend/mainpage');
/home/rgstech/ilmetal.com/index.php
* Buğra Şıkel @bugraskl tarafından hazırlanmıştır.
*/
require "app/init.php";
$_url = get('url');
$_url = array_filter(explode('/', $_url));
if (!isset($_url[0])){
$_url[0] = 'index';
}
if (!file_exists(controller($_url[0]))){
$_url[0] = 'index';
}
require controller($_url[0]);