mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
UI refactoring counter module
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11986 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f66e3373d3
commit
cff257e30e
1 changed files with 44 additions and 36 deletions
|
|
@ -10,42 +10,49 @@
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<h3 class="h3">{$lang->counter} {$lang->cmd_management}</h3>
|
|
||||||
|
<div class="x_page-header">
|
||||||
|
<h1>{$lang->counter} {$lang->cmd_management}</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
<form action="./index.php" method="get" name="calendar" id="fo_calendar">
|
<form action="./index.php" method="get" name="calendar" id="fo_calendar">
|
||||||
<input type="hidden" name="module" value="{$module}" />
|
<input type="hidden" name="module" value="{$module}" />
|
||||||
<input type="hidden" name="act" value="{$act}" />
|
<input type="hidden" name="act" value="{$act}" />
|
||||||
<input type="hidden" name="selected_date" id="selected_date" value="{zDate('Ymd',$selected_date)}" />
|
<input type="hidden" name="selected_date" id="selected_date" value="{zDate('Ymd',$selected_date)}" />
|
||||||
|
|
||||||
<table class="x_table x_table-striped x_table-hover">
|
<table class="x_table x_table-striped x_table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">{$lang->total_counter}</th>
|
<th scope="row">{$lang->total_counter}</th>
|
||||||
<th scope="row"> <span id="str_selected_date">{zdate($selected_date, "Y-m-d")}</span>
|
<th scope="row">
|
||||||
<input type="hidden" class="inputDate" value="{zdate($selected_date,'Y-m-d')}" />
|
<span id="str_selected_date">{zdate($selected_date, "Y-m-d")}</span>
|
||||||
<script>
|
<input type="hidden" class="inputDate" value="{zdate($selected_date,'Y-m-d')}" />
|
||||||
(function($){
|
<script>
|
||||||
$(function(){
|
(function($){
|
||||||
var option = {
|
$(function(){
|
||||||
changeMonth: true
|
var option = {
|
||||||
,changeYear: true
|
changeMonth: true
|
||||||
,gotoCurrent: false
|
,changeYear: true
|
||||||
,dateFormat:'yy-mm-dd'
|
,gotoCurrent: false
|
||||||
,yearRange:'-100:+10'
|
,dateFormat:'yy-mm-dd'
|
||||||
,showOn:"button"
|
,yearRange:'-100:+10'
|
||||||
,buttonImage:"./modules/counter/tpl/images/buttonCalendar.gif"
|
,showOn:"button"
|
||||||
,buttonImageOnly:true
|
,buttonImage:"./modules/counter/tpl/images/buttonCalendar.gif"
|
||||||
,mandatory:true
|
,buttonImageOnly:true
|
||||||
,onSelect:function(){
|
,mandatory:true
|
||||||
$("#str_selected_date").html(this.value);
|
,onSelect:function(){
|
||||||
$("#selected_date").val(this.value.replace(/-/g,''));
|
$("#str_selected_date").html(this.value);
|
||||||
moveDate();
|
$("#selected_date").val(this.value.replace(/-/g,''));
|
||||||
}
|
moveDate();
|
||||||
};
|
}
|
||||||
|
};
|
||||||
|
|
||||||
$.extend(option,$.datepicker.regional['{$lang_type}']);
|
$.extend(option,$.datepicker.regional['{$lang_type}']);
|
||||||
$(".inputDate").datepicker(option);
|
$(".inputDate").datepicker(option);
|
||||||
});
|
});
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
</script> </th>
|
</script>
|
||||||
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
@ -54,21 +61,22 @@
|
||||||
<td>Visitor : <strong>{number_format($selected_day_counter->unique_visitor)}</strong> / Pageview : <strong>{number_format($selected_day_counter->pageview)}</strong></td>
|
<td>Visitor : <strong>{number_format($selected_day_counter->unique_visitor)}</strong> / Pageview : <strong>{number_format($selected_day_counter->pageview)}</strong></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
<p>
|
|
||||||
<a loop="$lang->cmd_select_counter_type => $key, $val" href="{getUrl('type',$key)}" class="active"|cond="$type==$key || (!$type && $key == "hour")">{$val}</a> <i>|</i>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<block loop="$lang->cmd_select_counter_type => $key, $val">
|
||||||
|
<a href="{getUrl('type',$key)}" class="active"|cond="$type==$key || (!$type && $key == 'hour')">{$val}</a> <i class="vr">|</i>
|
||||||
|
</block>
|
||||||
|
</p>
|
||||||
|
|
||||||
<!-- 일자를 옮기는 form -->
|
<!-- 일자를 옮기는 form -->
|
||||||
<form action="./" method="get" id="fo_counter">
|
<form action="./" method="get" id="fo_counter">
|
||||||
<input type="hidden" name="module" value="{$module}" />
|
<input type="hidden" name="module" value="{$module}" />
|
||||||
<input type="hidden" name="act" value="{$act}" />
|
<input type="hidden" name="act" value="{$act}" />
|
||||||
<input type="hidden" name="selected_date" value="{$selected_date}" />
|
<input type="hidden" name="selected_date" value="{$selected_date}" />
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
<!-- unique visitor 그래프 -->
|
<!-- unique visitor 그래프 -->
|
||||||
<table class="x_table x_table-striped x_table-hover">
|
<table class="x_table x_table-striped x_table-hover">
|
||||||
<!--@foreach($detail_status->list as $key => $val)-->
|
<!--@foreach($detail_status->list as $key => $val)-->
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue