virtual site + homepage package 추가. 아직 미완성 버전이므로 서비스 반영하지 말아주세요. 테스트중

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4871 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-11-17 10:45:57 +00:00
parent c5dbc3405c
commit e745b70268
171 changed files with 5243 additions and 274 deletions

View file

@ -0,0 +1,84 @@
<!--%import("./js/homepage.js",optimized=false)-->
<!--%import("./filter/insert_homepage.xml")-->
<h3>{$lang->homepage} <span class="gray">{$lang->cmd_management}</span></h3>
<div class="infoText">{nl2br($lang->about_homepage)}</div>
<div class="summary">
<strong>Total</strong> <em>{number_format($total_count)}</em>, Page <strong>{number_format($page)}</strong>/{number_format($total_page)}
</div>
<div class="adminLeftContent">
<table cellspacing="0" class="adminTable">
<thead>
<tr>
<th scope="col"><div>{$lang->no}</div></th>
<th scope="col" class="wide"><div>{$lang->title}</div></th>
<th scope="col"><div>{$lang->domain}</div></th>
<th scope="col"><div>{$lang->regdate}</div></th>
<th scope="col"><div>{$lang->cmd_setup}</div></th>
<th scope="col"><div>{$lang->cmd_delete}</div></th>
<th scope="col"><div>{$lang->cmd_view}</div></th>
</tr>
</thead>
<tbody>
<!--@foreach($homepage_list as $no => $val)-->
<tr class="row{$cycle_idx}">
<td class="center number">{$no}</td>
<td><a href="{getSiteUrl($val->domain,'module','homepage','act','dispHomepageManage','site_srl',$val->site_srl)}">{htmlspecialchars($val->homepage_title)}</a></td>
<td class="nowrap">{$val->domain}</td>
<td class="date center nowrap">{zdate($val->regdate,"Y-m-d")}</td>
<td class="setup center"><a href="{getUrl('act','dispHomepageAdminSetup','site_srl',$val->site_srl)}">{$lang->cmd_setup}</a></td>
<td class="delete center"><a href="{getUrl('act','dispHomepageAdminDelete','site_srl',$val->site_srl)}">{$lang->cmd_delete}</a></td>
<td class="view center"><a href="{getSiteUrl($val->domain)}" onclick="window.open(this.href); return false;">{$lang->cmd_view}</a></td>
</tr>
<!--@end-->
</tbody>
</table>
</form>
<!-- 페이지 네비게이션 -->
<div class="pagination a1">
<a href="{getUrl('page','','module_srl','')}" class="prevEnd">{$lang->first_page}</a>
<!--@while($page_no = $page_navigation->getNextPage())-->
<!--@if($page == $page_no)-->
<strong>{$page_no}</strong>
<!--@else-->
<a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a>
<!--@end-->
<!--@end-->
<a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="nextEnd">{$lang->last_page}</a>
</div>
</div>
<div class="adminRightExtra">
<form action="./" method="post" onsubmit="return procFilter(this, insert_homepage)">
<table cellspacing="0" class="adminTable">
<thead>
<tr>
<th colspan="2"><div>{$lang->cmd_homepage_registration}</div></th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row"><div>{$lang->homepage_title}</div></th>
<td>
<input type="text" name="homepage_title" value="" class="inputTypeText w200" />
<p>{$lang->about_homepage_title}</p>
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->domain}</div></th>
<td>
http://<input type="text" name="domain" value="" class="inputTypeText w200" />
<p>{$lang->about_domain}</p>
</td>
</tr>
<tr class="row2">
<td colspan="2" class="right"><span class="button"><input type="submit" value="{$lang->cmd_make}" accesskey="s" /></span></div></th>
</tr>
</tbody>
</table>
</form>
</div>