ผู้เขียน หัวข้อ: สร้าง Banner ให้กับ board smf  (อ่าน 3536 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ Admin

  • Administrator
  • *****
  • กระทู้: 1415
  • Level:
    0%
  • Thank : 61
  • เพศ: ชาย
    • ดูรายละเอียด
    • สะกิดข่าว
สร้าง Banner ให้กับ board smf
« เมื่อ: กุมภาพันธ์ 21, 2012, 09:17:28 pm »
[mb]

เปิด index.template.php ใน ธีมที่ใช้

สิ่งที่ต้องทำ
- สร้าง File Banner1.txt , Banner2.txt
นำไปไว้ที่บอร์ดที่คุณเก็บไว้

ค้นหา

โค๊ด: [Select]
// Show the menu here, according to the menu sub template.
template_menu();

ใส่ หลัง template_menu();

โค๊ด: [Select]
include_once('banner1.txt');


ค้นหา

โค๊ด: [Select]
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!

ใส่ หลัง </table>';

โค๊ด: [Select]
include_once('banner2.txt');

Banner1 คือ แถบด้านบน
Banner2 คือ ล่างสุดของเว็บ
[/mb]

 
แชร์บทความ...
โค้ดแบบ forum
(BBCode)
โค้ดแบบ site/blog
(HTML)