ไม่รู้ว่า จะโพสดีไหม มันง่ายๆ เรื่องสีไปเปลี่ยนกันเอาเองละกันครับ โหลดเอาก็ได้ มี 2 ไฟล์ utf-8 กับ tis-620 เพิ่มปุ่มรีเฟส ให้ด้วย พร้อมกับ แสดงสมาชิกที่อยู่ในระบบ หากไม่ต้องการก็ไปลบ <div class="who"><?php ssi_whosOnline(); ?></div> ออก
โหลด topics.zip
<?php
require(dirname(__FILE__) . '/SSI.php');
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title> << :: SMF SSI.php 1.1 :: >> </title><?php
echo '
<meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />
<base target="_blank">
<style type="text/css">
.ssi_table {
font-family:Tahoma;
font-size:12px;
text-align: left;
color:#1f1f1f;
}
a,
a:link,
a:active,
a:visited {
text-decoration:underline;
color:#CA0000;
font-weight: bold;
font-family:Tahoma;
font-size:12px;
text-align: left;
margin: 2px;
line-height: 18px;
}
a:hover {
text-decoration:underline;
color:#ffcc00;
}
.who {
font-size:11px;
font-weight: normal;
}
.who a {
font-weight: normal;
color:#CA0000;
}
body {
margin: 1ex;
background-color: #E9EDF5;
}';
if ($context['browser']['needs_size_fix'])
echo '
@import(', $settings['default_theme_url'], '/fonts-compat.css);';
echo '
</style>';
?>
</head>
<body>
<div align="center">
<form> <input type=button value="Refresh" onClick="javascript:location.reload();"> </form>
<?php ssi_recentTopics(); ?>
<h3>สมาชิกที่อยู่ในระบบ</h3>
<div class="who"><?php ssi_whosOnline(); ?></div>
</div>
</body>
</html>