mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
referer모듈의 관리자 페이지 table속성을 IE에서도 올바르게 나타나도록 css 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3108 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b3c9022918
commit
adb47d545d
3 changed files with 78 additions and 77 deletions
|
|
@ -19,18 +19,18 @@
|
||||||
* @brief 관리자 페이지 초기화면
|
* @brief 관리자 페이지 초기화면
|
||||||
**/
|
**/
|
||||||
function dispRefererAdminIndex() {
|
function dispRefererAdminIndex() {
|
||||||
$this->dispRefererAdminList();
|
$this->dispRefererAdminList();
|
||||||
}
|
}
|
||||||
|
|
||||||
function dispRefererAdminList() {
|
function dispRefererAdminList() {
|
||||||
|
|
||||||
// 목록을 구하기 위한 옵션
|
// 목록을 구하기 위한 옵션
|
||||||
$args->page = Context::get('page'); ///< 페이지
|
$args->page = Context::get('page'); ///< 페이지
|
||||||
|
|
||||||
$args->sort_index = 'regdate'; ///< 소팅 값
|
$args->sort_index = 'regdate'; ///< 소팅 값
|
||||||
|
|
||||||
$oRefererModel = &getModel('referer');
|
$oRefererModel = &getModel('referer');
|
||||||
$output = $oRefererModel->getLogList($args);
|
$output = $oRefererModel->getLogList($args);
|
||||||
|
|
||||||
Context::set('total_count', $output->total_count);
|
Context::set('total_count', $output->total_count);
|
||||||
Context::set('total_page', $output->total_page);
|
Context::set('total_page', $output->total_page);
|
||||||
|
|
@ -38,9 +38,10 @@
|
||||||
Context::set('referer_list', $output->data);
|
Context::set('referer_list', $output->data);
|
||||||
Context::set('page_navigation', $output->page_navigation);
|
Context::set('page_navigation', $output->page_navigation);
|
||||||
|
|
||||||
$args2->sort_index = 'count';
|
$args2->sort_index = 'count';
|
||||||
$output2 = $oRefererModel->getRefererStatus($args2);
|
$output2 = $oRefererModel->getRefererStatus($args2);
|
||||||
Context::set('referer_status', $output2->data);
|
Context::set('referer_status', $output2->data);
|
||||||
|
|
||||||
// 템플릿 지정
|
// 템플릿 지정
|
||||||
$this->setTemplatePath($this->module_path.'tpl');
|
$this->setTemplatePath($this->module_path.'tpl');
|
||||||
$this->setTemplateFile('referer_list');
|
$this->setTemplateFile('referer_list');
|
||||||
|
|
|
||||||
|
|
@ -6,22 +6,21 @@
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class refererModel extends referer {
|
class refererModel extends referer {
|
||||||
function init()
|
function init() {
|
||||||
{
|
}
|
||||||
}
|
|
||||||
|
|
||||||
function isInsertedHost($host) {
|
function isInsertedHost($host) {
|
||||||
$args->host = $host;
|
$args->host = $host;
|
||||||
$output = executeQuery('referer.getHostStatus', $args);
|
$output = executeQuery('referer.getHostStatus', $args);
|
||||||
return $output->data->count?true:false;
|
return $output->data->count?true:false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getLogList($obj)
|
function getLogList($obj) {
|
||||||
{
|
$query_id = 'referer.getRefererLogList';
|
||||||
$query_id = 'referer.getRefererLogList';
|
|
||||||
|
$args->sort_index = 'regdate';
|
||||||
|
$args->page = $obj->page?$obj->page:1;
|
||||||
|
|
||||||
$args->sort_index = 'regdate';
|
|
||||||
$args->page = $obj->page?$obj->page:1;
|
|
||||||
$args->list_count = $obj->list_count?$obj->list_count:20;
|
$args->list_count = $obj->list_count?$obj->list_count:20;
|
||||||
$args->page_count = $obj->page_count?$obj->page_count:10;
|
$args->page_count = $obj->page_count?$obj->page_count:10;
|
||||||
|
|
||||||
|
|
@ -31,13 +30,12 @@
|
||||||
if(!$output->toBool()||!count($output->data)) return $output;
|
if(!$output->toBool()||!count($output->data)) return $output;
|
||||||
|
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getRefererStatus()
|
function getRefererStatus() {
|
||||||
{
|
$args->sort_index = 'count';
|
||||||
$args->sort_index = 'count';
|
return executeQuery("referer.getRefererStatistics", $args);
|
||||||
return executeQuery("referer.getRefererStatistics", $args);
|
}
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -1,60 +1,62 @@
|
||||||
|
<!--%import("css/referer.css")-->
|
||||||
|
|
||||||
<h3>{$lang->referer} <span class="gray">{$lang->cmd_management}</span></h3>
|
<h3>{$lang->referer} <span class="gray">{$lang->cmd_management}</span></h3>
|
||||||
<div style="width: 250px; float:left; position:relative;">
|
|
||||||
<div class="tableSummaryType1" style="position:relative; top:10px;">
|
|
||||||
{$lang->ranking}
|
|
||||||
</div>
|
|
||||||
<div class="tableSummaryType1" style="position:relative; top:10px;">
|
|
||||||
<table cellspacing="0" class="adminTable refererStat">
|
|
||||||
<tbody>
|
|
||||||
<col width="50" />
|
|
||||||
<col width="150" />
|
|
||||||
<col width="50" />
|
|
||||||
<!--@foreach($referer_status as $no => $val)-->
|
|
||||||
<tr>
|
|
||||||
<td class="tahoma">{$no} </td>
|
|
||||||
<td class="tahoma">{$val->host}</td>
|
|
||||||
<td class="tahoma">{$val->count}</td>
|
|
||||||
</td>
|
|
||||||
<!--@end-->
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div style="float:left; position:relative; left:20px;">
|
<div class="refererLeft">
|
||||||
<div class="tableSummaryType1" style="position:relative; top:10px;">
|
<div class="tableSummaryType1">{$lang->ranking}</div>
|
||||||
Total <strong>{number_format($total_count)}</strong>, Page <strong>{number_format($page)}</strong>/{number_format($total_page)}
|
|
||||||
</div>
|
<div class="tableSummaryType1">
|
||||||
|
<table cellspacing="0" class="adminTable">
|
||||||
<div style="position:relative; top:10px;">
|
<col width="50" />
|
||||||
<table cellspacing="0" class="adminTable referer">
|
<col />
|
||||||
<col width="80" />
|
<col width="50" />
|
||||||
<col width="150" />
|
<tbody>
|
||||||
<col width="350" />
|
<!--@foreach($referer_status as $no => $val)-->
|
||||||
|
|
||||||
<tbody>
|
|
||||||
<!--@foreach($referer_list as $no => $val)-->
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tahoma">{zdate($val->regdate,"Y-m-d")}</td>
|
<td class="tahoma">{$no} </td>
|
||||||
<td class="tahoma">{$val->host}</td>
|
<td class="tahoma">{$val->host}</td>
|
||||||
<td class="tahoma"><a href="{$val->url}">{$val->url}</a></td>
|
<td class="tahoma">{$val->count}</td>
|
||||||
</tr>
|
</td>
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<!-- 버튼 -->
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 페이지 네비게이션 -->
|
<div class="refererRight">
|
||||||
<div class="pageNavigation" style="position:relative; top:10px;">
|
<div class="tableSummaryType1">
|
||||||
<a href="{getUrl('page','','module_srl','')}" class="goToFirst"><img src="../../admin/tpl/images/bottomGotoFirst.gif" alt="{$lang->first_page}" width="7" height="5" /></a>
|
Total <strong>{number_format($total_count)}</strong>, Page <strong>{number_format($page)}</strong>/{number_format($total_page)}
|
||||||
<!--@while($page_no = $page_navigation->getNextPage())-->
|
</div>
|
||||||
<!--@if($page == $page_no)-->
|
|
||||||
<span class="current">{$page_no}</span>
|
<div>
|
||||||
<!--@else-->
|
<table cellspacing="0" class="adminTable refererList">
|
||||||
<a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a>
|
<col width="80" />
|
||||||
|
<col width="150" />
|
||||||
|
<col />
|
||||||
|
|
||||||
|
<tbody>
|
||||||
|
<!--@foreach($referer_list as $no => $val)-->
|
||||||
|
<tr>
|
||||||
|
<td class="tahoma">{zdate($val->regdate,"Y-m-d")}</td>
|
||||||
|
<td class="tahoma">{$val->host}</td>
|
||||||
|
<td class="tahoma refererUrl"><a href="{$val->url}">{$val->url}</a></td>
|
||||||
|
</tr>
|
||||||
|
<!--@end-->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<!-- 버튼 -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- 페이지 네비게이션 -->
|
||||||
|
<div class="pageNavigation">
|
||||||
|
<a href="{getUrl('page','','module_srl','')}" class="goToFirst"><img src="../../admin/tpl/images/bottomGotoFirst.gif" alt="{$lang->first_page}" width="7" height="5" /></a>
|
||||||
|
<!--@while($page_no = $page_navigation->getNextPage())-->
|
||||||
|
<!--@if($page == $page_no)-->
|
||||||
|
<span class="current">{$page_no}</span>
|
||||||
|
<!--@else-->
|
||||||
|
<a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a>
|
||||||
|
<!--@end-->
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
<!--@end-->
|
<a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="goToLast"><img src="../../admin/tpl/images/bottomGotoLast.gif" alt="{$lang->last_page}" width="7" height="5" /></a>
|
||||||
<a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="goToLast"><img src="../../admin/tpl/images/bottomGotoLast.gif" alt="{$lang->last_page}" width="7" height="5" /></a>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue