Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Wantyq tema. 12:41 atnaujinta

Parašė T-Boy· 2010 Geg. 8 13:05:45
#1

Iš pradžių klausimas. Kaip pridėtiniame puslapyje įdėti code? Kai įdedu tą kodą tarp <code> </code> nieko neivyksta

Reikia tokio šaukyklos modo ant v6, kad priėjus ant rodyklės chatas juda pirmyn ar atgal. Pavyzdys: http://lrg.eplay.lt/news.php

Redagavo T-Boy· 2010 Spa. 29 12:10:20

Parašė Almanachas· 2010 Geg. 8 13:05:04
#2

Wantyq parašė:
Iš pradžių klausimas. Kaip pridėtiniame puslapyje įdėti code? Kai įdedu tą kodą tarp <code> </code> nieko neivyksta

Reikia tokio šaukyklos modo, kad priėjus ant rodyklės chatas juda pirmyn ar atgal. Pavyzdys: http://lrg.eplay.lt/news.php

Ajax tikrai yra modu suporte.

Parašė T-Boy· 2010 Geg. 8 13:05:21
#3

O gal galetum numesti tikslią nuorodą? Nes aš radau, bet ten nėra tų rodyklių dėl kurių man reikia šito modo.

Parašė Almanachas· 2010 Geg. 8 14:05:37
#4

Tikiuosi sito ieskai :)

http://phpfusion.lt/patobulinta-...

Parašė T-Boy· 2010 Rugs. 26 16:09:49
#5

Naujas klausimas. Noriu kurti projektą, tai jau turiu unikalų dizainą, tik jis dar psd. Patarkit ant ko kurti. Php v6 ar v7? :?

Redagavo T-Boy· 2010 Rugs. 26 16:09:17

Parašė Use Google· 2010 Rugs. 26 16:09:11
#6

Ant v7 geriau, patikek :)

Parašė T-Boy· 2010 Rugs. 26 16:09:51
#7

UseGoogle parašė:
Ant v7 geriau, patikek :)

O verta jį kurti su šituo "Gauk Php - Fusion sistemą per 2 minutes" ?

Parašė Use Google· 2010 Rugs. 26 16:09:05
#8

Kaip nori. Cia yra hostingas, tai gali kurti. Blogu atsiliepimu apie ji negirdejau.

Parašė T-Boy· 2010 Rugs. 26 16:09:54
#9

Bet sako, kad šitoje naujausioje php versija ir dar spragų, tai nežinau kaip čia daryti.

Parašė Žmogus· 2010 Rugs. 26 17:09:31
#10

Wantyq parašė:
Bet sako, kad šitoje naujausioje php versija ir dar spragų, tai nežinau kaip čia daryti.


Patikėk, palyginus su v6 tai čia tas "daug" netinkamas žodis

Parašė T-Boy· 2010 Rugs. 29 16:09:39
#11

Taigi žinau, kad kompe yra daug virusų, bet manoji antivirusinė ( AVG ) nieko neranda. Kokią patartumėt naudoti ir gal iškart galėtumėt duoti nuorodą iš kur ją parsisiųsti, kad būtų su visais key.

Parašė Pakartoti slaptažodį· 2010 Rugs. 29 17:09:52
#12

avast'ą bandyk. ;)

Parašė T-Boy· 2010 Rugs. 30 15:09:20
#13

Taigi išmetė errorą ant php v7, gal galite pataisyti tą kodą?
Error'as: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/*****/domains/*********/public_html/themes/templates/panels.php(78) : eval()'d code on line 2

Čia kodas:


