Новости Joomla

0 Пользователей и 1 Гость просматривают эту тему.
  • 1 Ответов
  • 1801 Просмотров

Всем добрый день возникла проблемка хочу вставить лого в шаблон. Не могу разобраться с HTML кодом помогите пожалуйстаззззз
Код
<?php defined( '_JEXEC' ) or die( 'Access to this location is RESTRICTED.' );	

$logo     = $this->params->get("logo");

?>

<!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" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >

<head>

<jdoc:include type="head" />

<link rel="stylesheet" href="templates/_system/css/general.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />

<?php echo "<link rel=\"shortcut icon\" href=\"$GLOBALS[mosConfig_live_site]/images/favicon.ico\" />" ; ?>
</head>
<body>
<div id="bodi">
<div class="container">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="194" valign="top">
            <div id="left">
                <div id="left_top">
                    <div id="logo"><img src="<?php echo $logo.jpg; ?>" alt="logo" /></div>
                </div>
                <div id="left_content">
                    <div class="sidebar"><jdoc:include type="modules" name="left" style="rounded" /></div>
                </div>
            </div>
        </td>
        <td valign="top">
        <div id="header">
            <div id="schriftzug"><?php echo $mainframe->getCfg('sitename');?></div>
            <div id="navigation"><jdoc:include type="modules" name="user3" style="xhtml" /></div>
        </div>
        <?php if($this->countModules('user1 or user2')) : ?>
                <div id="box_content">     
                    <div id="top_module_1">
                    <div class="topmodule_blue">
                            <div class="left_box">
                            <div class="topmodule_inside"><jdoc:include type="modules" name="user1" style="xhtml" /></div>
                            </div>
                    </div>
                    </div>
                    <div id="separator"></div>
                    <div id="top_module_2">
                        <div class="topmodule_blue">
                             <div class="left_box">
                             <div class="topmodule_inside"><jdoc:include type="modules" name="user2" style="xhtml" /></div>
                             </div>
                        </div>
                    </div>
                </div>
        <?php endif; ?>
        <div id="maincontent">
            <div id="content"><jdoc:include type="component" /></div>
           
            </div>
        <div class="clearfloat"></div>
        </td>
        <?php if($this->countModules('right')) : ?>
        <td width="194" valign="top">
        <div id="suche"><jdoc:include type="modules" name="user4" style="xhtml" /></div>
            <div id="right">
                <div id="right_content">
                    <div class="sidebar"><jdoc:include type="modules" name="right" style="rounded" /></div>
                </div>
            </div>
        </td>
        <?php endif; ?>
    </tr>
</table>
</div>
</div>
</body>
</html>
*

_ib_

  • Давно я тут
  • 673
  • 100 / 8
Re: Как вставить лого чайнику
« Ответ #1 : 23.02.2010, 14:39:56 »
Код
<img src="<?php echo $logo.jpg; ?>" alt="logo" />

<?php echo $logo.jpg; ?> - меняете на путь к Вашему лого.
Легальные шаблоны и дёшево!  + скидки до 50% для шаблонов клуба Joomlart, RocketTheme, Yootheme и Gavick.

при интересе пишите в личку или на мыло: "p" точка "d" собака gmx.de
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться