From 5b382dbdd6f3f9722d19c036fb0143bee804f412 Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 27 Jun 2013 15:06:49 +0900 Subject: [PATCH 1/4] =?UTF-8?q?=EC=8B=A0=EB=94=94=EC=BC=80=EC=9D=B4?= =?UTF-8?q?=EC=85=98=20#480=20=ED=95=91=20=EB=A7=88=ED=81=AC=EC=97=85=20?= =?UTF-8?q?=EB=B0=8F=20=EC=8A=A4=ED=83=80=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/syndi/ping.php | 59 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 plugin/syndi/ping.php diff --git a/plugin/syndi/ping.php b/plugin/syndi/ping.php new file mode 100644 index 000000000..571b6d98e --- /dev/null +++ b/plugin/syndi/ping.php @@ -0,0 +1,59 @@ += 0) +{ + date_default_timezone_set(@date_default_timezone_get()); +} + +error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT); + +$syndi_path = dirname(__FILE__); + +include $syndi_path . '/config/site.config.php'; + +$sql = " select bo_table from " . $g4['board_table'] . " b, ". $g4['group_table'] . " g where b.bo_read_level=1 and b.bo_list_level=1 and g.gr_use_access=0 and g.gr_id = b.gr_id order by b.gr_id, b.bo_table limit 1 "; +$channel = sql_fetch($sql); + +$sql = " select wr_id from {$g4['write_prefix']}{$channel['bo_table']} where wr_is_comment = 0 order by wr_num, wr_reply desc limit 1 "; +$article = sql_fetch($sql); +?> + + + + + +네이버 신디케이션 핑 + + + + +

네이버 신디케이션 핑 (Naver Syndication PING)

+ + + + + From dba29a7ae6dd8764620400c4608066a434368fd1 Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 27 Jun 2013 15:26:18 +0900 Subject: [PATCH 2/4] =?UTF-8?q?=EB=84=A4=EC=9D=B4=EB=B2=84=20=EC=8B=A0?= =?UTF-8?q?=EB=94=94=EC=BC=80=EC=9D=B4=EC=85=98=20=ED=95=91=20=EB=A7=81?= =?UTF-8?q?=ED=81=AC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/admin.menu100.php | 1 + 1 file changed, 1 insertion(+) diff --git a/adm/admin.menu100.php b/adm/admin.menu100.php index d65cb8fbf..0c8edbb8c 100644 --- a/adm/admin.menu100.php +++ b/adm/admin.menu100.php @@ -9,6 +9,7 @@ $menu['menu100'] = array ( array('100900', '캐쉬파일 일괄삭제',G4_ADMIN_URL.'/cache_file_delete.php', 'cf_cache', 1), array('100910', '캡챠파일 일괄삭제',G4_ADMIN_URL.'/gcaptcha_file_delete.php', 'cf_captcha', 1), array('100920', '썸네일파일 일괄삭제',G4_ADMIN_URL.'/thumbnail_file_delete.php', 'cf_thumbnail', 1), + array('100930', '네이버 신디케이션 핑',G4_SYNDI_URL.'/ping.php', 'cf_syndi_ping', 1), array('100500', 'phpinfo()', G4_ADMIN_URL.'/phpinfo.php', 'cf_phpinfo'), //array('100600', '업그레이드', G4_ADMIN_URL.'/upgrade.php', 'cf_upgrade'), //array('100700', '복구/최적화', G4_ADMIN_URL.'/repair.php', 'cf_repair'), From 8a8a6dbf1d56c1cd8fc091c2fc0f07cd0b71b9ff Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 27 Jun 2013 15:28:03 +0900 Subject: [PATCH 3/4] . --- css/admin.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/css/admin.css b/css/admin.css index 9fb50309d..4d66783dd 100644 --- a/css/admin.css +++ b/css/admin.css @@ -179,7 +179,7 @@ fieldset button {padding:0 15px;height:23px;border:0;background:#617d46;color:#f .sort_odr {float:left;margin:0 0 10px;padding-left:1px;list-style:none;zoom:1} .sort_odr:after {display:block;visibility:hidden;clear:both;content:""} .sort_odr li {float:left;margin-bottom:-1px} -.sort_odr a {display:block;position:relative;margin-left:-1px;padding:8px 0 6px;width:70px;border:1px solid #e9e9e9;background:#f5f6fa;color:#000;text-align:center;letter-spacing:-0.1em;line-height:1.2em;cursor:pointer} +.sort_odr a {display:inline-block;position:relative;margin-left:-1px;padding:8px 0 6px;width:70px;border:1px solid #e9e9e9;background:#f5f6fa;color:#000;text-align:center;letter-spacing:-0.1em;line-height:1.2em;cursor:pointer} .sort_odr a:focus, .sort_odr a:hover, .sort_odr a:active {text-decoration:none} .sort_with {float:right} @@ -191,6 +191,7 @@ table {clear:both;margin-bottom:10px;width:100%;border-collapse:collapse;border- caption {padding:10px 0 15px;font-weight:bold;text-align:left} thead th {padding:12px 0 8px;border-bottom:1px solid #666;background:#565e60;color:#fff} thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */ +thead a {color:#fff} tfoot th {border-top:1px solid #666;border-bottom:1px solid #666;background:#484848;color:#fff} tfoot td {border-color:#666;background:#484848;color:#fff;font-weight:bold;text-align:center} td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;line-height:1.5em;word-break:break-all} From e6f635e906ecbd0c1cdf19014dc0fa52b4b20bfd Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 27 Jun 2013 16:19:42 +0900 Subject: [PATCH 4/4] =?UTF-8?q?=EC=8B=A0=EB=94=94=EC=BC=80=EC=9D=B4?= =?UTF-8?q?=EC=85=98=20#480=20=ED=95=91=20=EC=8A=A4=ED=83=80=EC=9D=BC=20?= =?UTF-8?q?=EB=B3=B4=EC=99=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/syndi/ping.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/plugin/syndi/ping.php b/plugin/syndi/ping.php index 571b6d98e..5c2169d9a 100644 --- a/plugin/syndi/ping.php +++ b/plugin/syndi/ping.php @@ -33,8 +33,10 @@ h1 {padding:20px 0 0;text-align:center} ul {margin:30px;padding:0;border:1px solid #aaa;border:1px solid #aaa;list-style:none;zoom:1} ul:after {display:block;visibility:hidden;clear:both;content:""} li {float:left;width:50%;border-bottom:1px solid #e9e9e9} -a {display:block;padding:1em;height:2em;border-left:1px solid #e9e9e9;background:#fff;color:#000;font-weight:bold;text-decoration:none} +a {display:block;padding:1em;height:2em;background:#fff;color:#000;font-weight:bold;text-decoration:none} a:focus, a:hover {background:#333;color:#fff;text-decoration:none} +.left_line {border-left:1px solid #e9e9e9} +.no_bottom_line {border-bottom:0 !important} .bg {background:#f7f7f7} @@ -44,15 +46,15 @@ a:focus, a:hover {background:#333;color:#fff;text-decoration:none}