git-svn-id: http://xe-core.googlecode.com/svn/trunk@1682 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-06-20 06:00:42 +00:00
parent a774aa0f54
commit f0726798e5
6 changed files with 21 additions and 4 deletions

View file

@ -57,7 +57,7 @@
$buff = $this->_compile($tpl_file, $compiled_tpl_file);
// Context와 compiled_tpl_file로 컨텐츠 생성
$output = $this->_fetch($compiled_tpl_file, $buff);
$output = $this->_fetch($compiled_tpl_file, $buff, $tpl_path);
if(__DEBUG__==3 ) $GLOBALS['__template_elapsed__'] += getMicroTime() - $start;
@ -310,8 +310,9 @@
/**
* @brief ob_* 함수를 이용하여 fetch...
**/
function _fetch($compiled_tpl_file, $buff = NULL) {
function _fetch($compiled_tpl_file, $buff = NULL, $tpl_path = '') {
$__Context = &$GLOBALS['__Context__'];
$__Context->tpl_path = $tpl_path;
if($_SESSION['is_logged']) $__Context->logged_info = $_SESSION['logged_info'];

View file

@ -144,7 +144,7 @@ function displayMultimedia(src, width, height, auto_start) {
if(/\.swf/i.test(src)) {
clsid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";
codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c-ab#version=6,0,29,0";
codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0";
html = ""+
"<object classid=\""+clsid+"\" codebase=\""+codebase+"\" width=\""+width+"\" height=\""+height+"\" >"+
"<param name=\"movie\" value=\""+src+"\" />"+

View file

@ -124,7 +124,7 @@
<img src="./common/tpl/images/blank.gif" class="zbxe_widget_output" widget="archive_list" skin="blog_archive_list" colorset="normal" title="archive list" mid_list="{$layout_info->mid}" style="width:100px;height:100px;"/>
<!-- 카운터 -->
<img src="./common/tpl/images/blank.gif" class="zbxe_widget_output" widget="counter_status" skin="default" colorset="normal" style="width:100px;height:100px;"/>
<img src="./common/tpl/images/blank.gif" class="zbxe_widget_output" widget="counter_status" skin="styx_flash" colorset="normal" style="width:100px;height:100px;"/>
<!-- powered by zbxe -->

Binary file not shown.

View file

@ -0,0 +1,3 @@
<script type="text/javascript">
displayMultimedia("{$tpl_path}counter.swf?n={$today_counter->unique_visitor},{$yesterday_counter->unique_visitor},{$total_counter->unique_visitor}", 180, 60);
</script>

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<skin>
<title xml:lang="ko">스틱스 플래시 카운터</title>
<maker email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
<name xml:lang="ko">styx</name>
<description xml:lang="ko">플래시로 오늘,어제,전체 카운터 현황을 출력해주시는 위젯입니다.</description>
</maker>
<colorset>
<color name="normal">
<title xml:lang="ko">기본</title>
</color>
</colorset>
</skin>