首页 > CMS > PhpCMS > 正文

【phpcms-v9】登陆页、注册页、会员中心页logo图的替换

2024-09-10 07:15:51
字体:
来源:转载
供稿:网友

1.登陆页logo图的替换:phpcms/templates/member/login.html

  1. <div id="header">   
  2.     <div class="content">   
  3.     <div class="logo"><a href="{$siteinfo['domain']}"><img width="300" height="60" src="http://www.Vevb.com/statics/images/zhenpin/index_images/zhenLogo.jpg"/></a></div>   
  4.     </div>   
  5. </div> 

2.注册页logo图的替换:phpcms/templates/member/register.html

  1. <div id="header">   
  2.     <div class="content">   
  3.         <div class="logo"><img width="300" height="60" src="http://www.Vevb.com/statics/images/zhenpin/index_images/zhenLogo.jpg"/></div>   
  4.     </div>   
  5. </div>

3.会员中心页logo图的替换:phpcms/templates/member/header.html

  1. <div id="header">   
  2.     <div class="logo"><a href="{$siteinfo['domain']}"><img src="http://www.Vevb.com/statics/images/zhenpin/index_images/zhenLogo.jpg" height="60" /></a><h3>{L('member_center')}</h3></div>   
  3.     {php $siteinfo = siteinfo($this->memberinfo['siteid']);}   
  4.     {php $this->menu_db = pc_base::load_model('member_menu_model');}   
  5.     {php $menu = $this->menu_db->select(array('display'=>1, 'parentid'=>0), '*', 20 , 'listorder');}   
  6.     <div class="link">{L('hellow')} {get_nickname()}<span> | </span>   
  7.     <a href="{APP_PATH}index.php?m=member&c=index&a=logout">{L('logout')}</a>   
  8.     <span> | </span><a href="{$siteinfo['domain']}">{L('index')}</a> </div>  
  9.     <div class="nav-bar">   
  10.         <map>   
  11.             <ul class="nav-site cu-span">   
  12.                 {loop $menu $k $v}   
  13.                 <li>   
  14.                     {if $v['isurl']}   
  15.                         <a href="{$v['url']}" target="_blank"><span>{L($v['name'], '''member_menu')}</span></a>   
  16.                     {else}   
  17.                         <a href="index.php?m={$v['m']}&c={$v['c']}&a={$v['a']}&{$v['data']}" {if $k==$_GET['t']}class="on"{/if}><span>{L($v['name'], '''member_menu')}</span></a>
  18.                     {/if}   
  19.                     </li>   
  20.                     <li class="line">|</li>   
  21.                 {/loop}   
  22.             </ul>   
  23.         </map>   
  24.     </div>   
  25. </div>

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表