帝国cms调用会员排行的序号的实现代码
代码如下:
<?php
$usersql=sys_ListMemberInfo(5,1,’1,2,3,4′,”,”);
$no=0;
while($userr=$empire->fetch($usersql))
{
$no=$no+1;
?>
<tr><td width=”20″><span class=”icon<?=$no?>”></span>
<?php
}
?>
这个也可以:
<?php
$usersql=sys_ListMemberInfo(5,1,’1,2,3,4′,”,”);
$no=0;
while($userr=$empire->fetch($usersql))
{
$no=$no+1;
?>
<tr><td width=”20″><span class=”icon<?=$no?>”></span>
<?php
}
?>
这个也可以:
复制代码
代码如下:
<?php
$usersql=sys_ListMemberInfo(5,1,’1,2,3,4′,”,”);
$no=0;
while($userr=$empire->fetch($usersql))
{
$no++;
?>
<span class=”icon<?=$no?>”></span>
<?php
}
?>
<?php
$usersql=sys_ListMemberInfo(5,1,’1,2,3,4′,”,”);
$no=0;
while($userr=$empire->fetch($usersql))
{
$no++;
?>
<span class=”icon<?=$no?>”></span>
<?php
}
?>