Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Pagelbekit jei nesunku

Parašė H@ppy· 2010 Vas. 8 19:02:59
#1

Tai vat susidūriau su tokia problema, neišeina panaikiti foto lenteles. Tam kas tai sugeba turetu buti nesunku, Nes jau man nerva nelaiko meginu ir nieko neiseina. Išmeto viska
Padėjusiam +10





Ir vat va šita stulpeli ir visa tai sucentruoti.







<?php
/*--------------------------------------------+
| PHP-Fusion 6 - Content Management System    |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk            |
| email: nick@php-fusion.co.uk                |
|---------------------------------------------|
| Released under the terms and conditions of  |
| the GNU General Public License (Version 2)  |
+--------------------------------------------*/
@require_once "../../config.php";
require_once "../../maincore.php";
require_once BASEDIR."subheader.php";
require_once BASEDIR."side_left.php";
if (file_exists(INFUSIONS."kovu_statistika_panel/locale/".$settings['locale'].".php")) {
   include INFUSIONS."kovu_statistika_panel/locale/".$settings['locale'].".php";
} else {
   include INFUSIONS."kovu_statistika_panel/locale/Lietuva.php";
}
if (isset($placiau)) {
   if ($data = dbarray(dbquery("SELECT * FROM ".$db_prefix."kovu_statistika WHERE kovu_statistika_id='$placiau'"))) {
      $stats_aprasymas = $data['kovu_statistika_aprasymas'];
      $stats_aprasymas = nl2br($stats_aprasymas);
      opentable($locale['EWS301']. " " .$data['kovu_statistika_tagas']);
      $result = dbquery("SELECT * FROM ".$db_prefix."kovu_statistika");
      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."veliavos/".$data['kovu_statistika_salis'].".png'> ".$data['kovu_statistika_tagas']."</td>
      </tr>
      <td width='125' class='tbl2'style='font-weight:bold'>".$locale['EWS103']."</td>
      <td class='tbl1'><a href='".$data['kovu_statistika_adresas']."' target='blank'>".$data['kovu_statistika_adresas']."</a></td>
      </tr>
      <tr>
      <td width='125' class='tbl2'style='font-weight:bold'>".$locale['EWS104']."</td>
      <td class='tbl1'>".$data['kovu_statistika_xvsx']."</td>
      </tr>
      <tr>
      <td width='125' class='tbl2'style='font-weight:bold'>".$locale['EWS105']."</td>
      <td class='tbl1'>".$data['kovu_statistika_data']."</td>
      </tr>
      <tr>
      <td width='125' class='tbl2'style='font-weight:bold'>".$locale['EWS108']."</td>
      <td class='tbl1'>".$data['kovu_statistika_liga']."</td>
      </tr>
      <tr>
      <td width='125' class='tbl2'style='font-weight:bold'>".$locale['EWS109']."</td>
      <td class='tbl1'>".$data['kovu_statistika_mapas1']." (".$data['kovu_statistika_punktas11'].":".$data['kovu_statistika_punktas12'].")</td>
      </tr>
      <tr>
      <td width='125'class='tbl2'style='font-weight:bold'>".$locale['EWS114']."</td>
      <td class='tbl1'>".$data['kovu_statistika_mapas2']." (".$data['kovu_statistika_punktas21'].":".$data['kovu_statistika_punktas22'].")</td>
      </tr>
      <tr>
      <td width='125' class='tbl2'style='font-weight:bold'>".$locale['EWS212']."</td>
      <td class='tbl1'>";
      if ($data[kovu_statistika_sfoto11] != "") {
         echo "<a href='".$data['kovu_statistika_foto11']."' target='_blank'style='font-weight:bold'>1a</a> | ";
      }
      if ($data[kovu_statistika_foto12] != "") {
         echo "<a href='".$data['kovu_statistika_foto12']."' target='_blank'style='font-weight:bold'>1b</a> | ";
      }
      if ($data[kovu_statistika_foto21] != "") {
         echo "<a href='".$data['kovu_statistika_foto21']."' target='_blank'style='font-weight:bold'>2a</a> | ";
      }
      if ($data[kovu_statistika_foto22] != "") {
         echo "<a href='".$data['kovu_statistika_foto22']."' 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_aprasymas
      </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($rusiuoti_pagal)) $rusiuoti_pagal = "all";
   $orderby = ($rusiuoti_pagal == "all" ? "" : " WHERE kovu_statistika_tagas LIKE '$rusiuoti_pagal%'");
   $result = dbquery("SELECT * FROM ".$db_prefix."kovu_statistika".$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_prefix."kovu_statistika".$orderby." ORDER BY kovu_statistika_id DESC, kovu_statistika_tagas 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."veliavos/".$data['kovu_statistika_salis'].".png'> <a href='".FUSION_SELF."?placiau=".$data['kovu_statistika_id']."'><b>".$data['kovu_statistika_tagas']."</b></a></td>\n";
         echo "<td class='small' align='center' width='15%'>".$data['kovu_statistika_data']."</td>";
         $klano_punktas = $data['kovu_statistika_punktas11'] + $data['kovu_statistika_punktas21'];
         $prieso_punktas = $data['kovu_statistika_punktas12'] + $data['kovu_statistika_punktas22'];
         $laimeto_spalva   = "#009900";
         $piesti_spalva = "#000099";
         $pralaimeto_slapva = "#990000";
         if($klano_punktas > $prieso_punktas) {
            $spalva = "$laimeto_spalva";
         } elseif($klano_punktas < $prieso_punktas) {
            $spalva = "$pralaimeto_slapva";
         } elseif($klano_punktas == $prieso_punktas) {
            $spalva = "$piesti_spalva";
         }
         echo "<td class='small' align='center' width='10%'><font color=$spalva>$klano_punktas : $prieso_punktas</font></td>";
         echo "<td class='small' align='center' width='10%'>".$data['kovu_statistika_liga']."</td>";
         echo "<td class='small' align='center' width='10%'>".$data['kovu_statistika_xvsx']."</td>";
         echo "<td class='small' align='center' width='25%'>".$data['kovu_statistika_mapas1']." / ".$data['kovu_statistika_mapas2']."</td>";
         echo "<td class='small' align='center' width='15%'>";
         if ($data[kovu_statistika_foto11] != "") {
            echo "<a href='".$data['kovu_statistika_foto11']."' target='_blank'><b>1</b></a> ";
         }
         if ($data[kovu_statistika_foto12] != "") {
            echo "<a href='".$data['kovu_statistika_foto12']."' target='_blank'><b>2</b></a> ";
         }
         if ($data[kovu_statistika_foto21] != "") {
            echo "<a href='".$data['kovu_statistika_foto21']."' target='_blank'><b>1</b></a> ";
         }
         if ($data[kovu_statistika_foto22] != "") {
            echo "<a href='".$data['kovu_statistika_foto22']."' target='_blank'><b>2</b></a>";
         } else {
            echo "".$locale['EWS302']."";
         }
         echo "</td></tr>";
      }
      echo "</table>\n";
   } else {
      echo "<center><br>\n".$locale['EWS211']." <b>$rusiuoti_pagal<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."?rusiuoti_pagal=all'>".$locale['EWS202']."</a></td>";
   for ($i=0;$i < 36!="";$i++) {
      echo "<td align='center' class='tbl1'><div class='small'><a href='".FUSION_SELF."?rusiuoti_pagal=".$search[$i]."'>".$search[$i]."</a></div></td>";
      echo ($i==17 ? "<td rowspan='2' class='tbl2'><a href='".FUSION_SELF."?rusiuoti_pagal=all'>".$locale['EWS202']."</a></td>\n</tr>\n<tr>\n" : "\n");
   }
   echo "</tr>\n</table>\n";
   closetable();
}
require_once BASEDIR."footer.php";
?>