mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 08:49:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1682 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a774aa0f54
commit
f0726798e5
6 changed files with 21 additions and 4 deletions
|
|
@ -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'];
|
||||
|
||||
|
|
|
|||
|
|
@ -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+"\" />"+
|
||||
|
|
|
|||
|
|
@ -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 -->
|
||||
|
|
|
|||
BIN
widgets/counter_status/skins/styx_flash/counter.swf
Normal file
BIN
widgets/counter_status/skins/styx_flash/counter.swf
Normal file
Binary file not shown.
|
|
@ -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>
|
||||
13
widgets/counter_status/skins/styx_flash/skin.xml
Normal file
13
widgets/counter_status/skins/styx_flash/skin.xml
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue