xe_v3 upload.

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7995 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2010-12-23 03:51:47 +00:00
parent 2970abff9b
commit 3c490ae3f3
11 changed files with 256 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

View file

@ -0,0 +1,24 @@
<include target="header.html" cond="$where=='comment'" />
<div class="sTitle">
<h2>{$lang->comment} <em>({number_format($output->total_count)})</em></h2>
</div>
<div class="noResult" cond="!count($output->data)">
<h2>{$lang->msg_no_result}</h2>
</div>
<ul class="sResult" cond="count($output->data)">
<li loop="$output->data=>$no,$comment">
<p class="summary"><a href="{$comment->getPermanentUrl()}">{$comment->getSummary(200)}</a></p>
<p class="meta">
<span class="item"><strong>{$lang->writer}</strong> : {$comment->getNickName()}</span>
<span class="item">{$comment->getRegdate("Y-m-d")}</span>
</p>
</li>
</ul>
<div class="pagination" cond="$where=='comment'&&$output->page_navigation&&count($output->data)">
<a href="{getUrl('page','')}" class="direction prev"><span></span><span></span> {$lang->first_page}</a>
<block loop="$page_no=$output->page_navigation->getNextPage()">
<strong cond="$page==$page_no">{$page_no}</strong>
<a cond="$page!=$page_no" href="{getUrl('page',$page_no)}">{$page_no}</a>
</block>
<a href="{getUrl('page',$output->page_navigation->last_page)}" class="direction next"|cond="!$last_division">{$lang->last_page} <span></span><span></span></a>
</div>

View file

@ -0,0 +1,34 @@
<include target="header.html" cond="$where=='document'" />
<div class="sTitle">
<h2>{$lang->document} <em>({number_format($output->total_count)})</em></h2>
<ul>
<li loop="$lang->is_search_option['document']=>$key,$val" value="{$key}" class="on"|cond="$search_target==$key"><a href="{getUrl('where','document','search_target',$key,'page',1,'division','')}">{$val}</a></li>
</ul>
</div>
<div class="noResult" cond="!count($output->data)">
<h2>{$lang->msg_no_result}</h2>
<p cond="$last_division">{$lang->msg_document_more_search}</p>
<p cond="$last_division"><a href="{getUrl('where','document','page',1,'document_srl','','search_target',$search_target,'is_keyword',$is_keyword,'division',$last_division,'last_division','')}">{$lang->cmd_search_next}</a></p>
</div>
<ul class="sResult" cond="count($output->data)">
<li loop="$output->data=>$no,$document">
<a cond="$document->thumbnailExists(102,72)" class="thumb" href="{getUrl('','document_srl',$document->document_srl)}" target="_blank"><img src="{$document->getThumbnail(102,72)}" alt="" width="102" height="72" /></a>
<h3><a href="{getUrl('','document_srl',$document->document_srl)}" target="_blank">{$document->getTitle()}</a> <em cond="$document->getCommentCount()">[{$document->getCommentCount()}]</em></h3>
<p class="meta">
<span class="item"><strong>{$lang->readed_count}</strong> : {$document->get('readed_count')}</span>
<span class="item" cond="$document->get('voted_count')"><strong>{$lang->voted_count}</strong> : {$document->get('voted_count')}</span>
<span class="item"><strong>{$lang->writer}</strong> : {$document->getNickName()}</span>
<span class="item">{$document->getRegdate("Y-m-d")}</span>
</p>
<p class="summary">{$document->getSummary(200)}</p>
</li>
</ul>
<div class="pagination" cond="$where=='document'&&$output->page_navigation&&count($output->data)">
<a href="{getUrl('page','')}" class="direction prev"><span></span><span></span> {$lang->first_page}</a>
<block loop="$page_no=$output->page_navigation->getNextPage()">
<strong cond="$page==$page_no">{$page_no}</strong>
<a cond="$page!=$page_no" href="{getUrl('page',$page_no)}">{$page_no}</a>
</block>
<a href="{getUrl('page',$output->page_navigation->last_page)}" class="direction next"|cond="!$last_division">{$lang->last_page} <span></span><span></span></a>
<a cond="$last_division" href="{getUrl('page',1,'document_srl','','search_target',$search_target,'is_keyword',$is_keyword,'division',$last_division,'last_division','')}" class="direction next">{$lang->cmd_search_next} <span></span><span></span></a>
</div>

View file

@ -0,0 +1,25 @@
<include target="header.html" cond="$where=='file'" />
<div class="sTitle">
<h2>{$lang->file} <em>({number_format($output->total_count)})</em></h2>
</div>
<div class="noResult" cond="!count($output->data)">
<h2>{$lang->msg_no_result}</h2>
</div>
<ul class="sResult" cond="count($output->data)">
<li loop="$output->data=>$no,$file">
<h3><a href="{$file->url}" target="_blank">{$file->filename}</a> <em>({FileHandler::filesize($file->file_size)})</em></h3>
<p class="meta">
<span class="item"><strong>{$lang->writer}</strong> : {$file->nick_name}</span>
<span class="item">{$file->regdate}</span>
<span class="item">{number_format($file->download_count)}</span>
</p>
</li>
</ul>
<div class="pagination" cond="$where=='file'&&$output->page_navigation&&count($output->data)">
<a href="{getUrl('page','')}" class="direction prev"><span></span><span></span> {$lang->first_page}</a>
<block loop="$page_no=$output->page_navigation->getNextPage()">
<strong cond="$page==$page_no">{$page_no}</strong>
<a cond="$page!=$page_no" href="{getUrl('page',$page_no)}">{$page_no}</a>
</block>
<a href="{getUrl('page',$output->page_navigation->last_page)}" class="direction next"|cond="!$last_division">{$lang->last_page} <span></span><span></span></a>
</div>

View file

@ -0,0 +1,17 @@
<load target="search.css" />
<form action="{getUrl()}" method="post" class="isForm" id="fo_is">
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="act" value="IS" />
<input type="hidden" name="where" value="{$where}" />
<input type="hidden" name="search_target" value="title_content" />
<input name="is_keyword" type="text" class="itx" value="{htmlspecialchars($is_keyword)}" title="{$lang->cmd_search}" />
<span class="btn"><input type="submit" value="{$lang->cmd_search}" /></span>
</form>
<ul class="isTab">
<li class="on"|cond="!$where"><a href="{getUrl('where','','page','','division','')}">{$lang->integration_search}</a></li>
<li class="on"|cond="$where=='document'"><a href="{getUrl('where','document','page',1,'division','')}">{$lang->document}</a></li>
<li class="on"|cond="$where=='comment'"><a href="{getUrl('where','comment','page',1,'division','')}">{$lang->comment}</a></li>
<li class="on"|cond="$where=='trackback'"><a href="{getUrl('where','trackback','page',1,'division','')}">{$lang->trackback}</a></li>
<li class="on"|cond="$where=='multimedia'"><a href="{getUrl('where','multimedia','page',1,'division','')}">{$lang->multimedia}</a></li>
<li class="on"|cond="$where=='file'"><a href="{getUrl('where','file','page',1,'division','')}">{$lang->file}</a></li>
</ul>

View file

@ -0,0 +1,17 @@
<include target="header.html" />
{@ $output = $search_result['document'] }
<include target="document.html">
<p class="isMore" cond="count($output->data)">&raquo; <a href="{getUrl('where','document','page',1)}">MORE</a></p>
{@ $output = $search_result['comment'] }
<include target="comment.html">
<p class="isMore" cond="count($output->data)">&raquo; <a href="{getUrl('where','comment','page',1)}">MORE</a></p>
{@ $output = $search_result['trackback'] }
{@ $search_target = 'title'; }
<include target="trackback.html">
<p class="isMore" cond="count($output->data)">&raquo; <a href="{getUrl('where','trackback','page',1)}">MORE</a></p>
{@ $output = $search_result['multimedia'] }
<include target="multimedia.html">
<p class="isMore" cond="count($output->data)">&raquo; <a href="{getUrl('where','multimedia','page',1)}">MORE</a></p>
{@ $output = $search_result['file'] }
<include target="file.html">
<p class="isMore" cond="count($output->data)">&raquo; <a href="{getUrl('where','file','page',1)}">MORE</a></p>

View file