<?php
/*-------------------------------------------------------+
| <span style="border-bottom: 1px dotted black;">PHP</span>-Fusion Content Management System
| Copyright (C) 2002 - 2010 Nick Jones
| <a href='http://www.php-fusion.co.uk/' target='_blank'><span style='color:005C5B'>http://www.php-fusion.co.uk/</span></a>
+--------------------------------------------------------+
| Filename: panels.php
| Author: Nick Jones (Digitanium)
| Co Author: Hans Kristian Flaatten (Starefossen)
| Co Author: bartek124
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at <a href='http://www.gnu.org/licenses/agpl.html.' target='_blank'><span style='color:005C5B'>www.gnu.org/licenses/agpl.html.</span></a> Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
 
// Calculate current true url
$script_url = explode("/", $_SERVER['PHP_SELF'].(FUSION_QUERY ? "?".FUSION_QUERY : ""));
$url_count = count($script_url);
$base_url_count = substr_count(BASEDIR, "/") + 1;
$start_page = "";
while ($base_url_count != 0) {
    $current = $url_count - $base_url_count;
    $start_page .= "/".$script_url[$current];
    $base_url_count--;
}
 
define("START_PAGE", substr(preg_replace("#(&amp;|\?)(s_action=edit&amp;shout_id=)([0-9]+)#s", "", $start_page), 1));
 
$p_sql = false; $p_arr = array(1 => false, 2 => false, 3 => false, 4 => false);
if (!defined("ADMIN_PANEL")) {
    if (check_panel_status("left")) {
        $p_sql = "panel_side='1'"; 
    }
    if (check_panel_status("upper")) {
        $p_sql .= ($p_sql ? " OR " : "");
        $p_sql .= ($settings['opening_page'] != START_PAGE ? "(panel_side='2' AND panel_display='1')" : "panel_side='2'");
    }
    if (check_panel_status("lower")) {
        $p_sql .= ($p_sql ? " OR " : "");
        $p_sql .= ($settings['opening_page'] != START_PAGE ? "(panel_side='3' AND panel_display='1')" : "panel_side='3'");
    }
    if (check_panel_status("right")) {
        $p_sql .= ($p_sql ? " OR " : "")."panel_side='4'"; 
    }
 
    $p_sql = ($p_sql ? " AND (".$p_sql.")" : false);
 
    if ($p_sql) {
        $p_res = dbquery(
            "SELECT panel_side, panel_type, panel_filename, panel_content FROM ".DB_PANELS." 
            WHERE panel_status='1'".$p_sql." AND ".groupaccess('panel_access')."
            ORDER BY panel_side, panel_order"
        );
        if (dbrows($p_res)) {
            $current_side = 0;
            while ($p_data = dbarray($p_res)) {
                if ($current_side == 0) {
                    ob_start();
                    $current_side = $p_data['panel_side'];
                }
                if ($current_side > 0 && $current_side != $p_data['panel_side']) {
                    $p_arr[$current_side] = ob_get_contents();
                    ob_end_clean();
                    $current_side = $p_data['panel_side'];
                    ob_start();
                }
                if ($p_data['panel_type'] == "file") {
                    if (file_exists(INFUSIONS.$p_data['panel_filename']."/".$p_data['panel_filename'].".php")) {
                        include INFUSIONS.$p_data['panel_filename']."/".$p_data['panel_filename'].".php";
                    }
                } else {
                    eval(stripslashes($p_data['panel_content']));
                }
            }
            $p_arr[$current_side] .= ob_get_contents();
            ob_end_clean();
        }
    }
} else {
    ob_start();
    require_once ADMIN."navigation.php";
    $p_arr[1] = ob_get_contents();
    ob_end_clean();
}
 
if (!defined("ADMIN_PANEL")) {
    $p_arr[2] = "<a id='content' name='content'></a>\n".$p_arr[2];
    if (iADMIN && $settings['maintenance']) {
        $p_arr[2] = "<div id='close-message'><div class='admin-message'>".$locale['global_190']."</div></div>\n".$p_arr[2];
    }
    if (iSUPERADMIN && file_exists(BASEDIR."setup.php")) {
        $p_arr[2] = "<div id='close-message'><div class='admin-message'>".$locale['global_198']."</div></div>\n".$p_arr[2];
    }
    if (iADMIN && !$userdata['user_admin_password']) {
        $p_arr[2] = "<div id='close-message'><div class='admin-message'>".$locale['global_199']."</div></div>\n".$p_arr[2];
    }
}
 
define("LEFT", $p_arr[1]);
define("U_CENTER", $p_arr[2]);
define("L_CENTER", $p_arr[3]);
define("RIGHT", $p_arr[4]);
unset($p_arr);
 
// Set the require div-width class
if (defined("ADMIN_PANEL")) {
    $main_style = "side-left";
} elseif (LEFT && RIGHT) {
    $main_style = "side-both";
} elseif (LEFT && !RIGHT) {
    $main_style = "side-left";
} elseif (!LEFT && RIGHT) {
    $main_style = "side-right";
} elseif (!LEFT && !RIGHT) {
    $main_style = "";
}
?>

Parašė T-Boy· 2010 Rugs. 30 17:09:39
#14

Taigi išmetė errorą ant php v7, gal galite pataisyti tą kodą?
Error'as: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/*****/domains/*********/public_html/themes/templates/panels.php(78) : eval()'d code on line 2

Čia kodas:


