/var
/www
/html
/storage
/views
/0d9d60204ca56d7859b285e9045e11a006164080.php
</ol>
</div>
<div class="container-fluid cstm_con">
<div class="row">
<div class="col-md-12">
<div class="isi-wrp">
<h1 class="full-ln"><?php echo e($image->title); ?></h1>
<div id="gallery" style="display:none; margin: 0px auto">
<a href="">
<img alt="<?php echo e(addslashes($image->description)); ?>"
src="<?php echo e(addhttp($image->fileurl_sm)); ?>"
data-image="<?php echo e(addhttp($image->fileurl)); ?>"
data-image-mobile="<?php echo e(addhttp($image->fileurl_sm)); ?>"
data-thumb-mobile="<?php echo e(addhttp($image->fileurl_sm)); ?>"
data-description="<?php echo e($image->description); ?>"
style="display:none">
</a>
<?php $__currentLoopData = $image->imageToGallery; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php
$item = $item->gallery;
?>
<a href="">
<img alt="<?php echo e(addslashes($item->gallery_title)); ?>"
src="<?php echo e(addhttp($item->fileurl_sm)); ?>"
data-image="<?php echo e(addhttp($item->fileurl)); ?>"
data-image-mobile="<?php echo e(addhttp($item->fileurl_sm)); ?>"
data-thumb-mobile="<?php echo e(addhttp($item->fileurl_sm)); ?>"
data-description="<?php echo e($item->gallery_description); ?>"
style="display:none">
</a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<?php
$item = $image;
$item->meta_description = $image->title;
?>
<?php echo $__env->make('partials._btn-share', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
Arguments
"Invalid argument supplied for foreach() (View: /var/www/html/resources/ppsdma/views/image/detail.blade.php)"
/var
/www
/html
/storage
/views
/0d9d60204ca56d7859b285e9045e11a006164080.php
</ol>
</div>
<div class="container-fluid cstm_con">
<div class="row">
<div class="col-md-12">
<div class="isi-wrp">
<h1 class="full-ln"><?php echo e($image->title); ?></h1>
<div id="gallery" style="display:none; margin: 0px auto">
<a href="">
<img alt="<?php echo e(addslashes($image->description)); ?>"
src="<?php echo e(addhttp($image->fileurl_sm)); ?>"
data-image="<?php echo e(addhttp($image->fileurl)); ?>"
data-image-mobile="<?php echo e(addhttp($image->fileurl_sm)); ?>"
data-thumb-mobile="<?php echo e(addhttp($image->fileurl_sm)); ?>"
data-description="<?php echo e($image->description); ?>"
style="display:none">
</a>
<?php $__currentLoopData = $image->imageToGallery; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php
$item = $item->gallery;
?>
<a href="">
<img alt="<?php echo e(addslashes($item->gallery_title)); ?>"
src="<?php echo e(addhttp($item->fileurl_sm)); ?>"
data-image="<?php echo e(addhttp($item->fileurl)); ?>"
data-image-mobile="<?php echo e(addhttp($item->fileurl_sm)); ?>"
data-thumb-mobile="<?php echo e(addhttp($item->fileurl_sm)); ?>"
data-description="<?php echo e($item->gallery_description); ?>"
style="display:none">
</a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<?php
$item = $image;
$item->meta_description = $image->title;
?>
<?php echo $__env->make('partials._btn-share', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
Arguments
"Invalid argument supplied for foreach()"
/var
/www
/html
/storage
/views
/0d9d60204ca56d7859b285e9045e11a006164080.php
</ol>
</div>
<div class="container-fluid cstm_con">
<div class="row">
<div class="col-md-12">
<div class="isi-wrp">
<h1 class="full-ln"><?php echo e($image->title); ?></h1>
<div id="gallery" style="display:none; margin: 0px auto">
<a href="">
<img alt="<?php echo e(addslashes($image->description)); ?>"
src="<?php echo e(addhttp($image->fileurl_sm)); ?>"
data-image="<?php echo e(addhttp($image->fileurl)); ?>"
data-image-mobile="<?php echo e(addhttp($image->fileurl_sm)); ?>"
data-thumb-mobile="<?php echo e(addhttp($image->fileurl_sm)); ?>"
data-description="<?php echo e($image->description); ?>"
style="display:none">
</a>
<?php $__currentLoopData = $image->imageToGallery; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php
$item = $item->gallery;
?>
<a href="">
<img alt="<?php echo e(addslashes($item->gallery_title)); ?>"
src="<?php echo e(addhttp($item->fileurl_sm)); ?>"
data-image="<?php echo e(addhttp($item->fileurl)); ?>"
data-image-mobile="<?php echo e(addhttp($item->fileurl_sm)); ?>"
data-thumb-mobile="<?php echo e(addhttp($item->fileurl_sm)); ?>"
data-description="<?php echo e($item->gallery_description); ?>"
style="display:none">
</a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<?php
$item = $image;
$item->meta_description = $image->title;
?>
<?php echo $__env->make('partials._btn-share', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
Arguments
2
"Invalid argument supplied for foreach()"
"/var/www/html/storage/views/0d9d60204ca56d7859b285e9045e11a006164080.php"
26
array:10 [
"__path" => "/var/www/html//storage/views/0d9d60204ca56d7859b285e9045e11a006164080.php"
"__data" => array:6 [
"__env" => Factory {#1}
"_ci" => ImagesController {#2}
"image_type" => "inovasi"
"image_id" => "7"
"images" => array:19 [
0 => {#3}
1 => {#4}
2 => {#5}
3 => {#6}
4 => {#7}
5 => {#8}
6 => {#9}
7 => {#10}
8 => {#11}
9 => {#12}
10 => {#13}
11 => {#14}
12 => {#15}
13 => {#16}
14 => {#17}
15 => {#18}
16 => {#19}
17 => {#20}
18 => {#21}
]
"image" => null
]
"obLevel" => 1
"__env" => Factory {#1}
"_ci" => ImagesController {#2}
"image_type" => "inovasi"
"image_id" => "7"
"images" => array:19 [
0 => {#3}
1 => {#4}
2 => {#5}
3 => {#6}
4 => {#7}
5 => {#8}
6 => {#9}
7 => {#10}
8 => {#11}
9 => {#12}
10 => {#13}
11 => {#14}
12 => {#15}
13 => {#16}
14 => {#17}
15 => {#18}
16 => {#19}
17 => {#20}
18 => {#21}
]
"image" => null
"__currentLoopData" => null
]
/var
/www
/html
/vendor
/xiaoler
/blade
/src
/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();
extract($__data, EXTR_SKIP);
// 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 {
include $__path;
} catch (Exception $e) {
$this->handleViewException($e, $obLevel);
} catch (Throwable $e) {
$this->handleViewException(new FatalThrowableError($e), $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Exception $e
* @param int $obLevel
* @return void
*
* @throws \Exception
*/
protected function handleViewException(Exception $e, $obLevel)
{
Arguments
"/var/www/html/storage/views/0d9d60204ca56d7859b285e9045e11a006164080.php"
/var
/www
/html
/vendor
/xiaoler
/blade
/src
/Engines
/CompilerEngine.php
* @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);
}
$compiled = $this->compiler->getCompiledPath($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($compiled, $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param \Exception $e
* @param int $obLevel
* @return void
*
* @throws \Exception
*/
protected function handleViewException(Exception $e, $obLevel)
{
$e = new ErrorException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
Arguments
"/var/www/html//storage/views/0d9d60204ca56d7859b285e9045e11a006164080.php"
array:6 [
"__env" => Factory {}
"_ci" => ImagesController {}
"image_type" => "inovasi"
"image_id" => "7"
"images" => array:19 [
0 => {}
1 => {}
2 => {}
3 => {}
4 => {}
5 => {}
6 => {}
7 => {}
8 => {}
9 => {}
10 => {}
11 => {}
12 => {}
13 => {}
14 => {}
15 => {}
16 => {}
17 => {}
18 => {}
]
"image" => null
]
/var
/www
/html
/vendor
/xiaoler
/blade
/src
/View.php
$this->factory->incrementRender();
$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
*/
protected 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;
}
Arguments
"/var/www/html/resources/ppsdma/views/image/detail.blade.php"
array:6 [
"__env" => Factory {}
"_ci" => ImagesController {}
"image_type" => "inovasi"
"image_id" => "7"
"images" => array:19 [
0 => {}
1 => {}
2 => {}
3 => {}
4 => {}
5 => {}
6 => {}
7 => {}
8 => {}
9 => {}
10 => {}
11 => {}
12 => {}
13 => {}
14 => {}
15 => {}
16 => {}
17 => {}
18 => {}
]
"image" => null
]
/var
/www
/html
/vendor
/xiaoler
/blade
/src
/View.php
} catch (Throwable $e) {
$this->factory->flushState();
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();
$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());
}
/**
/var
/www
/html
/vendor
/xiaoler
/blade
/src
/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) ? call_user_func($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 (Exception $e) {
$this->factory->flushState();
throw $e;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/var
/www
/html
/app
/libraries
/Blade.php
public function renders($path, $vars = [])
{
echo $this->factory->make($path, $vars);
}
public function exists($path)
{
return $this->factory->exists($path);
}
public function share($key, $value)
{
return $this->factory->share($key, $value);
}
// just convert to renders
public function view($path, $vars = [], $return = FALSE)
{
$view = $this->factory->make($path, $vars)->render();
if ($return) {
return $view;
} else {
echo $view;
}
}
private function loadModules(&$path)
{
// Include routes every modules
$modules_locations = config_item('modules_locations') ? config_item('modules_locations') : FALSE;
if(!$modules_locations)
{
$modules_locations = APPPATH . 'modules/';
if(is_dir($modules_locations))
{
$modules_locations = array($modules_locations => '../modules/');
}
else
{
/var
/www
/html
/modules
/ppsdma
/Images
/controllers
/ImagesController.php
$this->load->model('image_m');
$this->load->model('imageToContent_m');
$this->load->model('imageToGallery_m');
$this->load->model('Malpages/page_m');
}
public function index($image_type = '', $image_id = NULL)
{
$data = [
'image_type' => $image_type,
'image_id' => $image_id,
'images' => $this->image_m->getLists(['image_type'=>$image_type, 'status'=>'live', 'latest'=>TRUE]),
];
if (($image_type == 'publikasi' || $image_type == 'inovasi') && $image_id != NULL) {
$data['image'] = $this->image_m
->with('imageToContent')
->with('imageToGallery')
->get($image_id);
$this->blade->view('image.detail', $data);
} else {
$this->blade->view('image.index', $data);
}
}
}
Arguments
"image.detail"
array:4 [
"image_type" => "inovasi"
"image_id" => "7"
"images" => array:19 [
0 => {}
1 => {}
2 => {}
3 => {}
4 => {}
5 => {}
6 => {}
7 => {}
8 => {}
9 => {}
10 => {}
11 => {}
12 => {}
13 => {}
14 => {}
15 => {}
16 => {}
17 => {}
18 => {}
]
"image" => null
]
/var
/www
/html
/.system
/core
/CodeIgniter.php
* ------------------------------------------------------
*/
// Mark a start point so we can benchmark the controller
$BM->mark('controller_execution_time_( '.$class.' / '.$method.' )_start');
$CI = new $class();
/*
* ------------------------------------------------------
* Is there a "post_controller_constructor" hook?
* ------------------------------------------------------
*/
$EXT->call_hook('post_controller_constructor');
/*
* ------------------------------------------------------
* Call the requested method
* ------------------------------------------------------
*/
call_user_func_array(array(&$CI, $method), $params);
// Mark a benchmark end point
$BM->mark('controller_execution_time_( '.$class.' / '.$method.' )_end');
/*
* ------------------------------------------------------
* Is there a "post_controller" hook?
* ------------------------------------------------------
*/
$EXT->call_hook('post_controller');
/*
* ------------------------------------------------------
* Send the final rendered output to the browser
* ------------------------------------------------------
*/
if ($EXT->call_hook('display_override') === FALSE)
{
$OUT->_display();
}
Arguments
/var
/www
/html
/public
/index.php
);
}
else
{
header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
echo 'Your application folder path does not appear to be set correctly. Please open the following file and correct this: '.SELF;
exit(3); // EXIT_CONFIG
}
define('ROOTPATH', $root_folder.DIRECTORY_SEPARATOR);
/*
* --------------------------------------------------------------------
* LOAD THE BOOTSTRAP FILE
* --------------------------------------------------------------------
*
* And away we go...
*/
require_once BASEPATH.'core/CodeIgniter.php';
Arguments
"/var/www/html/.system/core/CodeIgniter.php"