Fuel\Core\PhpErrorException [ Warning ]:
Undefined array key "pref_"
54</h4> 55 <?php if ($_smarty_tpl->tpl_vars['auth_id']->value == $_smarty_tpl->tpl_vars['user']->value['id']) {?><div style="margin-top: -10px" class="mb10">[<a href="/setprof/?m=update">プロフィールを編集</a>] 56 [<a href="#" onclick="if(window.confirm('退会します(投稿した記事やプロフィールを復帰する事はできません)')){ location.href='/leave/?key=<?php echo $_smarty_tpl->tpl_vars['user']->value['key'];?> 57'} return false;">退会する</a>]</div><?php }?> 58 <p class="mb10"><?php echo $_smarty_tpl->tpl_vars['user']->value['country_'];?> 59 / <?php echo $_smarty_tpl->tpl_vars['user']->value['pref_'];?> 60</p> 61 <div class="mb10"> 62 <?php 63$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['user']->value['tag'], 'tag'); 64if ($_from !== null) {
98 include COREPATH.'classes/errorhandler.php'; 99 class_alias('\Fuel\Core\Errorhandler', 'Errorhandler'); 100 class_alias('\Fuel\Core\PhpErrorException', 'PhpErrorException'); 101 } 102 103 return \Errorhandler::error_handler($severity, $message, $filepath, $line); 104}); 105 106function setup_autoloader() 107{ 108 \Autoloader::add_namespace('Fuel\\Core', COREPATH.'classes/');
54</h4> 55 <?php if ($_smarty_tpl->tpl_vars['auth_id']->value == $_smarty_tpl->tpl_vars['user']->value['id']) {?><div style="margin-top: -10px" class="mb10">[<a href="/setprof/?m=update">プロフィールを編集</a>] 56 [<a href="#" onclick="if(window.confirm('退会します(投稿した記事やプロフィールを復帰する事はできません)')){ location.href='/leave/?key=<?php echo $_smarty_tpl->tpl_vars['user']->value['key'];?> 57'} return false;">退会する</a>]</div><?php }?> 58 <p class="mb10"><?php echo $_smarty_tpl->tpl_vars['user']->value['country_'];?> 59 / <?php echo $_smarty_tpl->tpl_vars['user']->value['pref_'];?> 60</p> 61 <div class="mb10"> 62 <?php 63$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['user']->value['tag'], 'tag'); 64if ($_from !== null) {
123 if ($_template->startRenderCallbacks) { 124 foreach ($_template->startRenderCallbacks as $callback) { 125 call_user_func($callback, $_template); 126 } 127 } 128 $unifunc($_template); 129 foreach ($_template->endRenderCallbacks as $callback) { 130 call_user_func($callback, $_template); 131 } 132 $_template->isRenderingCache = false; 133 }
167 array_merge($_template->cached->file_dependency, $this->file_dependency); 168 } 169 if ($_template->source->handler->uncompiled) { 170 $_template->source->handler->renderUncompiled($_template->source, $_template); 171 } else { 172 $this->getRenderedTemplateCode($_template); 173 } 174 if ($_template->caching && $this->has_nocache_code) { 175 $_template->cached->hashes[ $this->nocache_hash ] = true; 176 } 177 if ($_template->smarty->debugging) {
202 $this->cached->render($this, $no_output_filter); 203 } else { 204 if (!isset($this->compiled) || $this->compiled->compile_id !== $this->compile_id) { 205 $this->loadCompiled(true); 206 } 207 $this->compiled->render($this); 208 } 209 210 // display or fetch 211 if ($display) { 212 if ($this->caching && $this->smarty->cache_modified_check) {
211 ob_start(); 212 $template->_mergeVars(); 213 if (!empty(Smarty::$global_tpl_vars)) { 214 $template->tpl_vars = array_merge(Smarty::$global_tpl_vars, $template->tpl_vars); 215 } 216 $result = $template->render(false, $function); 217 $template->_cleanUp(); 218 if ($saveVars) { 219 $template->tpl_vars = $savedTplVars; 220 $template->config_vars = $savedConfigVars; 221 } else {
102 * @throws SmartyException 103 * @return string rendered template output 104 */ 105 public function fetch($template = null, $cache_id = null, $compile_id = null, $parent = null) 106 { 107 $result = $this->_execute($template, $cache_id, $compile_id, $parent, 0); 108 return $result === null ? ob_get_clean() : $result; 109 } 110 111 /** 112 * displays a Smarty template
27 try 28 { 29 // Smarty doesn't support method chaining 30 $parser = static::parser(); 31 $parser->assign($data = $this->get_data()); 32 $result = $parser->fetch($file); 33 } 34 catch (\Exception $e) 35 { 36 // Delete the output buffer & re-throw the exception 37 ob_end_clean();
660 { 661 throw new \FuelException('You must set the file to use within your view before rendering'); 662 } 663 664 // combine local and global data and capture the output 665 $return = $this->process_file(); 666 667 // restore the current language setting 668 $this->active_language and \Config::set('language', $current_language); 669 670 // and the active request class
208 */ 209 public function __toString() 210 { 211 try 212 { 213 return $this->render(); 214 } 215 catch (\Exception $e) 216 { 217 \Errorhandler::exception_handler($e); 218
377 * 378 * @return string 379 */ 380 public function __toString() 381 { 382 return (string) $this->body; 383 } 384}
108 $response = $routerequest('_500_', $e); 109} 110 111// This will add the execution time and memory usage to the output. 112// Comment this out if you don't use it. 113$response->body((string) $response); 114if (strpos($response->body(), '{exec_time}') !== false or strpos($response->body(), '{mem_usage}') !== false) 115{ 116 $bm = Profiler::app_total(); 117 $response->body( 118 str_replace(
112 113 114 115 116 117 include('fuel_index.php'); 118} 119 120 121 122/*if(preg_match("/^\/articles\//",$_SERVER['REQUEST_URI'])){