Navigacija

Vartotojų tinkle

Prisijungusių svečių: 690
Prisijungusių narių: 0
Prisijungusių narių nėra

Registruoti nariai: 25,956
Naujausias narys: saulyzas

Naujausi straipsniai

Paskutiniai nariai

saulyzas18:06:56
MaFetas 3 dienos
TOMIJUS 1 savaitė
ozzWANTED 1 savaitė
Reikalas10 savaitės
Jaunelis16 savaitės
lanis16 savaitės
And2s17 savaitės
Memento Mori22 savaitės
Quwqkibor24 savaitės
asirija28 savaitės
tomeem30 savaitės
weberiz34 savaitės
mRokass36 savaitės
kartoonas37 savaitės
grunskiz40 savaitės
Bruksnys40 savaitės
illusion40 savaitės
ordo41 savaitės
Jurgaila42 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 3.138.33.120
Naujienų: 529
Straipsnių: 235
Temų: 52,588
Postų: 522,537
Postų pask. parą: 0
Shout'ų pask. parą: 0
P.S.C. pask. parą: 0
Nuorodų kataloge: 13

Lankomumo Statistika

Peržiūrų šiandien: 22

Iš viso peržiūrų: 22948724

Prisijungti

REGISTRUOTIS
Nario vardas

Slaptažodis



Pamiršai slaptažodį?
Paprašyk naujo

Aktyvuoti save

Šaukykla

Jei norite rašyti žinutes, turite prisijungti.

MaFetas
2024 Lap. 13 22:11:57
hey how, geras dar veikiantis saitas?

Jaunelis
2024 Lie. 25 11:07:43
Oho vis dar veikia svetainė akinanti šypsen Šimtas metų, matau Šaukykloje nuostalgija. Smagu panaršyt po forumą ir pažiūrėt senas temas šypsosi

And2s
2024 Lie. 17 19:07:04
2008 pirmą kart čia patekau, man buvo 10m ir čia pramokau programavimo.. smagu skaityti senas žinutes, tokia nostalgija akinanti šypsen ačiū Ozz kad saugoji šitą kultūrinį reliktą šypsosi

ozzWANTED
2024 Sau. 17 01:01:00
Desperatiškus komentarus šaukykloje su accountu po mėnesio prasibuvimo, ištryniau. Pasaulis ir taip juodas. Įjungiam šviesą, prašviesės. šypsosi

Majakas
2023 Gru. 10 19:12:39
Negaliu patikėti jog žinutės/pranešimai visi yra nuo 2008 m akinanti šypsen

Šaukyklos archyvas

Apklausa

Ar esate patenkinti lietuviško vertimo kokybe?

Taip!

Taip, bet yra ką taisyti (parašysiu komentaruose)

Ne

Norėdamas balsuoti turite prisijungti.
Archyvas
Reklama 400x60
kaip redaguoti faila ?
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai

Autorius: kailass Peržiūrų: 967      Spausdinti temą
2007 Bir. 28 21:06:25          1 žinutė iš 2
Spausdinti pranešimą
sveiki, gal yra zinanciu kaip redaguoti faila :

<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright Ā© 2002 - 2005 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
+----------------------------------------------------*/
require_once "../../maincore.php";
require_once BASEDIR."subheader.php";
require_once BASEDIR."side_left.php";

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

include("csslmore/counterstrike.php");

if($_GET['server']) {
  $get_data = mysql_query(" SELECT * FROM ".$db_prefix."cssl WHERE id = '".$_GET['server']."' ORDER BY id ASC") or die($locale['cssl113'].": ".mysql_error());
  $row = @mysql_fetch_array($get_data);

    echo "<script language='JavaScript'>
    <!--
    function swap_content(divs) {
    displayType=(document.getElementById(divs).style.display=='none') ? 'block':'none';
    document.getElementById(divs).style.display=displayType;
    }
    //-->
    </script>";
      
        $serverip = $row['ip'];
      $serverport = $row['port'];
        $csinfo=new CounterStrike;
        $status=$csinfo->getServerInfo($serverip,$serverport,1000);
        
     //HL2
    if($csinfo->m_servervars["gamename"] == "ð") {
      $servers["servername"] = htmlentities($csinfo->m_servervars["serveraddress"]);
      $servers["gamename"] = $csinfo->m_servervars["game"];
      $servers["game"] = $csinfo->m_servervars["mapname"];
      $servers["mapname"] = $csinfo->m_servervars["servername"];
      $servers["currentplayers"] = $csinfo->m_servervars["currentplayers"];
      $servers["maxplayers"] = $csinfo->m_servervars["maxplayers"];
      $servers["type"] = "HL2";
    }
    //HL1
    else {
      $servers["servername"] = htmlentities($csinfo->m_servervars["servername"]);
      $servers["gamename"] = $csinfo->m_servervars["gamename"];
      $servers["game"] = $csinfo->m_servervars["game"];
      $servers["mapname"] = $csinfo->m_servervars["mapname"];
      $servers["currentplayers"] = $csinfo->m_servervars["currentplayers"];
      $servers["maxplayers"] = $csinfo->m_servervars["maxplayers"];
      $servers["type"] = "HL1";
    }

      if(!is_array($csinfo->m_servervars)) {
         for($i = 0; $i <= count($servers); $i++) {
            if($servers[$i] == $_GET['ip']) {
               echo"
                  <div>Server #".($i + 1)."</div>
               ";
            }
         }
      }
    else
    {
         opentable($servers["servername"]);
      }
      echo"
    ".$locale['cssl114']."
    <table border=0 width='100%'>
      <tr>
        <td valign=\"top\" width='30%'>".$locale['cssl115'].":</td>
        <td valign=\"top\">".joinip($serverip, $serverport, $servers["game"], $servers["type"])."</td>
        <td width=\"160\" height=\"120\" colspan=\"2\" rowspan=\"4\">".getMapImage($servers["game"]."/".$servers["mapname"])."</td>
      </tr>
      ";
      if(is_array($csinfo->m_servervars)) {
        echo"
        <tr>
          <td valign=\"top\">".$locale['cssl116'].":</td>
          <td valign=\"top\">".$servers["currentplayers"]." / ".$servers["maxplayers"]."</td>
        </tr>
        <tr>
          <td valign=\"top\">".$locale['cssl117'].":</td>
          <td valign=\"top\">".$servers["mapname"]."</td>
        </tr>
        <tr>
          <td valign=\"top\">".$locale['cssl121'].":</td>
          <td valign=\"top\">".$servers["gamename"]."</td>
        </tr>
        ";
      }
      echo"
    </table>
    <br />
    <a href=\"#\" onclick=\"swap_content('players'); return false;\">".$locale['cssl118']."</a>
    <div id=\"players\" style=\"display: none\">
    <table width='100%'>
      ";
      if(is_array($csinfo->m_playerinfo)) {
        while(list(,$player) = each ($csinfo->m_playerinfo)) {
          echo"
          <tr>
            <td width='300'>".$player['name']."</td>
            <td width='50' align='right'>".$player['frags']."</td>
            <td align='right'>".str_replace(" ", "0", $player['time'])."</td>
          </tr>
          ";
        }
      }
      else
      {
      echo"
        <tr>
          <td align='center'>".$locale['cssl119']."</td>
        </tr>
        ";
      }
      echo"
    </table>
    </div>
    ";
     
    echo '<br /><p align="center"><a href="?servers">'.$locale['cssl107'].'</a></p>';
    closetable();
    echo "<div align='center'>Copyright 2007 Ā© ReLaX @ <a href='http://www.webdesignz.dk' target='_blank'>Webdesignz.dk</a></div><br />";
}
else {
  $get_data = mysql_query(" SELECT * FROM ".$db_prefix."cssl ORDER BY sort ASC") or die("Der er sket en fejl: ".mysql_error());
 
  opentable($locale['cssl100']);
  echo '
  <table width="100%">
    <tr>
      <td>
       <b>'.$locale['cssl120'].'</b>
      </td>
      <td>
      <b>'.$locale['cssl115'].'</b>
      </td>
      <td>
      <b>'.$locale['cssl117'].'</b>
      </td>
      <td>
      <b>'.$locale['cssl121'].'</b>
      </td>
      <td>
      <b>'.$locale['cssl116'].'</b>
      </td>
    </tr>
  ';
  while($row = @mysql_fetch_array($get_data)) {
 
    $serverip = $row['ip'];
    $serverport = $row['port'];
    $csinfo=new CounterStrike;
    $status=$csinfo->getServerInfo($serverip,$serverport,1000);
   
     //HL2
    if($csinfo->m_servervars["gamename"] == "ð") {
      $server["servername"] = htmlentities($csinfo->m_servervars["serveraddress"]);
      $server["gamename"] = $csinfo->m_servervars["game"];
      $server["game"] = $csinfo->m_servervars["mapname"];
      $server["mapname"] = $csinfo->m_servervars["servername"];
      $server["currentplayers"] = $csinfo->m_servervars["currentplayers"];
      $server["maxplayers"] = $csinfo->m_servervars["maxplayers"];
      $server["type"] = "HL2";
    }
    //HL1
    else {
      $server["servername"] = htmlentities($csinfo->m_servervars["servername"]);
      $server["gamename"] = $csinfo->m_servervars["gamename"];
      $server["game"] = $csinfo->m_servervars["game"];
      $server["mapname"] = $csinfo->m_servervars["mapname"];
      $server["currentplayers"] = $csinfo->m_servervars["currentplayers"];
      $server["maxplayers"] = $csinfo->m_servervars["maxplayers"];
      $server["type"] = "HL1";
    }
 
    if(is_array($csinfo->m_servervars)) {
      echo '
      <tr>
        <td>
        <a href="?page=servers&server='.$row['id'].'">'. $server["servername"] . '</a>
        </td>
       <td>
        '.joinip($serverip, $serverport, $server["game"], $server["type"]).'
       </td>
       <td>
        '. $server["mapname"] . '
        </td>
        <td>
        '. $server["gamename"] . '
        </td>
        <td>
        '. $server["currentplayers"] . '/' . $server["maxplayers"] . '
        </td>
      </tr>
      ';
   
    }
    else {
    echo " <tr>
      <td>";
        echo "[<i>".$locale['cssl123']."</i>]";
      echo "</td>
      <td colspan=\"3\">
        ".$serverip.":".$serverport."
      </td>
    </tr>";
    }
  }
  echo "</table>";
  closetable();
  echo "<div align='center'>Jei norite, kad jusu serveris patektu i serveriu sarasa - susisiekite su administratoriumi.<br> Kol kas serverio idejimas nera apmokestintas<br />";
}

require_once BASEDIR."side_right.php";
require_once BASEDIR."footer.php";
?>





kad jis atrodytu ne taip :

[img]http://www.sostine.nkk.lt/images/untitled.bmp[/img]

o visi duomenys ir t.t. butu su konturais... ta prasme turetu gautis kazkas panasaus i lentele...

tikiuosi pagavot minty ;]
2007 Bir. 28 22:06:50          2 žinutė iš 2
Spausdinti pranešimą
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright Ā© 2002 - 2005 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
+----------------------------------------------------*/
require_once "../../maincore.php";
require_once BASEDIR."subheader.php";
require_once BASEDIR."side_left.php";

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

include("csslmore/counterstrike.php");

if($_GET['server']) {
  $get_data = mysql_query(" SELECT * FROM ".$db_prefix."cssl WHERE id = '".$_GET['server']."' ORDER BY id ASC") or die($locale['cssl113'].": ".mysql_error());
  $row = @mysql_fetch_array($get_data);

    echo "<script language='JavaScript'>
    <!--
    function swap_content(divs) {
    displayType=(document.getElementById(divs).style.display=='none') ? 'block':'none';
    document.getElementById(divs).style.display=displayType;
    }
    //-->
    </script>";
      
        $serverip = $row['ip'];
      $serverport = $row['port'];
        $csinfo=new CounterStrike;
        $status=$csinfo->getServerInfo($serverip,$serverport,1000);
        
     //HL2
    if($csinfo->m_servervars["gamename"] == "ð") {
      $servers["servername"] = htmlentities($csinfo->m_servervars["serveraddress"]);
      $servers["gamename"] = $csinfo->m_servervars["game"];
      $servers["game"] = $csinfo->m_servervars["mapname"];
      $servers["mapname"] = $csinfo->m_servervars["servername"];
      $servers["currentplayers"] = $csinfo->m_servervars["currentplayers"];
      $servers["maxplayers"] = $csinfo->m_servervars["maxplayers"];
      $servers["type"] = "HL2";
    }
    //HL1
    else {
      $servers["servername"] = htmlentities($csinfo->m_servervars["servername"]);
      $servers["gamename"] = $csinfo->m_servervars["gamename"];
      $servers["game"] = $csinfo->m_servervars["game"];
      $servers["mapname"] = $csinfo->m_servervars["mapname"];
      $servers["currentplayers"] = $csinfo->m_servervars["currentplayers"];
      $servers["maxplayers"] = $csinfo->m_servervars["maxplayers"];
      $servers["type"] = "HL1";
    }

      if(!is_array($csinfo->m_servervars)) {
         for($i = 0; $i <= count($servers); $i++) {
            if($servers[$i] == $_GET['ip']) {
               echo"
                  <div>Server #".($i + 1)."</div>
               ";
            }
         }
      }
    else
    {
         opentable($servers["servername"]);
      }
      echo"
    ".$locale['cssl114']."
    <table border=1 width='100%'>
      <tr>
        <td valign=\"top\" width='30%'>".$locale['cssl115'].":</td>
        <td valign=\"top\">".joinip($serverip, $serverport, $servers["game"], $servers["type"])."</td>
        <td width=\"160\" height=\"120\" colspan=\"2\" rowspan=\"4\">".getMapImage($servers["game"]."/".$servers["mapname"])."</td>
      </tr>
      ";
      if(is_array($csinfo->m_servervars)) {
        echo"
        <tr>
          <td valign=\"top\">".$locale['cssl116'].":</td>
          <td valign=\"top\">".$servers["currentplayers"]." / ".$servers["maxplayers"]."</td>
        </tr>
        <tr>
          <td valign=\"top\">".$locale['cssl117'].":</td>
          <td valign=\"top\">".$servers["mapname"]."</td>
        </tr>
        <tr>
          <td valign=\"top\">".$locale['cssl121'].":</td>
          <td valign=\"top\">".$servers["gamename"]."</td>
        </tr>
        ";
      }
      echo"
    </table>
    <br />
    <a href=\"#\" onclick=\"swap_content('players'); return false;\">".$locale['cssl118']."</a>
    <div id=\"players\" style=\"display: none\">
    <table width='100%'>
      ";
      if(is_array($csinfo->m_playerinfo)) {
        while(list(,$player) = each ($csinfo->m_playerinfo)) {
          echo"
          <tr>
            <td width='300'>".$player['name']."</td>
            <td width='50' align='right'>".$player['frags']."</td>
            <td align='right'>".str_replace(" ", "0", $player['time'])."</td>
          </tr>
          ";
        }
      }
      else
      {
      echo"
        <tr>
          <td align='center'>".$locale['cssl119']."</td>
        </tr>
        ";
      }
      echo"
    </table>
    </div>
    ";
     
    echo '<br /><p align="center"><a href="?servers">'.$locale['cssl107'].'</a></p>';
    closetable();
    echo "<div align='center'>Copyright 2007 Ā© ReLaX @ <a href='http://www.webdesignz.dk' target='_blank'>Webdesignz.dk</a></div><br />";
}
else {
  $get_data = mysql_query(" SELECT * FROM ".$db_prefix."cssl ORDER BY sort ASC") or die("Der er sket en fejl: ".mysql_error());
 
  opentable($locale['cssl100']);
  echo '
  <table border=1 width="100%">
    <tr>
      <td>
       <b>'.$locale['cssl120'].'</b>
      </td>
      <td>
      <b>'.$locale['cssl115'].'</b>
      </td>
      <td>
      <b>'.$locale['cssl117'].'</b>
      </td>
      <td>
      <b>'.$locale['cssl121'].'</b>
      </td>
      <td>
      <b>'.$locale['cssl116'].'</b>
      </td>
    </tr>
  ';
  while($row = @mysql_fetch_array($get_data)) {
 
    $serverip = $row['ip'];
    $serverport = $row['port'];
    $csinfo=new CounterStrike;
    $status=$csinfo->getServerInfo($serverip,$serverport,1000);
   
     //HL2
    if($csinfo->m_servervars["gamename"] == "ð") {
      $server["servername"] = htmlentities($csinfo->m_servervars["serveraddress"]);
      $server["gamename"] = $csinfo->m_servervars["game"];
      $server["game"] = $csinfo->m_servervars["mapname"];
      $server["mapname"] = $csinfo->m_servervars["servername"];
      $server["currentplayers"] = $csinfo->m_servervars["currentplayers"];
      $server["maxplayers"] = $csinfo->m_servervars["maxplayers"];
      $server["type"] = "HL2";
    }
    //HL1
    else {
      $server["servername"] = htmlentities($csinfo->m_servervars["servername"]);
      $server["gamename"] = $csinfo->m_servervars["gamename"];
      $server["game"] = $csinfo->m_servervars["game"];
      $server["mapname"] = $csinfo->m_servervars["mapname"];
      $server["currentplayers"] = $csinfo->m_servervars["currentplayers"];
      $server["maxplayers"] = $csinfo->m_servervars["maxplayers"];
      $server["type"] = "HL1";
    }
 
    if(is_array($csinfo->m_servervars)) {
      echo '
      <tr>
        <td>
        <a href="?page=servers&server='.$row['id'].'">'. $server["servername"] . '</a>
        </td>
       <td>
        '.joinip($serverip, $serverport, $server["game"], $server["type"]).'
       </td>
       <td>
        '. $server["mapname"] . '
        </td>
        <td>
        '. $server["gamename"] . '
        </td>
        <td>
        '. $server["currentplayers"] . '/' . $server["maxplayers"] . '
        </td>
      </tr>
      ';
   
    }
    else {
    echo " <tr>
      <td>";
        echo "[<i>".$locale['cssl123']."</i>]";
      echo "</td>
      <td colspan=\"3\">
        ".$serverip.":".$serverport."
      </td>
    </tr>";
    }
  }
  echo "</table>";
  closetable();
  echo "<div align='center'>Jei norite, kad jusu serveris patektu i serveriu sarasa - susisiekite su administratoriumi.<br> Kol kas serverio idejimas nera apmokestintas<br />";
}

require_once BASEDIR."side_right.php";
require_once BASEDIR."footer.php";
?>




Gal tiesiog taip?
Peršokti į forumą: