Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: forum

Parašė Lordcraft· 2007 Gru. 21 18:12:08
#9

ozzWANTED parašė:
Ne nu tu tai bukas. Tiesiog tada paimk, ištrink user_info_panel iš panelių sąrašo, ir pridėk vėl jau kaip centrinę panelę, ir turėsi tu tai ko tau reikia.

netaip supratai. esme tame jok man reikia kad 1 panelej rodytu dar viena panele.:
pavizdy suklijavau su paint :D

http://img517.imageshack.us/img5...neldd3.png

i theme.php patalpinu include koda kuris nukreipia i bannes.php jis atrodo taip:

<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }

openside("<center>Menu</center>");
$text = array("
<left><a href='test.lt'><img src='test.png' border=0 alt='nuoroda' /></a></left>
<rigth>
<tr>
<td><div align='center'>";
include("user_info_panel.php");
echo "</div></td>
</td>
</tr>
</rigth>
");
$cc = count($text) ;
$cl = $cc-1;
$rand = rand(0,$cl);
echo"$text[$rand]";
closeside();
?>




ir tame banners.php include kodas nukreipia i user_info_panel bet nenuskaito to user_info_panel.php