<?php
/*-------------------------------------------------------+
| <span style="border-bottom: 1px dotted black;">PHP</span>-Fusion Content Management System
| Copyright (C) 2002 - 2010 Nick Jones
| <a href='http://www.php-fusion.co.uk/' target='_blank'><span style='color:005C5B'>http://www.php-fusion.co.uk/</span></a>
+--------------------------------------------------------+
| Filename: panels.php
| Author: Nick Jones (Digitanium)
| Co Author: Hans Kristian Flaatten (Starefossen)
| Co Author: bartek124
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at <a href='http://www.gnu.org/licenses/agpl.html.' target='_blank'><span style='color:005C5B'>www.gnu.org/licenses/agpl.html.</span></a> Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
 
// Calculate current true url
$script_url = explode("/", $_SERVER['PHP_SELF'].(FUSION_QUERY ? "?".FUSION_QUERY : ""));
$url_count = count($script_url);
$base_url_count = substr_count(BASEDIR, "/") + 1;
$start_page = "";
while ($base_url_count != 0) {
    $current = $url_count - $base_url_count;
    $start_page .= "/".$script_url[$current];
    $base_url_count--;
}
 
define("START_PAGE", substr(preg_replace("#(&amp;|\?)(s_action=edit&amp;shout_id=)([0-9]+)#s", "", $start_page), 1));
 
$p_sql = false; $p_arr = array(1 => false, 2 => false, 3 => false, 4 => false);
if (!defined("ADMIN_PANEL")) {
    if (check_panel_status("left")) {
        $p_sql = "panel_side='1'"; 
    }
    if (check_panel_status("upper")) {
        $p_sql .= ($p_sql ? " OR " : "");
        $p_sql .= ($settings['opening_page'] != START_PAGE ? "(panel_side='2' AND panel_display='1')" : "panel_side='2'");
    }
    if (check_panel_status("lower")) {
        $p_sql .= ($p_sql ? " OR " : "");
        $p_sql .= ($settings['opening_page'] != START_PAGE ? "(panel_side='3' AND panel_display='1')" : "panel_side='3'");
    }
    if (check_panel_status("right")) {
        $p_sql .= ($p_sql ? " OR " : "")."panel_side='4'"; 
    }
 
    $p_sql = ($p_sql ? " AND (".$p_sql.")" : false);
 
    if ($p_sql) {
        $p_res = dbquery(
            "SELECT panel_side, panel_type, panel_filename, panel_content FROM ".DB_PANELS." 
            WHERE panel_status='1'".$p_sql." AND ".groupaccess('panel_access')."
            ORDER BY panel_side, panel_order"
        );
        if (dbrows($p_res)) {
            $current_side = 0;
            while ($p_data = dbarray($p_res)) {
                if ($current_side == 0) {
                    ob_start();
                    $current_side = $p_data['panel_side'];
                }
                if ($current_side > 0 && $current_side != $p_data['panel_side']) {
                    $p_arr[$current_side] = ob_get_contents();
                    ob_end_clean();
                    $current_side = $p_data['panel_side'];
                    ob_start();
                }
                if ($p_data['panel_type'] == "file") {
                    if (file_exists(INFUSIONS.$p_data['panel_filename']."/".$p_data['panel_filename'].".php")) {
                        include INFUSIONS.$p_data['panel_filename']."/".$p_data['panel_filename'].".php";
                    }
                } else {
                    eval(stripslashes($p_data['panel_content']));
                }
            }
            $p_arr[$current_side] .= ob_get_contents();
            ob_end_clean();
        }
    }
} else {
    ob_start();
    require_once ADMIN."navigation.php";
    $p_arr[1] = ob_get_contents();
    ob_end_clean();
}
 
if (!defined("ADMIN_PANEL")) {
    $p_arr[2] = "<a id='content' name='content'></a>\n".$p_arr[2];
    if (iADMIN && $settings['maintenance']) {
        $p_arr[2] = "<div id='close-message'><div class='admin-message'>".$locale['global_190']."</div></div>\n".$p_arr[2];
    }
    if (iSUPERADMIN && file_exists(BASEDIR."setup.php")) {
        $p_arr[2] = "<div id='close-message'><div class='admin-message'>".$locale['global_198']."</div></div>\n".$p_arr[2];
    }
    if (iADMIN && !$userdata['user_admin_password']) {
        $p_arr[2] = "<div id='close-message'><div class='admin-message'>".$locale['global_199']."</div></div>\n".$p_arr[2];
    }
}
 
define("LEFT", $p_arr[1]);
define("U_CENTER", $p_arr[2]);
define("L_CENTER", $p_arr[3]);
define("RIGHT", $p_arr[4]);
unset($p_arr);
 
// Set the require div-width class
if (defined("ADMIN_PANEL")) {
    $main_style = "side-left";
} elseif (LEFT && RIGHT) {
    $main_style = "side-both";
} elseif (LEFT && !RIGHT) {
    $main_style = "side-left";
} elseif (!LEFT && RIGHT) {
    $main_style = "side-right";
} elseif (!LEFT && !RIGHT) {
    $main_style = "";
}
?>

Parašė T-Boy· 2010 Rugs. 30 22:09:09
#15

Taigi išmetė errorą ant php v7, gal galite pataisyti tą kodą?
Error'as: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/*****/domains/*********/public_html/themes/templates/panels.php(78) : eval()'d code on line 2

Čia kodas:


