The main interface is the page that displays the theme list.
// Function: Display the theme of the forum
<HTML>
<HEAD>
<TITLE>Fox.com Forum</TITLE>
<STYLE type=text/css>
P {FONT-FAMILY: normal; FONT-SIZE: 9pt; LINE-HEIGHT: 14pt}
DIV {FONT-FAMILY: normal; FONT-SIZE: 9pt; LINE-HEIGHT: 14pt}
</STYLE>
<LINK href="js/" rel=stylesheet /LINK>
<?php
include "";
include "";
?>
</HEAD>
<body bgcolor="#FFFFFF">
<?
$tem=$HTTP_COOKIE_VARS[FlyFoxNet]; //Get the information in COOKIE here
$temp=explode("|",$tem); �
$cookiem=$temp[0]; �
$useinfo=cuser($cookiem,$action); //CUSER is used to determine whether information is retrieved from COOKIE
$query="select usename from useinfo where usename='".$useinfo[0]."'"; //Check whether to register a user
$req=mysql_query($query);
if ($req)
{
$usename=mysql_fetch_array($req);
if($usename[0]==$useinfo[0]) $useinfo[0]=$usename[0];
else {
$usename=1;
$useinfo[0]="Guest";
}
}
else $usename=1;$useinfo[0]="Guest";
?>
<table width="100%" cellpadding="4" cellspacing="0" border="0">
<tr>
<td height="40" rowspan="2" width="60%">
<div align="right"></div>
<div align="right"></div>
</td>
<td height="20" width="10%"> </td>
<td height="20" width="10%"> </td>
<td height="20" width="10%"> </td>
<td height="20" width="10%"> </td>
</tr>
<tr>
<td height="20" width="10%">
<div align="center"><a href="?action=xy"><img src="images/top_register.gif" width="74" height="21" border="0"></a></div>
</td>
<td height="20" width="10%">
<div align="center"><a href="?action=find"><img src="images/top_members.gif" width="74" height="21" border="0"></a></div>
</td>
<td height="20" width="10%"><a href="?action=edit"><img src="images/top_profile.gif" width="74" height="21" border="0"></a></td>
<td height="20" width="10%"><a href="?d=q"><img src="images/top_logout.gif" width="74" height="21" border="0"></a></td>
</tr>
<tr>
<td height="20" width=60%>
<div align="left">Current location: <font color="#0000FF">Fox.com─>Fox.com Forum─>Topic List</font><? echo "<font color='00dd00'>".$useinfo[2]."</font><font color='ff0000'>"; echo "Welcome to the forum!</font>"; ?></div>
</td>
<td height="20" width="10%">
<div align="center"><? echo "<a href=''><img src='images/' width='70' height='20' border='0' alt='post a new post'></a>"; ?></div>
</td>
<td height="20" width="10%">
<div align="center"><? if ($action==find) echo "<a href=''><img src='images/' width='70' height='20' border='0' alt='Show all post list'></a>"; else echo "<a href='' target='_blank'><img src='images/' border='0' alt='Management area, please don't go in'></a>";?></div>
</td>
<td height="20" width="10%">
<div align="center"><a href="?action=dl"><img src="images/" border="0" alt="Login user"></a></div>
</td>
<td height="20" width="10%">
<div align="center"><a href="/" target="_blank"><img src="images/" border="0" alt="Return to the homepage of Fox.com"></a></div>
</td>
</tr>
</table>
<? echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
echo "<tr bgcolor='#000000'><td><table width='100%' border='0' cellspacing='1' cellpadding='1'>";
?> <tr bgcolor="#229999">
<td width="5%">
<div align="center"><font color="#FFFFF">status</font></div>
</td>
<td width="5%">
<div align="center"><font color="#FFFFF">expression</font></div>
</td>
<td width="30%">
<div align="center"><font color="#FFFFF">theme</font></div>
</td>
<td width="25%">
<div align="center"><font color="#FFFFFF">Author</font></div>
</td>
<td width="5%">
<div align="center"><font color="#FFFFFF">Reply</font></div>
</td>
<td width="5%">
<div align="center"><font color="#FFFFF">Popularity</font></div>
</td>
<td width="25%">
<div align="center"><font color="#FFFFFF">Last reply time</font></div>
</td>
</tr>
<?php
$imgnum=20; //Number of clicks, prepare to change the status chart
if (!$user) $user="all";
$query="select count(*) from foxbbs"; //First calculate the total number of topics
$req=mysql_query($query);
if ($req)
{
$row=mysql_fetch_array($req);
$num=$row[0];
if (!$rows) $rows=10; �
if (!$l) $l=1;
if ($num/$rows<1) $page=1;
else if($num/$rows==floor($num/$rows)) $page=$num/$rows;
else $page=floor($num/$rows)+1;
if (!$dpage) $dpage=1;
if ($dpage>$page) $dpage=$page; �
if ($dpage==1) $tem=0;
else $tem=($dpage-1)*$rows;
if ($l==2) $s="hfnum";
else if ($l==3) $s="djnum";
else $s="id";
for ($i=0;$i<$rows;$i++) //Fetch the record according to the set number of rows per page
{
$tem1=$tem+1;
if($action==find) $query="select * from foxbbs where usename='".$user."' order by $s desc limit $tem,$tem1";
else $query="select * from foxbbs order by $s desc limit $tem,$tem1";
$req=mysql_query($query);
if ($req)
{
$bbs=mysql_fetch_array($req); //See if there is any reply time. If there is no reply time, please select the posting time instead of reply time
if ($bbs[3])
{
if (!$bbs[8]) $bbs[8]=$bbs[4]." ".$bbs[1];
else $bbs[8]=$bbs[8]." ".$bbs[10];
if (substr($bbs[4],0,-8)==date(Y year n month j day)&&$bbs[6]<$imgnum&&$bbs[12]!=1)
$img="images/";
else if(substr($bbs[4],0,-8)==date(Y year n month j day)&&$bbs["djnum"]>=$imgnum&&$bbs[12]!=1)//If it is the day and the number of clicks is 10
$img="images/";
else if(substr($bbs[4],0,-8)!=date(Y year n month j day)&&$bbs[6]>=$imgnum&&$bbs[12]!=1)//If it is not the day, click on 20
$img="images/";
else if($bbs[12]==1) $img="images/"; //Locked
else $img="images/";
echo "<tr bgcolor='#eeeeee'>";
echo "<td width='5%'><div align='center'><img src='".$img."'></div></td>";
echo "<td width='5%'><div align='center'><img src='images/".$bbs[2].".gif'></div></td>";
echo "<td width='30%'><div align='left'>";
if ($bbs[12]==1) echo $bbs[3]."</div></td>";
else echo "<a href='?&use=".$bbs[1]."'>".$bbs[3]."</a></div></td>";
echo "<td width='25%'><div align='center'>".$bbs[1]."</div></td>";
echo "<td width='5%'><div align='center'>".$bbs[7]."</div></td>";
echo "<td width='5%'><div align='center'>".$bbs[6]."</div></td>";
echo "<td width='25%'><div align='left'>".$bbs[8]."</div></td></tr>";
}
}
$tem++;
}
}
echo "<tr><td colspan='7'>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
echo "<tr>";
echo "<td height='15' width='100%' colspan='3' bgcolor='#229999'><div align='left'><font color='ffffff'>|===> ";
if($page==1)
{
echo "[Previous Page][Next Page]";
}
else if ($dpage==1) //If it is currently on the first page
{
$u=$dpage+1;
echo "[Previous page]<a href='?dpage=".$u."&rows=".$rows."&l=".$l."&user=".$user."'>[Next page]</a>";
}
else if($dpage>1&&$dpage<$page) //If it is currently in the middle page
{
$u=$dpage+1;
$d=$dpage-1;
echo "<a href='?dpage=".$d."&rows=".$rows."&l=".$l."&user=".$user."'>[Previous page]</a><a href='?dpage=".$u."&rows=".$rows."&l=".$l."&user=".$user."'>[Next page]</a>";
}
else if($dpage==$page) //If it is currently on the last page
{
$d=$dpage-1;
echo "<a href='?dpage=".$d."&rows=".$rows."&l=".$l."&user=".$user."'>[Previous Page]</a>[Next Page]";
}
echo "</font></div></td>";
echo "</tr></table></td></tr></table></td></tr></table>";
echo "<div align='center'>Number of topics:".$num." Current ".$dpage." Page/Total".$page." Page<select style='BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed;' name='dpage' onChange='javascript:=[].value'>";
for ($i=1;$i<=$page;$i++)
{
if ($i==$dpage) echo "<option value='?dpage=".$i."&rows=".$row."&l=".$l."&user=".$user."' selected>Page ".$i."</option>";
else echo "<option value='?dpage=".$i."&rows=".$rows."&l=".$l."'>Page ".$i."</option>";
}
echo "</select>";
echo "<select style='BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed;' name='dpage' onChange='javascript:=[].value'>";
echo "<option value='' selected>Select sorting method</option>";
echo "<option value='?dpage=".$dpage."&rows=".$rows."&user=".$user."&l=1'>An Post Time Sorting</option>";
echo "<option value='?dpage=".$dpage."&rows=".$rows."&user=".$user."&l=3'>Amp click sort</option>";
echo "<option value='?dpage=".$dpage."&rows=".$rows."&user=".$user."&l=2'>Sorting replies</option>";
echo "</select>";
echo "<select style='BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed;' name='dpage' onChange='javascript:=[].value'>";
echo "<option value='' selected>Select to display rows per page</option>";
echo "<option value='?dpage=".$dpage."&rows=5&l=".$l."&user=".$user."'>Five elements per page</option>";
echo "<option value='?dpage=".$dpage."&rows=10&l=".$l."&user=".$user."'>Ten lines per page</option>";
echo "<option value='?dpage=".$dpage."&rows=15&l=".$l."&user=".$user."'>Five lines per page</option>";
echo "<option value='?dpage=".$dpage."&rows=20&l=".$l."&user=".$user."'>Twenty lines per page</option>";
echo "<option value='?dpage=".$dpage."&rows=25&l=".$l."&user=".$user."'>Twenty-five elements per page</option>";
echo "<option value='?dpage=".$dpage."&rows=30&l=".$l."&user=".$user."'>Thirty lines per page</option>";
echo "<option value='?dpage=".$dpage."&rows=35&l=".$l."&user=".$user."'>Thirty-five elements per page</option>";
echo "<option value='?dpage=".$dpage."&rows=40&l=".$l."&user=".$user."'>Forty lines per page</option>";
echo "<option value='?dpage=".$dpage."&rows=45&l=".$l."&user=".$user."'>Forty-five lines per page</option>";
echo "<option value='?dpage=".$dpage."&rows=50&l=".$l."&user=".$user."'>Fifty lines per page</option>";
echo "</select>";
$query="select count(*) from useinfo"; //Count the number of registered users
$req=mysql_query($query);
$usenum=mysql_fetch_array($req);
$query="select usename from useinfo order by useid desc limit 0,1"; //Look for the latest registered user, because the ID is self-increasing, so you can judge based on the ID, and the largest one is the latest one.
$req=mysql_query($query);
$newuse=mysql_fetch_array($req);
echo "There are currently members[<font color='ff0000'>".$usenum[0]."</font>] name/latest franchise[<font color='ff0000'>".$newuse[0]."</font>]";
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30"> </td>
</tr>
<tr>
<td height="30">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20" width="20%">
<div align="left">Status description:</div>
</td>
<td height="20" width="20%">
<div align="left"></div>
</td>
<td height="20"> </td>
<td height="20"> </td>
</tr>
<tr>
<td height="20" width="25%">
<div align="left"><img src="images/" width="14" height="11">
New topics emerged that day</div>
</td>
<td height="20" width="25%">
<div align="left"><img src="images/" width="14" height="17">
The topic with the highest response that day</div>
</td>
<td height="20" width="25%">
<div align="left"><img src="images/" width="14" height="11">
A topic a day ago</div>
</td>
<td height="20" width="25%">
<div align="left"><img src="images/" width="14" height="17">
A total of more than 50 topics were replied to</div>
</td>
</tr>
<tr>
<td height="20" width="25%">
<div align="left"><img src="images/" width="12" height="15">
Closed topic </div>
</td>
<td height="20" width="25%">
<div align="left"></div>
</td>
<td height="20" width="25%">
<div align="left"></div>
</td>
<td height="20" width="25%">
<tr><td colspan="4" height="100"><div align="center"><font color="ff0000">★Forum description★</font></div><br><div align="left">
1. Only registered users can post this forum. If you are not registered, you can view and reply to posts, but you cannot post. <br>
2. The poster will be fully responsible for the comments made in the forum. Returning to this forum is mainly based on emotional topics (before the technical forum comes out, you can discuss technical issues appropriately). If the webmaster finds that a user uses this forum to discuss other irrelevant topics, he will immediately lock it. (This site will launch other forums one after another)<br>
3. I haven't thought of it yet. hehe……
</div></td></tr>
<div align="left"></div>
<tr><td height="70"></td></tr>
<tr>
<td height="20" colspan="4">
<a href="mailto:hllinyu@">Contact me</a> |─| <a href="mailto:hllinyu@">FlyFox@Net</a> ></div>
</td>
</tr>
<tr><td height="20"></td></tr>
<tr>
<td height="20" colspan="4">
<div align="center"><font color="#6666FF">Flying Fox Studio Production and Development</font></div>
</td>
</tr>
</table>
</td>
</tr>
</body>
</html>
// Function: Display the theme of the forum
<HTML>
<HEAD>
<TITLE>Fox.com Forum</TITLE>
<STYLE type=text/css>
P {FONT-FAMILY: normal; FONT-SIZE: 9pt; LINE-HEIGHT: 14pt}
DIV {FONT-FAMILY: normal; FONT-SIZE: 9pt; LINE-HEIGHT: 14pt}
</STYLE>
<LINK href="js/" rel=stylesheet /LINK>
<?php
include "";
include "";
?>
</HEAD>
<body bgcolor="#FFFFFF">
<?
$tem=$HTTP_COOKIE_VARS[FlyFoxNet]; //Get the information in COOKIE here
$temp=explode("|",$tem); �
$cookiem=$temp[0]; �
$useinfo=cuser($cookiem,$action); //CUSER is used to determine whether information is retrieved from COOKIE
$query="select usename from useinfo where usename='".$useinfo[0]."'"; //Check whether to register a user
$req=mysql_query($query);
if ($req)
{
$usename=mysql_fetch_array($req);
if($usename[0]==$useinfo[0]) $useinfo[0]=$usename[0];
else {
$usename=1;
$useinfo[0]="Guest";
}
}
else $usename=1;$useinfo[0]="Guest";
?>
<table width="100%" cellpadding="4" cellspacing="0" border="0">
<tr>
<td height="40" rowspan="2" width="60%">
<div align="right"></div>
<div align="right"></div>
</td>
<td height="20" width="10%"> </td>
<td height="20" width="10%"> </td>
<td height="20" width="10%"> </td>
<td height="20" width="10%"> </td>
</tr>
<tr>
<td height="20" width="10%">
<div align="center"><a href="?action=xy"><img src="images/top_register.gif" width="74" height="21" border="0"></a></div>
</td>
<td height="20" width="10%">
<div align="center"><a href="?action=find"><img src="images/top_members.gif" width="74" height="21" border="0"></a></div>
</td>
<td height="20" width="10%"><a href="?action=edit"><img src="images/top_profile.gif" width="74" height="21" border="0"></a></td>
<td height="20" width="10%"><a href="?d=q"><img src="images/top_logout.gif" width="74" height="21" border="0"></a></td>
</tr>
<tr>
<td height="20" width=60%>
<div align="left">Current location: <font color="#0000FF">Fox.com─>Fox.com Forum─>Topic List</font><? echo "<font color='00dd00'>".$useinfo[2]."</font><font color='ff0000'>"; echo "Welcome to the forum!</font>"; ?></div>
</td>
<td height="20" width="10%">
<div align="center"><? echo "<a href=''><img src='images/' width='70' height='20' border='0' alt='post a new post'></a>"; ?></div>
</td>
<td height="20" width="10%">
<div align="center"><? if ($action==find) echo "<a href=''><img src='images/' width='70' height='20' border='0' alt='Show all post list'></a>"; else echo "<a href='' target='_blank'><img src='images/' border='0' alt='Management area, please don't go in'></a>";?></div>
</td>
<td height="20" width="10%">
<div align="center"><a href="?action=dl"><img src="images/" border="0" alt="Login user"></a></div>
</td>
<td height="20" width="10%">
<div align="center"><a href="/" target="_blank"><img src="images/" border="0" alt="Return to the homepage of Fox.com"></a></div>
</td>
</tr>
</table>
<? echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
echo "<tr bgcolor='#000000'><td><table width='100%' border='0' cellspacing='1' cellpadding='1'>";
?> <tr bgcolor="#229999">
<td width="5%">
<div align="center"><font color="#FFFFF">status</font></div>
</td>
<td width="5%">
<div align="center"><font color="#FFFFF">expression</font></div>
</td>
<td width="30%">
<div align="center"><font color="#FFFFF">theme</font></div>
</td>
<td width="25%">
<div align="center"><font color="#FFFFFF">Author</font></div>
</td>
<td width="5%">
<div align="center"><font color="#FFFFFF">Reply</font></div>
</td>
<td width="5%">
<div align="center"><font color="#FFFFF">Popularity</font></div>
</td>
<td width="25%">
<div align="center"><font color="#FFFFFF">Last reply time</font></div>
</td>
</tr>
<?php
$imgnum=20; //Number of clicks, prepare to change the status chart
if (!$user) $user="all";
$query="select count(*) from foxbbs"; //First calculate the total number of topics
$req=mysql_query($query);
if ($req)
{
$row=mysql_fetch_array($req);
$num=$row[0];
if (!$rows) $rows=10; �
if (!$l) $l=1;
if ($num/$rows<1) $page=1;
else if($num/$rows==floor($num/$rows)) $page=$num/$rows;
else $page=floor($num/$rows)+1;
if (!$dpage) $dpage=1;
if ($dpage>$page) $dpage=$page; �
if ($dpage==1) $tem=0;
else $tem=($dpage-1)*$rows;
if ($l==2) $s="hfnum";
else if ($l==3) $s="djnum";
else $s="id";
for ($i=0;$i<$rows;$i++) //Fetch the record according to the set number of rows per page
{
$tem1=$tem+1;
if($action==find) $query="select * from foxbbs where usename='".$user."' order by $s desc limit $tem,$tem1";
else $query="select * from foxbbs order by $s desc limit $tem,$tem1";
$req=mysql_query($query);
if ($req)
{
$bbs=mysql_fetch_array($req); //See if there is any reply time. If there is no reply time, please select the posting time instead of reply time
if ($bbs[3])
{
if (!$bbs[8]) $bbs[8]=$bbs[4]." ".$bbs[1];
else $bbs[8]=$bbs[8]." ".$bbs[10];
if (substr($bbs[4],0,-8)==date(Y year n month j day)&&$bbs[6]<$imgnum&&$bbs[12]!=1)
$img="images/";
else if(substr($bbs[4],0,-8)==date(Y year n month j day)&&$bbs["djnum"]>=$imgnum&&$bbs[12]!=1)//If it is the day and the number of clicks is 10
$img="images/";
else if(substr($bbs[4],0,-8)!=date(Y year n month j day)&&$bbs[6]>=$imgnum&&$bbs[12]!=1)//If it is not the day, click on 20
$img="images/";
else if($bbs[12]==1) $img="images/"; //Locked
else $img="images/";
echo "<tr bgcolor='#eeeeee'>";
echo "<td width='5%'><div align='center'><img src='".$img."'></div></td>";
echo "<td width='5%'><div align='center'><img src='images/".$bbs[2].".gif'></div></td>";
echo "<td width='30%'><div align='left'>";
if ($bbs[12]==1) echo $bbs[3]."</div></td>";
else echo "<a href='?&use=".$bbs[1]."'>".$bbs[3]."</a></div></td>";
echo "<td width='25%'><div align='center'>".$bbs[1]."</div></td>";
echo "<td width='5%'><div align='center'>".$bbs[7]."</div></td>";
echo "<td width='5%'><div align='center'>".$bbs[6]."</div></td>";
echo "<td width='25%'><div align='left'>".$bbs[8]."</div></td></tr>";
}
}
$tem++;
}
}
echo "<tr><td colspan='7'>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
echo "<tr>";
echo "<td height='15' width='100%' colspan='3' bgcolor='#229999'><div align='left'><font color='ffffff'>|===> ";
if($page==1)
{
echo "[Previous Page][Next Page]";
}
else if ($dpage==1) //If it is currently on the first page
{
$u=$dpage+1;
echo "[Previous page]<a href='?dpage=".$u."&rows=".$rows."&l=".$l."&user=".$user."'>[Next page]</a>";
}
else if($dpage>1&&$dpage<$page) //If it is currently in the middle page
{
$u=$dpage+1;
$d=$dpage-1;
echo "<a href='?dpage=".$d."&rows=".$rows."&l=".$l."&user=".$user."'>[Previous page]</a><a href='?dpage=".$u."&rows=".$rows."&l=".$l."&user=".$user."'>[Next page]</a>";
}
else if($dpage==$page) //If it is currently on the last page
{
$d=$dpage-1;
echo "<a href='?dpage=".$d."&rows=".$rows."&l=".$l."&user=".$user."'>[Previous Page]</a>[Next Page]";
}
echo "</font></div></td>";
echo "</tr></table></td></tr></table></td></tr></table>";
echo "<div align='center'>Number of topics:".$num." Current ".$dpage." Page/Total".$page." Page<select style='BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed;' name='dpage' onChange='javascript:=[].value'>";
for ($i=1;$i<=$page;$i++)
{
if ($i==$dpage) echo "<option value='?dpage=".$i."&rows=".$row."&l=".$l."&user=".$user."' selected>Page ".$i."</option>";
else echo "<option value='?dpage=".$i."&rows=".$rows."&l=".$l."'>Page ".$i."</option>";
}
echo "</select>";
echo "<select style='BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed;' name='dpage' onChange='javascript:=[].value'>";
echo "<option value='' selected>Select sorting method</option>";
echo "<option value='?dpage=".$dpage."&rows=".$rows."&user=".$user."&l=1'>An Post Time Sorting</option>";
echo "<option value='?dpage=".$dpage."&rows=".$rows."&user=".$user."&l=3'>Amp click sort</option>";
echo "<option value='?dpage=".$dpage."&rows=".$rows."&user=".$user."&l=2'>Sorting replies</option>";
echo "</select>";
echo "<select style='BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed;' name='dpage' onChange='javascript:=[].value'>";
echo "<option value='' selected>Select to display rows per page</option>";
echo "<option value='?dpage=".$dpage."&rows=5&l=".$l."&user=".$user."'>Five elements per page</option>";
echo "<option value='?dpage=".$dpage."&rows=10&l=".$l."&user=".$user."'>Ten lines per page</option>";
echo "<option value='?dpage=".$dpage."&rows=15&l=".$l."&user=".$user."'>Five lines per page</option>";
echo "<option value='?dpage=".$dpage."&rows=20&l=".$l."&user=".$user."'>Twenty lines per page</option>";
echo "<option value='?dpage=".$dpage."&rows=25&l=".$l."&user=".$user."'>Twenty-five elements per page</option>";
echo "<option value='?dpage=".$dpage."&rows=30&l=".$l."&user=".$user."'>Thirty lines per page</option>";
echo "<option value='?dpage=".$dpage."&rows=35&l=".$l."&user=".$user."'>Thirty-five elements per page</option>";
echo "<option value='?dpage=".$dpage."&rows=40&l=".$l."&user=".$user."'>Forty lines per page</option>";
echo "<option value='?dpage=".$dpage."&rows=45&l=".$l."&user=".$user."'>Forty-five lines per page</option>";
echo "<option value='?dpage=".$dpage."&rows=50&l=".$l."&user=".$user."'>Fifty lines per page</option>";
echo "</select>";
$query="select count(*) from useinfo"; //Count the number of registered users
$req=mysql_query($query);
$usenum=mysql_fetch_array($req);
$query="select usename from useinfo order by useid desc limit 0,1"; //Look for the latest registered user, because the ID is self-increasing, so you can judge based on the ID, and the largest one is the latest one.
$req=mysql_query($query);
$newuse=mysql_fetch_array($req);
echo "There are currently members[<font color='ff0000'>".$usenum[0]."</font>] name/latest franchise[<font color='ff0000'>".$newuse[0]."</font>]";
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30"> </td>
</tr>
<tr>
<td height="30">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20" width="20%">
<div align="left">Status description:</div>
</td>
<td height="20" width="20%">
<div align="left"></div>
</td>
<td height="20"> </td>
<td height="20"> </td>
</tr>
<tr>
<td height="20" width="25%">
<div align="left"><img src="images/" width="14" height="11">
New topics emerged that day</div>
</td>
<td height="20" width="25%">
<div align="left"><img src="images/" width="14" height="17">
The topic with the highest response that day</div>
</td>
<td height="20" width="25%">
<div align="left"><img src="images/" width="14" height="11">
A topic a day ago</div>
</td>
<td height="20" width="25%">
<div align="left"><img src="images/" width="14" height="17">
A total of more than 50 topics were replied to</div>
</td>
</tr>
<tr>
<td height="20" width="25%">
<div align="left"><img src="images/" width="12" height="15">
Closed topic </div>
</td>
<td height="20" width="25%">
<div align="left"></div>
</td>
<td height="20" width="25%">
<div align="left"></div>
</td>
<td height="20" width="25%">
<tr><td colspan="4" height="100"><div align="center"><font color="ff0000">★Forum description★</font></div><br><div align="left">
1. Only registered users can post this forum. If you are not registered, you can view and reply to posts, but you cannot post. <br>
2. The poster will be fully responsible for the comments made in the forum. Returning to this forum is mainly based on emotional topics (before the technical forum comes out, you can discuss technical issues appropriately). If the webmaster finds that a user uses this forum to discuss other irrelevant topics, he will immediately lock it. (This site will launch other forums one after another)<br>
3. I haven't thought of it yet. hehe……
</div></td></tr>
<div align="left"></div>
<tr><td height="70"></td></tr>
<tr>
<td height="20" colspan="4">
<a href="mailto:hllinyu@">Contact me</a> |─| <a href="mailto:hllinyu@">FlyFox@Net</a> ></div>
</td>
</tr>
<tr><td height="20"></td></tr>
<tr>
<td height="20" colspan="4">
<div align="center"><font color="#6666FF">Flying Fox Studio Production and Development</font></div>
</td>
</tr>
</table>
</td>
</tr>
</body>
</html>