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 > ขอคำแนะนำเกี่ยวกับ atomymaxsite ต้องการแก้เมนูส่วนกลางเว็บแก้ยังไง



 

ขอคำแนะนำเกี่ยวกับ atomymaxsite ต้องการแก้เมนูส่วนกลางเว็บแก้ยังไง

 



Topic : 075822



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



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




Downlod atomymaxsite

เป็น CMS ปัจจุบันใช้งานกันเยอะ ศึกษาเกี่ยวกับหน้าเว็บ ต้องการทราบว่า code ที่แสดงส่วนเมนู ส่วนกลางเว็บ อ้างอิงยังไง โดยที่ปรับอยู่ตอนนี้นำเมนูด้านขวาออกไปได้แล้ว แต่ยังแก้ไขการแสดงผลเมนูส่วนกลางยังไม่ได้ หาที่มาของ code ไม่เจอ
code templates
Code (PHP)
<!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>
<TITLE></TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<meta name="keywords" content="">
<meta name="description" content="">
<link href="templates/atomy/css/style.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript">
// create a new Date object then get the current time
var start = new Date();
var startsec = start.getTime();

// run a loop counting up to 250,000
var num = 0;
for( var i = 0; i < 250000; i++ )
{
  num++;
}

var stop  = new Date();
var stopsec = stop.getTime();

var loadtime = ( stopsec - startsec ) / 1000;

  </script>
</head>

<body background="templates/atomy/images/wdw-bg.jpg">
<?
require_once("mainfile.php");
$_SERVER['PHP_SELF'] = "index.php";

?>
<div id=""></div>

<TABLE width=920 height="100%" border=0 align=center cellPadding=0 cellSpacing=0 background="templates/atomy/images/back.gif" >
	<tr>
	<TD width="920" align="center" >
		<div align="center">

<table id="Table_01" width="895" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td colspan="9">
		
</td></tr><tr>
	<td colspan="9"></td>
</tr><tr>
<td background="templates/atomy/images/menu/atomy_bar1.png" width="196" height="44" border="0">
<a href="index.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('home','','templates/atomy/images/menu/atomy_bar11.png',1)"><img src="templates/atomy/images/menu/atomy_bar1.png" width="196" height="44" alt="" name="home"></a></td>
<td  background="templates/atomy/images/menu/atomy_bar2.png" width="87" height="44" border="0" >
<a href="?name=news" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('news','','templates/atomy/images/menu/atomy_bar22.png',1)"><img src="templates/atomy/images/menu/atomy_bar2.png" width="87" height="44" alt="" name="news"></a></td>
<td background="templates/atomy/images/menu/atomy_bar3.png" border="0" width="135" height="44">
<a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('knowledge','','templates/atomy/images/menu/atomy_bar33.png',1)"><img src="templates/atomy/images/menu/atomy_bar3.png" width="135" height="44" name="knowledge" alt=""></a></td>
<td background="templates/atomy/images/menu/atomy_bar4.png" border="0" width="125" height="44">
</td>
<td background="templates/atomy/images/menu/atomy_bar5.png" border="0" width="136" height="44">
</td>
<td background="templates/atomy/images/menu/atomy_bar6.png" border="0" width="114" height="44">
</td>
<td background="templates/atomy/images/menu/atomy_bar7.png" border="0" width="102" height="44"><a href="?name=admin" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('admin','','templates/atomy/images/menu/atomy_bar77.png',1)"><img src="templates/atomy/images/menu/atomy_bar7.png" width="102" height="44" alt="" name="admin"></a></td>
</tr>
</table>
<center>
<TABLE cellSpacing=0 cellPadding=0 width=895 align=center border=0>
	<TBODY>
		<TR><TD width="50"></td>
					</tr>