<?php
/*-------------------------------------------------------+
| <span style="border-bottom: 1px dotted black;">PHP</span>-Fusion Content Management System
| Copyright (C) 2002 - 2010 Nick Jones
| <a href='http://www.php-fusion.co.uk/' target='_blank'><span style='color:005C5B'>http://www.php-fusion.co.uk/</span></a>
+--------------------------------------------------------+
| Filename: panels.php
| Author: Nick Jones (Digitanium)
| Co Author: Hans Kristian Flaatten (Starefossen)
| Co Author: bartek124
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at <a href='http://www.gnu.org/licenses/agpl.html.' target='_blank'><span style='color:005C5B'>www.gnu.org/licenses/agpl.html.</span></a> Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
 
// Calculate current true url
$script_url = explode("/", $_SERVER['PHP_SELF'].(FUSION_QUERY ? "?".FUSION_QUERY : ""));
$url_count = count($script_url);
$base_url_count = substr_count(BASEDIR, "/") + 1;
$start_page = "";
while ($base_url_count != 0) {
    $current = $url_count - $base_url_count;
    $start_page .= "/".$script_url[$current];
    $base_url_count--;
}
 
define("START_PAGE", substr(preg_replace("#(&amp;|\?)(s_action=edit&amp;shout_id=)([0-9]+)#s", "", $start_page), 1));
 
$p_sql = false; $p_arr = array(1 => false, 2 => false, 3 => false, 4 => false);
if (!defined("ADMIN_PANEL")) {
    if (check_panel_status("left")) {
        $p_sql = "panel_side='1'"; 
    }
    if (check_panel_status("upper")) {
        $p_sql .= ($p_sql ? " OR " : "");
        $p_sql .= ($settings['opening_page'] != START_PAGE ? "(panel_side='2' AND panel_display='1')" : "panel_side='2'");
    }
    if (check_panel_status("lower")) {
        $p_sql .= ($p_sql ? " OR " : "");
        $p_sql .= ($settings['opening_page'] != START_PAGE ? "(panel_side='3' AND panel_display='1')" : "panel_side='3'");
    }
    if (check_panel_status("right")) {
        $p_sql .= ($p_sql ? " OR " : "")."panel_side='4'"; 
    }
 
    $p_sql = ($p_sql ? " AND (".$p_sql.")" : false);
 
    if ($p_sql) {
        $p_res = dbquery(
            "SELECT panel_side, panel_type, panel_filename, panel_content FROM ".DB_PANELS." 
            WHERE panel_status='1'".$p_sql." AND ".groupaccess('panel_access')."
            ORDER BY panel_side, panel_order"
        );
        if (dbrows($p_res)) {
            $current_side = 0;
            while ($p_data = dbarray($p_res)) {
                if ($current_side == 0) {
                    ob_start();
                    $current_side = $p_data['panel_side'];
                }
                if ($current_side > 0 && $current_side != $p_data['panel_side']) {
                    $p_arr[$current_side] = ob_get_contents();
                    ob_end_clean();
                    $current_side = $p_data['panel_side'];
                    ob_start();
                }
                if ($p_data['panel_type'] == "file") {
                    if (file_exists(INFUSIONS.$p_data['panel_filename']."/".$p_data['panel_filename'].".php")) {
                        include INFUSIONS.$p_data['panel_filename']."/".$p_data['panel_filename'].".php";
                    }
                } else {
                    eval(stripslashes($p_data['panel_content']));
                }
            }
            $p_arr[$current_side] .= ob_get_contents();
            ob_end_clean();
        }
    }
} else {
    ob_start();
    require_once ADMIN."navigation.php";
    $p_arr[1] = ob_get_contents();
    ob_end_clean();
}
 
if (!defined("ADMIN_PANEL")) {
    $p_arr[2] = "<a id='content' name='content'></a>\n".$p_arr[2];
    if (iADMIN && $settings['maintenance']) {
        $p_arr[2] = "<div id='close-message'><div class='admin-message'>".$locale['global_190']."</div></div>\n".$p_arr[2];
    }
    if (iSUPERADMIN && file_exists(BASEDIR."setup.php")) {
        $p_arr[2] = "<div id='close-message'><div class='admin-message'>".$locale['global_198']."</div></div>\n".$p_arr[2];
    }
    if (iADMIN && !$userdata['user_admin_password']) {
        $p_arr[2] = "<div id='close-message'><div class='admin-message'>".$locale['global_199']."</div></div>\n".$p_arr[2];
    }
}
 
define("LEFT", $p_arr[1]);
define("U_CENTER", $p_arr[2]);
define("L_CENTER", $p_arr[3]);
define("RIGHT", $p_arr[4]);
unset($p_arr);
 
// Set the require div-width class
if (defined("ADMIN_PANEL")) {
    $main_style = "side-left";
} elseif (LEFT && RIGHT) {
    $main_style = "side-both";
} elseif (LEFT && !RIGHT) {
    $main_style = "side-left";
} elseif (!LEFT && RIGHT) {
    $main_style = "side-right";
} elseif (!LEFT && !RIGHT) {
    $main_style = "";
}
?>

Parašė T-Boy· 2010 Spa. 1 18:10:44
#16

Taigi išmetė errorą ant php v7, gal galite pataisyti tą kodą?
Error'as: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/*****/domains/*********/public_html/themes/templates/panels.php(78) : eval()'d code on line 2

Čia kodas:


<?php
/*-------------------------------------------------------+
| <span style="border-bottom: 1px dotted black;">PHP</span>-Fusion Content Management System
| Copyright (C) 2002 - 2010 Nick Jones
| <a href='http://www.php-fusion.co.uk/' target='_blank'><span style='color:005C5B'>http://www.php-fusion.co.uk/</span></a>
+--------------------------------------------------------+
| Filename: panels.php
| Author: Nick Jones (Digitanium)
| Co Author: Hans Kristian Flaatten (Starefossen)
| Co Author: bartek124
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at <a href='http://www.gnu.org/licenses/agpl.html.' target='_blank'><span style='color:005C5B'>www.gnu.org/licenses/agpl.html.</span></a> Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
 
// Calculate current true url
$script_url = explode("/", $_SERVER['PHP_SELF'].(FUSION_QUERY ? "?".FUSION_QUERY : ""));
$url_count = count($script_url);
$base_url_count = substr_count(BASEDIR, "/") + 1;
$start_page = "";
while ($base_url_count != 0) {
    $current = $url_count - $base_url_count;
    $start_page .= "/".$script_url[$current];
    $base_url_count--;
}
 
define("START_PAGE", substr(preg_replace("#(&amp;|\?)(s_action=edit&amp;shout_id=)([0-9]+)#s", "", $start_page), 1));
 
$p_sql = false; $p_arr = array(1 => false, 2 => false, 3 => false, 4 => false);
if (!defined("ADMIN_PANEL")) {
    if (check_panel_status("left")) {
        $p_sql = "panel_side='1'"; 
    }
    if (check_panel_status("upper")) {
        $p_sql .= ($p_sql ? " OR " : "");
        $p_sql .= ($settings['opening_page'] != START_PAGE ? "(panel_side='2' AND panel_display='1')" : "panel_side='2'");
    }
    if (check_panel_status("lower")) {
        $p_sql .= ($p_sql ? " OR " : "");
        $p_sql .= ($settings['opening_page'] != START_PAGE ? "(panel_side='3' AND panel_display='1')" : "panel_side='3'");
    }
    if (check_panel_status("right")) {
        $p_sql .= ($p_sql ? " OR " : "")."panel_side='4'"; 
    }
 
    $p_sql = ($p_sql ? " AND (".$p_sql.")" : false);
 
    if ($p_sql) {
        $p_res = dbquery(
            "SELECT panel_side, panel_type, panel_filename, panel_content FROM ".DB_PANELS." 
            WHERE panel_status='1'".$p_sql." AND ".groupaccess('panel_access')."
            ORDER BY panel_side, panel_order"
        );
        if (dbrows($p_res)) {
            $current_side = 0;
            while ($p_data = dbarray($p_res)) {
                if ($current_side == 0) {
                    ob_start();
                    $current_side = $p_data['panel_side'];
                }
                if ($current_side > 0 && $current_side != $p_data['panel_side']) {
                    $p_arr[$current_side] = ob_get_contents();
                    ob_end_clean();
                    $current_side = $p_data['panel_side'];
                    ob_start();
                }
                if ($p_data['panel_type'] == "file") {
                    if (file_exists(INFUSIONS.$p_data['panel_filename']."/".$p_data['panel_filename'].".php")) {
                        include INFUSIONS.$p_data['panel_filename']."/".$p_data['panel_filename'].".php";
                    }
                } else {
                    eval(stripslashes($p_data['panel_content']));
                }
            }
            $p_arr[$current_side] .= ob_get_contents();
            ob_end_clean();
        }
    }
} else {
    ob_start();
    require_once ADMIN."navigation.php";
    $p_arr[1] = ob_get_contents();
    ob_end_clean();
}
 
if (!defined("ADMIN_PANEL")) {
    $p_arr[2] = "<a id='content' name='content'></a>\n".$p_arr[2];
    if (iADMIN && $settings['maintenance']) {
        $p_arr[2] = "<div id='close-message'><div class='admin-message'>".$locale['global_190']."</div></div>\n".$p_arr[2];
    }
    if (iSUPERADMIN && file_exists(BASEDIR."setup.php")) {
        $p_arr[2] = "<div id='close-message'><div class='admin-message'>".$locale['global_198']."</div></div>\n".$p_arr[2];
    }
    if (iADMIN && !$userdata['user_admin_password']) {
        $p_arr[2] = "<div id='close-message'><div class='admin-message'>".$locale['global_199']."</div></div>\n".$p_arr[2];
    }
}
 
define("LEFT", $p_arr[1]);
define("U_CENTER", $p_arr[2]);
define("L_CENTER", $p_arr[3]);
define("RIGHT", $p_arr[4]);
unset($p_arr);
 
// Set the require div-width class
if (defined("ADMIN_PANEL")) {
    $main_style = "side-left";
} elseif (LEFT && RIGHT) {
    $main_style = "side-both";
} elseif (LEFT && !RIGHT) {
    $main_style = "side-left";
} elseif (!LEFT && RIGHT) {
    $main_style = "side-right";
} elseif (!LEFT && !RIGHT) {
    $main_style = "";
}
?>

Parašė T-Boy· 2010 Spa. 2 16:10:11
#17

Reikia į šitą eilutę įterpti kodą, kad tie mygtukai būų lygiojamu center pozicija (taprasme, kad stovėtų per vidurį).

echo display_bbcodes("185px;", "shout_message", "shout_form", "smiley|b|u|url|color")."\n";

Parašė edeni· 2010 Spa. 2 16:10:45
#18


echo"<center>";
echo display_bbcodes("185px;", "shout_message", "shout_form", "smiley|b|u|url|color")."\n";
echo "</center>";


Megink nežinau ar veiks.

Parašė T-Boy· 2010 Spa. 4 21:10:34
#19

Naujas klausimas. Kaip pakeisti, kad šaukyklos back-ground būtų baltos spalvos. Čia style.css
a {
    color : #db3bae;
    text-decoration : none;
}

a:hover {
    color : #db3bae;
    text-decoration : underline;
}

a.side {
    color : #ffffff;
    text-decoration : none;
}

a:hover.side {
    color : #ffffff;
    text-decoration : underline;
}

a.white, li.white a {
    color: #ddd;
    text-decoration: none;
}

a:hover.white, li.white a:hover {
    color: #ddd;
    text-decoration: underline;
}

body {
    color : #555;
    background : #100214;
    font-family : Tahoma, Arial, Helvetica, sans-serif;
    font-size : 11px;
    padding:0px;
    margin:0px;
}

form {
    margin : 0px;
}

hr {
    height : 1px;
    border : 1px solid #eee;
}

hr.side-hr {
    height : 1px;
    border : 1px solid #eee;
}

td {
    font-family : Verdana, Arial, Helvetica, sans-serif;
    font-size : 11px;
}

pre {
    font-family : Verdana, Arial, Helvetica, sans-serif;
    font-size : 11px;
}

.alt {
    color : #005599;
}

img {border:0px;}

#header {
background-image:url(images/header.png);
background-repeat:no-repeat;
height:342px;
position:relative
}

    #reklama {
    position:absolute;
    top:40px;
    left:478px;
    }
   
   
    #eteris {
    position:absolute;
    top:180px;
    left:560px;
    background-image:url(images/eteris.png);
    background-repeat:no-repeat;
    width:429px;
    height:164px;
    padding:10px;
    color:#ffffff;
    font-family:Tahoma;
    }



.sub-header {
    font-family : Verdana, Arial, Helvetica, sans-serif;
    font-size : 10px;
    color : #000;
    background-color : #888;
    border-top : 1px solid #000;
    border-bottom : 1px solid #000;
    padding : 5px;
}

.sub-header ul{
    margin: 0;
    padding: 0;
}

.sub-header ul li{
    display: inline;
}

.sub-header ul li.first-link .bullet{
    display: none;
}

.full-header {
    font-family : Verdana, Arial, Helvetica, sans-serif;
    font-size : 10px;
    color : #ddd;
    background-color : #444;
    padding : 10px;
}

.footer {
background-image:url(images/footer.png);
background-repeat:no-repeat;
height:93px;
font-family:Tahoma;
font-size:11px;
color:#ffffff;
padding:5px;
}

.button {
    font-family : Verdana, Arial, Helvetica, sans-serif;
    font-size : 10px;
    color : #555;
    background-color : #f1f1f1;
    height : 20px;
    border : 1px solid #ccc;
    margin-top : 2px;
}

.bbcode {
    font-family : Verdana, Arial, Helvetica, sans-serif;
    font-size : 10px;
    color : #555;
    background-color : #f1f1f1;
    border : 1px solid #ccc;
    margin-top : 2px;
}

.textbox {
    font-family : Verdana, Arial, Helvetica, sans-serif;
    font-size : 10px;
    color : #555;
    background-color : #f8f8f8;
    border : 1px solid #ccc;
}

.main-body {
    font-family:Arial, Helvetica, sans-serif;
    font-size : 11px;
    color : #57005a;
    background-image:url(images/maiibody.png);
    background-repeat:repeat-x;
    background-color : #fff;
    padding-left:10px;
    padding-right:10px;
    padding-top:5px;
}

    .capacia {
    background-image:url(images/centr-apacia.png);
    background-repeat:no-repeat;
    height:30px;
    }

.center {
    margin : 0 auto;
}

.side-body {
    background-image:url(images/sidebody.png);
    background-repeat:repeat-y;
    font-size : 11px;
    color : #ffffff;
    padding-left:10px;
    padding-right:10px;
    padding-top:2px;
}

    .apacia {
    background-image:url(images/apacia.png);
    background-repeat:no-repeat;
    height:35px;
    }

.main-bg {
    color : #555;
    padding : 10px 10px 5px 10px;
}



.border {
    border : 1px solid #e1e1e1;
    margin-bottom : 5px;
}

.admin-message {
    font-family : Verdana, Arial, Helvetica, sans-serif;
    font-size : 11px;
    text-align : center;
    color : #555;
    background-color : #f6f6f6;
    border : 1px solid #e1e1e1;
    padding : 3px 4px 5px 4px;
    margin-bottom : 5px;
}

.side-left .side-border-right {display: none;}
.side-right .side-border-left {display: none;}

.side-border-left {
    color : #777;
    padding : 10px 0px 10px 10px;
    width: 256px;
}

.side-border-right {
    color : #777;
    padding : 10px 10px 10px 0px;
    width: 175px;
}

.news-category {
    border:0;
    margin:3px 5px 0 0;
    float:left;
}

.news-footer {
    font-size : 10px;
    color : #555;
    background-color : #f1f1f1;
    padding : 3px 4px 4px 4px;
}

.capmain {
background-image:url(images/capmain.png);
background-repeat:no-repeat;
height:47px;
}

    .capmain .text {
    font-family:Tahoma;
    font-size:12px;
    color:#ffffff;
    text-align:center;
    }



.scapmain {
    background-image:url(images/scapmain.png);
    background-repeat:no-repeat;
    height:39px;
}

    .scapmain .text {
    font-family:Tahoma;
    font-size:11px;
    color:#611a4d;
    font-weight:bold;
    text-align:center;
    }




.tbl-border {
    border : 1px solid #e1e1e1;
}

.tbl {
    font-size : 11px;
    color : #555;
    background-color : #fff;
    padding : 4px;
}

.tbl1 {
    font-size : 11px;
    color : #555;
    background-color : #fff;
    padding : 4px;
}

.tbl2 {
    font-size : 11px;
    color : #555;
    background-color : #f1f1f1;
    padding : 4px;
}

.forum-caption {
    font-size : 11px;
    font-weight : bold;
    color : #888;
    background-color : #f1f1f1;
    padding : 2px 4px 4px 4px;
}

.quote {
    font-size : 11px;
    color : #555;
    background-color : #f8f8f8;
    padding : 4px;
    margin : 0px 20px 0px 20px;
    border : 1px solid #bbb;
}

.poll {
    height : 12px;
    border : 1px solid #bbb;
}

.comment-name {
    font-weight : bold;
    color : #005599;
}

.shoutboxname {
    font-weight : bold;
    color : #005599;
    background-color : #f6f6f6;
}

.shoutbox {
    color : #FFF;
    background-color : #f6f6f6;
}

.shoutboxdate {
    font-size : 10px;
    color : #888;
    background-color : #f6f6f6;
}

.small {
    font-size : 10px;
    font-weight : normal;
}

.small2 {
    font-size : 10px;
    font-weight : normal;
    color : #555;
}

.side-small {
    font-size : 10px;
    font-weight : normal;
    color : #555;
    background-color : #f6f6f6;
}

.side-label {
    color : #555;
    background-color : #f1f1f1;
    padding : 2px 2px 3px 2px;
}

/* Vertical Navigation */

