ThaiSEOBoard.com

ความรู้ทั่วไป => E-commerce => ข้อความที่เริ่มโดย: Godfather ที่ 15 สิงหาคม 2007, 18:54:18



หัวข้อ: รบกวน เซีนย PHP ช่วยหน่อยครับ
เริ่มหัวข้อโดย: Godfather ที่ 15 สิงหาคม 2007, 18:54:18
รบกวนเซียน PHP ช่วยผมใส่ข้อความใน PHP หน่อยครับ
ผมต้องการเอาข้อความนี้
Welcome www.madeatthailand.biz

About us

We are licensed by the Ministry of Commerce of Thailand (http://www.moc.go.th/).
We export Thai products such as Benjarong Thai porcelain, Hand made products, etc.
Our customers can be confident that they will receive high quality goods,
 fast delivery, and that payments are made safely.


Benjarong Thai porcelain
An age-old thai tradition, most of the items
produced today retain classic styles down
to the type of clay used. The most popular
is the "Benjarong" a 19th century delicately
decorative vase with lid that can many any
living room more exciting. the 14th century
celadon is another favorite buy of foreigners
and Thai collectors

Benjarong Thai porcelain,the thing supports the value very much
in the past  and now  be a gift oversteps the value that likes to
give to the very important person consistently. The thing has
been thatting hide in name of Thai porcelain with designs in five
colour utensils was relayed , entireness , beauty , knowledge ,
expert , come to generation person now  and continue go to in the future.

The Kone drama Ceramic
The Kone drama is art high class of Thailand,
there is the origin comes to since , 20th(THAI) Kone drama
eras are onely of Thailand show at s have ancient history long ,
Kone drama show then is performing arts various kinds combination together ,
be residence harbour show dances to are way temper expression in witness ,
the character has wear crown and mask ,In now like to play about Ramayana story,
Khon drama, It's cultural heritage art for Thai people and belong Thai people
for  a long  time. The foreigner who satisfied and seek
a chance will to come to see  when they come to tour Thailand ,
and buy get back for a souvenir.


COCONUT SHELL HANDICRAFTS
The coconut is boil the wood at has can to apply the advantage
every the part, since  root  until  coconut top. Coconut  shell  also can bring pretend
coconut shell coconut lamp , at beautiful format , be durable , the weight is light ,
give comfortable indoor feeling. This is a handicraft art form of the Thai people which is used in inventing and
creating products for home use out of natural coconut shell. These products
are beautiful and have special characteristics unlike anyone else’s.
They are meticulously and heartfully produced with great precision together
with creativity.The coconut is boil the wood at has can to apply the advantage
every the part, since  root  until  coconut top. Coconut  shell  also can bring pretend
coconut shell coconut lamp , at beautiful format , be durable , the weight is light ,
give comfortable indoor feeling.



***Before you order, please read and understand our policies***

ใส่ใน Code PHP นี้

<?php
/*
  $Id: conditions.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2002 osCommerce

  Released under the GNU General Public License
*/

define('NAVBAR_TITLE', 'Conditions of Use');
define('HEADING_TITLE', 'Conditions of Use');

define('TEXT_INFORMATION', 'Put here your Conditions of Use information.');
?>

อะครับ ช่วยหน่อยครับไม่มีความรู้เรื่อง PHP เลย


หัวข้อ: Re: รบกวน เซีนย PHP ช่วยหน่อยครับ
เริ่มหัวข้อโดย: youcanberich ที่ 15 สิงหาคม 2007, 18:59:41

ใส่ใน Code PHP นี้

<?php
/*
  $Id: conditions.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $

  osCommerce, Open Source E-Commerce Solutions
  [url]http://www.oscommerce.com[/url]

  Copyright (c) 2002 osCommerce

  Released under the GNU General Public License
*/

define('NAVBAR_TITLE', 'Conditions of Use');
define('HEADING_TITLE', 'Conditions of Use');

define('TEXT_INFORMATION', 'ใส่ตรงนี้ีเลยครับลองดู');
?>

อะครับ ช่วยหน่อยครับไม่มีความรู้เรื่อง PHP เลย


หัวข้อ: Re: รบกวน เซีนย PHP ช่วยหน่อยครับ
เริ่มหัวข้อโดย: Godfather ที่ 15 สิงหาคม 2007, 19:11:08
ไม่ได้อะครับ ขาวทั้งหน้าเลยไม่มีอะไรขึ้นเลย


หัวข้อ: Re: รบกวน เซีนย PHP ช่วยหน่อยครับ
เริ่มหัวข้อโดย: EThaiZone ที่ 15 สิงหาคม 2007, 19:30:15
ในบทความบ้างบน

ถ้ามีเครื่องหมาย '

ให้เปลี่ยนเป็น \' แทนนะครับ ทุกอันเลย

ไม่งั้นมันจะติด error

รู้สึก osc จะไม่แสดง error มั้ง


หัวข้อ: Re: รบกวน เซีนย PHP ช่วยหน่อยครับ
เริ่มหัวข้อโดย: Godfather ที่ 16 สิงหาคม 2007, 06:32:16
ขอบคุณนะครับสำหรับคำตอบ แต่ผมโง่เองล่ะ โพส Code PHP ผิดที่ถูกต้องคือ


<?php
/*
  $Id: conditions.php,v 1.22 2003/06/05 23:26:22 hpdl Exp $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2003 osCommerce

  Released under the GNU General Public License
*/

  require('includes/application_top.php');

  require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONDITIONS);

  $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONDITIONS));
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo TITLE; ?></title>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
  <tr>
    <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
    </table></td>
