From 76f599c69b9dfab806a230a70280db50c46a2305 Mon Sep 17 00:00:00 2001 From: zero Date: Wed, 18 Apr 2007 04:43:57 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@1211 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- addons/counter/counter.addon.php | 4 +- classes/db/DB.class.php | 4 + config/config.inc.php | 2 +- modules/counter/conf/module.xml | 1 + modules/counter/counter.class.php | 8 + modules/counter/counter.controller.php | 65 +++++++- modules/counter/counter.model.php | 26 ++- modules/counter/queries/getCounterLog.xml | 4 +- modules/counter/queries/getCounterStatus.xml | 4 +- modules/counter/queries/insertCounterLog.xml | 2 +- .../counter/queries/insertCounterStatus.xml | 8 - .../counter/queries/updateCounterPageview.xml | 8 +- .../counter/queries/updateCounterUnique.xml | 6 +- modules/counter/schemas/counter_log.xml | 2 +- plugins/counter_status/conf/info.xml | 9 ++ plugins/counter_status/login_info.class.php | 36 +++++ .../skins/default/filter/login.xml | 14 ++ .../skins/default/filter/logout.xml | 7 + .../skins/default/images/icon_friend_list.gif | Bin 0 -> 556 bytes .../skins/default/images/icon_key.gif | Bin 0 -> 505 bytes .../skins/default/images/icon_last_login.gif | Bin 0 -> 967 bytes .../skins/default/images/icon_message_box.gif | Bin 0 -> 559 bytes .../skins/default/images/icon_note.gif | Bin 0 -> 534 bytes .../skins/default/images/icon_profile.gif | Bin 0 -> 535 bytes .../counter_status/skins/default/js/login.js | 31 ++++ .../skins/default/login_info.html | 83 ++++++++++ .../skins/default/normal/document_bullet.gif | Bin 0 -> 282 bytes .../skins/default/normal/style.css | 151 ++++++++++++++++++ .../skins/default/normal/title_bullet.gif | Bin 0 -> 589 bytes plugins/counter_status/skins/default/skin.xml | 13 ++ 30 files changed, 456 insertions(+), 32 deletions(-) delete mode 100644 modules/counter/queries/insertCounterStatus.xml create mode 100644 plugins/counter_status/conf/info.xml create mode 100644 plugins/counter_status/login_info.class.php create mode 100644 plugins/counter_status/skins/default/filter/login.xml create mode 100644 plugins/counter_status/skins/default/filter/logout.xml create mode 100644 plugins/counter_status/skins/default/images/icon_friend_list.gif create mode 100644 plugins/counter_status/skins/default/images/icon_key.gif create mode 100644 plugins/counter_status/skins/default/images/icon_last_login.gif create mode 100644 plugins/counter_status/skins/default/images/icon_message_box.gif create mode 100644 plugins/counter_status/skins/default/images/icon_note.gif create mode 100644 plugins/counter_status/skins/default/images/icon_profile.gif create mode 100644 plugins/counter_status/skins/default/js/login.js create mode 100644 plugins/counter_status/skins/default/login_info.html create mode 100644 plugins/counter_status/skins/default/normal/document_bullet.gif create mode 100644 plugins/counter_status/skins/default/normal/style.css create mode 100644 plugins/counter_status/skins/default/normal/title_bullet.gif create mode 100644 plugins/counter_status/skins/default/skin.xml diff --git a/addons/counter/counter.addon.php b/addons/counter/counter.addon.php index 5ad7be190..73d2b8bce 100644 --- a/addons/counter/counter.addon.php +++ b/addons/counter/counter.addon.php @@ -12,8 +12,8 @@ * 파일내에서 이루어집니다. **/ - // called_position가 before_module_init 일때만 실행 - if($called_position == 'before_module_init') { + // called_position가 before_module_init 이고 module이 admin이 아닐 경우 + if($called_position == 'before_module_init' && $this->module != 'admin') { Context::addJsFile('./modules/counter/tpl/js/counter.js'); } ?> diff --git a/classes/db/DB.class.php b/classes/db/DB.class.php index 5b07a093a..f1fb14b50 100644 --- a/classes/db/DB.class.php +++ b/classes/db/DB.class.php @@ -284,6 +284,9 @@ $value = preg_replace('/(^\'|\'$){1}/','',$value); switch($operation) { + case 'like_tail' : + $value = $value.'%'; + break; case 'like_prefix' : $value = '%'.$value; break; @@ -322,6 +325,7 @@ if(!$value) return; return $name.' < '.$value; break; + case 'like_tail' : case 'like_prefix' : case 'like' : if(!$value) return; diff --git a/config/config.inc.php b/config/config.inc.php index 593082313..96f5ae768 100644 --- a/config/config.inc.php +++ b/config/config.inc.php @@ -39,12 +39,12 @@ * php5 기반으로 바꾸게 되면 _autoload를 이용할 수 있기에 제거 대상 **/ if(__DEBUG__) define('__ClassLosdStartTime__', getMicroTime()); + require_once("./classes/object/Object.class.php"); require_once("./classes/handler/Handler.class.php"); require_once("./classes/xml/XmlParser.class.php"); require_once("./classes/context/Context.class.php"); require_once("./classes/db/DB.class.php"); require_once("./classes/file/FileHandler.class.php"); - require_once("./classes/object/Object.class.php"); require_once("./classes/plugin/PluginHandler.class.php"); require_once("./classes/editor/EditorHandler.class.php"); require_once("./classes/module/ModuleObject.class.php"); diff --git a/modules/counter/conf/module.xml b/modules/counter/conf/module.xml index 019051af7..3d6cca8f3 100644 --- a/modules/counter/conf/module.xml +++ b/modules/counter/conf/module.xml @@ -3,5 +3,6 @@ + diff --git a/modules/counter/counter.class.php b/modules/counter/counter.class.php index 675748d58..777b04dd9 100644 --- a/modules/counter/counter.class.php +++ b/modules/counter/counter.class.php @@ -15,6 +15,14 @@ $oModuleController = &getController('module'); $oModuleController->insertActionForward('counter', 'view', 'dispCounterAdminIndex'); + $oCounterController = &getController('counter'); + + // 00000000000000 일자로 기록될 전체 방문 기록 row 추가 + $oCounterController->insertTodayStatus('00000000000000'); + + // 오늘자 row입력 + $oCounterController->insertTodayStatus(); + return new Object(); } diff --git a/modules/counter/counter.controller.php b/modules/counter/counter.controller.php index 5404f1fe3..727f85417 100644 --- a/modules/counter/counter.controller.php +++ b/modules/counter/counter.controller.php @@ -14,18 +14,71 @@ } /** - * @brief 로그 등록 + * @brief 카운터 기록 **/ - function insertLog() { - return executeQuery('counter.insertCounterLog'); + function procCounterExecute() { + // 로그를 검사 + $oCounterModel = &getModel('counter'); + + // 오늘자 row가 있는지 체크하여 없으면 등록 + if(!$oCounterModel->isInsertedTodayStatus()) { + $this->insertTodayStatus(); + + // 기존 row가 있으면 사용자 체크 + } else { + + // 등록되어 있지 않은 아이피일 경우 + if(!$oCounterModel->isLogged()) { + // 로그 등록 + $this->insertLog(); + + // unique 및 pageview 등록 + $this->insertUniqueVisitor(); + } else { + // pageview 등록 + $this->insertPageView(); + } + } } /** - * @brief 현황 등록 + * @brief 로그 등록 **/ - function insertStatus() { - return executeQuery('counter.insertCounterStatus'); + function insertLog() { + $args->regdate = date("YmdHis"); + $args->user_agent = $_SERVER['HTTP_USER_AGENT']; + return executeQuery('counter.insertCounterLog', $args); } + /** + * @brief unique visitor 등록 + **/ + function insertUniqueVisitor() { + $args->regdate = date("Ymd000000"); + return executeQuery('counter.updateCounterUnique', $args); + } + + /** + * @brief pageview 등록 + **/ + function insertPageView() { + $args->regdate = date("Ymd000000"); + return executeQuery('counter.updateCounterPageview', $args); + } + + /** + * @brief 오늘자 카운터 status 추가 + **/ + function insertTodayStatus($regdate = 0) { + if($regdate) $args->regdate = $regdate; + else $args->regdate = date("Ymd000000"); + executeQuery('counter.insertTodayStatus', $args); + + // 로그 등록 + $this->insertLog(); + + // unique 및 pageview 등록 + $this->insertUniqueVisitor(); + } } ?> diff --git a/modules/counter/counter.model.php b/modules/counter/counter.model.php index 921185edf..60b7e9fee 100644 --- a/modules/counter/counter.model.php +++ b/modules/counter/counter.model.php @@ -17,7 +17,17 @@ * @brief 로그 검사 **/ function isLogged() { - $output = executeQuery('counter.getCounterLog'); + $args->regdate = date("Ymd"); + $output = executeQuery('counter.getCounterLog', $args); + return $output->data->count?true:false; + } + + /** + * @brief 오늘자 카운터 현황 row 있는지 체크 + **/ + function isInsertedTodayStatus() { + $args->regdate = date("Ymd000000"); + $output = executeQuery('counter.getTodayStatus', $args); return $output->data->count?true:false; } @@ -25,7 +35,19 @@ * @brief 특정 일의 접속 통계를 가져옴 **/ function getStatus($regdate) { - $args->regdate = $regdate; + // 여러개의 날자 로그를 가져올 경우 + if(is_array($regdate)) { + $date_count = count($regdate); + for($i=0;$i<$date_count;$i++) { + if(strlen($regdate[$i])==8) $regdate[$i] = $regdate[$i].'000000'; + $args->regdate = "'".implode("','",$regdate)."'"; + } + // 단일 날자의 로그를 가져올 경우 + } else { + if(strlen($regdate)==8) $regdate = $regdate.'000000'; + $args->regdate = $regdate; + } + $output = executeQuery('counter.getCounterStatus', $args); return $output->data; } diff --git a/modules/counter/queries/getCounterLog.xml b/modules/counter/queries/getCounterLog.xml index cb563ca64..038c8a5a6 100644 --- a/modules/counter/queries/getCounterLog.xml +++ b/modules/counter/queries/getCounterLog.xml @@ -6,7 +6,7 @@ - - + + diff --git a/modules/counter/queries/getCounterStatus.xml b/modules/counter/queries/getCounterStatus.xml index 288f98d34..475629fdc 100644 --- a/modules/counter/queries/getCounterStatus.xml +++ b/modules/counter/queries/getCounterStatus.xml @@ -1,4 +1,4 @@ - + @@ -6,6 +6,6 @@ - + diff --git a/modules/counter/queries/insertCounterLog.xml b/modules/counter/queries/insertCounterLog.xml index 4e4bf8fcb..d46a6739d 100644 --- a/modules/counter/queries/insertCounterLog.xml +++ b/modules/counter/queries/insertCounterLog.xml @@ -3,7 +3,7 @@
- + diff --git a/modules/counter/queries/insertCounterStatus.xml b/modules/counter/queries/insertCounterStatus.xml deleted file mode 100644 index 01d52c855..000000000 --- a/modules/counter/queries/insertCounterStatus.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -
- - - - - diff --git a/modules/counter/queries/updateCounterPageview.xml b/modules/counter/queries/updateCounterPageview.xml index 0fcbf7884..2153cd197 100644 --- a/modules/counter/queries/updateCounterPageview.xml +++ b/modules/counter/queries/updateCounterPageview.xml @@ -1,12 +1,12 @@ - +
- + - - + + diff --git a/modules/counter/queries/updateCounterUnique.xml b/modules/counter/queries/updateCounterUnique.xml index 8d8bd739e..c4b614c87 100644 --- a/modules/counter/queries/updateCounterUnique.xml +++ b/modules/counter/queries/updateCounterUnique.xml @@ -1,13 +1,13 @@ -
+
- - + + diff --git a/modules/counter/schemas/counter_log.xml b/modules/counter/schemas/counter_log.xml index 140f8c7cd..305d6c704 100644 --- a/modules/counter/schemas/counter_log.xml +++ b/modules/counter/schemas/counter_log.xml @@ -1,5 +1,5 @@
- +
diff --git a/plugins/counter_status/conf/info.xml b/plugins/counter_status/conf/info.xml new file mode 100644 index 000000000..ccae5f2c2 --- /dev/null +++ b/plugins/counter_status/conf/info.xml @@ -0,0 +1,9 @@ + + + 로그인 정보 출력 + + 제로 + 로그인 폼이나 로그인 정보를 출력합니다 + + + diff --git a/plugins/counter_status/login_info.class.php b/plugins/counter_status/login_info.class.php new file mode 100644 index 000000000..230a13c2d --- /dev/null +++ b/plugins/counter_status/login_info.class.php @@ -0,0 +1,36 @@ +style); + + // 템플릿의 스킨 경로를 지정 (skin, colorset에 따른 값을 설정) + $tpl_path = sprintf('%sskins/%s', $this->plugin_path, $args->skin); + Context::set('colorset', $args->colorset); + + // 템플릿 파일을 지정 + $tpl_file = 'login_info'; + + // 템플릿 컴파일 + $oTemplate = new TemplateHandler(); + return $oTemplate->compile($tpl_path, $tpl_file); + } + + + } +?> diff --git a/plugins/counter_status/skins/default/filter/login.xml b/plugins/counter_status/skins/default/filter/login.xml new file mode 100644 index 000000000..d2889fbd5 --- /dev/null +++ b/plugins/counter_status/skins/default/filter/login.xml @@ -0,0 +1,14 @@ + +
+ + + + + + + + + + + +
diff --git a/plugins/counter_status/skins/default/filter/logout.xml b/plugins/counter_status/skins/default/filter/logout.xml new file mode 100644 index 000000000..327f41e11 --- /dev/null +++ b/plugins/counter_status/skins/default/filter/logout.xml @@ -0,0 +1,7 @@ + +
+ + + + + diff --git a/plugins/counter_status/skins/default/images/icon_friend_list.gif b/plugins/counter_status/skins/default/images/icon_friend_list.gif new file mode 100644 index 0000000000000000000000000000000000000000..adabcfc6e6a451c6bcf7617ce7512d9ca9430cc0 GIT binary patch literal 556 zcmV+{0@M9RNk%w1VGIBa0Ooc8;i6IZ@6_R=Q*VT-_~L`yx0Q}qKDeZYoo7zJs*&;H zv(mJGooP>>t)POl=jOw6{P48Zvwh{hcJ$qF@4t@N>f8PI&iCGQiCIDI=;Gm{Qsdgy z_~L=)$$9wRYiO;~p=?jnvzot_ck0=)W2eV=yzSEG-Q=)u<+*nE?$TU|()Z(u@afa{ z;DF`h*Uzwi-0j@%%cJ@3-1_m<`02mz(WLFhXxyk>!PcX&igo$rlC8Pb`Q?$Odt=?V zl=0%V;G$cZtk(0~UFF4g|I(o1r(OK@%9NLg{PDTIqLKC4Wcb#R+RenJm5cxJx8%^6 z^3tdF;C!T`vUtGZw!yx~)S3SJ;nl^w(zAl#!C2vO#qGe9(%75x=D6XZPXE@Wx2~Yzpi|JET+r;}_~V9vkiX>J zl;qmF?!}VE!JGg8{{R30000000000000000000000000000000A^8LW004FXEC2ui z01N;O000MxfOdj{8$AdNNn3-1IbI+J7*~seA_ZqYWg&Jc0Rb~EO%!WHWK4Eh3O{Le z18fIeQbBedT~2dx4pSr_B`P~ZG&W&w5ieK^Hw|D9GBr>vFcl_mBS#4mRuD*Ia%fdJ uPgEHwMg(viQ4?Q6OJ;T_7CJmDEf-22Vsv&uMFIjE0JNw9&?bhRKma=qOD$;t literal 0 HcmV?d00001 diff --git a/plugins/counter_status/skins/default/images/icon_key.gif b/plugins/counter_status/skins/default/images/icon_key.gif new file mode 100644 index 0000000000000000000000000000000000000000..152974d402a881178824ca75499f2efef2f084cd GIT binary patch literal 505 zcmZ?wbhEHb+Hd{54!)7!q@2>o^|^m3p3wSJG^-#(q2?)>`1gy*}n-ko3Y z@$SJJ2Ufi~Ipy1GjnT=m>`hL2# z<@?>}m-~|+ADQ}MU&a4_e?DEZ_;%ax&-c$CF4ld!AOH1E@W*RwKHZG_a<}vQ%gg6y zIRAJt>)V5@-=9z3KDzGy(T)HA|7RG=K=CIFBLjm2gAT|Opg3V*4{LB}YHn$5(&u0> zYir^Xw$GP}WPu|`8_}`^!&GUDkdsiR%^Y?Gj?9&%+J-q(x%hT8I zKYsr3>GOxY87B&7pV@QqRn5jbK4o)v?b!P7`;%9%UbYd~1;E-u-BC#-kx^=Dsu*Iiw;dD73j zlLIQ}?Y;c!+3WWw@4x9_3eY{Eyq9qezqoW()RBcidUX~J^RS{ zZ&ymA+jnj{@o4*{xA$MYO`3ah=E6mHZ(e=<;r*|F|CgM2|K|0p{8=Y%-F@)mTu9!; zqu-84&OP|Noz16bw)ZDE?$&WMF7y&;i*G$`cG6 zOBk3Z?!3(0z`)25kuX!>g!3$wgtnfQ4Q@VDmYoAUCgQbFCL&H?7 zoK;&UCOztzpv}S~B2kdw*{;qn#iNm+ARwY{{ObYd!ewXVBpR76c3xCH#HZl(@4&(d V*IQYveFO>u7?e2r9T*uItN{d@YUBU_ literal 0 HcmV?d00001 diff --git a/plugins/counter_status/skins/default/images/icon_message_box.gif b/plugins/counter_status/skins/default/images/icon_message_box.gif new file mode 100644 index 0000000000000000000000000000000000000000..5a05d50e2c2fdd8872bb46f3ad77f1c309f8ea36 GIT binary patch literal 559 zcmV+~0?_?ONk%w1VGIBa0OooC^Y{Pq`2Vxa@7e1A^ZEa_&+)m>@1eNdeWlHPrq8|5 z?4Y^a&D-#{&+w$%SD;OqFy+VI@#|IF?G+Ux(Nyx#Kp|I*_5 z(dqjB{QUj>{;kvU!_@Dv(E0!V{IkyRd85;it=iz~_sQ)4vdHGo;`y$^<8PGB-|hbH z^ZTv9-{R``@%8-j_xy;e*y{59hp^e-=kwX*_N2Yx=F%`2Xhc``hUF%HH^jL7%kJgv`t0=keV^6+`}^VP^o*|Ce4)^^$>)Qu*SF5?pt|0D zq|5jD{lC=kah%z`&+Yg2_r~h~-s|^%sML+G-m1ant=EFA)b{!PaErNsqttz+ z)a2~*@a|Q-?gNYSoFmE739)n_a5^NMEI0{cKdQuZxU{DzcE(aK5G$k5LNhn=FctjyAUQq-oUjhXM x0u4PvZCEp78x{it7)T>WK1wlG1ONd607XVx2yj6=B;=&An4_bfS-Th%l_TNW)e%{^v``e;F-)Fzum;Cd2*T>7Q z-|kg@+Fg0Kk>TB*gf|M z^-&A=&ks#s4z>Jx-v9sq)1NPve!H~d#X5&im;K(X41KlU_xFz#-`_QSIMw&#^0J@T z*8cf@^wYMykC!I?`?vhvhMYeS_I%i!|NZu^UtbqIoA2`P#f4wDw|?By@csI_w_6IH z&h>b^Bj@L*6EBwpeS47md|lv&1AN~fbUkPi`upe9!*+&un{vM2tNC!w_T#>`zyBWm ze6;i9&hj6Rd%oYF_5c6nU$57EIBWA^cg@eIGk-oi`0Y;dyZ!z@o=^MnxccLj&@Xp# z{(}Jn9f9Ic7Dfh!Xa*gSouD{jU@vZnZfb66W)U@DG853!w9siXjhZ}VvSO2wr-DBN zLy)kuY!j=tqYtB7h_bPHlb|1Gn4CCwgc?tihb|w7eR!kCe*gRB-K)n>o=%LC zefa3%jhi>0wQ29(v**Xh*I5TYef{>We$Cso-piTuPTlbm{;9 zKbI_7@_$wEq>1zH-o3kJ%hpdX9t6z(XxVXo|Ni}dKfm0wYx{kmqR;O>+&upH_y6); zAKrccYmnBvfA8McuV3q~{I5FoPiSoDlgCeX@7{g-^y$BU|GvC;`TzeP`WybcPyc`V z^r`=6Cf&MqYuU18|Ni~^4+ac_2`K(#VPs$kV9)_M3KS;{>?I8WP0cOMjFN)#5(c7f zUOr7u{AQ|_T-M_LwoNSVDvs(l8dm5akBVn-f>|zmg8Yy_GM`O*wn~i F4FGYD;bs5; literal 0 HcmV?d00001 diff --git a/plugins/counter_status/skins/default/js/login.js b/plugins/counter_status/skins/default/js/login.js new file mode 100644 index 000000000..317f2e44c --- /dev/null +++ b/plugins/counter_status/skins/default/js/login.js @@ -0,0 +1,31 @@ +/* 로그인 영역에 포커스 */ +function doFocusUserId(fo_id) { + var fo_obj = xGetElementById(fo_id); + if(xGetCookie('user_id')) { + fo_obj.user_id.value = xGetCookie('user_id'); + fo_obj.remember_user_id.checked = true; + try{ + fo_obj.password.focus(); + } catch(e) {}; + } else { + try{ + fo_obj.user_id.focus(); + } catch(e) {}; + } +} + +/* 로그인 후 */ +function completeLogin(ret_obj, response_tags, params, fo_obj) { + if(fo_obj.remember_user_id && fo_obj.remember_user_id.checked) { + var expire = new Date(); + expire.setTime(expire.getTime()+ (7000 * 24 * 3600000)); + xSetCookie('user_id', fo_obj.user_id.value, expire); + } + + var url = location.href.setQuery('act',''); + location.href = location.href.setQuery('act',''); +} + + + + diff --git a/plugins/counter_status/skins/default/login_info.html b/plugins/counter_status/skins/default/login_info.html new file mode 100644 index 000000000..0c8926854 --- /dev/null +++ b/plugins/counter_status/skins/default/login_info.html @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + diff --git a/plugins/counter_status/skins/default/normal/document_bullet.gif b/plugins/counter_status/skins/default/normal/document_bullet.gif new file mode 100644 index 0000000000000000000000000000000000000000..c29051c5de4d14edff4d24adf85677e385327977 GIT binary patch literal 282 zcmZ?wbhEHb6krfwxT?%B|IVEFLs3)DOq#Z1;_I)k7GGKT^8JfLj}CU8=?IzW6FS## z_Ob2Fyznl$zF#3ff2b)V^)eR}%;|Nj|i02F_+FfuSGGw6WK2KkAB&HTW` z0uLRj{u4`zPTE8<2p?-(#G=E;>*y}okRqVa6ZD9~)`IKl)8Gp(HeO9DCP_%l`mv{O JJr5IuH2`SRVnzS} literal 0 HcmV?d00001 diff --git a/plugins/counter_status/skins/default/normal/style.css b/plugins/counter_status/skins/default/normal/style.css new file mode 100644 index 000000000..07072513e --- /dev/null +++ b/plugins/counter_status/skins/default/normal/style.css @@ -0,0 +1,151 @@ +.login_plugin { + border:3px solid #DDDDDD; + padding:6px; + height:80px; + margin-bottom:10px; +} + +.login_plugin .top_box { + height:22px; + border-bottom:2px dotted #DDDDDD; + overflow:hidden; + margin-bottom:5px; +} + +.login_plugin .top_box .nick_name { + font-weight:bold; + float:left; + color:#555555; +} + +.login_plugin .top_box .logout { + float:right; +} + +.login_plugin .top_box .logout A { + text-decoration:none; + color:#737CF5; +} + +.login_plugin .top_box .logout A:hover { + font-weight:bold; + letter-spacing:-1px; + color:#151F9E; +} + + +.login_plugin .info_box { + clear:both; + color:#555555; +} + +.login_plugin .info_box A:link { + text-decoration:none; + color:#555555; +} + +.login_plugin .info_box A:visited { + text-decoration:none; + color:#555555; +} + +.login_plugin .info_box A:hover { + text-decoration:none; + font-weight:bold; + letter-spacing:-1px; + color:#555555; +} + +.login_plugin .info_box div { + padding-left:15px; + margin:0px 0px 4px 0px; +} + +.login_plugin .info_box .member_info { + background:url("../images/icon_profile.gif") no-repeat left; + float:left; + width:90px; +} + +.login_plugin .info_box .friend_list { + background:url("../images/icon_friend_list.gif") no-repeat left; + float:left; +} + +.login_plugin .info_box .message_box { + background:url("../images/icon_message_box.gif") no-repeat left; + float:left; + width:90px; +} + +.login_plugin .info_box .link_admin { + background:url("../images/icon_key.gif") no-repeat left; + float:left; +} + +.login_plugin .info_box .link_admin A { + color:#cd0000; +} + +.login_plugin .info_box .last_login { + clear:left; + background:url("../images/icon_last_login.gif") no-repeat left; + padding-left:15px; + margin-bottom:4px; +} + + +.login_plugin .login_box { + height:40px; +} + +.login_plugin .header { + float:left; + clear:left; + width:80px; + margin-bottom:5px; + font-weight:bold; + color:#555555; +} + +.login_plugin .body { + float:left; + width:100px; + margin-bottom:5px; +} + +.login_plugin .body .input { + width:90px; + height:13px; + border:1px solid #AAAAAA; + color:#555555; +} + +.login_plugin .body label { + cursor:pointer; +} + +.login_plugin .button_area { + clear:both; + height:20px; + margin-top:5px; + text-align:center; +} + +.login_plugin .button_area .submit_button { + width:80px; + height:18px; + border:1px solid #AAAAAA; + background-color:#555555; + color:#FFFFFF; + font-weight:bold; +} + +.login_plugin .button_area .signup_button { + width:80px; + height:18px; + border:1px solid #555555; + background-color:#FFFFFF; + color:#000000; + font-weight:bold; +} diff --git a/plugins/counter_status/skins/default/normal/title_bullet.gif b/plugins/counter_status/skins/default/normal/title_bullet.gif new file mode 100644 index 0000000000000000000000000000000000000000..12ed834ccfc71a906792e43b6bf5edfd96fc858c GIT binary patch literal 589 zcmZ?wbhEHb6krfwcoxak}uPb)Di6FyG6kc9%u*Ht*SPfn}Q#CZF}o zU*TW4!gsD`T+4x&o>Qd@&UUW4W}LSre)2iDX-?hiZgj7??my2ndSz&I*NO15mEn#1 z^l~FYHn$5a&*=g<_h#>4l!0!78PsKjF>TV)(pWWiwFrLJ1>756AoFk2*oD# z2)WRWn>MmUcsDUeu(FEtTFJYLuy{sDH`&iV8KK+6A7Q}e77>2sYJ^IYWQ0aA`{l3) zVc`+BP3{pwK{EFl7#>A%HhDxa2{68S_t>(@<%`bu@I!l(6+Bq?GBB(TJj~=efg^Qx e8ON@NM;tlT^pdVHY;-um#p}S+sUpI`U=09XDbYay literal 0 HcmV?d00001 diff --git a/plugins/counter_status/skins/default/skin.xml b/plugins/counter_status/skins/default/skin.xml new file mode 100644 index 000000000..01d2e4c74 --- /dev/null +++ b/plugins/counter_status/skins/default/skin.xml @@ -0,0 +1,13 @@ + + + 로그인 정보 출력 기본 스킨 + + 제로 + newest_document의 기본 스킨 + + + + 기본 + + +