หมวดไฟฟ้า/อิเล็กทรอนิกส์/คอมพิวเตอร์ => ห้อง SMF 2.0.X => Programming => ห้องคอมพิวเตอร์ => ห้อง MOD => ข้อความที่เริ่มโดย: Sonchai_Music ที่ 11 พฤษภาคม 2560, 20:55:28
-
Box Credit กล่องใส่เครดิต
ไฟล์ Sub.php เพิ่มเข้าไป
array(
'tag' => 'credit',
'before' => '<table border="0" cellspacing="0" cellpadding="0"><tr><td height="39" colspan="3"><table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td width="123" background="'.$settings['default_theme_url'].'/images/cre1.png" height="39" title="กล่องเครดิต"> </td><td background="'.$settings['default_theme_url'].'/images/cre2.gif"> </td><td width="48" background="'.$settings['default_theme_url'].'/images/cre3.png" height="39"> </td></tr></table></td></tr><tr><td bgcolor="#cdf4a3" width="10"> </td><td bgcolor="#cdf4a3"><table border="1" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse; border: 1px solid #69ac00" bgcolor="#FFFFFF"><tr><td style="font-family: Arial; font-size: 12px; color: #707070; text-align: center"><p style="margin: 5px">',
'after' => '</td></tr></table></td><td bgcolor="#cdf4a3" width="10"> </td></tr><tr><td colspan="3"><table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td background="'.$settings['default_theme_url'].'/images/cre4.gif" height="11" width="11"><img border="0" src="'.$settings['default_theme_url'].'/images/space.gif" width="1" height="1"></td><td bgcolor="#cdf4a3" height="11"><img border="0" src="'.$settings['default_theme_url'].'/images/space.gif" width="1" height="1"></td><td background="'.$settings['default_theme_url'].'/images/cre5.gif" height="11" width="11"><img border="0" src="'.$settings['default_theme_url'].'/images/space.gif" width="1" height="1"></td></tr></table></td></tr></table><!-- 250309-->',
'block_level' => true,
),
Sup-Edit.php ใส่
array(
'image' => 'credit',
'code' => 'credit',
'before' => '[credit]',
'after' => '[/credit]',
'description' => $txt['bbcode_credit']
),
ตรงนี้มีภาพ! แต่ท่านจะมองไม่เห็น , ท่านต้อง สมัครสมาชิก หรือ ลงชื่อเข้าระบบ
มาจากที่นี่... (http://postnook.com/?topic=1135.0-Box-Credit--%E0%B8%81%E0%B8%A5%E0%B9%88%E0%B8%AD%E0%B8%87%E0%B9%83%E0%B8%AA%E0%B9%88%E0%B9%80%E0%B8%84%E0%B8%A3%E0%B8%94%E0%B8%B4%E0%B8%95.html)