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

Parašė Haked· 2008 Rugp. 26 05:08:58
#1

1. Turiu panelę atidaroma, bet kai terpiu img kodą būna error:

opensidex(čia img kodas ar kur? Informacija, "on");
?>
Užsiregistruok
<?
closesidex();


2. Turiu mlm panelę viskas veikia,bet kai įvertini narį ir eini į mlm.php jis neatsiranda
Tik kai paspaudi panelėje žiūrėti visus retingus tada parodo kas čia tokio yra ? :(

Redagavo Haked· 2008 Rugp. 26 05:08:41

Parašė Dandžu· 2008 Rugp. 26 08:08:47
#2

opensidex("<img src='keliasikiimg'>","on");
?>
echo "Užsiregistruok";
<?
closesidex();




Parašė MAnjack· 2008 Rugp. 26 08:08:28
#3

2. Atsidaręs tą puslapį paspausk F5

Parašė Haked· 2008 Rugp. 26 10:08:50
#4

Klaidą meta onclick="javascript:flipBox('')">

Redagavo Haked· 2008 Rugp. 26 10:08:35

Parašė ramon· 2008 Rugp. 26 11:08:14
#5

opensidex("<img src='keliasikiimg'>","on");
echo "Užsiregistruok";
closesidex();



Parašė Haked· 2008 Rugp. 26 11:08:53
#6

vistiek virsuje neužsidaro panelė ta pati rašo

Parašė ramon· 2008 Rugp. 26 11:08:53
#7

Kur tu dedi si koda?

Parašė Haked· 2008 Rugp. 26 11:08:17
#8

į panelę

Parašė ramon· 2008 Rugp. 26 11:08:08
#9

Nu td probleme theme.php ...:D

Parašė Žmogus· 2008 Rugp. 26 11:08:18
#10

2. Turiu mlm panelę viskas veikia,bet kai įvertini narį ir eini į mlm.php jis neatsiranda


Žinau pas mane irgi tas pats, mesk jį lauk ir viskas :D

Parašė Haked· 2008 Rugp. 26 11:08:59
#11






va kas būna :|

Redagavo Haked· 2008 Rugp. 26 11:08:55

Parašė Dandžu· 2008 Rugp. 26 11:08:34
#12

BeeT duok theme.php faile esantį opensidex ir closesidex sutvarkysiu šioje srityje nusimanau nes kartą pats buvau susidūręs. ;)

Parašė Haked· 2008 Rugp. 26 11:08:21
#13

<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
// theme settings
$body_text = "#5A4007";
$body_bg = "#000000";
$theme_width = "60%";
$theme_width_l = "220";
$theme_width_r = "220";

function render_header($header_content) {

global $theme_width,$settings,$locale;


echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>
    <tr>
                                           <center><a href='/news.php'><img src='/atributai/pagrindinis.png'> <a href='/forum/index.php'><img src='/atributai/forumas.png'> <a href='/photogallery.php'><img src='/atributai/galerija.png'> <a href='/contact.php'><img src='/atributai/kontaktai.png'></center>
        <td>
            <table width='100%' cellspacing='0' cellpadding='0'>
                <tr>
                    <td class='header' style='padding:5px;'>
                        <table width='100%' cellspacing='0' cellpadding='0'>
                           <tr>
        <td class='g-left'><img src='".THEME."images/blank.gif' width='7' height='24' alt='' style='display:block'></td>
        <td class='g-top'>$subject</td>
        <td class='g-right'><img src='".THEME."images/blank.gif' width='9' height='24' alt='' style='display:block'></td>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<td class='g-bar-left'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
        <td class='main-body'><div style='width:100%;vertical-align:top;'>
             $header_content
            </div>  </tr>
<td class='g-bar-right'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>

                        </table>

            <table width='100%' cellspacing='0' cellpadding='0'>
                <tr>
                    <td class='bar-left'><img src='".THEME."images/blank.gif' width='4' height='24' alt='' style='display:block'></td>
                                                            <td class='bar-main'>\n";
                        $result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
                        if (dbrows($result) != 0) {
                           $i = 0;
                           while($data = dbarray($result)) {
                              if (checkgroup($data['link_visibility'])) {
                                 if ($data['link_url']!="---") {
                                    if ($i != 0) { echo " &middot;\n"; } else { echo "\n"; }
                                    $link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
                                    if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
                                       echo "
                                            <a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
                                    } else {
                                       echo "
                                            <a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
                                    }
                                 }
                                 $i++;
                              }
                           }
                        }
                        echo ($i == 0 ? "&nbsp;" : "")."
                    </td>
                    <td align='right' class='bar-main'>".ucwords(showdate("%A, %B %d, %Y", time()))."</td>
                    <td class='bar-right'><img src='".THEME."images/blank.gif' width='6' height='24' alt='' style='display:block'></td>
            </tr>
            </table>
            <table width='100%' cellspacing='0' cellpadding='0'>
                <tr>\n";

}

