SMF & Programmer > Simple Machine Forum
สร้าง Banner ให้กับ board smf
(1/1)
Admin:
[mb]
เปิด index.template.php ใน ธีมที่ใช้
สิ่งที่ต้องทำ
- สร้าง File Banner1.txt , Banner2.txt
นำไปไว้ที่บอร์ดที่คุณเก็บไว้
ค้นหา
--- โค๊ด: ---// Show the menu here, according to the menu sub template.
template_menu();
--- End code ---
ใส่ หลัง template_menu();
--- โค๊ด: ---include_once('banner1.txt');
--- End code ---
ค้นหา
--- โค๊ด: ---// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
--- End code ---
ใส่ หลัง </table>';
--- โค๊ด: ---include_once('banner2.txt');
--- End code ---
Banner1 คือ แถบด้านบน
Banner2 คือ ล่างสุดของเว็บ
[/mb]
นำร่อง
[0] ดัชนีข้อความ
Go to full version