index.php

来自「php做的wap论坛 有详细说明在readme中」· PHP 代码 · 共 49 行

PHP
49
字号
<?php
require_once("variable.php");
echo $WmlDeclare;
?>
<wml>
<head>
<meta http-equiv="Cache-Control" content="no-cache" forua="true"/>
</head>
<card id="Index" title="<?php echo $siteName;?>">
<p align="<?=$logoAlign;?>"><img src="<?php echo $siteLogo;?>" alt="" /></p>
<p>
欢迎您, <?php echo $username;?>.<br/>
--------------------<br/>
<?php echo onlineuser();?> <a href="index.php?session=<?=$session;?>&amp;Rand=<?php echo time();?>">[刷新]</a><br/>
<img src="images/man.png" alt=""/><a href="new.php?session=<?=$session;?>&amp;action=newreply">最新回复(20篇)</a><br/>
<img src="images/man.png" alt=""/><a href="new.php?session=<?=$session;?>&amp;action=newpost">最新文章(10篇)</a><br/>
<img src="images/chat.png" alt=""/><a href="menu.php?session=<?=$session;?>">按版块浏览文章</a><br/>
--------------------<br/>
<img src="images/mobile.png" alt=""/>推荐版块:<br/>
<?php
reset($recommendGroup);
while(list($AAA, $BBB)=each($recommendGroup)){
	$Frow = mysql_fetch_array(mysql_query("select fid, name from ".$dbTablePx."forums where fid='$BBB'"));
	echo "<img src='images/man.png' alt=''/><a href='thread.php?session=$session&amp;fid=$BBB'>$Frow[name]</a><br/>";
}
?>
--------------------<br/>
<?php
if($_GET[session]==""){
	echo '<img src="images/chat.png" alt=""/><a href="login.php">登录</a><br/>';
	echo '<img src="images/reg.png" alt=""/><a href="reg.php">注册新会员</a><br/>';
}else{
	echo '<img src="images/mobile.png" alt=""/><a href="inbox.php?session='.$session.'">站内短信</a><br/>';
	echo '<img src="images/chat.png" alt=""/><a href="postmsg.php?session='.$session.'">发送站内短信</a><br/>';
	echo '<img src="images/man.png" alt=""/><a href="index.php">[退出]</a><br/>';
}
?>
<img src="images/mobile.png" alt=""/><a href="about.php?session=<?=$session;?>">关于本站</a><br/>
--------------------<br/>
<img src="images/chat.png" alt=""/><a href="sendmail.php?session=<?=$session;?>">外发邮件</a><br/>
<img src="images/chat.png" alt=""/><a href="info.php?session=<?=$session;?>">手机信息</a><br/>
--------------------<br/>
<small>(C)copyright by <?php echo $siteSign;?></small>
</p>
</card>
</wml>
<?php
LangFlush(ob_get_contents());
?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?