:: กรุณาอย่าปั่นพีอาลิงก์ หากพบเจอลบยูสเซอร์ โดยไม่มีการชี้แจง ::
0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?php require("SSI.php"); ?><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Recent posts</title><style type="text/css"><!--body{ margin-top:0px; margin-bottom:2px; background-color: #FFFFFF;}body,td{font-size:12px;color:#000000;font-family:tahoma,arial,helvetica,sans-serif}td.title{font-size:12px;color:#CCCCCC}a{text-decoration:none}a:link,a:visited{color:#cc0000;font-weight:bold}a:hover{color:#99cc00}a:active{color:#CCCCCC}a.topmenu:link,a.topmenu:visited{color:#666666}a.topmenu:hover{color:#FF6600}a.topmenu:active{color:#555555}//.style1 {color: #FF9900}--></style></head><body><div align="left"><?php ssi_welcome(); ?> <?php ssi_latestMember(); ?><br><?php ssi_recentPosts(); ?><br><?php ssi_logOnline(); ?></div></body></html>
echo ' <table border="0" class="ssi_table">'; foreach ($posts as $post) echo ' <tr> <td valign="top"><a href="', $post['href'], '" target="_blank">', $post['subject'], '</a> ', $post['new'] ? '' : '<a href="' . $scripturl . '?topic=' . $post['topic'] . '.msg' . $post['new_from'] . ';topicseen#new" target="_blank"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/new.gif" alt="' . $txt[302] . '" border="0" /></a>', '</td> <td valign="top" nowrap="nowrap"> ', $txt[525], ' <a href="', $post['href'], '" target="_blank">', $post['poster']['link'], '</a></td> <td align="right" valign="top" nowrap="nowrap">- <a href="', $post['href'], '" target="_blank">', $post['board']['link'], '</a></td> <td align="right" nowrap="nowrap">', $post['time'], '</td> </tr>'; echo ' </table>';
'link' => empty($row['ID_MEMBER']) ? $row['posterName'] : '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['posterName'] . '</a>'
'link' => empty($row['ID_MEMBER']) ? $row['posterName'] : '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '" target="_blank">' . $row['posterName'] . '</a>'
$txt['welcome_guest'] = 'ยินดีต้อนรับคุณ, <b>' . $txt[28] . '</b> กรุณา <a href="' . $scripturl . '?action=login" target="_blank">เข้าสู่ระบบ</a> หรือ <a href="' . $scripturl . '?action=register" target="_blank">สมัครสมาชิก </a>';
ถ้าไม่ต้องการใช้ iframe ก็เพียงแค่เปลี่ยนนามสกุล จาก index.html เป็น index.php เท่านี้ก็ใช้ได้แล้วครับ...แล้วก็สามารถแทรกโค้ด php ต่างๆเข้าไปได้เลยครับพี่น้อง
หรือ นำโค้ดนี้ครับ <base target="_blank"> ไปวางไว้หลัง <title></title> จะได้อย่าง <title>ชื่อเวบของท่าน</title><base target="_blank"> ในไฟล์ recent.php ของท่านต้องการยังไงโพสถามนะครับ ช่วยกัน
'link' => empty($row['ID_MEMBER']) ? $row['posterName'] : '' . $row['posterName'] . ''
ขอมาก็จัดให้ครับไฟล์ SSI.php หาบรรทัดนี้นะครับ (บรรทัดที่ 291)โค๊ด: newbielink:javascript:void(0); [nonactive]'link' => empty($row['ID_MEMBER']) ? $row['posterName'] : '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '" target="_blank">' . $row['posterName'] . '</a>'แทนด้วยโค้ดนี้เลยครับโค๊ด: newbielink:javascript:void(0); [nonactive]'link' => empty($row['ID_MEMBER']) ? $row['posterName'] : '' . $row['posterName'] . ''ยังไงก็รายงานผลด้วยนะครับ
ผมทำโชว์ 10 กระทู้แล้วมันขึ้นแบบนี้ครับNotice: SSI.php was unable to load a session! This may cause problems with logout and other functions - please make sure SSI.php is included before *anything* else in all your scripts! in /home/sasukmoei/domains/sasukmoeiwadi.com/public_html/forum/SSI.php on line 165จะแก้ไขยังไงครับ ผู้รู้บอกทีครับ มันจะขึ้นตอนที่ไม่มีสมาชิก login เข้าไปนะครับ แนะนำทีครับ