Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,027

HOME > PHP > PHP Forum > ช่วยผมด้วยครับท่านผู้ใดมีความรู้ช่วยด้วยครับตัวสุดท้ายแล้วครับถ้าแก้ได้ผมก็ำเสร็จแล้วครับกรุณาช่วยหน่อยครับ



 

ช่วยผมด้วยครับท่านผู้ใดมีความรู้ช่วยด้วยครับตัวสุดท้ายแล้วครับถ้าแก้ได้ผมก็ำเสร็จแล้วครับกรุณาช่วยหน่อยครับ

 



Topic : 092275



โพสกระทู้ ( 113 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook



ก่อนใส่ fancybox ครับ
ก่อนใส่ครับ
อันนี้หลังใส่ครับ
เป็นแบบนี้ครับ
พอใส fancybox หน้าเว็บมันแตกครับผมควรทำงันดี
หน้าเว็บแตกครับ
อันนี้code ครับ
Code (PHP)
<?
session_start();
include"config.inc.php";
$sql="select * from com_person where id_card='$valid_user'";
$result=mysql_query($sql);
$read_data=mysql_fetch_array($result);
$id_stu=$read_data[id_stu];
$name=$read_data[name];
$surname=$read_data[surname];
$edu=$read_data[edu];
$sex=$read_data[sex];
$pic=$read_data[pic];
$id_card=$read_data[id_card];

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<title>.::ยินดีต้อนรับสู่เว็บไซต์แผนกคอมพิวเตอร์ธุรกิจ วิทยาลัยเทคนิคน่าน</title>






<style type="text/css">
body,td,th {
	font-family: tahoma;
	font-size: 13px;
	color: #000;
}
body {
	background-color: #D6D1FC;

}
.fontmenu11 {
	font-size: 16px;
}
.fontmenu11 strong {
	font-size: 24px;
}
a:link {
	color: #006;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #006;
}
a:hover {
	text-decoration: none;
	color: #F00;
}
a:active {
	text-decoration: none;
}
.font22 {
	color: #FFF;
}
</style>




<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>


<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
	<script>
		!window.jQuery && document.write('<script src="jquery-1.4.3.min.js"><\/script>');
	</script>
	<script type="text/javascript" src="./fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
	<script type="text/javascript" src="./fancybox/jquery.fancybox-1.3.4.pack.js"></script>
	<link rel="stylesheet" type="text/css" href="./fancybox/jquery.fancybox-1.3.4.css" media="screen" />
 	<link rel="stylesheet" href="style.css" />
	<script type="text/javascript">
	
	  $(document).ready(function() {
		$.fancybox({
			'width': '600',
            'height': '280',
			'hideOnOverlayClick': false,
			'showCloseButton': false,
			'autoDimensions': false,
			'showCloseButton'   : true,
			'scrolling': 'no',
			'content': '<img src="pic/kid/0M40.jpg">'
        });
    });
</script>

</head>

<body onload="MM_preloadImages('images/menu22_08.jpg','images/menu22_09.jpg','images/menu22_10.jpg','images/menu22_11.jpg','images/menu22_05.jpg','images/menu22_06.jpg','images/menu22_07.jpg','images/bg1_08.jpg','images/bg1_09.jpg','images/bg1_10.jpg','images/bg1_11.jpg','images/bg1_12.jpg','images/menu933_07.jpg','images/menu933_08.jpg')">
<table width="1047" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="3" valign="top"><table width="250" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="images/bg1_02.jpg" width="613" height="50" /></td>
        <td><img src="images/bg1_03.jpg" width="415" height="50" /></td>
      </tr>
    </table></td>
    <td width="19" valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3" valign="top"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1028" height="200">
      <param name="movie" value="images/head1.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="6.0.65.0" />
      <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
      <param name="expressinstall" value="Scripts/expressInstall.swf" />
      <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="images/head1.swf" width="1028" height="200">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="6.0.65.0" />
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
        <div>
          <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
          <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
        </div>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object></td>
    <td valign="top">&nbsp;</td>
  </tr>
  
  
  
  
  
  <tr>
    <td colspan="3" valign="top">
 
    <table width="1028" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="54" background="images/bg1_06.jpg"  height="60" ></td>
        <td width="366" background="images/bg1_07.jpg"  height="60" ><marquee direction="left" scrolldelay="140"><font color="#FFFFFF">++ยินดีต้อนรับเข้าสู่เว็บไซด์แผนกคอมพิวเตอร์ธุรกิจ วิทยาลัยเทคนิคน่าน++</font></marquee></td>
        <td width="119"><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image19','','images/bg1_08.jpg',1)"><img src="images/bg333_08.jpg" name="Image19" width="119" height="60" border="0" id="Image19" /></a></td>
        <td width="103"><a href="news.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image20','','images/bg1_09.jpg',1)"><img src="images/bg333_09.jpg" name="Image20" width="103" height="60" border="0" id="Image20" /></a></td>
        <td width="118"><a href="webboard.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image21','','images/bg1_10.jpg',1)"><img src="images/bg333_10.jpg" name="Image21" width="118" height="60" border="0" id="Image21" /></a></td>
        <td width="113"><a href="guesbook.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image22','','images/bg1_11.jpg',1)"><img src="images/bg333_11.jpg" name="Image22" width="113" height="60" border="0" id="Image22" /></a></td>
        <td width="154"><a href="main.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image23','','images/bg1_12.jpg',1)"><img src="images/bg333_12.jpg" name="Image23" width="155" height="60" border="0" id="Image23" /></a></td>
      </tr>
    </table></td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3" valign="top"><img src="images/bg1_14.jpg" width="1028" height="59" /></td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td width="18" valign="top" background="images/bg1_15.jpg"  height="18" ></td>
    <td width="990" valign="top" bgcolor="#FEF4F2"><table width="987" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="253" valign="top">
        
        <?
        if($valid_user==""){
		include"login1.php";
		}else{
		
		?>
        <table width="250" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="253" height="7" valign="top" background="images/bg1_24.jpg" ><table width="250" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td colspan="2" align="center" background="images/mmm111_03.jpg" height="51" ><font color="#FFFFFF"><strong>รหัสนักศึกษา</strong>:<? echo"$id_stu"; ?></font></td>
                </tr>
              <tr>
                <td width="104" align="right">ชื่อ-สกุล:</td>
                <td width="146"><? echo"$name &nbsp;&nbsp;$surname"; ?>&nbsp;</td>
                </tr>
              <tr>
                <td align="right">เพศ:</td>
                <td><? 
				if($sex=="1"){
					echo"ชาย";
				}else{
					echo"หญิง";
				}
				?>&nbsp;</td>
                </tr>
              <tr>
                <td align="right">ระดับชั้น:</td>
                <td><?
    	if($edu=="c23"){
			echo "ปวช. 2 กลุ่ม 3";
		}else if($edu=="c24"){
			echo "ปวช. 2 กลุ่ม 4";
		}else if($edu=="c34"){
			echo "ปวช. 3 กลุ่ม 4";
		}else if($edu=="c35"){
			echo "ปวช. 3 กลุ่ม 5";
		}else if($edu=="c36"){
			echo "ปวช. 3 กลุ่ม 6";
		}else if($edu=="s11"){
			echo "ปวส. 1 กลุ่ม 1";
		}else if($edu=="s12"){
			echo "ปวส. 1 กลุ่ม 2";
		}else if($edu=="s21"){
			echo "ปวส. 2 กลุ่ม 1";
		}else{
			echo "ปวส. 2 กลุ่ม 2";
		}
	?>                  &nbsp;</td>
                </tr>
              <tr>
                <td colspan="2" align="center"><?
                if($pic==""){
					echo"<img src=images/picno.jpg border='0' widet='100' height='100'>";
				}else{
					echo"<img src='pic/$pic' border='0' width='100' height='100'>";
				}
				
				?>&nbsp;</td>
                </tr>
              <tr>
                <td colspan="2" align="center"><a href="logout.php">[ออกจากระบบ]</a></td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td><img src="images/bg1_30.jpg" width="253" height="14" /></td>
          </tr>
        </table>
        <?
		}
		?>
        <br />
        <table width="250" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="images/menu1_03.jpg" width="250" height="54" /></td>
            </tr>
          <tr>
            <td><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image12','','images/menu22_05.jpg',1)"><img src="images/menu1_05.jpg" name="Image12" width="250" height="44" border="0" id="Image12" /></a></td>
            </tr>
          <tr>
            <td><a href="news.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image13','','images/menu22_06.jpg',1)"><img src="images/menu1_06.jpg" name="Image13" width="250" height="49" border="0" id="Image13" /></a></td>
            </tr>
          <tr>
            <td><a href="teacher.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image24','','images/menu933_07.jpg',1)"><img src="images/menu90_07.jpg" name="Image24" width="250" height="49" border="0" id="Image24" /></a></td>
          </tr>
          <tr>
            <td><a href="gold.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image25','','images/menu933_08.jpg',1)"><img src="images/menu90_08.jpg" name="Image25" width="250" height="49" border="0" id="Image25" /></a></td>
            </tr>
          <tr>
            <td><a href="webboard.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image14','','images/menu22_07.jpg',1)"><img src="images/menu1_07.jpg" name="Image14" width="250" height="49" border="0" id="Image14" /></a></td>
            </tr>
          <tr>
            <td><a href="guesbook.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image15','','images/menu22_08.jpg',1)"><img src="images/menu1_08.jpg" name="Image15" width="250" height="47" border="0" id="Image15" /></a></td>
          </tr>
          <tr>
            <td><a href="homeroom1.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image16','','images/menu22_09.jpg',1)"><img src="images/menu1_09.jpg" name="Image16" width="250" height="44" border="0" id="Image16" /></a></td>
          </tr>
          <tr>
            <td><a href="main.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image17','','images/menu22_10.jpg',1)"><img src="images/menu1_10.jpg" name="Image17" width="250" height="44" border="0" id="Image17" /></a></td>
          </tr>
          <tr>
            <td><a href="admin.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image18','','images/menu22_11.jpg',1)"><img src="images/menu1_11.jpg" name="Image18" width="250" height="49" border="0" id="Image18" /></a></td>
          </tr>
          <tr>
            <td><img src="images/menu1_13.jpg" width="250" height="18" /></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table>
        <table width="253" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="610" height="50" align="center" background="images/bg1_27.jpg" ><font color="#FFFFFF"><strong>เว็บไซด์ที่เกี่ยวข้อง</strong></font></td>
            </tr>
          <tr>
            <td background="images/bg1_24.jpg" width="253" height="7" ><table width="253" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="26">&nbsp;</td>
                <td width="224"><a href="http://www.technicnan.ac.th/nan_ntc/kon/index1.html">&lt;&lt;แผนกช่างกลโรงงาน</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/Electrical/indext.html">&lt;&lt;แผนกช่างไฟฟ้ากำลัง</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/kosrang/index.php">&lt;&lt;แผนกช่างก่อสร้าง</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/account/index.html">&lt;&lt;แผนกวิชาการบัญชี</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/Laka/index.html">&lt;&lt;แผนกวิชาการเลขานุการ</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/Hotel/index.php">&lt;&lt;แผนกวิชาการโรงแรมและการท่องเที่ยว</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/maketing/index.php">&lt;&lt;แผนกวิชาการตลาด</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/clote/index.html">&lt;&lt;แผนกวิชาผ้าและเครื่องแต่งกาย</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/food/index.html">&lt;&lt;แผนกวิชาอาหารและโภชนาการ</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/english/index.php">&lt;&lt;แผนกวิชาภาษาอังกฤษ</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/ntc/index.php">&lt;&lt;แผนกวิชาคอมพิวเตอร์ธุรกิจ</a></td>
              </tr>
              <tr>
                <td colspan="2"><img src="images/bg1_30.jpg" width="253" height="14" /></td>
              </tr>
            </table></td>
            </tr>
        </table>
        <table width="250" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>&nbsp;<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FNan-Technical-College-NTC%2F484862971526750&amp;width=240&amp;height=290&amp;show_faces=true&amp;colorscheme=light&amp;stream=false&amp;border_color&amp;header=true" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:240px; height:290px;" allowTransparency="true"></iframe></td>
          </tr>
        </table></td>
        <td width="550" align="left" valign="top">
       <table width="184" border="0" align="center" cellpadding="0" cellspacing="0">
         <tr>
           <td><iframe src="https://www.facebook.com/plugins/like.php?href=http://www.technicnan.ac.th"
        scrolling="No" frameborder="0"
        style="border:none; width:450px; height:80px"></iframe>
             &nbsp;</td>
         </tr>
       </table>
<table width="550" border="0" cellspacing="0" cellpadding="0">
  <tr>
            <td><object id="FlashID2" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="200">
              <param name="movie" value="images/banner.swf" />
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="6.0.65.0" />
              <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
              <!--[if !IE]>-->
              <object type="application/x-shockwave-flash" data="images/banner.swf" width="550" height="200">
                <!--<![endif]-->
                <param name="quality" value="high" />
                <param name="wmode" value="opaque" />
                <param name="swfversion" value="6.0.65.0" />
                <param name="expressinstall" value="Scripts/expressInstall.swf" />
                <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                <div>
                  <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                  <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
                </div>
                <!--[if !IE]>-->
              </object>
              <!--<![endif]-->
            </object></td>
          </tr>
      </table>
<table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
            <td colspan="3" background="images/new_02.jpg" width="671" height="48" ></td>
          </tr>
          <tr>
            <td colspan="3"><table width="550" border="0" align="center" cellpadding="2" cellspacing="0">
              <?
			
              $sql2="select * from tb_news order by day_news desc LIMIT 4";
			  $result2=mysql_query($sql2);
			 $no=1;
			  while($read_data2=mysql_fetch_array($result2)){
				  $name_news=$read_data2[name_news];
				  $day_news=$read_data2[day_news];
				  $photo=$read_data2[photo];
				  $id_news=$read_data2[id_news];
			  ?>
              <tr>
                <td width="112" rowspan="2" align="center" bgcolor="#66FFFF" style="border:dashed #009 1px"><?
                if($photo==""){
					echo"<img src=images/picno.jpg border='0' widet='70' height='70'>";
				}else{
					echo"<img src='pic/news/$photo' border='0' width='70' height='70'>";
				}
				
				?>
                  </a></td>
                <td width="539" bgcolor="#66FFFF" style="border-bottom:dashed #000 1px" onmouseover="this.bgColor='#33CCCC'" onmouseout="this.bgColor='#66FFFF'"><strong>หัวข้อข่าว:</strong> <? echo"<a href='detail_news.php?id_news=$id_news'>$name_news"; ?>&nbsp;</a><? echo"<img src=images/news3.gif border='0' widet='50' height='50'>";?></td>
              </tr>
              <tr>
                <td align="right" bgcolor="#66FFFF" style="border-bottom:dashed #000 1px" onmouseover="this.bgColor='#33CCCC'" onmouseout="this.bgColor='#66FFFF'"><strong>วันที่โพสข่าว:</strong><? echo"$day_news"; ?>&nbsp;</td>
              </tr>
              <?
                $no++;
			  }
				?>
            </table></td>
          </tr>
          <tr>
            <td colspan="3" background="images/new_05.jpg" width="671" height="5" ></td>
          </tr>
      </table>
          <br />
          <table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td background="images/new_07.jpg" width="671" height="45" ></td>
            </tr>
            <tr>
              <td><table width="550" border="0" align="center" cellpadding="2" cellspacing="0">
                <?
			
              $sql3="select * from tb_kidjakam  order by day_kid desc LIMIT 5";
			  $result3=mysql_query($sql3);
			 $no=1;
			  while($read_data3=mysql_fetch_array($result3)){
				  $name_kid=$read_data3[name_kid];
				  $day_kid=$read_data3[day_kid];
				  $photo1=$read_data3[photo1];
				  $id_kid=$read_data3[id_kid];
				  $t_time=$read_data3[t_time];
			  ?>
                <tr>
                  <td width="112" rowspan="2" align="center" bgcolor="#66FFFF" style="border:dashed #009 1px"><?
                if($photo1==""){
					echo"<img src=images/picno.jpg border='0' widet='70' height='70'>";
				}else{
					echo"<img src='pic/kid/$photo1' border='0' width='70' height='70'>";
				}
				
				?>
                    </a></td>
                  <td width="539" bgcolor="#66FFFF" style="border-bottom:dashed #000 1px" onmouseover="this.bgColor='#33CCCC'" onmouseout="this.bgColor='#66FFFF'"><strong>หัวข้อกิจกรรม:</strong> <? echo"<a href='detail_kid.php?id_kid=$id_kid'>$name_kid"; ?>&nbsp;</a><? echo"<img src=images/news04.gif border='0' widet='20' height='20'>";?></td>
                </tr>
                <tr>
                  <td align="right" bgcolor="#66FFFF" style="border-bottom:dashed #000 1px" onmouseover="this.bgColor='#33CCCC'" onmouseout="this.bgColor='#66FFFF'"><strong>วันที่โพสกิจกรรม:</strong><? echo"$day_kid"; ?> <strong>เวลา:</strong><? echo"$t_time"; ?>&nbsp;</td>
                </tr>
                <?
                $no++;
			  }
				?>
              </table></td>
            </tr>
            <tr>
              <td background="images/new_09.png" width="671" height="5" ></td>
            </tr>
          </table>
          <br />
          <table width="550" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td background="images/newsree_11.jpg" width="680" height="30" ></td>
            </tr>
            <tr>
              <td><table width="550" border="0" cellspacing="0" cellpadding="0">
                <?
			
              $sql4="select * from tb_newrchee order by day_rchee desc  LIMIT 6";
			  $result4=mysql_query($sql4);
			 $no=1;
			  while($read_data4=mysql_fetch_array($result4)){
				  $name_rchee=$read_data4[name_rchee];
				  $day_rchee=$read_data4[day_rchee];
				  $pic1=$read_data4[pic1];
				  $id_rchee=$read_data4[id_rchee];
			  ?>
                <tr>
                  <td bgcolor="#FEF4F2"  onmouseover="this.bgColor='#33CCCC'" onmouseout="this.bgColor='#66FFFF'"><table width="550" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="106" align="center" style="border-bottom:dashed #000 1px"><?
      
					echo"<img src=images/rcheewa.png border='0' widet='40' height='40'>";
							
				?>
                        </span></td>
                      <td width="323" align="left" style="border-bottom:dashed #000 1px"><? echo"<a href='detail_rchee.php?id_rchee=$id_rchee'>$name_rchee"; ?></span></td>
                      <td width="121" style="border-bottom:dashed #000 1px"><? echo"$day_rchee"; ?>
                        </span></td>
                    </tr>
                  </table></td>
                </tr>
                <?
                  $no++;
			  }
				  ?>
              </table></td>
            </tr>
            <tr>
              <td bgcolor="#014262">&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
            </tr>
          </table>
          <br />
          <br />
          <br /></td>
        <td width="184" align="left" valign="top"><table width="184" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center"><img src="images/s1.jpg" width="147" height="207" /></td>
            </tr>
        </table>          <br />
        <table width="184" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td align="center"><SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var now = new Date();
var month_array = new Array("มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม");
document.write("<form name=date_list><table bgcolor=silver><tr><td>");
document.write("<select name=month onchange=change_month(this.options.selectedIndex)>");
for(i=0;i<month_array.length;i++)
{
 if (now.getMonth() != i)
 {document.write ("<option value="+i+">"+month_array[i]);}
 else
 {document.write ("<option value="+i+" selected>"+month_array[i]);}

}
document.write("</select>");
document.write("</td><td>");
document.write ("<select name=year onchange=change_year(this.options[this.options.selectedIndex])>");
for(i=1950;i<3000;i++)
{
 if (now.getYear() != i)
 {document.write("<option value="+i+">"+i);}
 else
 {document.write("<option value="+i+" selected>"+i);}
}
document.write("</select></td></tr><tr><td colspan=2><center>");

document.write("<table bgcolor=white border=0 cellspacing = 0 cellpading = 0 width=100%><tr bgcolor=gray align=center>");
document.write("<td><font color=black>จ</font></td><td><font color=black>อ</td><td><font color=black>พ</td><td><font color=black>พฤ</td><td><font color=black>ศ</td><td ><font color=black>ส</td><td ><font color=black>อ</td>");
document.write("</tr><tr>");
for(j=0;j<6;j++)
{
 for(i=0;i<7;i++)
 {
   document.write("<td align=center id=d"+i+"r"+j+"></td>")
 }
 document.write("</tr>");
}

document.write("</table>");

document.write("</center></from></td></tr></table>");

var show_date = new Date();

function set_cal(show_date)
{
begin_day = new Date (show_date.getYear(),show_date.getMonth(),1);
begin_day_date = begin_day.getDay();
end_day = new Date (show_date.getYear(),show_date.getMonth()+1,1);
count_day = (end_day - begin_day)/1000/60/60/24;
input_table(begin_day_date,count_day);
}
set_cal(show_date);

function input_table(begin,count)
{
init();
j=0;
if (begin!=0){i=begin-1;}else{i=6}
for (c=1;c<count+1;c++)
{
 colum_name = eval("d"+i+"r"+j);
 if ((now.getDate() == c)&&(show_date.getMonth() == now.getMonth())&&(show_date.getYear() == now.getYear())) {colum_name.style.backgroundColor = "blue";colum_name.style.color = "white";};
 colum_name.innerText =  c;
 i++;
 if (i==7){i=0;j++;}
}
}

function init()
{
for(j=0;j<6;j++)
{
 for(i=0;i<7;i++)
 {
 colum_name = eval("d"+i+"r"+j);
 colum_name.innerText =  "-";
 colum_name.style.backgroundColor ="";
 colum_name.style.color ="";
 }
}
}

function change_month(sel_month)
{
show_date = new Date(show_date.getYear(),sel_month,1);
set_cal(show_date);
}

function change_year(sel_year)
{
sel_year = sel_year.value;
show_date = new Date(sel_year,show_date.getMonth(),1);
set_cal(show_date);
}
//  End -->
</script>&nbsp;</td>
          </tr>
          <tr>
            <td align="center">&nbsp;<embed src="http://www.respectsoft.com/onlineclock/digitalclock.swf" width="150" height="70" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent"></embed></td>
          </tr>
          <tr>
            <td align="center">&nbsp;</td>
          </tr>
        </table>
        <table width="184" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td><img src="images/g_counter_01.jpg" width="184" height="53" /></td>
          </tr>
          <tr>
            <td align="center" background="images/g_counter_03.jpg" width="184" height="12" ><h2>
              <? include"g_counter.php"; ?>
            </h2></td>
          </tr>
          <tr>
            <td><img src="images/g_counter_05.jpg" width="184" height="18" /></td>
          </tr>
        </table>
        <br /></td>
      </tr>
    </table></td>
    <td width="20" valign="top" background="images/bg1_17.jpg"  height="18" ></td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3" valign="top" background="images/bg1_32.jpg" width="1028" height="71" >&nbsp;</td>
    <td valign="top">&nbsp;</td>
  </tr>
</table>
<script type="text/javascript">
swfobject.registerObject("FlashID");
swfobject.registerObject("FlashID2");
</script>


<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/th_TH/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>


</body>
</html>


กรุณาช่วยด้วยครับเหลือตัวสุดท้ายแล้วครับจะเสร็จแล้ว



Tag : PHP









ประวัติการแก้ไข
2013-03-12 13:20:19
Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 2013-03-12 13:18:34 By : hoyahoya View : 1109 Reply : 13
 

 

No. 1



โพสกระทู้ ( 113 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook

ท่านใดที่ได้ช่วยหน่อยนะครับ






แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2013-03-12 14:06:04 By : hoyahoya
 


 

No. 2



โพสกระทู้ ( 3,748 )
บทความ ( 0 )

สมาชิกที่ใส่เสื้อไทยครีเอท Hall of Fame 2012

สถานะออฟไลน์
Facebook

เข้ามางง ให้ทำอะไร????
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2013-03-12 14:11:07 By : Dragons_first
 

 

No. 3



โพสกระทู้ ( 113 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook

fancybox ครับ ตอนไม่ใส่ code ก็ปกติครับ พอใส่ code มันแตกครับ ดูรูปภาพประกอบนะครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2013-03-12 14:15:27 By : hoyahoya
 


 

No. 4



โพสกระทู้ ( 3,748 )
บทความ ( 0 )

สมาชิกที่ใส่เสื้อไทยครีเอท Hall of Fame 2012

สถานะออฟไลน์
Facebook

css ชนกันหรือเปล่าครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2013-03-12 14:48:35 By : Dragons_first
 


 

No. 5



โพสกระทู้ ( 336 )
บทความ ( 0 )

สมาชิกที่ใส่เสื้อไทยครีเอท

สถานะออฟไลน์


แนะนำให้ใช้เป็น div ดีกว่าคับ Table มันแตก เขียน Css เข้าไป ไม่ทราบว่า ขอ Code Table ทีี่มันแตกหน่อยครับเดียวเขียน div ให้คับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2013-03-12 15:09:12 By : nukedonut1
 


 

No. 6



โพสกระทู้ ( 336 )
บทความ ( 0 )

สมาชิกที่ใส่เสื้อไทยครีเอท

สถานะออฟไลน์


โอ้ ผมก็เรียนเทคนิคน่านเหมือนกันแหะ เดียวช่วยเต็มที่
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2013-03-12 15:09:52 By : nukedonut1
 


 

No. 7



โพสกระทู้ ( 113 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook

Code (PHP)
<?
session_start();
include"config.inc.php";
$sql="select * from com_person where id_card='$valid_user'";
$result=mysql_query($sql);
$read_data=mysql_fetch_array($result);
$id_stu=$read_data[id_stu];
$name=$read_data[name];
$surname=$read_data[surname];
$edu=$read_data[edu];
$sex=$read_data[sex];
$pic=$read_data[pic];
$id_card=$read_data[id_card];

?>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<title>.::ยินดีต้อนรับสู่เว็บไซต์แผนกคอมพิวเตอร์ธุรกิจ วิทยาลัยเทคนิคน่าน</title>
<script type="text/javascript" src="scripts/jquery-1.4.3.min.js"></script>
	<script type="text/javascript" src="fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
	<script type="text/javascript" src="fancybox/jquery.fancybox-1.3.4.pack.js"></script>
	<link rel="stylesheet" type="text/css" href="fancybox/jquery.fancybox-1.3.4.css" media="screen" />
 	<link rel="stylesheet" href="style/style.css" />
	<script type="text/javascript">
	  $(document).ready(function() {
		$.fancybox({
			'width': '600',
            'height': '600',
			'hideOnOverlayClick': false,
			'showCloseButton': false,
			'autoDimensions': false,
			'showCloseButton'   : true,
			'scrolling': 'no',
			'content': '<img src="pic/kid/0M40.jpg">'
        });
    });
</script>

<style type="text/css">
body,td,th {
	font-family: tahoma;
	font-size: 13px;
	color: #000;
}
body {
	background-color: #D6D1FC;

}
.fontmenu11 {
	font-size: 16px;
}
.fontmenu11 strong {
	font-size: 24px;
}
a:link {
	color: #006;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #006;
}
a:hover {
	text-decoration: none;
	color: #F00;
}
a:active {
	text-decoration: none;
}
.font22 {
	color: #FFF;
}
</style>




<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>



<body onload="MM_preloadImages('images/menu22_08.jpg','images/menu22_09.jpg','images/menu22_10.jpg','images/menu22_11.jpg','images/menu22_05.jpg','images/menu22_06.jpg','images/menu22_07.jpg','images/bg1_08.jpg','images/bg1_09.jpg','images/bg1_10.jpg','images/bg1_11.jpg','images/bg1_12.jpg','images/menu933_07.jpg','images/menu933_08.jpg')">
<table width="1047" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="3" valign="top"><table width="250" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="images/bg1_02.jpg" width="613" height="50" /></td>
        <td><img src="images/bg1_03.jpg" width="415" height="50" /></td>
      </tr>
    </table></td>
    <td width="19" valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3" valign="top"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1028" height="200">
      <param name="movie" value="images/head1.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="6.0.65.0" />
      <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
      <param name="expressinstall" value="Scripts/expressInstall.swf" />
      <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="images/head1.swf" width="1028" height="200">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="6.0.65.0" />
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
        <div>
          <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
          <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
        </div>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object></td>
    <td valign="top">&nbsp;</td>
  </tr>
  
  
  
  
  
  <tr>
    <td colspan="3" valign="top">
 
    <table width="1028" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="54" background="images/bg1_06.jpg"  height="60" ></td>
        <td width="366" background="images/bg1_07.jpg"  height="60" ><marquee direction="left" scrolldelay="140"><font color="#FFFFFF">++ยินดีต้อนรับเข้าสู่เว็บไซด์แผนกคอมพิวเตอร์ธุรกิจ วิทยาลัยเทคนิคน่าน++</font></marquee></td>
        <td width="119"><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image19','','images/bg1_08.jpg',1)"><img src="images/bg333_08.jpg" name="Image19" width="119" height="60" border="0" id="Image19" /></a></td>
        <td width="103"><a href="news.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image20','','images/bg1_09.jpg',1)"><img src="images/bg333_09.jpg" name="Image20" width="103" height="60" border="0" id="Image20" /></a></td>
        <td width="118"><a href="webboard.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image21','','images/bg1_10.jpg',1)"><img src="images/bg333_10.jpg" name="Image21" width="118" height="60" border="0" id="Image21" /></a></td>
        <td width="113"><a href="guesbook.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image22','','images/bg1_11.jpg',1)"><img src="images/bg333_11.jpg" name="Image22" width="113" height="60" border="0" id="Image22" /></a></td>
        <td width="154"><a href="main.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image23','','images/bg1_12.jpg',1)"><img src="images/bg333_12.jpg" name="Image23" width="155" height="60" border="0" id="Image23" /></a></td>
      </tr>
    </table></td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3" valign="top"><img src="images/bg1_14.jpg" width="1028" height="59" /></td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td width="18" valign="top" background="images/bg1_15.jpg"  height="18" ></td>
    <td width="990" valign="top" bgcolor="#FEF4F2"><table width="987" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="253" valign="top">
        
        <?
        if($valid_user==""){
		include"login1.php";
		}else{
		
		?>
        <table width="250" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="253" height="7" valign="top" background="images/bg1_24.jpg" ><table width="250" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td colspan="2" align="center" background="images/mmm111_03.jpg" height="51" ><font color="#FFFFFF"><strong>รหัสนักศึกษา</strong>:<? echo"$id_stu"; ?></font></td>
                </tr>
              <tr>
                <td width="104" align="right">ชื่อ-สกุล:</td>
                <td width="146"><? echo"$name &nbsp;&nbsp;$surname"; ?>&nbsp;</td>
                </tr>
              <tr>
                <td align="right">เพศ:</td>
                <td><? 
				if($sex=="1"){
					echo"ชาย";
				}else{
					echo"หญิง";
				}
				?>&nbsp;</td>
                </tr>
              <tr>
                <td align="right">ระดับชั้น:</td>
                <td><?
    	if($edu=="c23"){
			echo "ปวช. 2 กลุ่ม 3";
		}else if($edu=="c24"){
			echo "ปวช. 2 กลุ่ม 4";
		}else if($edu=="c34"){
			echo "ปวช. 3 กลุ่ม 4";
		}else if($edu=="c35"){
			echo "ปวช. 3 กลุ่ม 5";
		}else if($edu=="c36"){
			echo "ปวช. 3 กลุ่ม 6";
		}else if($edu=="s11"){
			echo "ปวส. 1 กลุ่ม 1";
		}else if($edu=="s12"){
			echo "ปวส. 1 กลุ่ม 2";
		}else if($edu=="s21"){
			echo "ปวส. 2 กลุ่ม 1";
		}else{
			echo "ปวส. 2 กลุ่ม 2";
		}
	?>                  &nbsp;</td>
                </tr>
              <tr>
                <td colspan="2" align="center"><?
                if($pic==""){
					echo"<img src=images/picno.jpg border='0' widet='100' height='100'>";
				}else{
					echo"<img src='pic/$pic' border='0' width='100' height='100'>";
				}
				
				?>&nbsp;</td>
                </tr>
              <tr>
                <td colspan="2" align="center"><a href="logout.php">[ออกจากระบบ]</a></td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td><img src="images/bg1_30.jpg" width="253" height="14" /></td>
          </tr>
        </table>
        <?
		}
		?>
        <br />
        <table width="250" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="images/menu1_03.jpg" width="250" height="54" /></td>
            </tr>
          <tr>
            <td><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image12','','images/menu22_05.jpg',1)"><img src="images/menu1_05.jpg" name="Image12" width="250" height="44" border="0" id="Image12" /></a></td>
            </tr>
          <tr>
            <td><a href="news.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image13','','images/menu22_06.jpg',1)"><img src="images/menu1_06.jpg" name="Image13" width="250" height="49" border="0" id="Image13" /></a></td>
            </tr>
          <tr>
            <td><a href="teacher.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image24','','images/menu933_07.jpg',1)"><img src="images/menu90_07.jpg" name="Image24" width="250" height="49" border="0" id="Image24" /></a></td>
          </tr>
          <tr>
            <td><a href="gold.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image25','','images/menu933_08.jpg',1)"><img src="images/menu90_08.jpg" name="Image25" width="250" height="49" border="0" id="Image25" /></a></td>
            </tr>
          <tr>
            <td><a href="webboard.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image14','','images/menu22_07.jpg',1)"><img src="images/menu1_07.jpg" name="Image14" width="250" height="49" border="0" id="Image14" /></a></td>
            </tr>
          <tr>
            <td><a href="guesbook.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image15','','images/menu22_08.jpg',1)"><img src="images/menu1_08.jpg" name="Image15" width="250" height="47" border="0" id="Image15" /></a></td>
          </tr>
          <tr>
            <td><a href="homeroom1.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image16','','images/menu22_09.jpg',1)"><img src="images/menu1_09.jpg" name="Image16" width="250" height="44" border="0" id="Image16" /></a></td>
          </tr>
          <tr>
            <td><a href="main.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image17','','images/menu22_10.jpg',1)"><img src="images/menu1_10.jpg" name="Image17" width="250" height="44" border="0" id="Image17" /></a></td>
          </tr>
          <tr>
            <td><a href="admin.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image18','','images/menu22_11.jpg',1)"><img src="images/menu1_11.jpg" name="Image18" width="250" height="49" border="0" id="Image18" /></a></td>
          </tr>
          <tr>
            <td><img src="images/menu1_13.jpg" width="250" height="18" /></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table>
        <table width="253" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="610" height="50" align="center" background="images/bg1_27.jpg" ><font color="#FFFFFF"><strong>เว็บไซด์ที่เกี่ยวข้อง</strong></font></td>
            </tr>
          <tr>
            <td background="images/bg1_24.jpg" width="253" height="7" ><table width="253" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="26">&nbsp;</td>
                <td width="224"><a href="http://www.technicnan.ac.th/nan_ntc/kon/index1.html">&lt;&lt;แผนกช่างกลโรงงาน</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/Electrical/indext.html">&lt;&lt;แผนกช่างไฟฟ้ากำลัง</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/kosrang/index.php">&lt;&lt;แผนกช่างก่อสร้าง</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/account/index.html">&lt;&lt;แผนกวิชาการบัญชี</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/Laka/index.html">&lt;&lt;แผนกวิชาการเลขานุการ</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/Hotel/index.php">&lt;&lt;แผนกวิชาการโรงแรมและการท่องเที่ยว</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/maketing/index.php">&lt;&lt;แผนกวิชาการตลาด</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/clote/index.html">&lt;&lt;แผนกวิชาผ้าและเครื่องแต่งกาย</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/food/index.html">&lt;&lt;แผนกวิชาอาหารและโภชนาการ</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/english/index.php">&lt;&lt;แผนกวิชาภาษาอังกฤษ</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/ntc/index.php">&lt;&lt;แผนกวิชาคอมพิวเตอร์ธุรกิจ</a></td>
              </tr>
              <tr>
                <td colspan="2"><img src="images/bg1_30.jpg" width="253" height="14" /></td>
              </tr>
            </table></td>
            </tr>
        </table>
        <table width="250" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>&nbsp;<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FNan-Technical-College-NTC%2F484862971526750&amp;width=240&amp;height=290&amp;show_faces=true&amp;colorscheme=light&amp;stream=false&amp;border_color&amp;header=true" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:240px; height:290px;" allowTransparency="true"></iframe></td>
          </tr>
        </table></td>
        <td width="550" align="left" valign="top">
       <table width="184" border="0" align="center" cellpadding="0" cellspacing="0">
         <tr>
           <td><iframe src="https://www.facebook.com/plugins/like.php?href=http://www.technicnan.ac.th"
        scrolling="No" frameborder="0"
        style="border:none; width:450px; height:80px"></iframe>
             &nbsp;</td>
         </tr>
       </table>
<table width="550" border="0" cellspacing="0" cellpadding="0">
  <tr>
            <td><object id="FlashID2" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="200">
              <param name="movie" value="images/banner.swf" />
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="6.0.65.0" />
              <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
              <!--[if !IE]>-->
              <object type="application/x-shockwave-flash" data="images/banner.swf" width="550" height="200">
                <!--<![endif]-->
                <param name="quality" value="high" />
                <param name="wmode" value="opaque" />
                <param name="swfversion" value="6.0.65.0" />
                <param name="expressinstall" value="Scripts/expressInstall.swf" />
                <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                <div>
                  <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                  <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
                </div>
                <!--[if !IE]>-->
              </object>
              <!--<![endif]-->
            </object></td>
          </tr>
      </table>
<table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
            <td colspan="3" background="images/new_02.jpg" width="671" height="48" ></td>
          </tr>
          <tr>
            <td colspan="3"><table width="550" border="0" align="center" cellpadding="2" cellspacing="0">
              <?
			
              $sql2="select * from tb_news order by day_news desc LIMIT 4";
			  $result2=mysql_query($sql2);
			 $no=1;
			  while($read_data2=mysql_fetch_array($result2)){
				  $name_news=$read_data2[name_news];
				  $day_news=$read_data2[day_news];
				  $photo=$read_data2[photo];
				  $id_news=$read_data2[id_news];
			  ?>
              <tr>
                <td width="112" rowspan="2" align="center" bgcolor="#66FFFF" style="border:dashed #009 1px"><?
                if($photo==""){
					echo"<img src=images/picno.jpg border='0' widet='70' height='70'>";
				}else{
					echo"<img src='pic/news/$photo' border='0' width='70' height='70'>";
				}
				
				?>
                  </a></td>
                <td width="539" bgcolor="#66FFFF" style="border-bottom:dashed #000 1px" onmouseover="this.bgColor='#33CCCC'" onmouseout="this.bgColor='#66FFFF'"><strong>หัวข้อข่าว:</strong> <? echo"<a href='detail_news.php?id_news=$id_news'>$name_news"; ?>&nbsp;</a><? echo"<img src=images/news3.gif border='0' widet='50' height='50'>";?></td>
              </tr>
              <tr>
                <td align="right" bgcolor="#66FFFF" style="border-bottom:dashed #000 1px" onmouseover="this.bgColor='#33CCCC'" onmouseout="this.bgColor='#66FFFF'"><strong>วันที่โพสข่าว:</strong><? echo"$day_news"; ?>&nbsp;</td>
              </tr>
              <?
                $no++;
			  }
				?>
            </table></td>
          </tr>
          <tr>
            <td colspan="3" background="images/new_05.jpg" width="671" height="5" ></td>
          </tr>
      </table>
          <br />
          <table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td background="images/new_07.jpg" width="671" height="45" ></td>
            </tr>
            <tr>
              <td><table width="550" border="0" align="center" cellpadding="2" cellspacing="0">
                <?
			
              $sql3="select * from tb_kidjakam  order by day_kid desc LIMIT 5";
			  $result3=mysql_query($sql3);
			 $no=1;
			  while($read_data3=mysql_fetch_array($result3)){
				  $name_kid=$read_data3[name_kid];
				  $day_kid=$read_data3[day_kid];
				  $photo1=$read_data3[photo1];
				  $id_kid=$read_data3[id_kid];
				  $t_time=$read_data3[t_time];
			  ?>
                <tr>
                  <td width="112" rowspan="2" align="center" bgcolor="#66FFFF" style="border:dashed #009 1px"><?
                if($photo1==""){
					echo"<img src=images/picno.jpg border='0' widet='70' height='70'>";
				}else{
					echo"<img src='pic/kid/$photo1' border='0' width='70' height='70'>";
				}
				
				?>
                    </a></td>
                  <td width="539" bgcolor="#66FFFF" style="border-bottom:dashed #000 1px" onmouseover="this.bgColor='#33CCCC'" onmouseout="this.bgColor='#66FFFF'"><strong>หัวข้อกิจกรรม:</strong> <? echo"<a href='detail_kid.php?id_kid=$id_kid'>$name_kid"; ?>&nbsp;</a><? echo"<img src=images/news04.gif border='0' widet='20' height='20'>";?></td>
                </tr>
                <tr>
                  <td align="right" bgcolor="#66FFFF" style="border-bottom:dashed #000 1px" onmouseover="this.bgColor='#33CCCC'" onmouseout="this.bgColor='#66FFFF'"><strong>วันที่โพสกิจกรรม:</strong><? echo"$day_kid"; ?> <strong>เวลา:</strong><? echo"$t_time"; ?>&nbsp;</td>
                </tr>
                <?
                $no++;
			  }
				?>
              </table></td>
            </tr>
            <tr>
              <td background="images/new_09.png" width="671" height="5" ></td>
            </tr>
          </table>
          <br />
          <table width="550" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td background="images/newsree_11.jpg" width="680" height="30" ></td>
            </tr>
            <tr>
              <td><table width="550" border="0" cellspacing="0" cellpadding="0">
                <?
			
              $sql4="select * from tb_newrchee order by day_rchee desc  LIMIT 6";
			  $result4=mysql_query($sql4);
			 $no=1;
			  while($read_data4=mysql_fetch_array($result4)){
				  $name_rchee=$read_data4[name_rchee];
				  $day_rchee=$read_data4[day_rchee];
				  $pic1=$read_data4[pic1];
				  $id_rchee=$read_data4[id_rchee];
			  ?>
                <tr>
                  <td bgcolor="#FEF4F2"  onmouseover="this.bgColor='#33CCCC'" onmouseout="this.bgColor='#66FFFF'"><table width="550" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="106" align="center" style="border-bottom:dashed #000 1px"><?
      
					echo"<img src=images/rcheewa.png border='0' widet='40' height='40'>";
							
				?>
                        </span></td>
                      <td width="323" align="left" style="border-bottom:dashed #000 1px"><? echo"<a href='detail_rchee.php?id_rchee=$id_rchee'>$name_rchee"; ?></span></td>
                      <td width="121" style="border-bottom:dashed #000 1px"><? echo"$day_rchee"; ?>
                        </span></td>
                    </tr>
                  </table></td>
                </tr>
                <?
                  $no++;
			  }
				  ?>
              </table></td>
            </tr>
            <tr>
              <td bgcolor="#014262">&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
            </tr>
          </table>
          <br />
          <br />
          <br /></td>
        <td width="184" align="left" valign="top"><table width="184" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center"><img src="images/s1.jpg" width="147" height="207" /></td>
            </tr>
        </table>          <br />
        <table width="184" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td align="center"><SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var now = new Date();
var month_array = new Array("มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม");
document.write("<form name=date_list><table bgcolor=silver><tr><td>");
document.write("<select name=month onchange=change_month(this.options.selectedIndex)>");
for(i=0;i<month_array.length;i++)
{
 if (now.getMonth() != i)
 {document.write ("<option value="+i+">"+month_array[i]);}
 else
 {document.write ("<option value="+i+" selected>"+month_array[i]);}

}
document.write("</select>");
document.write("</td><td>");
document.write ("<select name=year onchange=change_year(this.options[this.options.selectedIndex])>");
for(i=1950;i<3000;i++)
{
 if (now.getYear() != i)
 {document.write("<option value="+i+">"+i);}
 else
 {document.write("<option value="+i+" selected>"+i);}
}
document.write("</select></td></tr><tr><td colspan=2><center>");

document.write("<table bgcolor=white border=0 cellspacing = 0 cellpading = 0 width=100%><tr bgcolor=gray align=center>");
document.write("<td><font color=black>จ</font></td><td><font color=black>อ</td><td><font color=black>พ</td><td><font color=black>พฤ</td><td><font color=black>ศ</td><td ><font color=black>ส</td><td ><font color=black>อ</td>");
document.write("</tr><tr>");
for(j=0;j<6;j++)
{
 for(i=0;i<7;i++)
 {
   document.write("<td align=center id=d"+i+"r"+j+"></td>")
 }
 document.write("</tr>");
}

document.write("</table>");

document.write("</center></from></td></tr></table>");

var show_date = new Date();

function set_cal(show_date)
{
begin_day = new Date (show_date.getYear(),show_date.getMonth(),1);
begin_day_date = begin_day.getDay();
end_day = new Date (show_date.getYear(),show_date.getMonth()+1,1);
count_day = (end_day - begin_day)/1000/60/60/24;
input_table(begin_day_date,count_day);
}
set_cal(show_date);

function input_table(begin,count)
{
init();
j=0;
if (begin!=0){i=begin-1;}else{i=6}
for (c=1;c<count+1;c++)
{
 colum_name = eval("d"+i+"r"+j);
 if ((now.getDate() == c)&&(show_date.getMonth() == now.getMonth())&&(show_date.getYear() == now.getYear())) {colum_name.style.backgroundColor = "blue";colum_name.style.color = "white";};
 colum_name.innerText =  c;
 i++;
 if (i==7){i=0;j++;}
}
}

function init()
{
for(j=0;j<6;j++)
{
 for(i=0;i<7;i++)
 {
 colum_name = eval("d"+i+"r"+j);
 colum_name.innerText =  "-";
 colum_name.style.backgroundColor ="";
 colum_name.style.color ="";
 }
}
}

function change_month(sel_month)
{
show_date = new Date(show_date.getYear(),sel_month,1);
set_cal(show_date);
}

function change_year(sel_year)
{
sel_year = sel_year.value;
show_date = new Date(sel_year,show_date.getMonth(),1);
set_cal(show_date);
}
//  End -->
</script>&nbsp;</td>
          </tr>
          <tr>
            <td align="center">&nbsp;<embed src="http://www.respectsoft.com/onlineclock/digitalclock.swf" width="150" height="70" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent"></embed></td>
          </tr>
          <tr>
            <td align="center">&nbsp;</td>
          </tr>
        </table>
        <table width="184" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td><img src="images/g_counter_01.jpg" width="184" height="53" /></td>
          </tr>
          <tr>
            <td align="center" background="images/g_counter_03.jpg" width="184" height="12" ><h2>
              <? include"g_counter.php"; ?>
            </h2></td>
          </tr>
          <tr>
            <td><img src="images/g_counter_05.jpg" width="184" height="18" /></td>
          </tr>
        </table>
        <br /></td>
      </tr>
    </table></td>
    <td width="20" valign="top" background="images/bg1_17.jpg"  height="18" ></td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3" valign="top" background="images/bg1_32.jpg" width="1028" height="71" >&nbsp;</td>
    <td valign="top">&nbsp;</td>
  </tr>
</table>
<script type="text/javascript">
swfobject.registerObject("FlashID");
swfobject.registerObject("FlashID2");
</script>


<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/th_TH/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>


</body>
</html>

แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2013-03-12 15:12:57 By : hoyahoya
 


 

No. 8



โพสกระทู้ ( 336 )
บทความ ( 0 )

สมาชิกที่ใส่เสื้อไทยครีเอท

สถานะออฟไลน์


ขอใส่ style ตรง div เลยละกันจะได้รวดเร็ว
Code (PHP)
<?
session_start();
include"config.inc.php";
$sql="select * from com_person where id_card='$valid_user'";
$result=mysql_query($sql);
$read_data=mysql_fetch_array($result);
$id_stu=$read_data[id_stu];
$name=$read_data[name];
$surname=$read_data[surname];
$edu=$read_data[edu];
$sex=$read_data[sex];
$pic=$read_data[pic];
$id_card=$read_data[id_card];

?>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>.::ยินดีต้อนรับสู่เว็บไซต์แผนกคอมพิวเตอร์ธุรกิจ วิทยาลัยเทคนิคน่าน</title>
<script type="text/javascript" src="scripts/jquery-1.4.3.min.js"></script>
	<script type="text/javascript" src="fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
	<script type="text/javascript" src="fancybox/jquery.fancybox-1.3.4.pack.js"></script>
	<link rel="stylesheet" type="text/css" href="fancybox/jquery.fancybox-1.3.4.css" media="screen" />
 	<link rel="stylesheet" href="style/style.css" />
	<script type="text/javascript">
	  $(document).ready(function() {
		$.fancybox({
			'width': '600',
            'height': '600',
			'hideOnOverlayClick': false,
			'showCloseButton': false,
			'autoDimensions': false,
			'showCloseButton'   : true,
			'scrolling': 'no',
			'content': '<img src="pic/kid/0M40.jpg">'
        });
    });
</script>

<style type="text/css">
body,td,th {
	font-family: tahoma;
	font-size: 13px;
	color: #000;
}
body {
	background-color: #D6D1FC;

}
.fontmenu11 {
	font-size: 16px;
}
.fontmenu11 strong {
	font-size: 24px;
}
a:link {
	color: #006;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #006;
}
a:hover {
	text-decoration: none;
	color: #F00;
}
a:active {
	text-decoration: none;
}
.font22 {
	color: #FFF;
}
</style>




<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>



<body onload="MM_preloadImages('images/menu22_08.jpg','images/menu22_09.jpg','images/menu22_10.jpg','images/menu22_11.jpg','images/menu22_05.jpg','images/menu22_06.jpg','images/menu22_07.jpg','images/bg1_08.jpg','images/bg1_09.jpg','images/bg1_10.jpg','images/bg1_11.jpg','images/bg1_12.jpg','images/menu933_07.jpg','images/menu933_08.jpg')">
<table width="1047" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="3" valign="top"><table width="250" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="images/bg1_02.jpg" width="613" height="50" /></td>
        <td><img src="images/bg1_03.jpg" width="415" height="50" /></td>
      </tr>
    </table></td>
    <td width="19" valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3" valign="top"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1028" height="200">
      <param name="movie" value="images/head1.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="6.0.65.0" />
      <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
      <param name="expressinstall" value="Scripts/expressInstall.swf" />
      <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="images/head1.swf" width="1028" height="200">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="6.0.65.0" />
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
        <div>
          <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
          <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
        </div>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object></td>
    <td valign="top">&nbsp;</td>
  </tr>
  
  
  
  
  
  <tr>
    <td colspan="3" valign="top">
 
    <div>
    <div style="float:left;"><img src="images/bg1_06.jpg" /></div>
    <div style="float:left; background-image:images/bg1_07.jpg; height:60px; width:autopx;"><marquee direction="left" scrolldelay="140"><font color="#FFFFFF">++ยินดีต้อนรับเข้าสู่เว็บไซด์แผนกคอมพิวเตอร์ธุรกิจ วิทยาลัยเทคนิคน่าน++</font></marquee></div>
    <div style="float:right;"><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image19','','images/bg1_08.jpg',1)"><img src="images/bg333_08.jpg" name="Image19" width="119" height="60" border="0" id="Image19" /></a></div>
    <div style="float:right;"><a href="news.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image20','','images/bg1_09.jpg',1)"><img src="images/bg333_09.jpg" name="Image20" width="103" height="60" border="0" id="Image20" /></a></div>
     <div style="float:right;"><a href="webboard.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image21','','images/bg1_10.jpg',1)"><img src="images/bg333_10.jpg" name="Image21" width="118" height="60" border="0" id="Image21" /></a></div>
      <div style="float:right;"><a href="guesbook.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image22','','images/bg1_11.jpg',1)"><img src="images/bg333_11.jpg" name="Image22" width="113" height="60" border="0" id="Image22" /></a></div>
      <div style="float:right;"><a href="main.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image23','','images/bg1_12.jpg',1)"><img src="images/bg333_12.jpg" name="Image23" width="155" height="60" border="0" id="Image23" /></a></div>
    <div style="clear:both;"></div>
    </div></td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3" valign="top"><img src="images/bg1_14.jpg" width="1028" height="59" /></td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td width="18" valign="top" background="images/bg1_15.jpg"  height="18" ></td>
    <td width="990" valign="top" bgcolor="#FEF4F2"><table width="987" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="253" valign="top">
        
        <?
        if($valid_user==""){
		include"login1.php";
		}else{
		
		?>
        <table width="250" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="253" height="7" valign="top" background="images/bg1_24.jpg" ><table width="250" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td colspan="2" align="center" background="images/mmm111_03.jpg" height="51" ><font color="#FFFFFF"><strong>รหัสนักศึกษา</strong>:<? echo"$id_stu"; ?></font></td>
                </tr>
              <tr>
                <td width="104" align="right">ชื่อ-สกุล:</td>
                <td width="146"><? echo"$name &nbsp;&nbsp;$surname"; ?>&nbsp;</td>
                </tr>
              <tr>
                <td align="right">เพศ:</td>
                <td><? 
				if($sex=="1"){
					echo"ชาย";
				}else{
					echo"หญิง";
				}
				?>&nbsp;</td>
                </tr>
              <tr>
                <td align="right">ระดับชั้น:</td>
                <td><?
    	if($edu=="c23"){
			echo "ปวช. 2 กลุ่ม 3";
		}else if($edu=="c24"){
			echo "ปวช. 2 กลุ่ม 4";
		}else if($edu=="c34"){
			echo "ปวช. 3 กลุ่ม 4";
		}else if($edu=="c35"){
			echo "ปวช. 3 กลุ่ม 5";
		}else if($edu=="c36"){
			echo "ปวช. 3 กลุ่ม 6";
		}else if($edu=="s11"){
			echo "ปวส. 1 กลุ่ม 1";
		}else if($edu=="s12"){
			echo "ปวส. 1 กลุ่ม 2";
		}else if($edu=="s21"){
			echo "ปวส. 2 กลุ่ม 1";
		}else{
			echo "ปวส. 2 กลุ่ม 2";
		}
	?>                  &nbsp;</td>
                </tr>
              <tr>
                <td colspan="2" align="center"><?
                if($pic==""){
					echo"<img src=images/picno.jpg border='0' widet='100' height='100'>";
				}else{
					echo"<img src='pic/$pic' border='0' width='100' height='100'>";
				}
				
				?>&nbsp;</td>
                </tr>
              <tr>
                <td colspan="2" align="center"><a href="logout.php">[ออกจากระบบ]</a></td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td><img src="images/bg1_30.jpg" width="253" height="14" /></td>
          </tr>
        </table>
        <?
		}
		?>
        <br />
        <table width="250" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="images/menu1_03.jpg" width="250" height="54" /></td>
            </tr>
          <tr>
            <td><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image12','','images/menu22_05.jpg',1)"><img src="images/menu1_05.jpg" name="Image12" width="250" height="44" border="0" id="Image12" /></a></td>
            </tr>
          <tr>
            <td><a href="news.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image13','','images/menu22_06.jpg',1)"><img src="images/menu1_06.jpg" name="Image13" width="250" height="49" border="0" id="Image13" /></a></td>
            </tr>
          <tr>
            <td><a href="teacher.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image24','','images/menu933_07.jpg',1)"><img src="images/menu90_07.jpg" name="Image24" width="250" height="49" border="0" id="Image24" /></a></td>
          </tr>
          <tr>
            <td><a href="gold.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image25','','images/menu933_08.jpg',1)"><img src="images/menu90_08.jpg" name="Image25" width="250" height="49" border="0" id="Image25" /></a></td>
            </tr>
          <tr>
            <td><a href="webboard.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image14','','images/menu22_07.jpg',1)"><img src="images/menu1_07.jpg" name="Image14" width="250" height="49" border="0" id="Image14" /></a></td>
            </tr>
          <tr>
            <td><a href="guesbook.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image15','','images/menu22_08.jpg',1)"><img src="images/menu1_08.jpg" name="Image15" width="250" height="47" border="0" id="Image15" /></a></td>
          </tr>
          <tr>
            <td><a href="homeroom1.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image16','','images/menu22_09.jpg',1)"><img src="images/menu1_09.jpg" name="Image16" width="250" height="44" border="0" id="Image16" /></a></td>
          </tr>
          <tr>
            <td><a href="main.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image17','','images/menu22_10.jpg',1)"><img src="images/menu1_10.jpg" name="Image17" width="250" height="44" border="0" id="Image17" /></a></td>
          </tr>
          <tr>
            <td><a href="admin.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image18','','images/menu22_11.jpg',1)"><img src="images/menu1_11.jpg" name="Image18" width="250" height="49" border="0" id="Image18" /></a></td>
          </tr>
          <tr>
            <td><img src="images/menu1_13.jpg" width="250" height="18" /></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table>
        <table width="253" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="610" height="50" align="center" background="images/bg1_27.jpg" ><font color="#FFFFFF"><strong>เว็บไซด์ที่เกี่ยวข้อง</strong></font></td>
            </tr>
          <tr>
            <td background="images/bg1_24.jpg" width="253" height="7" ><table width="253" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="26">&nbsp;</td>
                <td width="224"><a href="http://www.technicnan.ac.th/nan_ntc/kon/index1.html">&lt;&lt;แผนกช่างกลโรงงาน</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/Electrical/indext.html">&lt;&lt;แผนกช่างไฟฟ้ากำลัง</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/kosrang/index.php">&lt;&lt;แผนกช่างก่อสร้าง</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/account/index.html">&lt;&lt;แผนกวิชาการบัญชี</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/Laka/index.html">&lt;&lt;แผนกวิชาการเลขานุการ</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/Hotel/index.php">&lt;&lt;แผนกวิชาการโรงแรมและการท่องเที่ยว</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/maketing/index.php">&lt;&lt;แผนกวิชาการตลาด</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/clote/index.html">&lt;&lt;แผนกวิชาผ้าและเครื่องแต่งกาย</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/food/index.html">&lt;&lt;แผนกวิชาอาหารและโภชนาการ</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/english/index.php">&lt;&lt;แผนกวิชาภาษาอังกฤษ</a></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="http://www.technicnan.ac.th/nan_ntc/ntc/index.php">&lt;&lt;แผนกวิชาคอมพิวเตอร์ธุรกิจ</a></td>
              </tr>
              <tr>
                <td colspan="2"><img src="images/bg1_30.jpg" width="253" height="14" /></td>
              </tr>
            </table></td>
            </tr>
        </table>
        <table width="250" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>&nbsp;<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FNan-Technical-College-NTC%2F484862971526750&amp;width=240&amp;height=290&amp;show_faces=true&amp;colorscheme=light&amp;stream=false&amp;border_color&amp;header=true" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:240px; height:290px;" allowTransparency="true"></iframe></td>
          </tr>
        </table></td>
        <td width="550" align="left" valign="top">
       <table width="184" border="0" align="center" cellpadding="0" cellspacing="0">
         <tr>
           <td><iframe src="https://www.facebook.com/plugins/like.php?href=http://www.technicnan.ac.th"
        scrolling="No" frameborder="0"
        style="border:none; width:450px; height:80px"></iframe>
             &nbsp;</td>
         </tr>
       </table>
<table width="550" border="0" cellspacing="0" cellpadding="0">
  <tr>
            <td><object id="FlashID2" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="200">
              <param name="movie" value="images/banner.swf" />
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="6.0.65.0" />
              <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
              <!--[if !IE]>-->
              <object type="application/x-shockwave-flash" data="images/banner.swf" width="550" height="200">
                <!--<![endif]-->
                <param name="quality" value="high" />
                <param name="wmode" value="opaque" />
                <param name="swfversion" value="6.0.65.0" />
                <param name="expressinstall" value="Scripts/expressInstall.swf" />
                <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                <div>
                  <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                  <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
                </div>
                <!--[if !IE]>-->
              </object>
              <!--<![endif]-->
            </object></td>
          </tr>
      </table>
<table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
            <td colspan="3" background="images/new_02.jpg" width="671" height="48" ></td>
          </tr>
          <tr>
            <td colspan="3"><table width="550" border="0" align="center" cellpadding="2" cellspacing="0">
              <?
			
              $sql2="select * from tb_news order by day_news desc LIMIT 4";
			  $result2=mysql_query($sql2);
			 $no=1;
			  while($read_data2=mysql_fetch_array($result2)){
				  $name_news=$read_data2[name_news];
				  $day_news=$read_data2[day_news];
				  $photo=$read_data2[photo];
				  $id_news=$read_data2[id_news];
			  ?>
              <tr>
                <td width="112" rowspan="2" align="center" bgcolor="#66FFFF" style="border:dashed #009 1px"><?
                if($photo==""){
					echo"<img src=images/picno.jpg border='0' widet='70' height='70'>";
				}else{
					echo"<img src='pic/news/$photo' border='0' width='70' height='70'>";
				}
				
				?>
                  </a></td>
                <td width="539" bgcolor="#66FFFF" style="border-bottom:dashed #000 1px" onmouseover="this.bgColor='#33CCCC'" onmouseout="this.bgColor='#66FFFF'"><strong>หัวข้อข่าว:</strong> <? echo"<a href='detail_news.php?id_news=$id_news'>$name_news"; ?>&nbsp;</a><? echo"<img src=images/news3.gif border='0' widet='50' height='50'>";?></td>
              </tr>
              <tr>
                <td align="right" bgcolor="#66FFFF" style="border-bottom:dashed #000 1px" onmouseover="this.bgColor='#33CCCC'" onmouseout="this.bgColor='#66FFFF'"><strong>วันที่โพสข่าว:</strong><? echo"$day_news"; ?>&nbsp;</td>
              </tr>
              <?
                $no++;
			  }
				?>
            </table></td>
          </tr>
          <tr>
            <td colspan="3" background="images/new_05.jpg" width="671" height="5" ></td>
          </tr>
      </table>
          <br />
          <table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td background="images/new_07.jpg" width="671" height="45" ></td>
            </tr>
            <tr>
              <td><table width="550" border="0" align="center" cellpadding="2" cellspacing="0">
                <?
			
              $sql3="select * from tb_kidjakam  order by day_kid desc LIMIT 5";
			  $result3=mysql_query($sql3);
			 $no=1;
			  while($read_data3=mysql_fetch_array($result3)){
				  $name_kid=$read_data3[name_kid];
				  $day_kid=$read_data3[day_kid];
				  $photo1=$read_data3[photo1];
				  $id_kid=$read_data3[id_kid];
				  $t_time=$read_data3[t_time];
			  ?>
                <tr>
                  <td width="112" rowspan="2" align="center" bgcolor="#66FFFF" style="border:dashed #009 1px"><?
                if($photo1==""){
					echo"<img src=images/picno.jpg border='0' widet='70' height='70'>";
				}else{
					echo"<img src='pic/kid/$photo1' border='0' width='70' height='70'>";
				}
				
				?>
                    </a></td>
                  <td width="539" bgcolor="#66FFFF" style="border-bottom:dashed #000 1px" onmouseover="this.bgColor='#33CCCC'" onmouseout="this.bgColor='#66FFFF'"><strong>หัวข้อกิจกรรม:</strong> <? echo"<a href='detail_kid.php?id_kid=$id_kid'>$name_kid"; ?>&nbsp;</a><? echo"<img src=images/news04.gif border='0' widet='20' height='20'>";?></td>
                </tr>
                <tr>
                  <td align="right" bgcolor="#66FFFF" style="border-bottom:dashed #000 1px" onmouseover="this.bgColor='#33CCCC'" onmouseout="this.bgColor='#66FFFF'"><strong>วันที่โพสกิจกรรม:</strong><? echo"$day_kid"; ?> <strong>เวลา:</strong><? echo"$t_time"; ?>&nbsp;</td>
                </tr>
                <?
                $no++;
			  }
				?>
              </table></td>
            </tr>
            <tr>
              <td background="images/new_09.png" width="671" height="5" ></td>
            </tr>
          </table>
          <br />
          <table width="550" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td background="images/newsree_11.jpg" width="680" height="30" ></td>
            </tr>
            <tr>
              <td><table width="550" border="0" cellspacing="0" cellpadding="0">
                <?
			
              $sql4="select * from tb_newrchee order by day_rchee desc  LIMIT 6";
			  $result4=mysql_query($sql4);
			 $no=1;
			  while($read_data4=mysql_fetch_array($result4)){
				  $name_rchee=$read_data4[name_rchee];
				  $day_rchee=$read_data4[day_rchee];
				  $pic1=$read_data4[pic1];
				  $id_rchee=$read_data4[id_rchee];
			  ?>
                <tr>
                  <td bgcolor="#FEF4F2"  onmouseover="this.bgColor='#33CCCC'" onmouseout="this.bgColor='#66FFFF'"><table width="550" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="106" align="center" style="border-bottom:dashed #000 1px"><?
      
					echo"<img src=images/rcheewa.png border='0' widet='40' height='40'>";
							
				?>
                        </span></td>
                      <td width="323" align="left" style="border-bottom:dashed #000 1px"><? echo"<a href='detail_rchee.php?id_rchee=$id_rchee'>$name_rchee"; ?></span></td>
                      <td width="121" style="border-bottom:dashed #000 1px"><? echo"$day_rchee"; ?>
                        </span></td>
                    </tr>
                  </table></td>
                </tr>
                <?
                  $no++;
			  }
				  ?>
              </table></td>
            </tr>
            <tr>
              <td bgcolor="#014262">&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
            </tr>
          </table>
          <br />
          <br />
          <br /></td>
        <td width="184" align="left" valign="top"><table width="184" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center"><img src="images/s1.jpg" width="147" height="207" /></td>
            </tr>
        </table>          <br />
        <table width="184" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td align="center"><SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var now = new Date();
var month_array = new Array("มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม");
document.write("<form name=date_list><table bgcolor=silver><tr><td>");
document.write("<select name=month onchange=change_month(this.options.selectedIndex)>");
for(i=0;i<month_array.length;i++)
{
 if (now.getMonth() != i)
 {document.write ("<option value="+i+">"+month_array[i]);}
 else
 {document.write ("<option value="+i+" selected>"+month_array[i]);}

}
document.write("</select>");
document.write("</td><td>");
document.write ("<select name=year onchange=change_year(this.options[this.options.selectedIndex])>");
for(i=1950;i<3000;i++)
{
 if (now.getYear() != i)
 {document.write("<option value="+i+">"+i);}
 else
 {document.write("<option value="+i+" selected>"+i);}
}
document.write("</select></td></tr><tr><td colspan=2><center>");

document.write("<table bgcolor=white border=0 cellspacing = 0 cellpading = 0 width=100%><tr bgcolor=gray align=center>");
document.write("<td><font color=black>จ</font></td><td><font color=black>อ</td><td><font color=black>พ</td><td><font color=black>พฤ</td><td><font color=black>ศ</td><td ><font color=black>ส</td><td ><font color=black>อ</td>");
document.write("</tr><tr>");
for(j=0;j<6;j++)
{
 for(i=0;i<7;i++)
 {
   document.write("<td align=center id=d"+i+"r"+j+"></td>")
 }
 document.write("</tr>");
}

document.write("</table>");

document.write("</center></from></td></tr></table>");

var show_date = new Date();

function set_cal(show_date)
{
begin_day = new Date (show_date.getYear(),show_date.getMonth(),1);
begin_day_date = begin_day.getDay();
end_day = new Date (show_date.getYear(),show_date.getMonth()+1,1);
count_day = (end_day - begin_day)/1000/60/60/24;
input_table(begin_day_date,count_day);
}
set_cal(show_date);

function input_table(begin,count)
{
init();
j=0;
if (begin!=0){i=begin-1;}else{i=6}
for (c=1;c<count+1;c++)
{
 colum_name = eval("d"+i+"r"+j);
 if ((now.getDate() == c)&&(show_date.getMonth() == now.getMonth())&&(show_date.getYear() == now.getYear())) {colum_name.style.backgroundColor = "blue";colum_name.style.color = "white";};
 colum_name.innerText =  c;
 i++;
 if (i==7){i=0;j++;}
}
}

function init()
{
for(j=0;j<6;j++)
{
 for(i=0;i<7;i++)
 {
 colum_name = eval("d"+i+"r"+j);
 colum_name.innerText =  "-";
 colum_name.style.backgroundColor ="";
 colum_name.style.color ="";
 }
}
}

function change_month(sel_month)
{
show_date = new Date(show_date.getYear(),sel_month,1);
set_cal(show_date);
}

function change_year(sel_year)
{
sel_year = sel_year.value;
show_date = new Date(sel_year,show_date.getMonth(),1);
set_cal(show_date);
}
//  End -->
</script>&nbsp;</td>
          </tr>
          <tr>
            <td align="center">&nbsp;<embed src="http://www.respectsoft.com/onlineclock/digitalclock.swf" width="150" height="70" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent"></embed></td>
          </tr>
          <tr>
            <td align="center">&nbsp;</td>
          </tr>
        </table>
        <table width="184" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td><img src="images/g_counter_01.jpg" width="184" height="53" /></td>
          </tr>
          <tr>
            <td align="center" background="images/g_counter_03.jpg" width="184" height="12" ><h2>
              <? include"g_counter.php"; ?>
            </h2></td>
          </tr>
          <tr>
            <td><img src="images/g_counter_05.jpg" width="184" height="18" /></td>
          </tr>
        </table>
        <br /></td>
      </tr>
    </table></td>
    <td width="20" valign="top" background="images/bg1_17.jpg"  height="18" ></td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3" valign="top" background="images/bg1_32.jpg" width="1028" height="71" >&nbsp;</td>
    <td valign="top">&nbsp;</td>
  </tr>
</table>
<script type="text/javascript">
swfobject.registerObject("FlashID");
swfobject.registerObject("FlashID2");
</script>


<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/th_TH/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>


</body>
</html>

แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2013-03-12 15:27:02 By : nukedonut1
 


 

No. 9



โพสกระทู้ ( 336 )
บทความ ( 0 )

สมาชิกที่ใส่เสื้อไทยครีเอท

สถานะออฟไลน์


ได้หรือไม่ได้ยังไงก็บอกด้วยละกันคับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2013-03-12 15:30:51 By : nukedonut1
 


 

No. 10



โพสกระทู้ ( 113 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook

ยังไม่ได้ครับพี่
ยังไม่ได้ครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2013-03-12 15:44:06 By : hoyahoya
 


 

No. 11



โพสกระทู้ ( 336 )
บทความ ( 0 )

สมาชิกที่ใส่เสื้อไทยครีเอท

สถานะออฟไลน์


สะดวก Facebook ไหมคับเดียวช่วย
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2013-03-12 15:48:22 By : nukedonut1
 


 

No. 12



โพสกระทู้ ( 110 )
บทความ ( 0 )



สถานะออฟไลน์


1 ลองเอา <link rel="stylesheet" type="text/css" href="./fancybox/jquery.fancybox-1.3.4.css" media="screen" /> ออก
รันใหม่

2 เท่าที่ผมดูคุณกำหนด <td width="550" แต่ใน $.fancybox({ 'width': '600', ลองปรับเป็น 550

ถ้าเป็นการดีผมขอ link จริง จะลอง firebug ช่วยดูให้ครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2013-03-12 16:14:43 By : vissarud
 


 

No. 13



โพสกระทู้ ( 113 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook

สะดวกครับ ชื่อ facebook https://www.facebook.com/hoyahoyas
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2013-03-12 16:14:56 By : hoyahoya
 

   

ค้นหาข้อมูล


   
 

แสดงความคิดเห็น
Re : ช่วยผมด้วยครับท่านผู้ใดมีความรู้ช่วยด้วยครับตัวสุดท้ายแล้วครับถ้าแก้ได้ผมก็ำเสร็จแล้วครับกรุณาช่วยหน่อยครับ
 
 
รายละเอียด
 
ตัวหนา ตัวเอียง ตัวขีดเส้นใต้ ตัวมีขีดกลาง| ตัวเรืองแสง ตัวมีเงา ตัวอักษรวิ่ง| จัดย่อหน้าอิสระ จัดย่อหน้าชิดซ้าย จัดย่อหน้ากึ่งกลาง จัดย่อหน้าชิดขวา| เส้นขวาง| ขนาดตัวอักษร แบบตัวอักษร
ใส่แฟลช ใส่รูป ใส่ไฮเปอร์ลิ้งค์ ใส่อีเมล์ ใส่ลิ้งค์ FTP| ใส่แถวของตาราง ใส่คอลัมน์ตาราง| ตัวยก ตัวห้อย ตัวพิมพ์ดีด| ใส่โค้ด ใส่การอ้างถึงคำพูด| ใส่ลีสต์
smiley for :lol: smiley for :ken: smiley for :D smiley for :) smiley for ;) smiley for :eek: smiley for :geek: smiley for :roll: smiley for :erm: smiley for :cool: smiley for :blank: smiley for :idea: smiley for :ehh: smiley for :aargh: smiley for :evil:
Insert PHP Code
Insert ASP Code
Insert VB.NET Code Insert C#.NET Code Insert JavaScript Code Insert C#.NET Code
Insert Java Code
Insert Android Code
Insert Objective-C Code
Insert XML Code
Insert SQL Code
Insert Code
เพื่อความเรียบร้อยของข้อความ ควรจัดรูปแบบให้พอดีกับขนาดของหน้าจอ เพื่อง่ายต่อการอ่านและสบายตา และตรวจสอบภาษาไทยให้ถูกต้อง

อัพโหลดแทรกรูปภาพ

Notice

เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ
อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง

   
  เพื่อความปลอดภัยและการตรวจสอบ กระทู้ที่แทรกไฟล์อัพโหลดไฟล์จากที่อื่น อาจจะถูกลบทิ้ง
 
โดย
อีเมล์
บวกค่าให้ถูก
<= ตัวเลขฮินดูอารบิก เช่น 123 (หรือล็อกอินเข้าระบบสมาชิกเพื่อไม่ต้องกรอก)







Exchange: นำเข้าสินค้าจากจีน, Taobao, เฟอร์นิเจอร์, ของพรีเมี่ยม, ร่ม, ปากกา, power bank, แฟลชไดร์ฟ, กระบอกน้ำ

Load balance : Server 04
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่