mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +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;
|
||||
}
|
||||
</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">
|
||||
<input type="hidden" name="module" value="{$module}" />
|
||||
<input type="hidden" name="act" value="{$act}" />
|
||||
<input type="hidden" name="selected_date" id="selected_date" value="{zDate('Ymd',$selected_date)}" />
|
||||
|
||||
<table class="x_table x_table-striped x_table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="row">{$lang->total_counter}</th>
|
||||
<th scope="row"> <span id="str_selected_date">{zdate($selected_date, "Y-m-d")}</span>
|
||||
<input type="hidden" class="inputDate" value="{zdate($selected_date,'Y-m-d')}" />
|
||||
<script>
|
||||
(function($){
|
||||
$(function(){
|
||||
var option = {
|
||||
changeMonth: true
|
||||
,changeYear: true
|
||||
,gotoCurrent: false
|
||||
,dateFormat:'yy-mm-dd'
|
||||
,yearRange:'-100:+10'
|
||||
,showOn:"button"
|
||||
,buttonImage:"./modules/counter/tpl/images/buttonCalendar.gif"
|
||||
,buttonImageOnly:true
|
||||
,mandatory:true
|
||||
,onSelect:function(){
|
||||
$("#str_selected_date").html(this.value);
|
||||
$("#selected_date").val(this.value.replace(/-/g,''));
|
||||
moveDate();
|
||||
}
|
||||
};
|
||||
<th scope="row">
|
||||
<span id="str_selected_date">{zdate($selected_date, "Y-m-d")}</span>
|
||||
<input type="hidden" class="inputDate" value="{zdate($selected_date,'Y-m-d')}" />
|
||||
<script>
|
||||
(function($){
|
||||
$(function(){
|
||||
var option = {
|
||||
changeMonth: true
|
||||
,changeYear: true
|
||||
,gotoCurrent: false
|
||||
,dateFormat:'yy-mm-dd'
|
||||
,yearRange:'-100:+10'
|
||||
,showOn:"button"
|
||||
,buttonImage:"./modules/counter/tpl/images/buttonCalendar.gif"
|
||||
,buttonImageOnly:true
|
||||
,mandatory:true
|
||||
,onSelect:function(){
|
||||
$("#str_selected_date").html(this.value);
|
||||
$("#selected_date").val(this.value.replace(/-/g,''));
|
||||
moveDate();
|
||||
}
|
||||
};
|
||||
|
||||
$.extend(option,$.datepicker.regional['{$lang_type}']);
|
||||
$(".inputDate").datepicker(option);
|
||||
});
|
||||
})(jQuery);
|
||||
</script> </th>
|
||||
$.extend(option,$.datepicker.regional['{$lang_type}']);
|
||||
$(".inputDate").datepicker(option);
|
||||
});
|
||||
})(jQuery);
|
||||
</script>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</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>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<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 action="./" method="get" id="fo_counter">
|
||||
<input type="hidden" name="module" value="{$module}" />
|
||||
<input type="hidden" name="act" value="{$act}" />
|
||||
<input type="hidden" name="selected_date" value="{$selected_date}" />
|
||||
<input type="hidden" name="module" value="{$module}" />
|
||||
<input type="hidden" name="act" value="{$act}" />
|
||||
<input type="hidden" name="selected_date" value="{$selected_date}" />
|
||||
</form>
|
||||
|
||||
|
||||
<!-- unique visitor 그래프 -->
|
||||
<table class="x_table x_table-striped x_table-hover">
|
||||
<!--@foreach($detail_status->list as $key => $val)-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue