/home
/icerik
/domains
/enicerik.com
/public_html
/App
/Views
/frontend
/pages
/publisher
/information.blade.php
@extends('frontend.template')
@section('content')
<section class="page-columns white-transparent-gradient-background">
<div class="container">
<div class="col-lg-12">
<form action="{{ route('publisher.order',['slug' => $publisher->slug]) }}" method="post">
<div class="row">
<div class="col-lg-12">
<div class="columns-title">EDİTÖRLÜK PAKETİ SİPARİŞ</div>
<div class="columns-sub-title">Aşağıdaki alanları doldurarak yeni sipariş oluşturabilirsiniz.</div>
</div>
<div class="col-lg-12 mb-3">
@include('frontend.include.alert')
</div>
<div class="col-lg-12 mb-15">
<div class="card card-custom">
<div class="card-header">Sipariş Bilgileri</div>
<div class="card-body">
<div class="form-group form-row">
<div class="col">
<label>Site Adresi</label>
<input type="text" class="form-control" name="site_url" value="">
</div>
<div class="col">
<label>Yönetim Paneli Adresi</label>
<input type="text" class="form-control" name="site_admin" value="">
</div>
</div>
/home
/icerik
/domains
/enicerik.com
/public_html
/vendor
/windwalker
/edge
/Edge.php
$__data = array_merge($this->getGlobals(true), $__more, $__data);
foreach ($__data as $__key => $__value) {
$$__key = $__value;
}
unset($__data, $__value, $__key);
ob_start();
try {
if ($this->cache instanceof EdgeFileCache) {
include $this->cache->getCacheFile($this->cache->getCacheKey($__path));
} else {
eval(' ?>' . $this->cache->load($__path) . '<?php ');
}
} catch (\Exception $e) {
ob_clean();
$this->wrapException($e, $__path, $__layout);
return null;
} catch (\Throwable $e) {
ob_clean();
$this->wrapException($e, $__path, $__layout);
return null;
}
$result = ltrim(ob_get_clean());
$this->decrementRender();
$this->flushSectionsIfDoneRendering();
return $result;
}
/**
* wrapException
/home
/icerik
/domains
/enicerik.com
/public_html
/vendor
/windwalker
/edge
/Edge.php
$this->cache->store($__path, $compiler->compile($this->loader->load($__path)));
unset($compiler);
}
$__data = array_merge($this->getGlobals(true), $__more, $__data);
foreach ($__data as $__key => $__value) {
$$__key = $__value;
}
unset($__data, $__value, $__key);
ob_start();
try {
if ($this->cache instanceof EdgeFileCache) {
include $this->cache->getCacheFile($this->cache->getCacheKey($__path));
} else {
eval(' ?>' . $this->cache->load($__path) . '<?php ');
}
} catch (\Exception $e) {
ob_clean();
$this->wrapException($e, $__path, $__layout);
return null;
} catch (\Throwable $e) {
ob_clean();
$this->wrapException($e, $__path, $__layout);
return null;
}
$result = ltrim(ob_get_clean());
$this->decrementRender();
$this->flushSectionsIfDoneRendering();
return $result;
/home
/icerik
/domains
/enicerik.com
/public_html
/vendor
/windwalker
/edge
/Edge.php
$this->cache->store($__path, $compiler->compile($this->loader->load($__path)));
unset($compiler);
}
$__data = array_merge($this->getGlobals(true), $__more, $__data);
foreach ($__data as $__key => $__value) {
$$__key = $__value;
}
unset($__data, $__value, $__key);
ob_start();
try {
if ($this->cache instanceof EdgeFileCache) {
include $this->cache->getCacheFile($this->cache->getCacheKey($__path));
} else {
eval(' ?>' . $this->cache->load($__path) . '<?php ');
}
} catch (\Exception $e) {
ob_clean();
$this->wrapException($e, $__path, $__layout);
return null;
} catch (\Throwable $e) {
ob_clean();
$this->wrapException($e, $__path, $__layout);
return null;
}
$result = ltrim(ob_get_clean());
$this->decrementRender();
$this->flushSectionsIfDoneRendering();
return $result;
/home
/icerik
/domains
/enicerik.com
/public_html
/vendor
/windwalker
/edge
/Edge.php
$this->cache->store($__path, $compiler->compile($this->loader->load($__path)));
unset($compiler);
}
$__data = array_merge($this->getGlobals(true), $__more, $__data);
foreach ($__data as $__key => $__value) {
$$__key = $__value;
}
unset($__data, $__value, $__key);
ob_start();
try {
if ($this->cache instanceof EdgeFileCache) {
include $this->cache->getCacheFile($this->cache->getCacheKey($__path));
} else {
eval(' ?>' . $this->cache->load($__path) . '<?php ');
}
} catch (\Exception $e) {
ob_clean();
$this->wrapException($e, $__path, $__layout);
return null;
} catch (\Throwable $e) {
ob_clean();
$this->wrapException($e, $__path, $__layout);
return null;
}
$result = ltrim(ob_get_clean());
$this->decrementRender();
$this->flushSectionsIfDoneRendering();
return $result;
/home
/icerik
/domains
/enicerik.com
/public_html
/App
/Helpers
/ExtendedView.php
protected $theme;
protected $vars = [];
public function render($file, $vars = [], $cache = false)
{
$this->vars = array_merge($this->vars, $vars);
$paths = [APP_DIR . 'Views'];
$loader = new EdgeFileLoader($paths);
$loader->addFileExtension('.blade.php');
if ($cache === false) {
$edge = new Edge($loader);
} else {
$edge = new Edge($loader, null, new EdgeFileCache(APP_DIR . '/Storage/Cache'));
}
if (is_null($this->theme)) {
echo $edge->render($file, $this->vars);
} else {
echo $edge->render($this->theme . '.' . $file, $this->vars);
}
}
public function setGlobalVars(array $vars)
{
foreach ($vars as $key => $var) {
$this->vars[$key] = $var;
}
}
}
/home
/icerik
/domains
/enicerik.com
/public_html
/System
/Facades
/Facade.php
* Call Methods in Application Object
*
* @param string $method
* @param array $args
* @return mixed
*/
public static function __callStatic($method, $args)
{
// Get Facade Accessor
$accessor = static::getFacadeAccessor();
// Get Service Provider
$provider = static::resolveInstance($accessor);
// Get Instance of Service Provider If it doesn't exist
if (!array_key_exists($accessor, static::$createdInstances)) {
static::$createdInstances[$accessor] = new $provider;
}
return call_user_func_array([static::$createdInstances[$accessor], $method], $args);
}
}
/home
/icerik
/domains
/enicerik.com
/public_html
/System
/Facades
/Facade.php
* Call Methods in Application Object
*
* @param string $method
* @param array $args
* @return mixed
*/
public static function __callStatic($method, $args)
{
// Get Facade Accessor
$accessor = static::getFacadeAccessor();
// Get Service Provider
$provider = static::resolveInstance($accessor);
// Get Instance of Service Provider If it doesn't exist
if (!array_key_exists($accessor, static::$createdInstances)) {
static::$createdInstances[$accessor] = new $provider;
}
return call_user_func_array([static::$createdInstances[$accessor], $method], $args);
}
}
/home
/icerik
/domains
/enicerik.com
/public_html
/App
/Controllers
/Frontend
/PublisherController.php
$this->model['publisher'] = Model::namespace('backend')->run('PublisherModel');
$this->model['setting'] = Model::namespace('backend')->run('SettingModel');
}
public function index(){
$publishers = $this->model['publisher']->all();
$site_color = json_decode($this->model['setting']->get('site_color'), true);
$site_color = $site_color['colors'][$site_color['current']];
ExtendedView::render('frontend.pages.publisher.view',['publishers' => $publishers,'current_color' => $site_color]);
}
public function information($slug){
$publisher = $this->model['publisher']->whereSlug($slug);
$site_color = json_decode($this->model['setting']->get('site_color'), true);
$site_color = $site_color['colors'][$site_color['current']];
ExtendedView::render('frontend.pages.publisher.information',['publisher' => $publisher,'current_color' => $site_color]);
}
public function order($slug){
if($_POST){
$publisher = $this->model['publisher']->whereSlug($slug);
$site_url = Request::post('site_url');
$site_admin = Request::post('site_admin');
$site_username = Request::post('site_username');
$site_password = Request::post('site_password');
$special_area = Request::post('special_area');
$special_title = Request::post('special_title');
$topic_title = Request::post('topic_title');
$note = Request::post('note');
Validation::bulkData([
/home
/icerik
/domains
/enicerik.com
/public_html
/System
/Libs
/Router
/Router.php
array_shift($params);
// Checking middlewares
if (array_key_exists('middlewares', $val)) {
foreach ($val['middlewares'] as $midKey => $midVal) {
list($controller, $method) = explode('@', $midVal['callback']);
if (class_exists($controller)) {
call_user_func_array([new $controller, $method], []);
}
}
}
if (is_callable($val['callback'])) {
call_user_func_array($val['callback'], array_values($params));
} else if (stripos($val['callback'], '@') !== false) {
list($controller, $method) = explode('@', $val['callback']);
if (class_exists($controller)) {
call_user_func_array([new $controller, $method], array_values($params));
} else {
self::pageNotFound();
}
}
break;
}
}
}
if ($matched === 0)
self::pageNotFound();
}
/**
* Check Domain
*
* @param array $params
/home
/icerik
/domains
/enicerik.com
/public_html
/System
/Libs
/Router
/Router.php
array_shift($params);
// Checking middlewares
if (array_key_exists('middlewares', $val)) {
foreach ($val['middlewares'] as $midKey => $midVal) {
list($controller, $method) = explode('@', $midVal['callback']);
if (class_exists($controller)) {
call_user_func_array([new $controller, $method], []);
}
}
}
if (is_callable($val['callback'])) {
call_user_func_array($val['callback'], array_values($params));
} else if (stripos($val['callback'], '@') !== false) {
list($controller, $method) = explode('@', $val['callback']);
if (class_exists($controller)) {
call_user_func_array([new $controller, $method], array_values($params));
} else {
self::pageNotFound();
}
}
break;
}
}
}
if ($matched === 0)
self::pageNotFound();
}
/**
* Check Domain
*
* @param array $params
/home
/icerik
/domains
/enicerik.com
/public_html
/System
/Kernel
/Kernel.php
use System\Facades\Facade;
use Whoops\Run as WhoopsRun;
use Whoops\Handler\PrettyPageHandler as WhoopsPrettyPageHandler;
class Kernel
{
public function __construct()
{
// Initialize Whoops Error Handler
$this->initWhoops();
// Initialize Config
$this->initApplications();
// Getting Routes
Import::config('routes');
// Starting Router
Router::run();
}
/**
* Whoops Initializer
*
* @return object
*/
private function initWhoops()
{
$whoops = new WhoopsRun;
$whoops->pushHandler(new WhoopsPrettyPageHandler);
$whoops->register();
return $this;
}
/**
* Application Initializer
*
* @return void
/home
/icerik
/domains
/enicerik.com
/public_html
/index.php
* Titan-2 Mini Framework
* Simple and Modern Web Application Framework
*
* Author : Turan Karatuğ
* Web : http://www.titanphp.com
* Docs : http://kilavuz.titanphp.com
* Version : 2.2.0
* Github : http://github.com/tkaratug/titan2
* License : MIT
*
*************************************************/
// Require Composer Autoload
require_once __DIR__ . '/vendor/autoload.php';
// Require Starter
require_once __DIR__ . '/System/Kernel/Starter.php';
// Run Kernel
new System\Kernel\Kernel();