จะแทรก รูปลงไปในไฟล์ php ทำไงครับ

เริ่มโดย tman, 19 กุมภาพันธ์ 2011, 15:29:19

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

tman

<div id="sidebar" class="sidebar-other">

      <?php if ( function_exists( 'bp_message_get_notices' ) ) : ?>
         <?php bp_message_get_notices(); /* Site wide notices to all users */ ?>
      <?php endif; ?>
      
      <?php if(get_post_meta($post->ID, 'ghostpool_sidebar', true) && is_singular()) { dynamic_sidebar(get_post_meta($post->ID, 'ghostpool_sidebar', true)); } else { dynamic_sidebar('Default Sidebar'); } ?>
      
   </div>   

จะใส่รูปเข้าไปให้มันติดไปทุกหน้า ผมจะต้องเขียนยังไงครับ

นี่รูปครับ

http://4.bp.blogspot.com/_j5nG-wHyYDs/SUBcKkb3daI/AAAAAAAABDI/pxpE00hdKrk/s400/covini-c6w-sport-car-2.jpg

ผมเขียนไม่เป็นเลย ขอบคุณล่วงหน้า
[direct=http://www.thaimotorbiz.com/]เว็บบริการลงประกาศซื้อขายมอเตอร์ไซค์มือ 2 ขายแต่ตัวเว็บ [/direct][direct=http://www.twebgraphic.com/]รับทำเว็บไซต์ ช็อปปิ้งออนไลน์ ถ่ายภาพสินค้า แอพiPhone[/direct]

BeerSkz

<div id="sidebar" class="sidebar-other">
<img src="http://4.bp.blogspot.com/_j5nG-wHyYDs/SUBcKkb3daI/AAAAAAAABDI/pxpE00hdKrk/s400/covini-c6w-sport-car-2.jpg"/>
      <?php if ( function_exists( 'bp_message_get_notices' ) ) : ?>
         <?php bp_message_get_notices(); /* Site wide notices to all users */ ?>
      <?php endif; ?>
     
      <?php if(get_post_meta($post->ID, 'ghostpool_sidebar', true) && is_singular()) { dynamic_sidebar(get_post_meta($post->ID, 'ghostpool_sidebar', true)); } else { dynamic_sidebar('Default Sidebar'); } ?>
     
   </div>   

tman

[direct=http://www.thaimotorbiz.com/]เว็บบริการลงประกาศซื้อขายมอเตอร์ไซค์มือ 2 ขายแต่ตัวเว็บ [/direct][direct=http://www.twebgraphic.com/]รับทำเว็บไซต์ ช็อปปิ้งออนไลน์ ถ่ายภาพสินค้า แอพiPhone[/direct]