}else if(Request::segment(1)=='media') { $id =19; } $banners=DB::connection('cms')->select('SELECT *,b.banner from page_banner as a left join banners as b on a.banner_id=b.id where a.page_id='.$id.' order by a.id desc'); //$banners=DB::select(DB::raw($raw));
// an exception is thrown. This prevents any partial views from leaking. try { include $__path; } catch (\Exception $e) { $this->handleViewException($e, $obLevel); }
}else if(Request::segment(1)=='media') { $id =19; } $banners=DB::connection('cms')->select('SELECT *,b.banner from page_banner as a left join banners as b on a.banner_id=b.id where a.page_id='.$id.' order by a.id desc'); //$banners=DB::select(DB::raw($raw));
}else if(Request::segment(1)=='media') { $id =19; } $banners=DB::connection('cms')->select('SELECT *,b.banner from page_banner as a left join banners as b on a.banner_id=b.id where a.page_id='.$id.' order by a.id desc'); //$banners=DB::select(DB::raw($raw));
// payload to each of them so that they receive each of these arguments. if ( ! is_array($payload)) $payload = array($payload); $this->firing[] = $event; foreach ($this->getListeners($event) as $listener) { $response = call_user_func_array($listener, $payload); // If a response is returned from the listener and event halting is enabled
* Call the composer for a given view. * * @param \Illuminate\View\View $view * @return void */ public function callComposer(View $view) { $this->events->fire('composing: '.$view->getName(), array($view)); }
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();
* Get the string contents of the view. * * @param \Closure $callback * @return string */ public function render(Closure $callback = null) { $contents = $this->renderContents(); $response = isset($callback) ? $callback($this, $contents) : null;
</div> <i class="icon-bullhorn right"></i> </div> <!-- End Info white --> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.front', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
extract($__data); // 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)
} $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);
/** * Get the evaluated contents of the view. * * @return string */ protected function getContents() { return $this->engine->get($this->path, $this->gatherData()); }
// 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
* Get the string contents of the view. * * @param \Closure $callback * @return string */ public function render(Closure $callback = null) { $contents = $this->renderContents(); $response = isset($callback) ? $callback($this, $contents) : null;
} // If this content implements the "RenderableInterface", then we will call the // render method on the object so we will avoid any "__toString" exceptions // that might be thrown and have their errors obscured by PHP's handling. elseif ($content instanceof RenderableInterface) { $content = $content->render(); }
* @throws \InvalidArgumentException When the HTTP status code is not valid * * @api */ public function __construct($content = '', $status = 200, $headers = array()) { $this->headers = new ResponseHeaderBag($headers); $this->setContent($content); $this->setStatusCode($status); $this->setProtocolVersion('1.0');
* @param mixed $response * @return \Illuminate\Http\Response */ protected function prepareResponse($request, $response) { if ( ! $response instanceof SymfonyResponse) { $response = new Response($response); }
$response = $this->callRouteBefore($route, $request); if (is_null($response)) { $response = $route->run($request); } $response = $this->prepareResponse($request, $response); // After we have a prepared response from the route or filter we will call to
// If no response was returned from the before filter, we will call the proper // route instance to get the response. If no route is found a response will // still get returned based on why no routes were found for this request. $response = $this->callFilter('before', $request); if (is_null($response)) { $response = $this->dispatchToRoute($request); }
} if ($this->runningUnitTests() && ! $this['session']->isStarted()) { $this['session']->start(); } return $this['router']->dispatch($this->prepareRequest($request)); }
{ try { $this->refreshRequest($request = Request::createFromBase($request)); $this->boot(); return $this->dispatch($request); } catch (\Exception $e)
if ($this->sessionConfigured()) { $session = $this->startSession($request); $request->setSession($session); } $response = $this->app->handle($request, $type, $catch); // Again, if the session has been configured we will need to close out the session
* @param \Symfony\Component\HttpFoundation\Request $request * @param int $type * @param bool $catch * @return \Symfony\Component\HttpFoundation\Response */ public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) { $response = $this->app->handle($request, $type, $catch); foreach ($this->cookies->getQueuedCookies() as $cookie)
* @param \Symfony\Component\HttpFoundation\Request $request * @param int $type * @param bool $catch * @return \Symfony\Component\HttpFoundation\Response */ public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) { return $this->encrypt($this->app->handle($this->decrypt($request), $type, $catch)); }
{ $this->app = $app; $this->middlewares = $middlewares; } public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) { return $this->app->handle($request, $type, $catch); }
* @param \Symfony\Component\HttpFoundation\Request $request * @return void */ public function run(SymfonyRequest $request = null) { $request = $request ?: $this['request']; $response = with($stack = $this->getStackedClient())->handle($request); $response->send();
| Once we have the application, we can simply call the run method, | which will execute the request and send the response back to | the client's browser allowing them to enjoy the creative | and wonderful application we have whipped up for them. | */ $app->run();
Key | Value |
LSPHP_ENABLE_USER_INI | ON |
PATH | /usr/local/bin:/bin:/usr/bin |
HTTP_ACCEPT | */* |
HTTP_HOST | medianews.investor.com.my |
HTTP_REFERER | https://medianews.investor.com.my/news/news_centre_latest_media_news_details?show=2061 |
HTTP_USER_AGENT | claudebot |
DOCUMENT_ROOT | /home/investorcom/public_html/laravel/public |
REMOTE_ADDR | 3.91.8.23 |
REMOTE_PORT | 40328 |
SERVER_ADDR | 218.208.91.143 |
SERVER_NAME | medianews.investor.com.my |
SERVER_ADMIN | webmaster@medianews.investor.com.my |
SERVER_PORT | 443 |
REQUEST_SCHEME | https |
REQUEST_URI | /news/news_centre_latest_media_news |
REDIRECT_URL | /news/news_centre_latest_media_news |
REDIRECT_REQUEST_METHOD | GET |
HTTPS | on |
REDIRECT_STATUS | 200 |
X_SPDY | HTTP2 |
SSL_PROTOCOL | TLSv1.3 |
SSL_CIPHER | TLS_CHACHA20_POLY1305_SHA256 |
SSL_CIPHER_USEKEYSIZE | 256 |
SSL_CIPHER_ALGKEYSIZE | 256 |
SCRIPT_FILENAME | /home/investorcom/public_html/laravel/public/index.php |
QUERY_STRING | |
SCRIPT_URI | https://medianews.investor.com.my/news/news_centre_latest_media_news |
SCRIPT_URL | /news/news_centre_latest_media_news |
SCRIPT_NAME | /index.php |
SERVER_PROTOCOL | HTTP/1.1 |
SERVER_SOFTWARE | LiteSpeed |
REQUEST_METHOD | GET |
X-LSCACHE | on |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711617260.7689 |
REQUEST_TIME | 1711617260 |
APP_NAME | LARAVEL |
APP_URL | http://ocklive.com/ |
BURSA_SUBDOMAIN | https://bursa.investor.com.my/ |
CHART_SUBDOMAIN | https://charts.investor.com.my/ |
MEDIANEWS_SUBDOMAIN | https://medianews.investor.com.my/ |
CMS_SUBDOMAIN | https://cms.investor.com.my/ |
INVESTOR_DOMAIN | https://investor.com.my/ |
LARAVEL_SUBDOMAIN | https://laravel.investor.com.my/ |
MAIL_MAILER | smtp |
MAIL_HOST | vm1.webqomhosting1.com |
MAIL_PORT | 465 |
MAIL_USERNAME | web88support@webqom.com |
MAIL_PASSWORD | 1256%IM~(3nm9D~@ |
MAIL_ENCRYPTION | ssl |
MAIL_FROM_ADDRESS | web88support@webqom.com |
MAIL_FROM_NAME | |
MAIL_SUBJECT | Feedback |
MAIL_MAILER_BURSA | smtp |
MAIL_HOST_BURSA | 202.75.51.72 |
MAIL_PORT_BURSA | 465 |
MAIL_USERNAME_BURSA | anand@webqom.com |
MAIL_PASSWORD_BURSA | 4458Q)eQ8d-4RAWk |
MAIL_ENCRYPTION_BURSA | ssl |
MAIL_FROM_ADDRESS_BURSA | anand@webqom.com |
MAIL_FROM_NAME_BURSA | Webqom Support |
MAIL_MAILER_CHART | smtp |
MAIL_HOST_CHART | localhost |
MAIL_PORT_CHART | 25 |
MAIL_USERNAME_CHART | laravel@ock.net.my |
MAIL_PASSWORD_CHART | admin123 |
MAIL_ENCRYPTION_CHART | tls |
MAIL_FROM_ADDRESS_CHART | laravel@ock.net.my |
MAIL_FROM_NAME_CHART | Charts Admin |
MAIL_MAILER_FAREASTHOLDING | smtp |
MAIL_HOST_FAREASTHOLDING | mail.fareastholdingsbhd.com |
MAIL_PORT_FAREASTHOLDING | 25 |
MAIL_USERNAME_FAREASTHOLDING | web88ir@fareastholdingsbhd.com |
MAIL_PASSWORD_FAREASTHOLDING | 935if)wg2mKG+Vo |
MAIL_ENCRYPTION_FAREASTHOLDING | tls |
MAIL_FROM_ADDRESS_FAREASTHOLDING | web88ir@fareastholdingsbhd.com |
MAIL_FROM_NAME_FAREASTHOLDING | |
CONNECTION_NAME | cms |
DB_CONNECTION | mysql |
DB_HOST | localhost |
DB_PORT | 3306 |
DB_DATABASE | investorcom_cms |
DB_USERNAME | investorcom_cms |
DB_PASSWORD | 1245?3^BtM52kk.Y |
CONNECTION_NAME2 | medianews |
DB_CONNECTION2 | mysql |
DB_HOST2 | localhost |
DB_PORT2 | 3306 |
DB_DATABASE2 | investorcom_ock |
DB_USERNAME2 | investorcom_connect |
DB_PASSWORD2 | 1245;#t)=]cWIGsA |
CONNECTION_NAME3 | charts |
DB_CONNECTION3 | mysql |
DB_HOST3 | localhost |
DB_PORT3 | 3306 |
DB_DATABASE3 | investorcom_chart |
DB_USERNAME3 | investorcom_chart |
DB_PASSWORD3 | 1245$z_I=*wCo5qd |
CONNECTION_NAME4 | bursa |
DB_CONNECTION4 | mysql |
DB_HOST4 | localhost |
DB_PORT4 | 3306 |
DB_DATABASE4 | investorcom_bursa |
DB_USERNAME4 | investorcom_bursa |
DB_PASSWORD4 | 1245(&;vWt;#.ENt |
CONNECTION_NAME5 | connect |
DB_CONNECTION5 | mysql |
DB_HOST5 | localhost |
DB_PORT5 | 3306 |
DB_DATABASE5 | investorcom_cms |
DB_USERNAME5 | investorcom_connect |
DB_PASSWORD5 | 1245;#t)=]cWIGsA |
CONNECTION_NAME6 | nanyang |
DB_CONNECTION6 | mysql |
DB_HOST6 | localhost |
DB_PORT6 | 3306 |
DB_DATABASE6 | investorcom_nanyang |
DB_USERNAME6 | investorcom_ock |
DB_PASSWORD6 | 1245[uk^FBu@EvA9 |
CONNECTION_NAME7 | dev |
DB_CONNECTION7 | mysql |
DB_HOST7 | localhost |
DB_PORT7 | 3306 |
DB_DATABASE7 | investorcom_dev |
DB_USERNAME7 | investorcom_dev |
DB_PASSWORD7 | 1245KksTlhaPiaC] |
CONNECTION_NAME8 | ock |
DB_CONNECTION8 | mysql |
DB_HOST8 | localhost |
DB_PORT8 | 3306 |
DB_DATABASE8 | investorcom_ock |
DB_USERNAME8 | investorcom_ock |
DB_PASSWORD8 | 1245[uk^FBu@EvA9 |
CONNECTION_NAME9 | yahoo |
DB_CONNECTION9 | mysql |
DB_HOST9 | localhost |
DB_PORT9 | 3306 |
DB_DATABASE9 | investorcom_yahoo |
DB_USERNAME9 | investorcom_ock |
DB_PASSWORD9 | 1245[uk^FBu@EvA9 |
CONNECTION_NAME10 | klsescreener_charts |
DB_CONNECTION10 | mysql |
DB_HOST10 | localhost |
DB_PORT10 | 3306 |
DB_DATABASE10 | investorcom_klsescreenercharts |
DB_USERNAME10 | investorcom_ock |
DB_PASSWORD10 | 1245[uk^FBu@EvA9 |
APP_TIMEZONE | Asia/Kuala_Lumpur |
SINGAPORE_TIMEZONE | Asia/Singapore |
UTC_TIMEZONE | UTC |
APP_LOCALE | en |
APP_KEY | BRERurLNatMfeMNZlNRSXGbiU3yqvow5 |
AWS_ACCESS_KEY_ID | |
AWS_SECRET_ACCESS_KEY | |
AWS_DEFAULT_REGION | us-east-1 |
AWS_BUCKET | |
PUSHER_APP_ID | |
PUSHER_APP_KEY | |
PUSHER_APP_SECRET | |
PUSHER_APP_CLUSTER | mt1 |
BROADCAST_DRIVER | log |
CACHE_DRIVER | file |
QUEUE_CONNECTION | sync |
SESSION_DRIVER | file |
SESSION_LIFETIME | 120 |
REDIS_HOST | 127.0.0.1 |
REDIS_PASSWORD | |
REDIS_PORT | 6379 |
Key | Value |
LSPHP_ENABLE_USER_INI | ON |
PATH | /usr/local/bin:/bin:/usr/bin |
APP_NAME | LARAVEL |
APP_URL | http://ocklive.com/ |
BURSA_SUBDOMAIN | https://bursa.investor.com.my/ |
CHART_SUBDOMAIN | https://charts.investor.com.my/ |
MEDIANEWS_SUBDOMAIN | https://medianews.investor.com.my/ |
CMS_SUBDOMAIN | https://cms.investor.com.my/ |
INVESTOR_DOMAIN | https://investor.com.my/ |
LARAVEL_SUBDOMAIN | https://laravel.investor.com.my/ |
MAIL_MAILER | smtp |
MAIL_HOST | vm1.webqomhosting1.com |
MAIL_PORT | 465 |
MAIL_USERNAME | web88support@webqom.com |
MAIL_PASSWORD | 1256%IM~(3nm9D~@ |
MAIL_ENCRYPTION | ssl |
MAIL_FROM_ADDRESS | web88support@webqom.com |
MAIL_FROM_NAME | |
MAIL_SUBJECT | Feedback |
MAIL_MAILER_BURSA | smtp |
MAIL_HOST_BURSA | 202.75.51.72 |
MAIL_PORT_BURSA | 465 |
MAIL_USERNAME_BURSA | anand@webqom.com |
MAIL_PASSWORD_BURSA | 4458Q)eQ8d-4RAWk |
MAIL_ENCRYPTION_BURSA | ssl |
MAIL_FROM_ADDRESS_BURSA | anand@webqom.com |
MAIL_FROM_NAME_BURSA | Webqom Support |
MAIL_MAILER_CHART | smtp |
MAIL_HOST_CHART | localhost |
MAIL_PORT_CHART | 25 |
MAIL_USERNAME_CHART | laravel@ock.net.my |
MAIL_PASSWORD_CHART | admin123 |
MAIL_ENCRYPTION_CHART | tls |
MAIL_FROM_ADDRESS_CHART | laravel@ock.net.my |
MAIL_FROM_NAME_CHART | Charts Admin |
MAIL_MAILER_FAREASTHOLDING | smtp |
MAIL_HOST_FAREASTHOLDING | mail.fareastholdingsbhd.com |
MAIL_PORT_FAREASTHOLDING | 25 |
MAIL_USERNAME_FAREASTHOLDING | web88ir@fareastholdingsbhd.com |
MAIL_PASSWORD_FAREASTHOLDING | 935if)wg2mKG+Vo |
MAIL_ENCRYPTION_FAREASTHOLDING | tls |
MAIL_FROM_ADDRESS_FAREASTHOLDING | web88ir@fareastholdingsbhd.com |
MAIL_FROM_NAME_FAREASTHOLDING | |
CONNECTION_NAME | cms |
DB_CONNECTION | mysql |
DB_HOST | localhost |
DB_PORT | 3306 |
DB_DATABASE | investorcom_cms |
DB_USERNAME | investorcom_cms |
DB_PASSWORD | 1245?3^BtM52kk.Y |
CONNECTION_NAME2 | medianews |
DB_CONNECTION2 | mysql |
DB_HOST2 | localhost |
DB_PORT2 | 3306 |
DB_DATABASE2 | investorcom_ock |
DB_USERNAME2 | investorcom_connect |
DB_PASSWORD2 | 1245;#t)=]cWIGsA |
CONNECTION_NAME3 | charts |
DB_CONNECTION3 | mysql |
DB_HOST3 | localhost |
DB_PORT3 | 3306 |
DB_DATABASE3 | investorcom_chart |
DB_USERNAME3 | investorcom_chart |
DB_PASSWORD3 | 1245$z_I=*wCo5qd |
CONNECTION_NAME4 | bursa |
DB_CONNECTION4 | mysql |
DB_HOST4 | localhost |
DB_PORT4 | 3306 |
DB_DATABASE4 | investorcom_bursa |
DB_USERNAME4 | investorcom_bursa |
DB_PASSWORD4 | 1245(&;vWt;#.ENt |
CONNECTION_NAME5 | connect |
DB_CONNECTION5 | mysql |
DB_HOST5 | localhost |
DB_PORT5 | 3306 |
DB_DATABASE5 | investorcom_cms |
DB_USERNAME5 | investorcom_connect |
DB_PASSWORD5 | 1245;#t)=]cWIGsA |
CONNECTION_NAME6 | nanyang |
DB_CONNECTION6 | mysql |
DB_HOST6 | localhost |
DB_PORT6 | 3306 |
DB_DATABASE6 | investorcom_nanyang |
DB_USERNAME6 | investorcom_ock |
DB_PASSWORD6 | 1245[uk^FBu@EvA9 |
CONNECTION_NAME7 | dev |
DB_CONNECTION7 | mysql |
DB_HOST7 | localhost |
DB_PORT7 | 3306 |
DB_DATABASE7 | investorcom_dev |
DB_USERNAME7 | investorcom_dev |
DB_PASSWORD7 | 1245KksTlhaPiaC] |
CONNECTION_NAME8 | ock |
DB_CONNECTION8 | mysql |
DB_HOST8 | localhost |
DB_PORT8 | 3306 |
DB_DATABASE8 | investorcom_ock |
DB_USERNAME8 | investorcom_ock |
DB_PASSWORD8 | 1245[uk^FBu@EvA9 |
CONNECTION_NAME9 | yahoo |
DB_CONNECTION9 | mysql |
DB_HOST9 | localhost |
DB_PORT9 | 3306 |
DB_DATABASE9 | investorcom_yahoo |
DB_USERNAME9 | investorcom_ock |
DB_PASSWORD9 | 1245[uk^FBu@EvA9 |
CONNECTION_NAME10 | klsescreener_charts |
DB_CONNECTION10 | mysql |
DB_HOST10 | localhost |
DB_PORT10 | 3306 |
DB_DATABASE10 | investorcom_klsescreenercharts |
DB_USERNAME10 | investorcom_ock |
DB_PASSWORD10 | 1245[uk^FBu@EvA9 |
APP_TIMEZONE | Asia/Kuala_Lumpur |
SINGAPORE_TIMEZONE | Asia/Singapore |
UTC_TIMEZONE | UTC |
APP_LOCALE | en |
APP_KEY | BRERurLNatMfeMNZlNRSXGbiU3yqvow5 |
AWS_ACCESS_KEY_ID | |
AWS_SECRET_ACCESS_KEY | |
AWS_DEFAULT_REGION | us-east-1 |
AWS_BUCKET | |
PUSHER_APP_ID | |
PUSHER_APP_KEY | |
PUSHER_APP_SECRET | |
PUSHER_APP_CLUSTER | mt1 |
BROADCAST_DRIVER | log |
CACHE_DRIVER | file |
QUEUE_CONNECTION | sync |
SESSION_DRIVER | file |
SESSION_LIFETIME | 120 |
REDIS_HOST | 127.0.0.1 |
REDIS_PASSWORD | |
REDIS_PORT | 6379 |