@ -0,0 +1,25 @@
<include target="header.html" cond="$where=='multimedia'" />
<div class="sTitle">
<h2>{$lang->multimedia} <em>({number_format($output->total_count)})</em></h2>
</div>
<div class="noResult" cond="!count($output->data)">
<h2>{$lang->msg_no_result}</h2>
</div>
<ul class="sResult" cond="count($output->data)">
<li loop="$output->data=>$no,$image">
<a class="thumb" href="{$image->url}" target="_blank">{$image->src}</a>
<h3><a href="{$image->url}" target="_blank">{$image->filename}</a></h3>
<p class="meta">
<span class="item"><strong>{$lang->writer}</strong> : {$image->nick_name}</span>
<span class="item">{$image->regdate}</span>
</p>
</li>
</ul>
<div class="pagination" cond="$where=='multimedia'&&$output->page_navigation&&count($output->data)">
<a href="{getUrl('page','')}" class="direction prev"><span></span><span></span> {$lang->first_page}</a>
<block loop="$page_no=$output->page_navigation->getNextPage()">
<strong cond="$page==$page_no">{$page_no}</strong>
<a cond="$page!=$page_no" href="{getUrl('page',$page_no)}">{$page_no}</a>
</block>
<a href="{getUrl('page',$output->page_navigation->last_page)}" class="direction next"|cond="!$last_division">{$lang->last_page} <span></span><span></span></a>
</div>

View file

@ -0,0 +1,5 @@
<include target="header.html" />
<h2>{$lang->msg_no_keyword}</h2>
<script type="text/javascript">
jQuery(function($){ $('#fo_is [name=is_keyword]').focus(); });
</script>

View file

