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,028

HOME > PHP > PHP Forum > ช่วยด้วยคับ ทำไม มันไม่เป็นภาษาไทย Ajax Loading Progress Icon



 

ช่วยด้วยคับ ทำไม มันไม่เป็นภาษาไทย Ajax Loading Progress Icon

 



Topic : 058856



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



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




ช่วยด้วยคับ ทำไม มันไม่เป็นภาษาไทย

อย่างน้อยเช็คให้หน่อยนะคับ

อันนี้หน้า Index.php

Code
<?php
session_start();
include 'libs/Smarty.class.php';

require 'configure.inc.php';
require 'include\connect.class.php';
require 'include\functions.php';
require 'include\sec.class.php';
require 'include\login.class.php';
require 'include\shop.class.php';
require 'include\theme.class.php';

require 'edit/point.ini';
require 'edit/news.ini';
require 'edit/link.ini';

$CNeoLogin = new CNeoLogin;
$LogOn = $CNeoLogin->CheckLogOn();
$AdminOn = $CNeoLogin->CheckAdminOn();
?>

<?php
$CNeoSQL = new CNeoSQLConnect;
$CNeoSQL->ConnectRanGame();
$sql = sprintf("SELECT COUNT(*) as CharacterOnline FROM Chainfo WHERE ChaOnline = 1");
$query = $CNeoSQL->QueryRanGame($sql);
$UserOnline = odbc_result($query,"CharacterOnline");