#navigation h2 {
    font-size: 10px;
    color : #555;
    background-color: #f1f1f1;
    margin: 0;
    padding: 4px;
}
   
#navigation ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

* html #navigation ul li{
   height: 1%;
}

#navigation a {
    display: block;
    color: #005599;
    background-color: #f6f6f6;
    padding: 2px;
    text-decoration : none;
}

#navigation a:hover {
    color: #f6f6f6;
    background-color: #005599;
}

/* Page Navigation */

.pagenav {
    padding: 0.4em;
}

.pagenav span {
    color: #fff;
    background-color: #005599;
    border: 1px solid #e1e1e1;
    padding: 0.2em 0.4em 0.2em 0.4em;
    margin: 0.2em;
}

.pagenav a {
    color: #005599;
    background-color: #fff;
    border: 1px solid #e1e1e1;
    padding: 0.2em 0.4em 0.2em 0.4em;
    margin: 0.2em;
    text-decoration: none;
}

.pagenav a:hover {
    color: #fff;
    background-color: #005599;
    margin: 0.2em;
    text-decoration: none;
}



#meniu {
     width: 858px;
     height: 41px;
     margin: 0px auto;
     position: absolute;
     z-index: 9998;
     top:127px;
     left:100px;
}

#meniu ul {
    margin: 0;
    padding: 0;
}