function render_footer($license=false) {

global $settings,$locale;

echo "
                </tr>
            </table>
            <table cellpadding='0' cellspacing='0' width='100%'>
                <tr>
                    <td class='header2'>".stripslashes($settings['footer'])."</td>
                </tr>
            </table>
            <table cellpadding='0' cellspacing='0' width='100%'>
 <tr>
                    <td align='center' class='header'><br>";
                        $text = array("<center><a href='/viewpage.php?page_id=2'><img src='http://mp-lt.xz.lt/atributai/reklama1lt.gif' border=0 alt='Viskas ko reikia tavo puslapiui!' /></a></center>","<center><a href='http://mp-lt.xz.lt/'  target='_blank'><IMG height=60 src='http://www.mp-lt.xz.lt/atributai/reklama.gif' width=468 border='0'></a></center>");
$cc = count($text) ;
$cl = $cc-1;
$rand = rand(0,$cl);
echo"$text[$rand]";
                        if ($license == false) {
                           echo "
                            </a><br><br>\n";


                        }
                        echo "
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>\n";

}

function render_news($subject, $news, $info) {

global $locale;

echo "<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='g-left'><img src='".THEME."images/blank.gif' width='7' height='24' alt='' style='display:block'></td>
        <td class='g-top'>$subject</td>
        <td class='g-right'><img src='".THEME."images/blank.gif' width='9' height='24' alt='' style='display:block'></td>
    </tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='g-bar-left'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
        <td class='main-body'>
            <div style='width:100%;vertical-align:top;'>
                $news
            </div>
            <div class='infobar'>
                ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
                ".$locale['041'].showdate("longdate", $info['news_date'])." &middot;
                ".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> &middot;\n" : "");
                if ($info['news_allow_comments']) echo "
                <a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> &middot;\n";
                echo $info['news_reads'].$locale['044']."
                <a href='print.php?type=N&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='border:0px;vertical-align:middle;'></a>
            </div>
        </td>
        <td class='g-bar-right'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
    </tr>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
    <td class='g-bottom-left'><img src='".THEME."images/blank.gif' width='7' height='9' alt='' style='display:block'></td>
    <td class='g-bottom'><img src='".THEME."images/blank.gif' width='100%' height='9' alt='' style='display:block'></td>
    <td class='g-bottom-right'><img src='".THEME."images/blank.gif' width='9' height='9' alt='' style='display:block'></td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {

global $settings,$locale;

echo "<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='g-left'><img src='".THEME."images/blank.gif' width='7' height='24' alt='' style='display:block'></td>
        <td class='g-top'>$subject</td>
        <td class='g-right'><img src='".THEME."images/blank.gif' width='9' height='24' alt='' style='display:block'></td>
    </tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='g-bar-left'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
        <td class='main-body'>
            <div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>
            <div class='infobar'>
                ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
                ".$locale['041'].showdate("longdate", $info['article_date'])." &middot;\n";
                if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." &middot;\n";
                echo $info['article_reads'].$locale['044']."
                <a href='print.php?type=A&amp;item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='border:0px;vertical-align:middle;'></a>
            </div>
        </td>
<td class='g-bar-right'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
    </tr>
<table width='100%' cellpadding='0' cellspacing='0'>
            <tr>
    <td class='g-bottom-left'><img src='".THEME."images/blank.gif' width='7' height='9' alt='' style='display:block'></td>
    <td class='g-bottom'><img src='".THEME."images/blank.gif' width='100%' height='9' alt='' style='display:block'></td>
    <td class='g-bottom-right'><img src='".THEME."images/blank.gif' width='9' height='9' alt='' style='display:block'></td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='g-left'><img src='".THEME."images/blank.gif' width='7' height='24' alt='' style='display:block'></td>
        <td class='g-top'>$title</td>
        <td class='g-right'><img src='".THEME."images/blank.gif' width='9' height='24' alt='' style='display:block'></td>
    </tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='g-bar-left'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
        <td class='main-body'>\n";

}

