first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>列表分页</LabelType>
|
||||
<LabelImage>../../Admin/Images/LabelIco/PE_user.gif</LabelImage>
|
||||
<LabelIntro>跳转函数为changepage(转到页, 标签名, 分页标签名)</LabelIntro>
|
||||
<LabelTemplate>总记录{$totalpub/}条,
|
||||
每页{$pagesize/}条,
|
||||
共{$endid/}页,
|
||||
当前第{$currentid/}页,
|
||||
<a href="#" onclick="changepage(1,'{$sourcename/}','{$spanname/}');">首页</a>
|
||||
<a href="#" onclick="changepage({$prvid/},'{$sourcename/}','{$spanname/}');">上一页</a>
|
||||
{$loop range="3"}<a href="#" onclick="changepage({$pageid/},'{$sourcename/}','{$spanname/}');">{$pageid/}</a> $$$<b><a href="#" onclick="changepage({$pageid/},'{$sourcename/}','{$spanname/}');">{$pageid/}</a></b> {$/loop}
|
||||
<a href="#" onclick="changepage({$nextid/},'{$sourcename/}','{$spanname/}');">下一页</a>
|
||||
<a href="#" onclick="changepage({$endid/},'{$sourcename/}','{$spanname/}');">尾页</a>
|
||||
转到<select id='Jumppage' onchange="if(this.options[this.selectedIndex].value!=''){changepage(this.options[this.selectedIndex].value,'{$sourcename/}','{$spanname/}');}">
|
||||
{$loop range="4"}<option value='{$pageid/}'>{$pageid/}</option>$$$<option value='{$pageid/}' selected>{$pageid/}</option>{$/loop}
|
||||
</select>页</LabelTemplate>
|
||||
</root>
|
||||
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>列表分页</LabelType>
|
||||
<LabelImage>../../Admin/Images/LabelIco/PE_user.gif</LabelImage>
|
||||
<LabelIntro>页面需要引用js/slider.js,需要有跳转函数:changepage(转到页, 标签名, 分页标签名)</LabelIntro>
|
||||
<LabelTemplate><script language="JavaScript">
|
||||
var A_TPL2h = {
|
||||
'b_vertical' : false,
|
||||
'b_watch': true,
|
||||
'n_controlWidth': 140,
|
||||
'n_controlHeight': 16,
|
||||
'n_sliderWidth': 19,
|
||||
'n_sliderHeight': 16,
|
||||
'n_pathLeft' : 0,
|
||||
'n_pathTop' : 0,
|
||||
'n_pathLength' : 121,
|
||||
's_imgControl': '{PE.SiteConfig.applicationpath/}Images/Silder/sldr1v_bg.gif',
|
||||
's_imgSlider': '{PE.SiteConfig.applicationpath/}Images/Silder/sldr1v_sl.gif',
|
||||
'n_zIndex': 1
|
||||
}
|
||||
var A_INIT2h = {
|
||||
's_type' : 'ajax',
|
||||
's_name' : 'showpagenum',
|
||||
'n_minValue' : 1,
|
||||
'n_maxValue' : {$endid/},
|
||||
'n_value' : {$currentid/},
|
||||
'n_step' : 1,
|
||||
's_spanname' : '{$spanname/}',
|
||||
's_sourcename' : '{$sourcename/}'
|
||||
}
|
||||
new slider(A_INIT2h, A_TPL2h);
|
||||
</script></LabelTemplate>
|
||||
</root>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>列表分页</LabelType>
|
||||
<LabelImage>
|
||||
</LabelImage>
|
||||
<LabelIntro>动易2007后台风格路径分页标签</LabelIntro>
|
||||
<LabelTemplate>总{$totalpub/}字
|
||||
<a href="{$firsturl/}">首页</a>
|
||||
<a href="{$prvurl/}">上一页</a>
|
||||
{$loop range="5"}<a href="{$pageurl/}">{$pageid/}</a> $$$<b><a href="{$pageurl/}">{$pageid/}</a></b> {$/loop}
|
||||
<a href="{$nexturl/}">下一页</a>
|
||||
<a href="{$endurl/}">尾页</a>
|
||||
页次:{$currentid/}/{$endid/}页
|
||||
转到第<select id='Jumppage' onchange="if(this.options[this.selectedIndex].value!=''){location=this.options[this.selectedIndex].value;}">
|
||||
{$loop}<option value='{$pageurl/}'>{$pageid/}</option>$$$<option value='{$pageurl/}' selected>{$pageid/}</option>{$/loop}</select>页</LabelTemplate>
|
||||
</root>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?><root><LabelType>列表分页</LabelType><LabelImage></LabelImage><LabelIntro>动易2007后台风格路径分页标签</LabelIntro><LabelTemplate>总{$totalpub/}{$unitname/}
|
||||
<a href="{$firsturl/}">首页</a>
|
||||
<a href="{$prvurl/}">上一页</a>
|
||||
{$loop range="3"}<a href="{$pageurl/}">{$pageid/}</a> $$$<span style="color: #ff0000"><strong>{$pageid/}</strong></span> {$/loop}
|
||||
<a href="{$nexturl/}">下一页</a>
|
||||
<a href="{$endurl/}">尾页</a>
|
||||
页次:{$currentid/}/{$endid/}页
|
||||
{$pagesize/}{$unitname/}/页
|
||||
转到第<select id='Jumppage' onchange="if(this.options[this.selectedIndex].value!=''){location=this.options[this.selectedIndex].value;}">
|
||||
{$loop}<option value='{$pageurl/}'>{$pageid/}</option>$$$<option value='{$pageurl/}' selected>{$pageid/}</option>{$/loop}</select>页</LabelTemplate></root>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>列表分页</LabelType>
|
||||
<LabelImage>../../Admin/Images/LabelIco/PE_user.gif</LabelImage>
|
||||
<LabelIntro>通过路径进行页面跳转的分页</LabelIntro>
|
||||
<LabelTemplate><![CDATA[总记录{$totalpub/}条,
|
||||
每页{$pagesize/}条,
|
||||
共{$endid/}页,
|
||||
当前第{$currentid/}页,
|
||||
<a href="{$firsturl/}">首页</a> <a href="{$prvurl/}">上一页</a>
|
||||
{$loop}<a href="{$pageurl/}">{$pageid/}</a> $$$<b><a href="{$pageurl/}">{$pageid/}</a></b> {$/loop}
|
||||
<a href="{$nexturl/}">下一页</a> <a href="{$endurl/}">尾页</a>
|
||||
转到<select id='Jumppage' onchange="if(this.options[this.selectedIndex].value!=''){location=this.options[this.selectedIndex].value;}">
|
||||
{$loop}<option value='{$pageurl/}'>{$pageid/}</option>$$$<option value='{$pageurl/}' selected>{$pageid/}</option>{$/loop}
|
||||
</select>页]]></LabelTemplate>
|
||||
</root>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>列表分页</LabelType>
|
||||
<LabelImage>../../Admin/Images/LabelIco/PE_user.gif</LabelImage>
|
||||
<LabelIntro>页面需要引用js/slider.js 需要有跳转函数:redirecturl(转到页)</LabelIntro>
|
||||
<LabelTemplate><![CDATA[<script language="JavaScript">
|
||||
var A_TPL2h = {
|
||||
'b_vertical' : false,
|
||||
'b_watch': true,
|
||||
'n_controlWidth': 120,
|
||||
'n_controlHeight': 16,
|
||||
'n_sliderWidth': 19,
|
||||
'n_sliderHeight': 16,
|
||||
'n_pathLeft' : 1,
|
||||
'n_pathTop' : 0,
|
||||
'n_pathLength' : 98,
|
||||
's_imgControl': '{PE.SiteConfig.applicationpath/}Images/Silder/sldr2h_bg.gif',
|
||||
's_imgSlider': '{PE.SiteConfig.applicationpath/}Images/Silder/sldr2h_sl.gif',
|
||||
'n_zIndex': 1
|
||||
}
|
||||
var A_INIT2h = {
|
||||
's_type' : 'url',
|
||||
's_name' : 'showpagenum',
|
||||
'n_minValue' : 1,
|
||||
'n_maxValue' : {$endid/},
|
||||
'n_value' : {$currentid/},
|
||||
'n_step' : 1,
|
||||
's_spanname' : '{$originurl/}'
|
||||
}
|
||||
new slider(A_INIT2h, A_TPL2h);
|
||||
</script>]]></LabelTemplate>
|
||||
</root>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>列表分页</LabelType>
|
||||
<LabelImage>../../Admin/Images/LabelIco/PE_user.gif</LabelImage>
|
||||
<LabelIntro>页面需要引用js/slider.js 需要有跳转函数:redirecturl(转到页)</LabelIntro>
|
||||
<LabelTemplate><![CDATA[<script language="JavaScript">
|
||||
var A_TPL2h = {
|
||||
'b_vertical' : true,
|
||||
'b_watch': true,
|
||||
'n_controlWidth': 16,
|
||||
'n_controlHeight': 120,
|
||||
'n_sliderWidth': 16,
|
||||
'n_sliderHeight': 19,
|
||||
'n_pathLeft' : 0,
|
||||
'n_pathTop' : 1,
|
||||
'n_pathLength' : 98,
|
||||
's_imgControl': '{PE.SiteConfig.applicationpath/}Images/Silder/sldr2v_bg.gif',
|
||||
's_imgSlider': '{PE.SiteConfig.applicationpath/}Images/Silder/sldr2v_sl.gif',
|
||||
'n_zIndex': 1
|
||||
}
|
||||
var A_INIT2h = {
|
||||
's_type' : 'url',
|
||||
's_name' : 'showpagenum',
|
||||
'n_minValue' : 1,
|
||||
'n_maxValue' : {$endid/},
|
||||
'n_value' : {$currentid/},
|
||||
'n_step' : 1,
|
||||
's_spanname' : '{$originurl/}'
|
||||
}
|
||||
new slider(A_INIT2h, A_TPL2h);
|
||||
</script>]]></LabelTemplate>
|
||||
</root>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>列表分页</LabelType>
|
||||
<LabelImage>../../Admin/Images/LabelIco/PE_user.gif</LabelImage>
|
||||
<LabelIntro>页面需要引用js/slider.js 需要有跳转函数:redirecturl(转到页)</LabelIntro>
|
||||
<LabelTemplate><![CDATA[<script language="JavaScript">
|
||||
var A_TPL2h = {
|
||||
'b_vertical' : false,
|
||||
'b_watch': true,
|
||||
'n_controlWidth': 149,
|
||||
'n_controlHeight': 17,
|
||||
'n_sliderWidth': 9,
|
||||
'n_sliderHeight': 17,
|
||||
'n_pathLeft' : 1,
|
||||
'n_pathTop' : 0,
|
||||
'n_pathLength' : 138,
|
||||
's_imgControl': '{PE.SiteConfig.applicationpath/}Images/Silder/sldr5h_bg.gif',
|
||||
's_imgSlider': '{PE.SiteConfig.applicationpath/}Images/Silder/sldr5h_sl.gif',
|
||||
'n_zIndex': 1
|
||||
}
|
||||
var A_INIT2h = {
|
||||
's_type' : 'url',
|
||||
's_name' : 'showpagenum',
|
||||
'n_minValue' : 1,
|
||||
'n_maxValue' : {$endid/},
|
||||
'n_value' : {$currentid/},
|
||||
'n_step' : 1,
|
||||
's_spanname' : '{$originurl/}'
|
||||
}
|
||||
new slider(A_INIT2h, A_TPL2h);
|
||||
</script>]]></LabelTemplate>
|
||||
</root>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>列表分页</LabelType>
|
||||
<LabelImage>../../Admin/Images/LabelIco/PE_user.gif</LabelImage>
|
||||
<LabelIntro>页面需要引用js/slider.js 需要有跳转函数:redirecturl(转到页)</LabelIntro>
|
||||
<LabelTemplate><![CDATA[<script language="JavaScript">
|
||||
var A_TPL2h = {
|
||||
'b_vertical' : true,
|
||||
'b_watch': true,
|
||||
'n_controlWidth': 17,
|
||||
'n_controlHeight': 149,
|
||||
'n_sliderWidth': 17,
|
||||
'n_sliderHeight': 9,
|
||||
'n_pathLeft' : 1,
|
||||
'n_pathTop' : 2,
|
||||
'n_pathLength' : 136,
|
||||
's_imgControl': '{PE.SiteConfig.applicationpath/}Images/Silder/sldr5v_bg.gif',
|
||||
's_imgSlider': '{PE.SiteConfig.applicationpath/}Images/Silder/sldr5v_sl.gif',
|
||||
'n_zIndex': 1
|
||||
}
|
||||
var A_INIT2h = {
|
||||
's_type' : 'url',
|
||||
's_name' : 'showpagenum',
|
||||
'n_minValue' : 1,
|
||||
'n_maxValue' : {$endid/},
|
||||
'n_value' : {$currentid/},
|
||||
'n_step' : 1,
|
||||
's_spanname' : '{$originurl/}'
|
||||
}
|
||||
new slider(A_INIT2h, A_TPL2h);
|
||||
</script>]]></LabelTemplate>
|
||||
</root>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>列表分页</LabelType>
|
||||
<LabelImage>../../Admin/Images/LabelIco/PE_user.gif</LabelImage>
|
||||
<LabelIntro>页面需要引用js/slider.js 需要有跳转函数:redirecturl(转到页)</LabelIntro>
|
||||
<LabelTemplate><![CDATA[<script language="JavaScript">
|
||||
var A_TPL2h = {
|
||||
'b_vertical' : false,
|
||||
'b_watch': true,
|
||||
'n_controlWidth': 100,
|
||||
'n_controlHeight': 16,
|
||||
'n_sliderWidth': 17,
|
||||
'n_sliderHeight': 16,
|
||||
'n_pathLeft' : 0,
|
||||
'n_pathTop' : 0,
|
||||
'n_pathLength' : 83,
|
||||
's_imgControl': '{PE.SiteConfig.applicationpath/}Images/Silder/sldr3h_bg.gif',
|
||||
's_imgSlider': '{PE.SiteConfig.applicationpath/}Images/Silder/sldr3h_sl.gif',
|
||||
'n_zIndex': 1
|
||||
}
|
||||
var A_INIT2h = {
|
||||
's_type' : 'url',
|
||||
's_name' : 'showpagenum',
|
||||
'n_minValue' : 1,
|
||||
'n_maxValue' : {$endid/},
|
||||
'n_value' : {$currentid/},
|
||||
'n_step' : 1,
|
||||
's_spanname' : '{$originurl/}'
|
||||
}
|
||||
new slider(A_INIT2h, A_TPL2h);
|
||||
</script>]]></LabelTemplate>
|
||||
</root>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>列表分页</LabelType>
|
||||
<LabelImage>../../Admin/Images/LabelIco/PE_user.gif</LabelImage>
|
||||
<LabelIntro>页面需要引用js/slider.js 需要有跳转函数:redirecturl(转到页)</LabelIntro>
|
||||
<LabelTemplate><![CDATA[<script language="JavaScript">
|
||||
var A_TPL2h = {
|
||||
'b_vertical' : true,
|
||||
'b_watch': true,
|
||||
'n_controlWidth': 16,
|
||||
'n_controlHeight': 100,
|
||||
'n_sliderWidth': 16,
|
||||
'n_sliderHeight': 17,
|
||||
'n_pathLeft' : 0,
|
||||
'n_pathTop' : 0,
|
||||
'n_pathLength' : 83,
|
||||
's_imgControl': '{PE.SiteConfig.applicationpath/}Images/Silder/sldr3v_bg.gif',
|
||||
's_imgSlider': '{PE.SiteConfig.applicationpath/}Images/Silder/sldr3v_sl.gif',
|
||||
'n_zIndex': 1
|
||||
}
|
||||
var A_INIT2h = {
|
||||
's_type' : 'url',
|
||||
's_name' : 'showpagenum',
|
||||
'n_minValue' : 1,
|
||||
'n_maxValue' : {$endid/},
|
||||
'n_value' : {$currentid/},
|
||||
'n_step' : 1,
|
||||
's_spanname' : '{$originurl/}'
|
||||
}
|
||||
new slider(A_INIT2h, A_TPL2h);
|
||||
</script>]]></LabelTemplate>
|
||||
</root>
|
||||
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>列表分页</LabelType>
|
||||
<LabelImage>../../Admin/Images/LabelIco/PE_user.gif</LabelImage>
|
||||
<LabelIntro>页面需要引用js/slider.js 需要有跳转函数:redirecturl(转到页)</LabelIntro>
|
||||
<LabelTemplate><![CDATA[<script language="JavaScript">
|
||||
var A_TPL2h = {
|
||||
'b_vertical' : false,
|
||||
'b_watch': true,
|
||||
'n_controlWidth': 140,
|
||||
'n_controlHeight': 16,
|
||||
'n_sliderWidth': 19,
|
||||
'n_sliderHeight': 16,
|
||||
'n_pathLeft' : 0,
|
||||
'n_pathTop' : 0,
|
||||
'n_pathLength' : 121,
|
||||
's_imgControl': '{PE.SiteConfig.applicationpath/}Images/Silder/sldr1v_bg.gif',
|
||||
's_imgSlider': '{PE.SiteConfig.applicationpath/}Images/Silder/sldr1v_sl.gif',
|
||||
'n_zIndex': 1
|
||||
}
|
||||
var A_INIT2h = {
|
||||
's_type' : 'url',
|
||||
's_name' : 'showpagenum_gray',
|
||||
'n_minValue' : 1,
|
||||
'n_maxValue' : {$endid/},
|
||||
'n_value' : {$currentid/},
|
||||
'n_step' : 1,
|
||||
's_spanname' : '{$originurl/}'
|
||||
}
|
||||
new slider(A_INIT2h, A_TPL2h);
|
||||
</script>
|
||||
<span id="showpagenum_gray">{$currentid/}</span>/{$endid/}]]></LabelTemplate>
|
||||
</root>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>列表分页</LabelType>
|
||||
<LabelImage>../../Admin/Images/LabelIco/PE_user.gif</LabelImage>
|
||||
<LabelIntro>页面需要引用js/slider.js 需要有跳转函数:redirecturl(转到页)</LabelIntro>
|
||||
<LabelTemplate><![CDATA[<script language="JavaScript">
|
||||
var A_TPL2h = {
|
||||
'b_vertical' : true,
|
||||
'b_watch': true,
|
||||
'n_controlWidth': 16,
|
||||
'n_controlHeight': 140,
|
||||
'n_sliderWidth': 16,
|
||||
'n_sliderHeight': 19,
|
||||
'n_pathLeft' : 0,
|
||||
'n_pathTop' : 0,
|
||||
'n_pathLength' : 121,
|
||||
's_imgControl': '{PE.SiteConfig.applicationpath/}Images/Silder/sldr1h_bg.gif',
|
||||
's_imgSlider': '{PE.SiteConfig.applicationpath/}Images/Silder/sldr1h_sl.gif',
|
||||
'n_zIndex': 1
|
||||
}
|
||||
var A_INIT2h = {
|
||||
's_type' : 'url',
|
||||
's_name' : 'showpagenum_gray',
|
||||
'n_minValue' : 1,
|
||||
'n_maxValue' : {$endid/},
|
||||
'n_value' : {$currentid/},
|
||||
'n_step' : 1,
|
||||
's_spanname' : '{$originurl/}'
|
||||
}
|
||||
new slider(A_INIT2h, A_TPL2h);
|
||||
</script>]]></LabelTemplate>
|
||||
</root>
|
||||
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>列表分页</LabelType>
|
||||
<LabelImage>../../Admin/Images/LabelIco/PE_user.gif</LabelImage>
|
||||
<LabelIntro>页面需要引用js/slider.js 需要有跳转函数:redirecturl(转到页)</LabelIntro>
|
||||
<LabelTemplate><![CDATA[<script language="JavaScript">
|
||||
var A_TPL2h = {
|
||||
'b_vertical' : false,
|
||||
'b_watch': true,
|
||||
'n_controlWidth': 120,
|
||||
'n_controlHeight': 16,
|
||||
'n_sliderWidth': 16,
|
||||
'n_sliderHeight': 15,
|
||||
'n_pathLeft' : 1,
|
||||
'n_pathTop' : 1,
|
||||
'n_pathLength' : 103,
|
||||
's_imgControl': '{PE.SiteConfig.applicationpath/}Images/Silder/blueh_bg.gif',
|
||||
's_imgSlider': '{PE.SiteConfig.applicationpath/}Images/Silder/blueh_sl.gif',
|
||||
'n_zIndex': 1
|
||||
}
|
||||
var A_INIT2h = {
|
||||
's_type' : 'url',
|
||||
's_name' : 'showpagenum_blue',
|
||||
'n_minValue' : 1,
|
||||
'n_maxValue' : {$endid/},
|
||||
'n_value' : {$currentid/},
|
||||
'n_step' : 1,
|
||||
's_spanname' : '{$originurl/}'
|
||||
}
|
||||
new slider(A_INIT2h, A_TPL2h);
|
||||
</script>
|
||||
<span id="showpagenum_blue">{$currentid/}</span>/{$endid/}]]></LabelTemplate>
|
||||
</root>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>列表分页</LabelType>
|
||||
<LabelImage>../../Admin/Images/LabelIco/PE_user.gif</LabelImage>
|
||||
<LabelIntro>页面需要引用js/slider.js 需要有跳转函数:redirecturl(转到页)</LabelIntro>
|
||||
<LabelTemplate><![CDATA[<script language="JavaScript">
|
||||
var A_TPL2h = {
|
||||
'b_vertical' : true,
|
||||
'b_watch': true,
|
||||
'n_controlWidth': 16,
|
||||
'n_controlHeight': 120,
|
||||
'n_sliderWidth': 15,
|
||||
'n_sliderHeight': 16,
|
||||
'n_pathLeft' : 1,
|
||||
'n_pathTop' : 1,
|
||||
'n_pathLength' : 103,
|
||||
's_imgControl': '{PE.SiteConfig.applicationpath/}Images/Silder/bluev_bg.gif',
|
||||
's_imgSlider': '{PE.SiteConfig.applicationpath/}Images/Silder/bluev_sl.gif',
|
||||
'n_zIndex': 1
|
||||
}
|
||||
var A_INIT2h = {
|
||||
's_type' : 'url',
|
||||
's_name' : 'showpagenum',
|
||||
'n_minValue' : 1,
|
||||
'n_maxValue' : {$endid/},
|
||||
'n_value' : {$currentid/},
|
||||
'n_step' : 1,
|
||||
's_spanname' : '{$originurl/}'
|
||||
}
|
||||
new slider(A_INIT2h, A_TPL2h);
|
||||
</script>]]></LabelTemplate>
|
||||
</root>
|
||||
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0"?><root>
|
||||
<LabelType>列表分页</LabelType>
|
||||
<LabelImage></LabelImage>
|
||||
<LabelIntro>色块风格的分页,需要载入对应的CSS</LabelIntro>
|
||||
<LabelTemplate><style type="text/css">
|
||||
/* Pager */
|
||||
.pager { padding:3px; margin:3px;}
|
||||
.pager A,.pager SPAN{display:block; float:left;margin-right:3px; height:20px; line-height:20px; }
|
||||
.pager A,.pager A:active {display:block; float:left;border:1px solid #c5c5c5; color:#1485ff; padding:0 6px;}
|
||||
.pager A:hover {border:1px solid #0099FF; text-decoration:none; color:#c00;}
|
||||
.pager SPAN.current {background:#1485ff; border:1px solid #1485ff; color:#fff; font-weight:bold; padding:0 6px; }
|
||||
.pager SPAN.disabled {border:1px solid #c5c5c5; padding:0 6px; color:#c0c0c0;}
|
||||
</style>
|
||||
<script type="text/javascript" language="javascript">
|
||||
function listPage_Jumpto{$sourcename/}(e,ele){
|
||||
e=e||event;
|
||||
if(13==e.keyCode){
|
||||
var i=Number(ele.value);
|
||||
if(i<1||i>{$endid/}){alert("你输入的页码超出范围。");}
|
||||
switch(i){
|
||||
{$loop}case {$pageid/}: location='{$pageurl/}';break; $$$case {$pageid/}: break; {$/loop}
|
||||
default: break;
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<div class="pager">
|
||||
<a href="{$firsturl/}">首页</a>
|
||||
<a href="{$prvurl/}">上一页</a>
|
||||
{$loop range="3"}<a href="{$pageurl/}">{$pageid/}</a> $$$<span class="current">{$pageid/}</span> {$/loop}
|
||||
<a href="{$nexturl/}">下一页</a>
|
||||
<a href="{$endurl/}">尾页</a>
|
||||
<input type="text" value="{$currentid/}" onkeydown="listPage_Jumpto{$sourcename/}(event,this)" size="3" title="输入数字,回车跳转" style="margin: 0px 3px 0px 0px; width: 18px;height:18px; float: left;"/>
|
||||
<span class="disabled">共{$totalpub/}{$unitname/}/共{$endid/}页</span>
|
||||
</div></LabelTemplate>
|
||||
</root>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>列表分页</LabelType>
|
||||
<LabelImage>../../Admin/Images/LabelIco/PE_user.gif</LabelImage>
|
||||
<LabelIntro>色块风格的分页,需要载入对应的CSS</LabelIntro>
|
||||
<LabelTemplate><![CDATA[<style type="text/css">
|
||||
.tabletitle1 {
|
||||
background-color : #559AE4; color : #fff;
|
||||
}
|
||||
.tablebody1 {
|
||||
background-color : #fff; line-height : normal;
|
||||
}
|
||||
.tablebody2 {
|
||||
background-color : #e4e8ef; line-height : normal;
|
||||
}
|
||||
.tableborder5 {
|
||||
border : 1px solid #559AE4;background-color : #d6e0ef;
|
||||
}
|
||||
.pageinput {
|
||||
border : 1px solid #d6e0ef; background-color : #fafafa; height : 18px;
|
||||
font-family : Arial, 宋体, fantasy; font-size : 11.5px;
|
||||
}
|
||||
</style>
|
||||
<table cellpadding="0" cellspacing="1" class="tableborder5">
|
||||
<tr align="center">
|
||||
<td class="tabletitle1" title="总记录数"> {$totalpub/} </td><td class="tabletitle1" title="每页显示数"> {$pagesize/} </td>
|
||||
<td class="tabletitle1" title="分页"> {$currentid/}/{$endid/} 页</td><td class="tablebody1"> <a href="{$firsturl/}"><img src="/images/First.gif" border="0" alt="第一页"></a> </td>
|
||||
<td class="tablebody1"> <a href="{$prvurl/}"><img src="/images/Previous.gif" border="0" alt="上一页"></a> </td>
|
||||
{$loop}<td class="tablebody1"> <a href="{$pageurl/}">{$pageid/}</a> </td>$$$<td class="tablebody2"> <B><font color="red">{$pageid/}</font></B></td>{$/loop}
|
||||
<td class="tablebody1"> <a href="{$nexturl/}"><img src="/images/Next.gif" border="0" alt="下一页"></a> </td>
|
||||
<td class="tablebody1"> <a href="{$endurl/}"><img src="/images/Last.gif" border="0" alt="尾页"></a> </td>
|
||||
<td class="tablebody1">
|
||||
<input type="text" name="page" size="2" value="{$currentid/}" Class="PageInput"><input type="button" value="GO" name="submit" Class="PageInput" onclick="jumpurl();"></td>
|
||||
</tr></table>]]></LabelTemplate>
|
||||
</root>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>列表分页</LabelType>
|
||||
<LabelImage>../../Admin/Images/LabelIco/PE_user.gif</LabelImage>
|
||||
<LabelIntro>通过路径进行页面跳转的分页</LabelIntro>
|
||||
<LabelTemplate>
|
||||
<![CDATA[<div id="login">
|
||||
<a href="{$firsturl/}">首页</a> <a href="{$prvurl/}">上一页</a>
|
||||
<a href="{$nexturl/}">下一页</a> <a href="{$endurl/}">尾页</a><br/>共{$endid/}页,
|
||||
当前第{$currentid/}页</div>
|
||||
]]>
|
||||
</LabelTemplate>
|
||||
</root>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>内容分页</LabelType>
|
||||
<LabelImage>../../Admin/Images/LabelIco/PE_Vote.gif</LabelImage>
|
||||
<LabelIntro>内容分页标签专用</LabelIntro>
|
||||
<LabelTemplate><![CDATA[共{$endid/}页
|
||||
您在第{$currentid/}页
|
||||
<a href="{$firsturl/}">首页</a> <a href="{$prvurl/}">上一页</a>
|
||||
{$loop range="5"}<a href="{$pageurl/}">{$pageid/}</a> $$$<b><a href="{$pageurl/}">{$pageid/}</a></b> {$/loop}
|
||||
<a href="{$nexturl/}">下一页</a>
|
||||
<a href="{$endurl/}">尾页</a>
|
||||
跳转到<select id='Jumppage' onchange="if(this.options[this.selectedIndex].value!=''){location = this.options[this.selectedIndex].value;}">
|
||||
{$loop range="30"}<option value='{$pageurl/}'>{$pageid/}</option>$$$<option value='{$pageurl/}' selected>{$pageid/}</option>{$/loop}</select>页
|
||||
本页共有{$totalpub/}个字符]]></LabelTemplate>
|
||||
</root>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>内容分页</LabelType>
|
||||
<LabelImage>../../Admin/Images/LabelIco/PE_Vote.gif</LabelImage>
|
||||
<LabelIntro>显示下拉分页标题</LabelIntro>
|
||||
<LabelTemplate><![CDATA[<select id='Jumppage' onchange="if(this.options[this.selectedIndex].value!=''){redirecturl(this.options[this.selectedIndex].value);}">
|
||||
{$loop}<option value='{$pageurl/}'>{$pagetitle/}</option>$$$<option value='{$pageurl/}' selected>{$pagetitle/}</option>{$/loop}
|
||||
</select>]]></LabelTemplate>
|
||||
</root>
|
||||
Reference in New Issue
Block a user