#meniu li { display: inline; }

#meniu li a {
    display: block;
    width: 171px;
    height: 41px;
    background-image: url(images/nav.png);
    background-repeat: no-repeat;
    float: left;
}


#meniu li a#meniu_pagrindinis {
    background-position: -2px 0px;
}

#meniu li a#meniu_apie-mus {
    background-position: -173px 0px;
}

#meniu li a#meniu_kolektyvas {
    background-position: -344px 0px;
}

#meniu li a#meniu_programa {
    background-position: -516px 0px;
}

#meniu li a#meniu_top10 {
    background-position: -687px 0px;
}



#meniu li a#meniu_pagrindinis:hover {
    background-position: -2px -41px;
}

#meniu li a#meniu_apie-mus:hover {
    background-position: -173px -41px;
}

#meniu li a#meniu_kolektyvas:hover {
    background-position: -344px -41px;
}

#meniu li a#meniu_programa:hover {
    background-position: -516px -41px;
}

#meniu li a#meniu_top10:hover {
    background-position: -687px -41px;
}




#slider {
position:absolute;
top:175px;
left:10px;
}


#featured{
    width:541px;
    padding-right:0px;
    position:relative;
    border:1px solid #8d0392;
    height:164px;
}
#featured ul.ui-tabs-nav{
    position:absolute;
    top:0; left:390px;
    list-style:none;
    padding:0; margin:0;
    width:150px;
}
#featured ul.ui-tabs-nav li{
    padding:1px 0; padding-left:13px; 
    font-size:12px;
    color:#fff;
}
#featured ul.ui-tabs-nav li span{
    font-size:12px; font-family:Arial;
    text-align:center;
 
}
#featured li.ui-tabs-nav-item a{
    display:block;
    height:39px;
    color:#ffffff;  background:#474747;
    line-height:40px;
    text-align:center;
}
#featured li.ui-tabs-nav-item a:hover{
    background:#666666;
    text-decoration:none;
}
#featured ul.ui-tabs-nav li.ui-tabs-selected a{
    background:#666666;
}




#featured .ui-tabs-panel{
    width:400px; height:162px;
    background:#999; position:relative;
}
#featured .ui-tabs-panel .info{
    position:absolute;
    top:100px; left:0;
    height:70px;
    background: url('images/transparent-bg.png');
}
#featured .info p{
    margin:0 5px;
    font-family:arial; font-size:11px;
     color:#f0f0f0;
}
#featured .info a{
    text-decoration:none;
    color:#fff;
}
#featured .info a:hover{
    text-decoration:underline;
}
#featured .ui-tabs-hide{
    display:none;
}



Parašė edeni· 2010 Spa. 5 12:10:34
#20


.shoutbox {
    color : #FFF;
    background-color : #fff;
}


Tikriausiai tas.

Parašė T-Boy· 2010 Spa. 22 17:10:46
#21

Ar įmanoma pakeisti eterio panelėje, kad rodytų kitokį teksto stilių, šiame kode:

<td style="padding-left:60px; padding-bottom:20px; font-size:17px;">Eteryje: <b>'.$aim.'</b></td>


Jei galite paredaguokite, kad būtų galima įterpti kokį nors kitą teksto šriftą.

Redagavo T-Boy· 2010 Spa. 22 17:10:11

Parašė T-Boy· 2010 Spa. 22 18:10:51
#22

Softeriz, nepadėjo, vistiek tokio pat stiliaus rodo. Gal dar kitokį bandyti?

Parašė T-Boy· 2010 Spa. 22 19:10:13
#23

SofteriZ parašė:
Ką tu tiksliai turi omeny minėdamas stilių ? Dydį, fontą, spalvą ar ką ?

Šriftą. Pvz Times New Roman, Arial ir pan.

Parašė edeni· 2010 Spa. 22 20:10:05
#24


font-family:Arial;
arba

font-family:Times New Roman;

Parašė T-Boy· 2010 Spa. 29 12:10:02
#25

Kaip vadinas programa, su kuria torrentų puslapiuose galima pasikelti ratio nelegaliai? Ir ar labai didelė tikimybė gauti ban jei į dieną nedaugiau kaip 10GB prisidedi?

Redagavo T-Boy· 2010 Spa. 29 12:10:41

Parašė edeni· 2010 Spa. 29 12:10:33
#26

RatioMaster man rodos ;)

Parašė T-Boy· 2010 Spa. 29 12:10:03
#27

Goku parašė:
RatioMaster man rodos ;)

Jo šita, ačiū kaip ir visada. :D

Parašė T-Boy· 2010 Lap. 8 22:11:16
#28

Turiu tokią problemą. Kaip padaryti, kad tą panelę matytų tik svečiai, bet, kad nematytų jos nei nariai, nei administratoriai, nei vyr administratoriai? TVS: php v7
Štai code, jei galite padarykite, duosiu +11:

@openside("<center>Registruokis!</center>");
?>
 
 
<center><a href="http://rs.tt.lt/register.php"><img src="http://v7.lt/images/128757.jpg" border="0" alt>
 
</span></center>
<?
@closeside(); 

Redagavo T-Boy· 2010 Lap. 8 22:11:21

Parašė Kižas· 2010 Lap. 8 23:11:30
#29


if (iGUEST){
@openside("<center>Registruokis!</center>");
 
?>
 
<center><a href="http://rs.tt.lt/register.php"><img src="http://v7.lt/images/128757.jpg" border="0" alt>
 
 </span></center>
 
<?
 
@closeside(); 
} else {
}

Parašė T-Boy· 2010 Lap. 13 10:11:13
#30

Gal galite duoti link į šį puslapį kur yra converteris iš HTML į PHP? :)

Redagavo T-Boy· 2010 Lap. 13 11:11:21

Parašė Kižas· 2010 Lap. 15 18:11:31
#31

Štai puikus konverteris http://tools.devshed.com/?option...mp;tool=32
Įvertink mano pastangas +11

Redagavo Kižas· 2010 Lap. 15 18:11:17