#1 2013-07-26 19:05:56

Bewanek
Člen
Registrován: 2013-02-17
Příspěvky: 102

Další problem -_-

Když si nastavim tinyMCE... Dám novinku, vložit video, tak to nejde dávám to přes "flash " na další stránce se objeví jen nadpis -_-

Offline

#2 2013-07-26 19:27:40

Trade
Endora rádce
Místo: Česká republika
Registrován: 2013-01-22
Příspěvky: 3,596
Web

Re: Další problem -_-

Nějaká ukázka a doména, kde to přesně nefunguje?


Kontaktujte nás | FAQ
Email: fk@endora.cz

Offline

#3 2013-07-26 19:51:20

Bewanek
Člen
Registrován: 2013-02-17
Příspěvky: 102

Re: Další problem -_-

http://bewas.4fan.cz/news.php

Edit:// K tomu jak jsem nainstaloval extreme wars panel, tak tam furt nemám vlajčky, které by tam měli být, dávám to do infusions s tím extreme a prostě ne  a ne by to tam bylo. Prosím pomohli byste mi, já vím, že jsem otravný, ale už na to nemám nervy.

Upravil Bewanek (2013-07-26 21:20:55)

Offline

#4 2013-07-26 22:24:37

kksmirice
Endora rádce
Místo: Vrchovnice
Registrován: 2011-11-20
Příspěvky: 6,023
Web

Re: Další problem -_-

Nezobrazují se ze dvou důvodů.
1. nesprávně uvedená cesta k obrázku images/flagi ( (správně infusions/eXtreme_warstats_panel/flagi/);
2. není uveden žádný soubor obrázku, který se má obrazit /.gif

Chyby tedy zjevně v nastavení infusionu.


1. Murphyho zákon:
Na počátku nebylo nic. I to se pokazilo!

stránky: CMS test
kontakt - instalace systémů, MySQL, FTP přístup, ...
Instalační balíky vybraných CSM

Problémy spojené s provozem služeb Endora, řešte na tomto fóru.

Offline

#5 2013-07-26 22:49:28

Bewanek
Člen
Registrován: 2013-02-17
Příspěvky: 102

Re: Další problem -_-

Teď ovšem kde to přenastavit, nikde to nevidím, asi jsem v háji.

Prosím o opravení, nejsem žádný profík, tak nevím co a jak...


<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright © 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: eXtreme_warstats.php
| Author: extreme-fusion crew | modyfied by EuGeN
+--------------------------------------------------------+
| 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 www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
require_once "../../maincore.php";
require_once THEMES."templates/header.php";

include INFUSIONS."eXtreme_warstats_panel/infusion_db.php";

// Check if locale file is available matching the current site locale setting.
if (file_exists(INFUSIONS."eXtreme_warstats_panel/locale/".$settings['locale'].".php")) {
    // Load the locale file matching the current site locale setting.
    include INFUSIONS."eXtreme_warstats_panel/locale/".$settings['locale'].".php";
} else {
    // Load the infusion's default locale file.
    include INFUSIONS."eXtreme_warstats_panel/locale/Slovak.php";
}
extract($_GET);
extract($_POST);
if (isset($detale_id)) {
    if ($data = dbarray(dbquery("SELECT * FROM ".DB_INFUSION_TABLE." WHERE warstats_id='$detale_id'"))) {
        $stats_opis = $data['warstats_opis'];
        $stats_opis = nl2br($stats_opis);
        opentable($locale['EWS301']. " " .$data['warstats_tag']);
        $result = dbquery("SELECT * FROM ".DB_INFUSION_TABLE."");
        echo "<br /><table align='center' width='500' cellspacing='1' cellpadding='0' class='tbl-border'>
        <tr>
        <td width='125' class='tbl2' width='130'style='font-weight:bold'>".$locale['EWS102']."</td>
        <td class='tbl1'><img src='".IMAGES."flagi/".$data['warstats_kraj'].".gif'> ".$data['warstats_tag']."</td>
        </tr>
        <td width='125' class='tbl2'style='font-weight:bold'>".$locale['EWS103']."</td>
        <td class='tbl1'><a href='".$data['warstats_adres']."' target='blank'>".$data['warstats_adres']."</a></td>
        </tr>
        <tr>
        <td width='125' class='tbl2'style='font-weight:bold'>".$locale['EWS104']."</td>
        <td class='tbl1'>".$data['warstats_xvsx']."</td>
        </tr>
        <tr>
        <td width='125' class='tbl2'style='font-weight:bold'>".$locale['EWS105']."</td>
        <td class='tbl1'>".$data['warstats_data']."</td>
        </tr>
        <tr>
        <td width='125' class='tbl2'style='font-weight:bold'>".$locale['EWS108']."</td>
        <td class='tbl1'>".$data['warstats_liga']."</td>
        </tr>
        <tr>
        <td width='125' class='tbl2'style='font-weight:bold'>".$locale['EWS109']."</td>
        <td class='tbl1'>".$data['warstats_mapa1']." (".$data['warstats_punkty11'].":".$data['warstats_punkty12'].")</td>
        </tr>
        <tr>
        <td width='125'class='tbl2'style='font-weight:bold'>".$locale['EWS114']."</td>
        <td class='tbl1'>".$data['warstats_mapa2']." (".$data['warstats_punkty21'].":".$data['warstats_punkty22'].")</td>
        </tr>
        <tr>
        <td width='125' class='tbl2'style='font-weight:bold'>".$locale['EWS212']."</td>
        <td class='tbl1'>";
$warstats_screen11 = "".$data['warstats_screen11']."";
$warstats_screen12 = "".$data['warstats_screen12']."";
$warstats_screen21 = "".$data['warstats_screen21']."";
$warstats_screen22 = "".$data['warstats_screen22']."";
        if ($warstats_screen11 != "") {
            echo "<a href='".$data['warstats_screen11']."' target='_blank'style='font-weight:bold'>1a</a> | ";

        }
        if ($warstats_screen12 != "") {
            echo "<a href='".$data['warstats_screen12']."' target='_blank'style='font-weight:bold'>1b</a> | ";
        }
        if ($warstats_screen21 != "") {
            echo "<a href='".$data['warstats_screen21']."' target='_blank'style='font-weight:bold'>2a</a> | ";
        }
        if ($warstats_screen22 != "") {
            echo "<a href='".$data['warstats_screen22']."' target='_blank'style='font-weight:bold'>2b</a>";
        } else {
            echo "".$locale['EWS302']."";
        }
        echo "</td>
        </tr>
        <tr>
        <td width='125' valign='top' class='tbl2'style='font-weight:bold'>".$locale['EWS115']."</td>
        <td class='tbl1'>$stats_opis
        </td></tr>
        </table><br />";
    }
    closetable();
    echo "&nbsp;&nbsp;&nbsp;<a href=\"javascript:history.go(-1)\" class='side'><b>".$locale['EWS303']."</b></a>";
} else {
    opentable($locale['EWS201']);
    if (!isset($sortby)) $sortby = "all";
    $orderby = ($sortby == "all" ? "" : " WHERE warstats_tag LIKE '$sortby%'");
    $result = dbquery("SELECT * FROM ".DB_INFUSION_TABLE."".$orderby."");
    $rows = dbrows($result);
    if (!isset($rowstart)) $rowstart = 0;
    if ($rows != 0) {
        echo "<table align='center' width='100%' cellspacing='0'>
        <tr>
        <td class='tbl2' width='20%'><b>".$locale['EWS203']."</b></td>
        <td align='center' class='tbl2' width='15%'><b>".$locale['EWS206']."</b></td>
        <td align='center' class='tbl2' width='10%'><b>".$locale['EWS204']."</b></td>
        <td align='center' class='tbl2' width='10%'><b>".$locale['EWS210']."</b></td>
        <td align='center' class='tbl2' width='10%'><b>".$locale['EWS205']."</b></td>
        <td align='center' class='tbl2' width='25%'><b>".$locale['EWS209']."</b></td>
        <td align='center' class='tbl2' width='15%'><b>".$locale['EWS212']."</b></td>
        </tr>\n";
        $result = dbquery("SELECT * FROM ".DB_INFUSION_TABLE."".$orderby." ORDER BY warstats_id DESC, warstats_tag LIMIT $rowstart,1000000000");
        while ($data = dbarray($result)) {
            echo "<tr>\n<td class='small' width='20%'><img src='".THEME."images/bullet.gif' alt=''>
            <img src='".IMAGES."flagi/".$data['warstats_kraj'].".gif'> <a href='".FUSION_SELF."?detale_id=".$data['warstats_id']."'><b>".$data['warstats_tag']."</b></a></td>\n";
            echo "<td class='small' align='center' width='15%'>".$data['warstats_data']."</td>";
            $punkty_klanu = $data['warstats_punkty11'] + $data['warstats_punkty21'];
            $punkty_przeciwnika = $data['warstats_punkty12'] + $data['warstats_punkty22'];
            $kolor_wygrany    = "#008000";
            $kolor_remisu = "#0000FF";
            $kolor_przegrany = "#FF0000";
            if($punkty_klanu > $punkty_przeciwnika) {
                $kolor = "$kolor_wygrany";
            } elseif($punkty_klanu < $punkty_przeciwnika) {
                $kolor = "$kolor_przegrany";
            } elseif($punkty_klanu == $punkty_przeciwnika) {
                $kolor = "$kolor_remisu";
            }
            echo "<td class='small' align='center' width='10%'><font color=$kolor>$punkty_klanu : $punkty_przeciwnika</font></td>";
            echo "<td class='small' align='center' width='10%'>".$data['warstats_liga']."</td>";
            echo "<td class='small' align='center' width='10%'>".$data['warstats_xvsx']."</td>";
            echo "<td class='small' align='center' width='25%'>".$data['warstats_mapa1']." / ".$data['warstats_mapa2']."</td>";
            echo "<td class='small' align='center' width='15%'>";
$warstats_screen11 = "".$data['warstats_screen11']."";
$warstats_screen12 = "".$data['warstats_screen12']."";
$warstats_screen21 = "".$data['warstats_screen21']."";
$warstats_screen22 = "".$data['warstats_screen22']."";
            if ($warstats_screen11 != "") {
                echo "<a href='".$data['warstats_screen11']."' target='_blank'><b>1</b></a> ";
            }
            if ($warstats_screen12 != "") {
                echo "<a href='".$data['warstats_screen12']."' target='_blank'><b>2</b></a> ";
            }
            if ($warstats_screen21 != "") {
                echo "<a href='".$data['warstats_screen21']."' target='_blank'><b>1</b></a> ";
            }
            if ($warstats_screen22 != "") {
                echo "<a href='".$data['warstats_screen22']."' target='_blank'><b>2</b></a>";
            } else {
                echo "".$locale['EWS302']."";
            }
            echo "</td></tr>";
        }
        echo "</table>\n";
    } else {
        echo "<center><br>\n".$locale['EWS211']." <b>$sortby<b><br><br>\n</center>\n";
    }
   
    $search = array(
    "A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R",
    "S","T","U","V","W","X","Y","Z","0","1","2","3","4","5","6","7","8","9"
    );
   
    echo "<hr><table align='center' cellpadding='0' cellspacing='1' class='tbl-border'>\n<tr>\n";
    echo "<td rowspan='2' class='tbl2'><a href='".FUSION_SELF."?sortby=all'>".$locale['EWS202']."</a></td>";
    for ($i=0;$i < 36!="";$i++) {
        echo "<td align='center' class='tbl1'><div class='small'><a href='".FUSION_SELF."?sortby=".$search[$i]."'>".$search[$i]."</a></div></td>";
        echo ($i==17 ? "<td rowspan='2' class='tbl2'><a href='".FUSION_SELF."?sortby=all'>".$locale['EWS202']."</a></td>\n</tr>\n<tr>\n" : "\n");
    }
    echo "</tr>\n</table>\n";
    closetable();
}
require_once THEMES."templates/footer.php";
?>

<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright © 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: infusion.php
| Author: extreme-fusion crew | modyfied by EuGeN
+--------------------------------------------------------+
| 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 www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

include INFUSIONS."eXtreme_warstats_panel/infusion_db.php";

// Check if locale file is available matching the current site locale setting.
if (file_exists(INFUSIONS."eXtreme_warstats_panel/locale/".$settings['locale'].".php")) {
    // Load the locale file matching the current site locale setting.
    include INFUSIONS."eXtreme_warstats_panel/locale/".$settings['locale'].".php";
} else {
    // Load the infusion's default locale file.
    include INFUSIONS."eXtreme_warstats_panel/locale/Slovak.php";
}

// Infusion general information
$inf_title = $locale['EWS_INF_NAME'];
$inf_description = $locale['EWS_INF_DESC'];
$inf_version = "1.3";
$inf_developer = "extreme-fusion crew | modyfied by EuGeN";
$inf_email = "tomek.eugen@gmail.com";
$inf_weburl = "http://eugen.bee.pl";

$inf_folder = "eXtreme_warstats_panel";// The folder in which the infusion resides.

// Delete any items not required below.
$inf_newtable[1] = DB_INFUSION_TABLE." (
warstats_id smallint(5) unsigned NOT NULL auto_increment,
warstats_tag varchar(25) NOT NULL default '',
warstats_kraj varchar(25) NOT NULL default '',
warstats_adres varchar(50) NOT NULL default '',
warstats_xvsx varchar(8) NOT NULL default '',
warstats_data varchar(20) NOT NULL default '',
warstats_liga varchar(20) NOT NULL default '',
warstats_mapa1 varchar(30) NOT NULL default '',
warstats_punkty11 varchar(3) NOT NULL default '',
warstats_punkty12 varchar(3) NOT NULL default '',
warstats_screen11 varchar(200) NOT NULL default '',
warstats_screen12 varchar(200) NOT NULL default '',
warstats_mapa2 varchar(30) NOT NULL default '',
warstats_punkty21 varchar(3) NOT NULL default '',
warstats_punkty22 varchar(3) NOT NULL default '',
warstats_screen21 varchar(200) NOT NULL default '',
warstats_screen22 varchar(200) NOT NULL default '',
warstats_opis text NOT NULL default '',
PRIMARY KEY  (`warstats_id`)
) ENGINE=MyISAM;";



$inf_adminpanel[1] = array(
    "title" => $locale['EWS_INF_NAME'],
    "image" => "image.gif",
    "panel" => "eXtreme_warstats_admin.php",
    "rights" => "XXX"
);

$inf_sitelink[1] = array(
    "title" => $locale['EWS_INF_LINK'],
    "url" => "eXtreme_warstats.php",
    "visibility" => "0"
);
?>

Upravil Bewanek (2013-07-26 22:57:06)

Offline

Zápatí

Založeno na FluxBB | CZ a SK