function closetable() {

echo "
        </td>
        <td class='g-bar-right'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
    </tr>
<table width='100%' cellpadding='0' cellspacing='0'>
   <tr>
    <td class='g-bottom-left'><img src='".THEME."images/blank.gif' width='7' height='9' alt='' style='display:block'></td>
    <td class='g-bottom'><img src='".THEME."images/blank.gif' width='100%' height='9' alt='' style='display:block'></td>
    <td class='g-bottom-right'><img src='".THEME."images/blank.gif' width='9' height='9' alt='' style='display:block'></td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='b-top-left'><img src='".THEME."images/blank.gif' width='7' height='24' alt='' style='display:block'></td>
        <td class='b-top-main'>$title</td>
        <td class='b-top-right'><img src='".THEME."images/blank.gif' width='9' height='24' alt='' style='display:block'></td>
    </tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='b-left'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
        <td class='side-body'>\n";

}

function closeside() {

echo "
        </td>
        <td class='b-right'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
    </tr>
<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='b-bottom-left'><img src='".THEME."images/blank.gif' width='7' height='9' alt='' style='display:block'></td>
        <td class='b-bottom-main'><img src='".THEME."images/blank.gif' width='1' height='9' alt='' style='display:block'></td>
        <td class='b-bottom-right'><img src='".THEME."images/blank.gif' width='9' height='9' alt='' style='display:block'></td>
    </tr>
</table>\n";
tablebreak();

}

function opensidex($title,$open="on") {

$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='b-top-left'><img src='".THEME."images/blank.gif' width='7' height='24' alt='' style='display:block'></td>
        <td class='b-top-main'>$title</td>
        <td class='b-top-main' align='right'><img src='".THEME."images/panel_$box_img.gif' alt='$box_img' name='b_$boxname' onclick=\"javascript:flipBox('$boxname')\"></td>
        <td class='b-top-right'><img src='".THEME."images/blank.gif' width='9' height='24' alt='' style='display:block'></td>
    </tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='b-left'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
        <td class='side-body'>
            <div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";

}

function closesidex() {

echo "
            </div>
        </td>
    <td class='b-right'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
</tr>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
    <td class='b-bottom-left'><img src='".THEME."images/blank.gif' width='7' height='9' alt='' style='display:block'></td>
    <td class='b-bottom-main'><img src='".THEME."images/blank.gif' width='1' height='9' alt='' style='display:block'></td>
    <td class='b-bottom-right'><img src='".THEME."images/blank.gif' width='9' height='9' alt='' style='display:block'></td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

echo "<table width='100%' cellspacing='0' cellpadding='0'>
    <tr>
        <td height='8'></td>
    </tr>
</table>\n";

}
?>



Parašė Dandžu· 2008 Rugp. 26 12:08:13
#14

Va.
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
// theme settings
$body_text = "#5A4007";
$body_bg = "#000000";
$theme_width = "60%";
$theme_width_l = "220";
$theme_width_r = "220";

function render_header($header_content) {

global $theme_width,$settings,$locale;


echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>
    <tr>
                                           <center><a href='/news.php'><img src='/atributai/pagrindinis.png'> <a href='/forum/index.php'><img src='/atributai/forumas.png'> <a href='/photogallery.php'><img src='/atributai/galerija.png'> <a href='/contact.php'><img src='/atributai/kontaktai.png'></center>
        <td>
            <table width='100%' cellspacing='0' cellpadding='0'>
                <tr>
                    <td class='header' style='padding:5px;'>
                        <table width='100%' cellspacing='0' cellpadding='0'>
                           <tr>
        <td class='g-left'><img src='".THEME."images/blank.gif' width='7' height='24' alt='' style='display:block'></td>
        <td class='g-top'>$subject</td>
        <td class='g-right'><img src='".THEME."images/blank.gif' width='9' height='24' alt='' style='display:block'></td>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<td class='g-bar-left'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
        <td class='main-body'><div style='width:100%;vertical-align:top;'>
             $header_content
            </div>  </tr>
<td class='g-bar-right'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>

                        </table>

            <table width='100%' cellspacing='0' cellpadding='0'>
                <tr>
                    <td class='bar-left'><img src='".THEME."images/blank.gif' width='4' height='24' alt='' style='display:block'></td>
                                                            <td class='bar-main'>\n";
                        $result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
                        if (dbrows($result) != 0) {
                           $i = 0;
                           while($data = dbarray($result)) {
                              if (checkgroup($data['link_visibility'])) {
                                 if ($data['link_url']!="---") {
                                    if ($i != 0) { echo " &middot;\n"; } else { echo "\n"; }
                                    $link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
                                    if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
                                       echo "
                                            <a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
                                    } else {
                                       echo "
                                            <a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
                                    }
                                 }
                                 $i++;
                              }
                           }
                        }
                        echo ($i == 0 ? "&nbsp;" : "")."
                    </td>
                    <td align='right' class='bar-main'>".ucwords(showdate("%A, %B %d, %Y", time()))."</td>
                    <td class='bar-right'><img src='".THEME."images/blank.gif' width='6' height='24' alt='' style='display:block'></td>
            </tr>
            </table>
            <table width='100%' cellspacing='0' cellpadding='0'>
                <tr>\n";

}

function render_footer($license=false) {

global $settings,$locale;

echo "
                </tr>
            </table>
            <table cellpadding='0' cellspacing='0' width='100%'>
                <tr>
                    <td class='header2'>".stripslashes($settings['footer'])."</td>
                </tr>
            </table>
            <table cellpadding='0' cellspacing='0' width='100%'>
 <tr>
                    <td align='center' class='header'><br>";
                        $text = array("<center><a href='/viewpage.php?page_id=2'><img src='http://mp-lt.xz.lt/atributai/reklama1lt.gif' border=0 alt='Viskas ko reikia tavo puslapiui!' /></a></center>","<center><a href='http://mp-lt.xz.lt/'  target='_blank'><IMG height=60 src='http://www.mp-lt.xz.lt/atributai/reklama.gif' width=468 border='0'></a></center>");
$cc = count($text) ;
$cl = $cc-1;
$rand = rand(0,$cl);
echo"$text[$rand]";
                        if ($license == false) {
                           echo "
                            </a><br><br>\n";


                        }
                        echo "
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>\n";

}

function render_news($subject, $news, $info) {

global $locale;

echo "<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='g-left'><img src='".THEME."images/blank.gif' width='7' height='24' alt='' style='display:block'></td>
        <td class='g-top'>$subject</td>
        <td class='g-right'><img src='".THEME."images/blank.gif' width='9' height='24' alt='' style='display:block'></td>
    </tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='g-bar-left'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
        <td class='main-body'>
            <div style='width:100%;vertical-align:top;'>
                $news
            </div>
            <div class='infobar'>
                ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
                ".$locale['041'].showdate("longdate", $info['news_date'])." &middot;
                ".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> &middot;\n" : "");
                if ($info['news_allow_comments']) echo "
                <a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> &middot;\n";
                echo $info['news_reads'].$locale['044']."
                <a href='print.php?type=N&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='border:0px;vertical-align:middle;'></a>
            </div>
        </td>
        <td class='g-bar-right'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
    </tr>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
    <td class='g-bottom-left'><img src='".THEME."images/blank.gif' width='7' height='9' alt='' style='display:block'></td>
    <td class='g-bottom'><img src='".THEME."images/blank.gif' width='100%' height='9' alt='' style='display:block'></td>
    <td class='g-bottom-right'><img src='".THEME."images/blank.gif' width='9' height='9' alt='' style='display:block'></td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {

global $settings,$locale;

echo "<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='g-left'><img src='".THEME."images/blank.gif' width='7' height='24' alt='' style='display:block'></td>
        <td class='g-top'>$subject</td>
        <td class='g-right'><img src='".THEME."images/blank.gif' width='9' height='24' alt='' style='display:block'></td>
    </tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='g-bar-left'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
        <td class='main-body'>
            <div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>
            <div class='infobar'>
                ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
                ".$locale['041'].showdate("longdate", $info['article_date'])." &middot;\n";
                if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." &middot;\n";
                echo $info['article_reads'].$locale['044']."
                <a href='print.php?type=A&amp;item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='border:0px;vertical-align:middle;'></a>
            </div>
        </td>
<td class='g-bar-right'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
    </tr>
<table width='100%' cellpadding='0' cellspacing='0'>
            <tr>
    <td class='g-bottom-left'><img src='".THEME."images/blank.gif' width='7' height='9' alt='' style='display:block'></td>
    <td class='g-bottom'><img src='".THEME."images/blank.gif' width='100%' height='9' alt='' style='display:block'></td>
    <td class='g-bottom-right'><img src='".THEME."images/blank.gif' width='9' height='9' alt='' style='display:block'></td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='g-left'><img src='".THEME."images/blank.gif' width='7' height='24' alt='' style='display:block'></td>
        <td class='g-top'>$title</td>
        <td class='g-right'><img src='".THEME."images/blank.gif' width='9' height='24' alt='' style='display:block'></td>
    </tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='g-bar-left'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
        <td class='main-body'>\n";

}