$sql = sprintf("SELECT TOP ".$_CONFIG["TOP10"]." ChaName,ChaLevel,ChaMember FROM ChaInfo WHERE ChaDeleted = 0 ORDER BY ChaLevel DESC , ChaExp DESC");
$query1 = $CNeoSQL->QueryRanGame($sql);
?>
<!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><?php echo $_CONFIG["WEB_TITLE"]; ?></title>
<link href="themes/default.css" rel="stylesheet" type="text/css" /
<script src="java/ajax.js" type="text/javascript"></script>
<script src="java/default.js" type="text/javascript"></script>
<script type="text/javascript" src="dev2ran.css"></script>
<script language="javascript">
<!--
var HttPRequest = false;

	   function doCallAjax(ID) {
		  HttPRequest = false;
		  if (window.XMLHttpRequest) { // Mozilla, Safari,...
			 HttPRequest = new XMLHttpRequest();
			 if (HttPRequest.overrideMimeType) {
				HttPRequest.overrideMimeType('text/html');
			 }
		  } else if (window.ActiveXObject) { // IE
			 try {
				HttPRequest = new ActiveXObject("Msxml2.XMLHTTP");
			 } catch (e) {
				try {
				   HttPRequest = new ActiveXObject("Microsoft.XMLHTTP");
				} catch (e) {}
			 }
		  } 
		  
		  if (!HttPRequest) {
			 alert('Cannot create XMLHTTP instance');
			 return false;
		  }
	
		  var url = 'dev/news.php';
		  var pmeters = "tID="+ID;

			HttPRequest.open('POST',url,true);

			HttPRequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
			HttPRequest.setRequestHeader("Content-length", pmeters.length);
			HttPRequest.setRequestHeader("Connection", "close");
			HttPRequest.send(pmeters);
			
			//*** Loading (Client -> Server) ***//
		   document.getElementById("imgLoading").style.display = '';
		   document.getElementById("mySpan").style.display = 'none';
			
			HttPRequest.onreadystatechange = function()
			{


				 if(HttPRequest.readyState == 3)  // Loading Request (Server -> Client)
				  {
					   //*** Loading ***//
					   document.getElementById("imgLoading").style.display = '';
					   document.getElementById("mySpan").style.display = 'none';
				  }

				 if(HttPRequest.readyState == 4) // Return Request
				  {			 
						document.getElementById("imgLoading").style.display = 'none';
						document.getElementById("mySpan").style.display = '';					  
						document.getElementById('mySpan').innerHTML = HttPRequest.responseText;
				  }				
			}

	   }

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>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874"><style type="text/css">
<!--
body,td,th {
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 14px;
	color: #FFF;
}
body {
	background-color: #000000;
	background-image: url(images/background/topBG.png);
	background-attachment:fixed
}
}
a {
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 14px;
	color: #FFF;
}
a:visited {
	color: #FFFFFF;
	text-decoration: none;
}
a:hover {
	color: #FF0000;
	text-decoration: none;
}
a:active {
	color: #FFF;
	text-decoration: none;
}
.color1 {color:#FC0;
}
.text-white {	text-align: left;
}
td {
	text-align: center;
}
td {
	text-align: left;
}
td {
	text-align: center;
}
.style131 {	font-family: Tahoma;
	font-size: 10pt;
	color: #ffffff;
	font-weight: bold;
}
table {
	text-align: left;
}
body table tr td table tr td div table tr td table {
	text-align: center;
}
td {
}
#id {
	text-align: center;
}
.style131 {
	text-align: center;
}
#dev {
	text-align: center;
}
#dev {
	text-align: center;
}
#data {
	text-align: left;
}
#data .style131 {
	text-align: left;
}
.data {
	text-align: center;
}
#data .style131 {
	text-align: center;
}
#dev font {
	text-align: left;
}
#dev font {
	text-align: center;
}
#dez {
	text-align: left;
}
.sda {
	text-align: left;
}
.cebter {
	text-align: center;
}
#cen {
	text-align: center;
}
.cdd {
	text-align: center;
}
#data {
	font-size: 18px;
	text-align: center;
}
#apDiv1 {
	position:absolute;
	left:120px;
	top:191px;
	width:240px;
	height:4px;
	z-index:1;
	font-size: 24px;
}
#z {
	font-size: 24px;
}
#z {
	text-align: center;
}
.d {
	font-size: 14px;
}
table {
	font-size: 14px;
}
#x {
	text-align: center;
}
#zaqz {
	text-align: center;
}
#ta {
	font-size: 36px;
}
#asd {
	font-size: 36px;
}
#zesd {
	text-align: left;
}
#dzcaq {
	text-align: left;
}
#sadsad {
	text-align: left;
}
#sadsad {
	text-align: left;
}
.asdazca {
	text-align: center;
}
a:link {
	text-decoration: none;
	color: #FFFFFF;
}
.style3 {font-size: 12px; color: #FFFFFF; }
.style5 {color: #FFFFFF}
-->
</style></head>
<body Onload="JavaScript:doCallAjax('1');MM_preloadImages('images/button/index1.png' ,'images/button/register1.png','images/button/download1.png','images/button/rankings1.png' ,'images/button/refill1.png','images/button/forums1.png')">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="21%" valign="top"><table width="198" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="33" background="images/line/bg_status_head.png">ล็อกอิน</td>
        </tr>
        <tr>
          <td background="images/line/bg_status_center.png">
            <?php
				  if ( !$LogOn ){
				  ?>
            <form action="?ID=ID_LOGIN_SUBMIT" method="post" name="form2" id="form2">
              <table width="183" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td><input name="ID" type="text" class="dev2ran" id="ID" size="20" /></td>
                </tr>
                <tr>
                  <td><input name="PASS" type="password" class="dev2ran" id="PASS8" size="20" /></td>
                </tr>
                <tr>
                  <td><p>&nbsp; </p></td>
                </tr>
                <tr>
                  <td><p>
                      <input name="LOGIN" type="image" id="LOGIN7" src="images/button_website/login.png" width="100" height="30" border="0" />
                    </p>
                      <p>
                        <?php
getPAGEID();

if ( checkPAGEID(ID_PAGE_LOGIN) )
{
	if ( checkPAGELOGIN($LogOn) )
	require 'page/login.html';
}else if ( checkPAGEID(ID_PAGE_LOGIN_SUBMIT) )
{
	if ( checkPAGELOGIN($LogOn) )
	require 'include/page/login.php';
}

 ?>
                    </p></td>
                </tr>
              </table>
            </form>
            <?php
				  }
				  	?>
            <p>
              <?php
getPAGEID();

if ( $LogOn )
{
	$UserID = $CNeoLogin->GetUserID();
	$UserNum = $CNeoLogin->GetUserNum();
	$UserPoint = $CNeoLogin->GetPoint();
	$GameTime = $CNeoLogin->GetGameTime();
	printf("ไอดี: %s </a>",$UserID);
	printf("Point: %s </a>",$UserPoint);
}
 ?>
            </p>
            <table width="178" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td><div align="left"><span class="CollapsiblePanelContent">
                    <?php
if ( $LogOn )
{
			echo "<a href=".'"'.CONFIG_ID_PAGE.ID_PAGE_INDEX.'">'."• หน้าหลัก
<p></p>
                <a href=".'"'.CONFIG_ID_PAGE.ID_PAGE_CHANGEPASS.'">'."• เปลี่ยนพาสเวิร์ด
<p></p>
	<a href=".'"'.CONFIG_ID_PAGE.ID_PAGE_CHANGEPASS2.'">'."• เปลี่ยนพาสเวิร์ดลบตัวละคร
<p></p>
                <a href=".'"'.CONFIG_ID_PAGE.ID_PAGE_DISCONNECT.'">'."• แก้ ID ค้าง
<p></p>
	<a href=".'"'.CONFIG_ID_PAGE.ID_PAGE_ITEMSHOP.'">'."• ไอเทมช็อป
<p></p>
	<a href=".'"'.CONFIG_ID_PAGE.ID_PAGE_ONLINE.'">'."• ออนไลน์แลกพ้อย
	";
if ( $AdminOn )
echo "<p></p><a href=".'"'.CONFIG_ID_PAGE.ID_PAGE_ADMIN_INDEX.'">'."• Admin";
echo "
	<p></p><a href=".'"'.CONFIG_ID_PAGE.ID_PAGE_LOGOUT.'">'."• ออกจากระบบ";
}
else
echo "
	<br>\n";
echo "<br>\n";
getPAGEID();


?>
                </span> </div></td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td><div align="left"><img src="images/line/bg_status_bottom.png" width="198" height="33" /></div></td>
        </tr>
      </table>
        <table width="198" height="310" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="17">&nbsp;</td>
          </tr>
          <tr>
            <td height="70"><span class="asdazca"><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image261111','','images/button/index1.png',1)"><img src="images/button/index.png" name="Image261111" width="198" height="70" border="0" id="Image26" /></a></span></td>
          </tr>
          <tr>
            <td height="70"><span class="asdazca"><a href="?ID=ID_REGSTER" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image26111','','images/button/register1.png',1)"><img src="images/button/register.png" name="Image26111" width="198" height="70" border="0" id="Image26" /></a></span></td>
          </tr>
          <tr>
            <td height="70"><span class="asdazca"><a href="?ID=DOWNLOAD" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image2631','','images/button/download1.png',1)"><img src="images/button/download.png" name="Image2631" width="198" height="70" border="0" id="Image26" /></a></span></td>
          </tr>
          <tr>
            <td height="70"><span class="asdazca"><a href="?ID=RANKING" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image2641','','images/button/rankings1.png',1)"><img src="images/button/rankings.png" name="Image2641" width="198" height="70" border="0" id="Image26" /></a></span></td>
          </tr>
        </table>
        <table width="198" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="33" background="images/line/bg_status_head.png">วิทยุออนไลน์</td>
          </tr>
          <tr>
            <td background="images/line/bg_status_center.png"><p>&nbsp;</p>
                <p><a href="http://www.wink.in.th/showmusic/musicshowx.php" target="_blank" class="style5">รายชื่อเพลงที่กำลังเล่น</a></p>
                <p><a href="%3Ciframe%20width=%22259%22%20height=%2227%22%20frameborder=%220%22%20scrolling=%22no%22%20src=%22http://data.wink.in.th/framerequest-b.php%22%20%3E%3C/iframe%3E" target="_blank">ขอเพลงได้ที่นี่เลยจ้า</a></p></td>
          </tr>
          <tr>
            <td><img src="images/line/bg_status_bottom.png" width="198" height="33" /></td>
          </tr>
      </table></td>
    <td width="58%" valign="top"><div align="center">
        <div align="center">
          <div align="center">
            <div id="rh-col">
              <div id="r2" style="font-family: MS Sans Serif; size:14px"></div>
              <div id="r1" style="font-family: MS Sans Serif; size:14px"></div>
              <div id="r3" style="font-family: MS Sans Serif; size:14px"></div>
              <div id="r4" style="font-family: MS Sans Serif; size:14px"></div>
              <div id="r5" style="font-family: MS Sans Serif; size:14px">
                <table width="200" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><img src="images/line/bg_top.png" width="540" height="37" /></td>
                  </tr>
                  <tr>
                    <td background="images/line/bg_center.png"><?php
getPAGEID();

if ( checkPAGEID(ID_PAGE_LOGIN) )
{
	if ( checkPAGELOGIN($LogOn) )
	require 'page/login.html';
}else if ( checkPAGEID(ID_PAGE_CHAONLINE) )
{
	require 'include/page/chaonline.php';
}else if ( checkPAGEID(ID_PAGE_DOWNLOAD) )
{
	require 'page/download.html';
}else if ( checkPAGEID(ID_PAGE_TOP10) )
{
	require 'include/page/top10.php';
}else if ( checkPAGEID(ID_PAGE_RANKING) )
{
	require 'include/page/rank.php';
}else if ( checkPAGEID(ID_PAGE_LOGOUT) )
{
	if ( checkPAGELOGOUT($LogOn) )
	require 'include/page/logout.php';
}else if ( checkPAGEID(ID_PAGE_REGISTER) )
{
	if ( checkPAGEREGISTER($LogOn) )
	require 'page/register.html';
}else if ( checkPAGEID(ID_PAGE_REFILL) )
{
	if ( checkPAGEREGISTER($LogOn) )
	require 'page/refillcenter.php';
}else if ( checkPAGEID(ID_PAGE_REGISTER_SUBMIT) )
{
	if ( checkPAGEREGISTER($LogOn) )
	require 'include/page/register.php';
}else if ( checkPAGEID(ID_PAGE_CHANGEPASS) )
{
	if ( checkPAGECHANGEPASS($LogOn) )
	require 'page/changepass.html';
}else if ( checkPAGEID(ID_PAGE_CHANGEPASS_SUBMIT) )
{
	if ( checkPAGECHANGEPASS($LogOn) )
	require 'include/page/changepass.php';
}else if ( checkPAGEID(ID_PAGE_CHANGEPASS2) )
{
	if ( checkPAGECHANGEPASS2($LogOn) )
	require 'page/changepass2.html';
}else if ( checkPAGEID(ID_PAGE_CHANGEPASS2_SUBMIT) )
{
	if ( checkPAGECHANGEPASS2($LogOn) )
	require 'include/page/changepass2.php';
}else if ( checkPAGEID(ID_PAGE_DISCONNECT) )
{
	if ( checkPAGEDISCONNECT($LogOn) )
	require 'page/disconnect.html';
}else if ( checkPAGEID(ID_PAGE_DISCONNECT_SUBMIT) )
{
	if ( checkPAGEDISCONNECT($LogOn) )
	require 'include/page/disconnect.php';
}
/*ONLINE TIME EXCHANGE BEGIN*/
else if ( checkPAGEID(ID_PAGE_ONLINE) )
{
	if ( checkPAGEONLINE($LogOn) )
	require 'include/page/online.php';
}
else if ( checkPAGEID(ID_PAGE_ONLINE_SUBMIT) )
{
	if ( checkPAGEONLINE($LogOn) )
	require 'include/page/onlineex.php';
}
/*ONLINE TIME EXCHANGE END*/
/*ITEMsHOP BEGIN*/
else if ( checkPAGEID(ID_PAGE_ITEMSHOP) )
{
	if ( checkPAGEITEMSHOP($LogOn) )
	require 'include/page/itemshop.php';
}else if ( checkPAGEID(ID_PAGE_ITEMSHOP_VIEW) )
{
	$sub = $_GET["i"];
	$CNeoSQL = new CNeoInject;
	$sub = $CNeoSQL->sec_Int($sub);
	if ( checkPAGEITEMSHOP($LogOn) )
	require 'include/page/itemshop_view.php';
}else if ( checkPAGEID(ID_PAGE_ITEMSHOP_BUY) )
{
	$sub = $_GET["i"];
	$CNeoSQL = new CNeoInject;
	$sub = $CNeoSQL->sec_Int($sub);
	//if ( checkPAGEITEMSHOP($LogOn) )
	require 'include/page/itemshop_buy.php';
}
/*ITEMSHOP END*/
/*ADMIN PAGE BEGIN*/
else if ( checkPAGEID(ID_PAGE_ADMIN_INDEX) )
{
	if ( checkPAGEADMININDEX($LogOn) )
	require 'include/page/admin/home.php';
}else if ( checkPAGEID(ID_ADMIN_ITEMSHOP_ADDPOINT) )
{
	if ( checkPAGEADMININDEX($LogOn) )
	require 'include/page/admin/addpoint.php';
}else if ( checkPAGEID(ID_PAGE_ADMIN_UPLOAD) )
{
	if ( checkPAGEADMININDEX($LogOn) )
	require 'test.php';
}else if ( checkPAGEID(ID_PAGE_ADMIN_TEST) )
{
	if ( checkPAGEADMININDEX($LogOn) )
	require 'page/admin/uploadfile_add.php';
}else if ( checkPAGEID(ID_PAGE_ADMIN_ITEMSHOP_ADD) )
{
	if ( checkPAGEADMININDEX($LogOn) )
	require 'case/admin/itemshop_add.php';
}else if ( checkPAGEID(ID_PAGE_ADMIN_ITEMSHOP_EDIT) )
{
	if ( checkPAGEADMININDEX($LogOn) )
	require 'include/page/admin/itemshop_view.php';
}else if ( checkPAGEID(ID_PAGE_ADMIN_ITEMSHOP_EDIT_VIEW) )
{
	$CNeoProtect = new CNeoInject;
	$itemnum = $_GET["i"];
	$itemnum = $CNeoProtect->sec_Int($itemnum);
	$CNeoSQL = new CNeoSQLConnect;
	$CNeoSQL->ConnectRanWeb();
	$query = $CNeoSQL->QueryRanWeb("SELECT * FROM ItemList WHERE ItemNum = $itemnum");
	if ( $query )
	{
		$itemmain_value = odbc_result($query,"ItemMain");
		$itemsub_value = odbc_result($query,"ItemSub");
		$itemname_value = odbc_result($query,"ItemName");
		$itemcomment_value = odbc_result($query,"ItemComment");
		$itempiece_value = odbc_result($query,"ItemPiece");
		$itemstock_value = odbc_result($query,"ItemStock");
		$itemsubject_value = odbc_result($query,"SubNum");
		$itemimage_value = odbc_result($query,"ItemImagePath");
		$itemdelete_value = odbc_result($query,"ItemDelete");
		$hitemnum_value = $itemnum;
		if ( checkPAGEADMININDEX($LogOn) )
		require 'case/admin/itemshop_add.php';
		$CNeoSQL->CloseRanWeb();
	}
}else if ( checkPAGEID(ID_PAGE_ADMIN_ITEMSHOP_SUBJECT_EDIT_VIEW) or checkPAGEID(ID_PAGE_ADMIN_ITEMSHOP_SUBJECT_DEL_VIEW) )
{
	if ( checkPAGEADMININDEX($LogOn) )
	require 'include/page/admin/itemshop_subject_view.php';
}else if ( checkPAGEID(ID_PAGE_ADMIN_ITEMSHOP_SUBJECT_EDIT) )
{
	if ( checkPAGEADMININDEX($LogOn) )
	require 'include/page/admin/itemshop_subject_edit_view.php';
}else if ( checkPAGEID(ID_PAGE_ADMIN_ITEMSHOP_SUBJECT_EDIT_SUBMIT) )
{
	if ( checkPAGEADMININDEX($LogOn) )
	require 'include/page/admin/itemshop_subject_edit.php';
}else if ( checkPAGEID(ID_PAGE_ADMIN_ITEMSHOP_SUBJECT_DEL) )
{
	if ( checkPAGEADMININDEX($LogOn) )
	require 'include/page/admin/itemshop_subject_del.php';
}else if ( checkPAGEID(ID_PAGE_ADMIN_ITEMSHOP_EDIT_SUBMIT) )
{
	if ( checkPAGEADMININDEX($LogOn) )
	require 'case/admin/itemshop_add.php';
}else if ( checkPAGEID(ID_PAGE_ADMIN_ITEMSHOP_ADD_SUBMIT) )
{
	if ( checkPAGEADMININDEX($LogOn) )
	require 'include/page/admin/itemshop_add.php';
}else if ( checkPAGEID(ID_PAGE_ADMIN_ITEMSHOP_SUBJECT_ADD) )
{
	if ( checkPAGEADMININDEX($LogOn) )
	require 'case/admin/itemshop_subject_add.php';
}else if ( checkPAGEID(ID_PAGE_ADMIN_ITEMSHOP_SUBJECT_ADD_SUBMIT) )
{
	if ( checkPAGEADMININDEX($LogOn) )
	require 'include/page/admin/itemshop_subject_add.php';
}

 ?></td>
                  </tr>
                  <tr>
                    <td><img src="images/line/bg_bottom.png" width="540" height="37" /></td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                  </tr>
                </table>
                <table width="200" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="36" background="images/line/bg_top.png"><p>ข่าวสารประจำเว็บไซต์</p></td>
                  </tr>
                  <tr>
                    <td background="images/line/bg_center.png">
                      <table width="491" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="660" valign="top">
                            <div id="imgLoading" style="display='none';"><img src="images/loading.gif"></div>
                            <span id="mySpan"></span> </td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td><img src="images/line/bg_bottom.png" width="540" height="37" /></td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                  </tr>
                </table>
                <table width="200" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="36" background="images/line/bg_top.png">ห้องคุยกัน</td>
                  </tr>
                  <tr>
                    <td background="images/line/bg_center.png"><?php echo $_CONFIG["XAT"]; ?></td>
                  </tr>
                  <tr>
                    <td><img src="images/line/bg_bottom.png" width="540" height="37" /></td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                  </tr>
                </table>
                <table width="200" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="36" background="images/line/bg_top.png">ไอเทมใหม่ล่าสุด 2011 </td>
                  </tr>
                  <tr>
                    <td background="images/line/bg_center.png">
                      <table width="500" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td><img src="images/wallpaper/1230-1.gif" width="120" height="120" /></td>
                          <td><img src="images/wallpaper/1231-1.gif" width="120" height="120" /></td>
                          <td><img src="images/wallpaper/783-1.gif" width="120" height="120" /></td>
                          <td><img src="images/wallpaper/633-1.gif" width="120" height="120" /></td>
                        </tr>
                    </table></td>
                  </tr>
                  <tr>
                    <td><img src="images/line/bg_bottom.png" width="540" height="37" /></td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                  </tr>
                </table>
              </div>
            </div>
          </div>
        </div>
    </div></td>
    <td width="21%" valign="top"><table width="198" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="33" background="images/line/bg_status_head.png">สถานะเซิฟเวอร์</td>
        </tr>
        <tr>
          <td background="images/line/bg_status_center.png"><table width="168" height="40" border="0" align="center" cellspacing="0">
              <tr>
                <td width="71" height="20" id="id">เซิฟเวอร์</td>
                <td width="93" id="dev"><div align="center"><font size="2">
                    <?getStatusServer("127.0.0.1", 5002, "Agent Server");?>
                </font></div></td>
              </tr>
              <tr>
                <td class="data">ออนไลน์</td>
                <td><div align="center"><span id="data"><span class="style131"><?php echo $UserOnline; ?></span></span></div></td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td><img src="images/line/bg_status_bottom.png" width="198" height="33" /></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
      </table>
        <table width="198" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="33" background="images/line/bg_status_head.png">โปรโมชั่น</td>
          </tr>
          <tr>
            <td background="images/line/bg_status_center.png"><table width="158" height="219" border="0" align="center" cellpadding="0" cellspacing="0" background="../images/bg_website/bg_truemoney.png">
                <tr>
                  <td background="images/bg_website/bg_truemoney.png"><table width="143" height="219" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr class="หก">
                        <td width="61" background="images/bg_website/bg_truemoney.png
                              &lt;td width="82"><p>50</p>
                            <p> 90</p>
                            <p>150</p>
                            <p>300</p>
                            <p>500</p>
                            <p>1,000</p></td>
                        <td width="33"><p><?php echo $_CONFIG["50"]; ?></p>
                            <p><?php echo $_CONFIG["90"]; ?></p>
                            <p><?php echo $_CONFIG["150"]; ?></p>
                            <p><?php echo $_CONFIG["300"]; ?></p>
                            <p><?php echo $_CONFIG["500"]; ?></p>
                            <p><?php echo $_CONFIG["1000"]; ?></p></td>
                      </tr>
                  </table></td>
                </tr>
            </table></td>
          </tr>
          <tr>
            <td><img src="images/line/bg_status_bottom.png" width="198" height="33" /></td>
          </tr>
        </table>
        <table width="200" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="76"><span class="asdazca"><a href="<?php echo $_CONFIG["REFILL"];?>" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image26412','','images/button/refill1.png',1)"><img src="images/button/refill.png" name="Image26412" width="198" height="70" border="0" id="Image26" /></a></span></td>
          </tr>
          <tr>
            <td height="76"><span class="asdazca"><a href="<?php echo $_CONFIG["BOARD"];?>" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image26411','','images/button/forums1.png',1)"><img src="images/button/forums.png" name="Image26411" width="198" height="70" border="0" id="Image26" /></a></span></td>
          </tr>
      </table></td>
  </tr>
</table>
<div align="center" class="style3">
  <p><font face="Tahoma">เซิฟเวอร์นี้ให้เล่น Free และได้จัดทำขึ้นเพื่อ ทดสอบระบบ Network และ SQL เท่านั้น <br />
    ไม่ได้หวังประโยชย์หรือในเชิงพาณิชแต่อย่างใด และได้จัดทำขึ้นเพื่อให้ ทดลองเล่น <br />
    และเรียนรู้เกี่ยวกับระบบเกมส์ สกิล สเตตัส ก่อนที่จะเล่นยังเซิฟเวอร์ที่ถือ ลิขสิทธิ์อยู่ www.ran.in.th<br />
    และเรายินดีที่จะหยุดให้บริการทุกเมื่อที่ ทางเจ้าของเซฟเวอร์จริงได้ขอความร่วมมือ</font></p>
</div>
<h1>&nbsp;</h1>
</body>
</html>


ผมเชื่อมไปที่ dev/news.php

Code
<?php

require 'edit/point.ini';
require 'edit/news.ini';
require 'edit/link.ini';
	
	sleep(2);
	$strID = $_POST["tID"];

?>
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
</script>
<style type="text/css">
<!--
.asdazca {	text-align: center;
}
.sda {	text-align: left;
}
.text-white {text-align: left;
}
-->
</style>
<table width="456" height="90" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class="sda" id="zaqz"><img src="../images/icon/new.gif" width="25" height="10" /></td>
    <td class="sda" id="dez"><?php echo $_CONFIG["WEB_NEWS2"]; ?></td>
    <td class="asdazca" id="x"><span class="text-white"><?php echo $_CONFIG["WEB1_NEWS1"]; ?></span></td>
  </tr>
  <tr>
    <td width="40" class="sda" id="zaqz"><img src="../images/icon/new.gif" width="25" height="10" /></td>
    <td width="475" class="sda"><span class="text-white"><?php echo $_CONFIG["WEB_NEWS2"]; ?></span></td>
    <td width="92" class="asdazca" id="x"><span class="text-white"><?php echo $_CONFIG["WEB2_NEWS2"]; ?></span></td>
  </tr>
  <tr>
    <td class="sda" id="zaqz"><img src="../images/icon/new.gif" width="25" height="10" /></td>
    <td class="sda"><span class="text-white"><?php echo $_CONFIG["WEB_NEWS3"]; ?></span></td>
    <td class="asdazca" id="x"><span class="text-white"><?php echo $_CONFIG["WEB3_NEWS3"]; ?></span></td>
  </tr>
  <tr>
    <td class="sda" id="zaqz"><img src="../images/icon/new.gif" width="25" height="10" /></td>
    <td class="sda"><span class="text-white"><?php echo $_CONFIG["WEB_NEWS4"]; ?></span></td>
    <td class="asdazca" id="x"><span class="text-white"><?php echo $_CONFIG["WEB4_NEWS4"]; ?></span></td>
  </tr>
  <tr>
    <td class="sda" id="zaqz"><img src="../images/icon/new.gif" width="25" height="10" /></td>
    <td class="sda"><span class="text-white"><?php echo $_CONFIG["WEB_NEWS5"]; ?></span></td>
    <td class="asdazca" id="x"><span class="text-white"><?php echo $_CONFIG["WEB5_NEWS5"]; ?></span></td>
  </tr>
</table>


ภาพตัวอย่าง

SS



Tag : PHP









ประวัติการแก้ไข
2011-04-20 00:12:23
Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 2011-04-20 00:08:28 By : 0820487680 View : 1628 Reply : 5
 

 

No. 1



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



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

<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />

ลองเปลี่ยน charset=windows-874 ให้เป็น utf-8 ดูครับ






แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-04-20 00:50:33 By : maerox
 


 

No. 2



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



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

ปัญหานี้มีเยอะ ครับ ลองเซิท ดู
อีกครูจะมา แปะ ให้ครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-04-20 09:00:56 By : compeng
 

 

No. 3



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



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


ตอบความคิดเห็นที่ : 1 เขียนโดย : maerox เมื่อวันที่ 2011-04-20 00:50:33
รายละเอียดของการตอบ ::
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />

ลองเปลี่ยน charset=windows-874 ให้เป็น utf-8 ดูครับ


ไม่ได้อยู่ดีคับ

ใครมีวิธีใหม่ๆ ช่วยบอกหน่อยคับ


ประวัติการแก้ไข
2011-04-20 12:39:16
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-04-20 12:38:51 By : 0820487680
 


 

No. 4



โพสกระทู้ ( 74,058 )
บทความ ( 838 )

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

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

Go to : Ajax ไม่รับภาษาไทย Thai Language.. ก่อนหน้าผมสามารถ บันทึกและแสดงผลเป็นภาษาไทยได้. พอผมเพิ่ม Ajax แล้วรับภาษาไทยไม่ได้ครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-12-08 06:19:27 By : webmaster
 


 

No. 5

Guest


ทำเว็บช็อปเกมแรนหรอครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2013-01-29 01:15:15 By : CP
 

   

ค้นหาข้อมูล


   
 

แสดงความคิดเห็น
Re : ช่วยด้วยคับ ทำไม มันไม่เป็นภาษาไทย Ajax Loading Progress Icon
 
 
รายละเอียด
 
ตัวหนา ตัวเอียง ตัวขีดเส้นใต้ ตัวมีขีดกลาง| ตัวเรืองแสง ตัวมีเงา ตัวอักษรวิ่ง| จัดย่อหน้าอิสระ จัดย่อหน้าชิดซ้าย จัดย่อหน้ากึ่งกลาง จัดย่อหน้าชิดขวา| เส้นขวาง| ขนาดตัวอักษร แบบตัวอักษร
ใส่แฟลช ใส่รูป ใส่ไฮเปอร์ลิ้งค์ ใส่อีเมล์ ใส่ลิ้งค์ 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 อัตราราคา คลิกที่นี่