@ -0,0 +1,65 @@
@charset "utf-8";
/* content */
.content{ margin:0 60px; font-size:12px; font-family:, Dotum, Tahoma, Geneva, sans-serif;}
/* isForm */
.isForm{ margin:0 0 25px 0; padding:0;}
.isForm .itx{ vertical-align:top; padding:5px; height:22px; width:288px; border:3px solid #6c58cf; font-size:14px; color:#666; font-weight:bold; _margin:-1px 0;}
.isForm .btn,
.isForm .btn input{ position:relative; display:inline-block; height:38px; line-height:38px; padding:0; overflow:visible; background:transparent url(btnSearch.gif) no-repeat; cursor:pointer;}
.isForm .btn{ background-position:0 0; vertical-align:top; margin:0 2px 0 0;}
.isForm .btn input{ padding:0 15px 0 30px; left:2px; background-position:right 0; border:0; font-weight:bold; font-size:16px; color:#fff; font-family:, NanumGothic, "맑은 고딕", "MalgunGhotic";}
/* isTab */
.isTab{ margin:0 0 25px 0; padding:0; list-style:none; zoom:1; border-bottom:1px solid #999;}
.isTab:after{ content:""; display:block; clear:both;}
.isTab li{ position:relative; float:left; margin:0 2px 0 0; border:1px solid #e0e0e0; border-top:0; border-bottom:0;}
.isTab li.on{ border:1px solid #999; border-top:0; border-bottom:1px solid #fff; margin-bottom:-1px;}
.isTab li a{ position:relative; top:-1px; border-top:1px solid #e0e0e0; float:left; height:25px; line-height:25px; padding:0 25px; font-size:13px; font-family:, NanumGothic, "맑은 고딕", "MalgunGhotic"; text-decoration:none; color:#666; font-weight:bold;}
.isTab li.on a{ color:#000; top:-1px; border-top:1px solid #999;}
/* sTitle */
.sTitle{ position:relative; margin:0 6px 0 0; padding:0 0 0 25px; background:#6d6e72; height:25px; line-height:25px; color:#fff; zoom:1;}
.sTitle:after{ content:""; display:block; clear:both;}
.sTitle h2{ float:left; font-size:12px; margin:0;}
.sTitle em{ font-style:normal;}
.sTitle ul{ float:right; white-space:nowrap; padding:0 25px 0 0; margin:0; list-style:none;}
.sTitle li{ display:inline; margin:0 0 0 14px;}
.sTitle a{ color:#eee}
/* noResult */
.noResult{ margin:10px 25px 25px 25px;}
.noResult h2{ font-size:12px;}
/* sResult */
.sResult{ margin:0 10px; padding:10px 0 0 0; list-style:none;}
.sResult li{ border-bottom:1px dashed #c7c7c7; padding:12px 15px; zoom:1;}
.sResult li:after{ content:""; display:block; clear:both;}
.sResult .thumb{ float:left; margin:0 20px 0 0; padding:3px; border:1px solid #ddd;}
.sResult .thumb img{ width:102px; height:72px;}
.sResult h3{ margin:0; font-size:12px;}
.sResult h3 a{ color:#333; text-decoration:none;}
.sResult h3 em{ font-style:normal; color:#767676;}
.sResult .meta{ margin:10px 0; font-size:11px; color:#767676;}
.sResult .meta .item{ display:inline-block; height:12px; border-left:1px dotted #bcbcbc; padding:0 6px 0 10px;}
.sResult .meta .item:first-child{ padding-left:0; border:0;}
.sResult .summary{ margin:0; color:#666; line-height:18px;}
.sResult .summary a{ color:#666; text-decoration:none;}
.sResult a:hover,
.sResult a:active,
.sResult a:focus{ text-decoration:underline;}
/* isMore */
.isMore{ text-align:right; margin:10px 10px 25px 10px;}
.isMore a{ font-size:11px; color:#333; text-decoration:none;}
/* Pagination */
.pagination{ padding:20px 0; text-align:center; line-height:normal;}
.pagination a,
.pagination strong{ position:relative; color:#767676; font:bold 12px/16px Tahoma, Sans-serif; vertical-align:top; display:inline-block; text-decoration:none; padding:1px 8px; margin:0 -3px; border-left:1px solid #ccc; border-right:1px solid #ccc; background-color:#fff; z-index:2;}
.pagination a:hover,
.pagination a:active,
.pagination a:focus{ background-color:#f8f8f8;}
.pagination strong{ color:#4e3db4;}
.pagination .direction{ font-weight:normal; color:#767676; text-decoration:none !important; border:0; z-index:1;}
.pagination .direction:hover,
.pagination .direction:active,
.pagination .direction:focus{ color:#333; background-color:#fff;}
.pagination .prev{ border-left:0;}
.pagination .next{ border-right:0;}
.pagination .direction span{ position:relative; display:inline-block; width:0; height:0; font-size:0; line-height:0; vertical-align:top; top:4px;}
.pagination .prev span{ border:3px solid; border-top:solid #fff; border-bottom:solid #fff; border-left:0; margin-right:1px; *left:-4px;}
.pagination .next span{ border:3px solid; border-top:solid #fff; border-bottom:solid #fff; border-right:0; margin-left:1px;}

View file

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<skin version="0.2">
<title xml:lang="ko">XE Official v3</title>
<description xml:lang="ko">XE Official v3 통합검색 스킨 입니다</description>
<version>0.1</version>
<date>2010-12-24</date>
<author email_address="developers@xpressengine.com" link="http://xpressengine.com/">
<name xml:lang="ko">NHN</name>
</author>
<extra_vars>
<var name="browser_title" type="text">
<title xml:lang="ko">문서의 제목</title>
<description xml:lang="ko">제목 표시줄에 문서의 제목을 표시합니다.</description>
</var>
</extra_vars>
</skin>

View file

@ -0,0 +1,28 @@
<include target="header.html" cond="$where=='trackback'" />
<div class="sTitle">
<h2>{$lang->trackback} <em>({number_format($output->total_count)})</em></h2>
<ul>
<li loop="$lang->is_search_option['trackback']=>$key,$val" value="{$key}" class="on"|cond="$search_target==$key"><a href="{getUrl('where','trackback','search_target',$key,'page',1)}">{$val}</a></li>
</ul>
</div>
<div class="noResult" cond="!count($output->data)">
<h2>{$lang->msg_no_result}</h2>
</div>
<ul class="sResult" cond="count($output->data)">
<li loop="$output->data=>$no,$trackback">
<h3><a href="{getUrl('','document_srl',$trackback->document_srl)}" target="_blank">{htmlspecialchars($trackback->title)}</a></h3>
<p class="meta">
<span class="item"><strong><a href="{$trackback->url}">{htmlspecialchars($trackback->blog_name)}</a></strong></span>
<span class="item">{zdate($trackback->regdate, "Y-m-d")}</span>
</p>
<p class="summary">{cut_str(htmlspecialchars($trackback->excerpt))}</p>
</li>
</ul>
<div class="pagination" cond="$where=='trackback'&&$output->page_navigation&&count($output->data)">
<a href="{getUrl('page','')}" class="direction prev"><span></span><span></span> {$lang->first_page}</a>
<block loop="$page_no=$output->page_navigation->getNextPage()">
<strong cond="$page==$page_no">{$page_no}</strong>
<a cond="$page!=$page_no" href="{getUrl('page',$page_no)}">{$page_no}</a>
</block>
<a href="{getUrl('page',$output->page_navigation->last_page)}" class="direction next"|cond="!$last_division">{$lang->last_page} <span></span><span></span></a>
</div>