function closetable() {

echo "
        </td>
        <td class='g-bar-right'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
    </tr>
<table width='100%' cellpadding='0' cellspacing='0'>
   <tr>
    <td class='g-bottom-left'><img src='".THEME."images/blank.gif' width='7' height='9' alt='' style='display:block'></td>
    <td class='g-bottom'><img src='".THEME."images/blank.gif' width='100%' height='9' alt='' style='display:block'></td>
    <td class='g-bottom-right'><img src='".THEME."images/blank.gif' width='9' height='9' alt='' style='display:block'></td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='b-top-left'><img src='".THEME."images/blank.gif' width='7' height='24' alt='' style='display:block'></td>
        <td class='b-top-main'>$title</td>
        <td class='b-top-right'><img src='".THEME."images/blank.gif' width='9' height='24' alt='' style='display:block'></td>
    </tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='b-left'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
        <td class='side-body'>\n";

}

function closeside() {

echo "
        </td>
        <td class='b-right'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
    </tr>
<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='b-bottom-left'><img src='".THEME."images/blank.gif' width='7' height='9' alt='' style='display:block'></td>
        <td class='b-bottom-main'><img src='".THEME."images/blank.gif' width='1' height='9' alt='' style='display:block'></td>
        <td class='b-bottom-right'><img src='".THEME."images/blank.gif' width='9' height='9' alt='' style='display:block'></td>
    </tr>
</table>\n";
tablebreak();

}

$boxcounter = 1;
function opensidex($title,$open="on") {
   global $boxcounter;
   $boxname = "expbox".$boxcounter;
   $boxcounter++;
   $box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='b-top-left'><img src='".THEME."images/blank.gif' width='7' height='24' alt='' style='display:block'></td>
        <td class='b-top-main'>$title</td>
        <td class='b-top-main' align='right'><img onclick=\"javascript:flipBox('$boxname')\" name='b_$boxname' alt='$box_img' src='".THEME."images/panel_$box_img.gif'></td>
        <td class='b-top-right'><img src='".THEME."images/blank.gif' width='9' height='24' alt='' style='display:block'></td>
    </tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
        <td class='b-left'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
        <td class='side-body'>
            <div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";

}
function closesidex() {
echo "
            </div>
        </td>
    <td class='b-right'><img src='".THEME."images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
</tr>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
    <td class='b-bottom-left'><img src='".THEME."images/blank.gif' width='7' height='9' alt='' style='display:block'></td>
    <td class='b-bottom-main'><img src='".THEME."images/blank.gif' width='1' height='9' alt='' style='display:block'></td>
    <td class='b-bottom-right'><img src='".THEME."images/blank.gif' width='9' height='9' alt='' style='display:block'></td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

echo "<table width='100%' cellspacing='0' cellpadding='0'>
    <tr>
        <td height='8'></td>
    </tr>
</table>\n";

}
?>



Parašė Haked· 2008 Rugp. 26 12:08:11
#15

ačiū ;)