<h3>Result</h3> <div class="ssi_result"><?php ssi_todaysEvents(); flush(); ?> </div> </div> <div class="ssi_preview" id="ssi_recentEvents"> <h2>Recent Calendar Events Function</h2> <h3>Code</h3> <div class="codeheader">Code: <a href="javascript:void(0);" onclick="return smfSelectText(this);" class="codeoperation">[Select]</a></div><code class="bbc_code"><?php ssi_recentEvents(); ?></code> <h3>Result</h3> <div class="ssi_result"><?php ssi_recentEvents(); flush(); ?> </div> </div> <!-- MISCELLANEOUS --> <div class="ssi_preview" id="ssi_boardStats"> <h2>Forum Stats</h2> <p>Shows some basic forum stats: total members, posts, topics, boards, etc.</p> <h3>Code</h3> <div class="codeheader">Code: <a href="javascript:void(0);" onclick="return smfSelectText(this);" class="codeoperation">[Select]</a></div><code class="bbc_code"><?php ssi_boardStats(); ?></code> <h3>Result</h3> <div class="ssi_result"><?php ssi_boardStats();
/** * Short description * * Long description * * @param * @return */ protected function show_recentEvents() { try { $this->loadSSI(); } catch (Exception $e) { throw new \Exception($e->getMessage()); } if ('echo' == $this->output_method) { ob_start(); ssi_recentEvents($this->max_events, $this->output_method); $this->data = ob_get_contents(); ob_end_clean(); } else { $this->data = ssi_recentEvents($this->max_events, $this->output_method); } }