Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: reklama kaip sičia

Parašė Niger· 2009 Sau. 13 20:01:19
#13

Va norejau pasakot bet viskas yra isdestina tik anglu kalba,
zodziu parsisiunti ta moda baneriu, isarchivini ir skaituk redmes..

o cia i headeri integravimas:

The following code when added to your subheader will place the banner on the righthand side of your header.
It is important if useing this that your own site banner is taken into account when placeing the code.
The site banner is now also obtained from the theme directory.
So if your banner is banner.gif you must have it in at least the theme main directory
themes/void/banner.gif.
Every theme you want to use must have this and every banner must be named the same.

It is also important that you realize that every theme will run the banner in the top section of the page unless the theme is modified not to use the fusion standard

the following code must be placed after the body tag has closed in the standard subheader.php
It will replace the standard code so you can remove anything between the body tag and the ?>
This applies to default code only modified code may need alteration at this point!!!


//code start

//start banner replacement code
if (file_exists(INFUSIONS."banner_panel/view.php"))
{
   include INFUSIONS."banner_panel/view.php";
}
else
{
$banner_display = '';
}
$input = '<table width="100%" cellpadding="0" cellspacing="0">
<tr>
   <td><img src="'.THEME.$settings['sitebanner'].'" alt="'.$settings['sitename'].'" title="'.$settings['sitename'].'"></td>
   <td align="right">'.$banner_display.'</td>
</tr>
</table>';
//end banner replacement code


//replacement
render_header($input);
//commented original code
//render_header("<img src='".THEME.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'>");

//code end




Jei anglu supranti pasidarysi.