<!-- body_text //-->
    <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
            <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_specials.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
        <td class="main"><?php echo TEXT_INFORMATION; ?></td>
      </tr>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
        <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
          <tr class="infoBoxContents">
            <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
              <tr>
                <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>
                <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
<!-- body_text_eof //-->
    <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
    </table></td>
  </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>


แล้วผมจะต้องแก้อะไรเพื่อใส่ข้อความครับ


หัวข้อ: Re: รบกวน เซีนย PHP ช่วยหน่อยครับ
เริ่มหัวข้อโดย: janeos ที่ 16 สิงหาคม 2007, 08:31:38
file ด้านบนคือ file conditions.php ที่อยู่ที่ root folder ซึ่งมันจะเรียก file แต่ละภาษาแยกต่างหาก
เช่นต้องการแก้ไขข้อความ "Put here your Conditions of Use information." ที่เป็นภาษาอังกฤษ ก็ให้เข้าไปแก้ที่
/includes/languages/english/conditions.php
แก้ไขที่
โค๊ด:
<?php
define
('NAVBAR_TITLE''Conditions of Use');
define('HEADING_TITLE''Conditions of Use');

define('TEXT_INFORMATION''ใส่ข้อความที่ต้องการที่นี่'); 
?>


หัวข้อ: Re: รบกวน เซีนย PHP ช่วยหน่อยครับ
เริ่มหัวข้อโดย: janeos ที่ 16 สิงหาคม 2007, 08:34:42
อ่ะ ทำไปให้เลยละกัน 8)
โค๊ด:
<?php
/*
  $Id: conditions.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2002 osCommerce

  Released under the GNU General Public License
*/

define('NAVBAR_TITLE''Conditions of Use');
define('HEADING_TITLE''Conditions of Use');

define('TEXT_INFORMATION''Welcome <A HREF="http://www.madeatthailand.biz">www.madeatthailand.biz</A>

<B>About us</B>
<BR><BR>
We are licensed by the Ministry of Commerce of Thailand (<A HREF="http://www.moc.go.th/">http://www.moc.go.th/</A>).
We export Thai products such as Benjarong Thai porcelain, Hand made products, etc.
Our customers can be confident that they will receive high quality goods,
 fast delivery, and that payments are made safely.
<BR>
<BR>
<B>Benjarong Thai porcelain</B>
An age-old thai tradition, most of the items
produced today retain classic styles down
to the type of clay used. The most popular
is the "Benjarong" a 19th century delicately
decorative vase with lid that can many any
living room more exciting. the 14th century
celadon is another favorite buy of foreigners
and Thai collectors
<BR>
<BR>
Benjarong Thai porcelain,the thing supports the value very much
in the past  and now  be a gift oversteps the value that likes to
give to the very important person consistently. The thing has
been thatting hide in name of Thai porcelain with designs in five
colour utensils was relayed , entireness , beauty , knowledge ,
expert , come to generation person now  and continue go to in the future.
<BR><BR>
<B>The Kone drama Ceramic</B>
The Kone drama is art high class of Thailand,
there is the origin comes to since , 20th(THAI) Kone drama
eras are onely of Thailand show at s have ancient history long ,
Kone drama show then is performing arts various kinds combination together ,
be residence harbour show dances to are way temper expression in witness ,
the character has wear crown and mask ,In now like to play about Ramayana story,
Khon drama, It\'s cultural heritage art for Thai people and belong Thai people
for  a long  time. The foreigner who satisfied and seek
a chance will to come to see  when they come to tour Thailand ,
and buy get back for a souvenir.
<BR>
<BR>
<B>COCONUT SHELL HANDICRAFTS</B>
The coconut is boil the wood at has can to apply the advantage
every the part, since  root  until  coconut top. Coconut  shell  also can bring pretend
coconut shell coconut lamp , at beautiful format , be durable , the weight is light ,
give comfortable indoor feeling. This is a handicraft art form of the Thai people which is used in inventing and
creating products for home use out of natural coconut shell. These products
are beautiful and have special characteristics unlike anyone else’s.
They are meticulously and heartfully produced with great precision together
with creativity.The coconut is boil the wood at has can to apply the advantage
every the part, since  root  until  coconut top. Coconut  shell  also can bring pretend
coconut shell coconut lamp , at beautiful format , be durable , the weight is light ,
give comfortable indoor feeling.
<BR>
<BR>

***Before you order, please read and understand our policies***'
);
?>


หัวข้อ: Re: รบกวน เซีนย PHP ช่วยหน่อยครับ
เริ่มหัวข้อโดย: Godfather ที่ 16 สิงหาคม 2007, 12:15:42
ขอบคุณมากเลยครับที่กรุณาทำให้ ;)


หัวข้อ: Re: รบกวน เซีนย PHP ช่วยหน่อยครับ
เริ่มหัวข้อโดย: Godfather ที่ 16 สิงหาคม 2007, 12:17:58
ถ้าอยากจะเปลี่ยนข้อความใน Information Box ต้องไปแก้ที่ไหนครับ
(http://www.uploadtoday.com/thumb.php?52b69c8bbead7b34d0fa927b9aed2e26) (http://www.uploadtoday.com/download/?13aae4bc97c8692055fb3d6095897b83)