📄 index.php
字号:
<?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;?>&Rand=<?php echo time();?>">[刷新]</a><br/>
<img src="images/man.png" alt=""/><a href="new.php?session=<?=$session;?>&action=newreply">最新回复(20篇)</a><br/>
<img src="images/man.png" alt=""/><a href="new.php?session=<?=$session;?>&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&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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -