
<tr><td style="background:#2480C4;color:#fff;text-align:center" colspan="2">头部和底部</td></tr>

<tr style="background:#fbfaf4">
      <td  width="20%" class="tr">头部内容 ：</td>
      <td  width="70%">


 <div class="c5"></div>

      pc端LOGO： <input name="bsheaderlogo" type="text"  value="<?php echo $bsheaderlogo;?>" size="30" />
       <?php echo $xz_must;?>
       <?php echo check_blockid($bsheaderlogo);?>
 <div class="c5"></div>
  移动端LOGO： <input name="bsheaderlogomobi" type="text"  value="<?php echo $bsheaderlogomobi;?>" size="30" />
       <?php echo $xz_maybe;?>
       <?php echo check_blockid($bsheaderlogomobi);?>



  <div class="c5"></div>

一段图文：
    <input name="bsheadertext" type="text"  value="<?php echo $bsheadertext;?>" size="30" />
       <?php echo $xz_maybe;?>
       <?php echo check_blockid($bsheadertext);?>
 <div class="c5"></div>

 

  </td>
    </tr>

<tr >
      <td   class="tr">头部主菜单标识：

      <br />
      <a target="_blank" href="../mod_menu/mod_mainmenu.php?lang=<?php echo LANG;?>">菜单管理</a>
      </td>
      <td style="padding:5px">
<?php
  // echo $typepagetemplate;
   ?>
      <select name="pidmenu" class="form-control">

          <?php
       
          //$selectjcgg = $pidmenu == 'jcgg'?' selected= "selected" ':'';
         // if($typepagetemplate<>'common')  echo ' <option '.$selectjcgg.'  value="jcgg">继承公共布局的选择</option>';

   $sqltextlist = "SELECT * from ".TABLE_MENU." where   $noandlangbh and ppid='0'  and sta_visible='y'   order by pos desc, id ";
   if(getnum($sqltextlist)>0){
     $res = getall($sqltextlist);

       foreach($res as $v){
        $pidname22 = $v['pidname'];
        if($pidname22 == $pidmenu) $selected = ' selected ';
        else  $selected = '';


         echo '<option '.$selected.' value="'.$pidname22.'">'.$v['name'].'</option>';

       }
      }


     ?>
     </select>
      </td>
    </tr>

    <tr>
      <td  width="20%" class="tr"  style="background:#fbfaf4">头部最顶部内容：</td>
      <td  width="70%">
  <input name="bsheadertop" type="text"  value="<?php echo $bsheadertop;?>" size="30" />
       <?php echo $xz_maybe;?>
        <?php echo check_blockid($bsheadertop);?>

  </td>
    </tr>

 <tr>
    <td width="20%" class="tr"  style="background:#fbfaf4">头部文件：</td>
    <td style="padding: 15px 5px">




    pc端：

    <?php
 $template = $header_pc;
 $sysblockfolder='pc';
 $selectname = 'header_pc';

require  HERE_ROOT.'plugin/select_header.php';


   ?>

 
   自定义pc端： <input name="header_pc_cus" type="text"  value="<?php echo $header_pc_cus;?>" size="35" />
      <?php echo $xz_maybe;?> 
      <?php 
            if($header_pc_cus<>'')  {
                echo check_blockid($header_pc_cus);
                echo '<div class="cred">采用自定义</div>';
            }
      ?>
 

 <div class="c5" style="margin:10px 0;border-top: 1px solid #ccc;"> </div>
 

    移动端：
    <?php
 $template = $header_mobi;
 $sysblockfolder='mobi';
 $selectname = 'header_mobi';

require  HERE_ROOT.'plugin/select_header.php';


   ?>


 </td>
    </tr>


    <tr>
      <td  width="20%" class="tr">底部内容：</td>
      <td style="padding: 15px 5px">

pc端：<input name="bsfooter" type="text"  value="<?php echo $bsfooter;?>" size="30" />
<?php  
      check_blockid_myprog($bsfooter); 
      ?>
       
 <div class="c5"></div>

 移动端：<input name="bsfootermob" type="text"  value="<?php echo $bsfootermob;?>" size="30" />
       <?php echo $xz_maybe;?>
       <?php  
      check_blockid_myprog($bsfootermob); 
      ?>
        

  </td>
</tr>