</table>
<table cellSpacing=0 cellPadding=0 width=890 align=center border=0>
<tr>
<td width=890>
<TABLE cellSpacing=0 cellPadding=0 width=890 align=center border=0>
	<TBODY>
		<TR>
			<td width="200" valign="top">
	<? if($name<>"admin" && $name<>"admin/workboard" && $name<>"admin/backup" ) { ?>


	<? ?>

<table cellspacing="0" cellpadding="0" width="200" >
	<tr><td width="200" valign="top" id="leftcol">
	<?php LoadBlock('left'); ?>
</td></tr>
</table><br>
<?php } ?>

</td><TD vAlign="top" align="center" width="10" ></TD>
<TD vAlign="top" align="center" width="100%" align="center">
<? if($name=="") { ?>
<table width="100%" cellspacing="0" cellpadding="0" ><tr>
    <TD width="10" vAlign=center><IMG src="images/fader.gif" border=0></TD>
    <TD width="600" vAlign=center align=left><IMG src="images/topfader.gif" border=0><BR>
		  <!-- Admin -->
		  
	<? ?>
<?php  { ?>
<table width="100%" cellspacing="0" cellpadding="0" >
<tr>
	<td ><div ><?php  ?>
	</div>
	</td>
</tr>
</table>
	<br>
<?php } ?>
<?php  { ?>
	<table cellspacing="0" cellpadding="0" width="100%">
	<tr>
		<td ><div ><?php LoadBlock('center'); ?>
    <div></td>
</tr>
</table>
<br>
<?php } ?>
<?php  { ?>
	<center>
<table>
<tr>
<td >
<div >
<?php  ?>
</div>
</td></tr>
</table>
<br>
</center>
<?php } ?>
</td>
<? ?>
		<?php  { ?>
        <TD ></TD>
          <TD>
									
<table>
	<tr>
		<td>
<?php ?> <!>
</td></tr></table>
<br><br>
	</td>
<?php } ?>
</td>
</tr>
</table>

<?} else {
OpenTable();
require_once ("".$MODPATHFILE."");
 CloseTable();
} ?>
</td></tr>
</table>
</td>
</tr>
<?php  { ?>
<tr>
<td>
<table>
										<tr>
<div >
<?php  ?>
</div></td></tr>
</table>
</td>
</tr>
<?php } ?>
</table>
		
	 
	  </TD>

    </TR>
  </TBODY>
</TABLE>
</body>
</html>



เช่น ส่วนที่ Code (PHP)
<?php LoadBlock('center'); ?>


พยายามหาที่มาของการแสดงผลส่วนนี้แต่ยังไม่ได้
ขอคำแนะนำจากทุกท่าน



Tag : PHP







Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 2012-03-20 12:31:37 By : teera52 View : 2397 Reply : 3
 

 

No. 1



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



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


เจอแล้วเข้าส่วนของการส่วนของการจัดการ block เลือกไม่แสดง หรือจำจัดตำแน่งได้จากส่วนนี้






แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-03-20 13:09:23 By : teera52
 


 

No. 2



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



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


ยังไม่เข้าว่า code
Code (PHP)
<?php LoadBlock('center'); ?>


สามารถเรียกไพล์ modulesmodules\blog\shownews1.php มาโชว์หน้า index.php ได้ด้วย code ดังกล่าวได้ยังไง
code shownews1.php
Code (PHP)
<center>
<TABLE cellSpacing=0 cellPadding=0 width="454"  border=0>
  <TBODY>
    <TR>
      <TD colspan="3"><IMG SRC="/nakon/images/menu/barnews1.png" BORDER="0" width="454" height="35"></td>
    </tr>
    <TR>
      <TD background="images/main/4.gif" BORDER="0" height="100%" width="7"></td>
      <TD><table class='iconframe' cellpadding='0' cellspacing='0'>
          <tbody>
            <tr>
              <td class='imageframe'><TABLE width="440" align=center cellSpacing=0 cellPadding=0 border=0>
                  <?
