如何更改从动态代码生成的代码?

时间:2019-07-12 16:31:01

标签: php html

抱歉,我不是开发人员。我只想在此页面https://tolelight.com.vn/上将<h3>SẢN PHẨM</h3>更改为<h1>SẢN PHẨM</h1>,其余<h3>标签应保持不变,应该保持不变

<h1>SẢN PHẨM</h1> <h3>CHỨNG CHỈ</h3> <h3>TIN TỨC</h3>,该怎么做?

PHP代码:

<div class="head">
<h3><?=$name?></h3>
<div class="gach"></div>
</div>

完整代码:

<section id="slider">
  <div class="wraper">
    <div id="slide" class="nivoSlider">
      <?php
        $sql=mysql_query("select * from advertise where catid=3 and block = 0 order by id desc ");
        while($r=mysql_fetch_array($sql)){
      ?>
      <img src="<?=$root?>uploads<?=$r['image']?>" data-thumb="<?=$root?>uploads<?=$r['image']?>"/>
      <?php } ?>
    </div>
  </div>
</section>
<section id="boxCenter">
  <div class="wraper">
    <div class="boxCenter">
      <div class="carouselSlider">
        <div class="jcarousel-wrapper">
            <div class="jcarousel">
              <ul>
                  <?php
                  $tbl=new table('content');
                  $res = $tbl->loadAll('order by id asc' );
                  while ($row = @mysql_fetch_object($res)) {
                  $id=$row->id;
                  if($_SESSION['lang1']=='vi'){
                  $name=$row->name;
                  $url=$row->summary;
                  $de=$row->details;
                  $link=convert($row->name);
                  }else{

                  $name=$row->name_en;
                  $url=$row->summary;
                  $de=$row->details_en;
                  }
                  ?>
                  <li>
                    <div class="head">
                   <h3><?=$name?></h3>
                      <div class="gach"></div>
                    </div>                    
                    <div class="img">
                      <a href="<?=$root?><?=$url?>"><img src="<?
                        $chuoi=$row->image;
                          if($chuoi1=substr($chuoi,0,7)=='http://')
                          echo $chuoi;
                          else {
                          if($chuoi=='')
                          echo $root."images/noimage.jpg";
                          else
                          echo $root."uploads".$chuoi;
                          }
                        ?>" />
                      </a>
                    </div>
                    <h4><a href="<?=$root?><?=$url?>"><?= substr($de,0, 110) ?></a></h4>
                  </li>
                  <?php } ?>
              </ul>
            </div>
            <a href="#" class="control-prev"></a>
            <a href="#" class="control-next"></a>
          </div>
      </div>
      <div class="standard">
          <img src="<?=$root?>images/iso.jpg"/>
          <img src="<?=$root?>images/astm.jpg"/>
          <img src="<?=$root?>images/sgs.jpg"/>
          <img src="<?=$root?>images/pret.jpg"/>
      </div>
    </div>
  </div>
</section>

0 个答案:

没有答案