empty($_GET['category'])?$category="1":$category=$_GET['category'];
//$_GET['category']=1;
if($category){
	$SQLwhere = " category='".$category."' ";
	$SQLwhere2 = " WHERE category='".$category."' ";
}

$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
$limit = 10;

$res['news'] = $db->select_query("SELECT * FROM ".TB_NEWS." $SQLwhere2 ORDER BY id DESC LIMIT $limit ");
$count=0;
while($arr['news'] = $db->fetch($res['news'])){
//if ($count==0) { echo "<TR>"; }
echo "<TR >"; 

if($count%2==0) { //ส่วนของการ สลับสี 
$ColorFill = "#FDEAFB";
} else {
$ColorFill = "#F0F0F0";
}

	//ชื่อหมวดหมู่ 
	$res['category'] = $db->select_query("SELECT category_name FROM ".TB_NEWS_CAT." WHERE id='".$arr['news']['category']."' "); 
	$arr['category'] = $db->fetch($res['category']);
	$newsid=$arr['news']['id'];
	$ress['com'] = $db->select_query("SELECT *,count(news_id) as com FROM ".TB_NEWS_COMMENT." WHERE news_id ='".$newsid."' group by news_id"); 
	$arrs['com'] = $db->fetch($ress['com']);
?>
                  
<TD bgcolor="<?=$ColorFill;?>" onmouseover="this.style.backgroundColor='#FFF0DF'" onmouseout="this.style.backgroundColor='<?=$ColorFill;?>'"   width="100%" valign=top height="20" align="left" ><div class=""> <IMG SRC="images/17.png" BORDER="0" ALIGN="absmiddle"> <A HREF="<? WEB_URL;?>index.php?name=news&file=readnews&id=<?=$arr['news']['id'];?>" target="_blank" name="<?=$arr['news']['topic'];?>" ><font color="#990066"><B>[
                        <?= ThaiTimeConvert($arr['news']['post_date'],"","");?>
                        ] </font><font color="#0066FF">
                        <?=$arr['news']['topic'];?>
                        </A></font></B>
                        <?=NewsIcon(TIMESTAMP, $arr['news']['post_date'], "images/icon_new.gif");?>
                        (
                        <?=$arr['news']['pageview'];?>
                        /
                        <?=$arrs['com']['com'];?>
                        ) โดย
                        <?=$arr['news']['posted'];?>
                      </div></TD>
                    <?
$count++;

echo "</Tr><TR><TD colspan=2 height=\"1\" class=\"dotline\"></TD></TR>";
if (($count%_NEWS_COL) == 0) { echo "</TR><TR><TD colspan=2 height=\"1\" class=\"dotline\"></TD></TR>"; $count=0; 
} else{	echo "</Tr><TR><TD colspan=2 height=\"1\" class=\"dotline\"></TD></TR>";} 
//echo "</Tr>";
}
$db->closedb ();

?>
                    <td>
                  </tr>
                  <tr>
                    <td colspan="2" align="right"><A HREF="index.php?name=news&category=<?=$category;?>" ><img src="images/admin/2_15.gif"></a></td>
                  </tr>
                </table></td>
            </tr>
        </table>
      <TD background="images/main/5.gif" BORDER="0" height="100%" width="7"></td>
    </tr>
    <TR>
      <TD><IMG SRC="images/main/6.gif" BORDER="0" width="7" height="7"></td>
      <TD background="images/main/7.gif" BORDER="0" height="7" ></td>
      <TD><IMG SRC="images/main/8.gif" BORDER="0" width="7" height="7"></td>
    </tr>
</table>
<br>


แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-03-20 14:11:33 By : teera52
 

 

No. 3

Guest


งง หาไม่เจอ เลย ครับ ว่าจะแก้ไข บางส่วนออกไป งงงงงงงงง หาไม่เจอ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-04-04 14:17:44 By : ส้้ม
 

   

ค้นหาข้อมูล


   
 

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