PHP-Fusion Mods
Navigacija
Apsauga
Apsauga Neleista registracija: 15944
Šiandien: 24
Prisijungę nariai
» Svečių: 1
» Narių: 0

» Viso narių: 10,225
» Naujausias: Piter_NS

Prisijungimų istorija:
tabuxsenokai
Piter_NSnepamenu
MariukasRnepamenu
CepelinasXnepamenu
demeexnepamenu
sanpernepamenu
DvBnepamenu
Rasmitasnepamenu
mindagasssnepamenu
kajanasnepamenu
wertynasnepamenu
welniukaaznepamenu
Pask. modai
Prisijungti
Vardas

Slaptažodis



Dar ne narys?
Registruotis.

Pamiršai slaptažodį?
Prašyk naujo!.

Naujausi prašymai
[L] testas
Narių apklausa
Ar dar kuriate tinklalapius?

Ne
Ne
0% [0 Balsai]

Taip
Taip
100% [4 Balsai]

Naudojuosi socialiniais tinklais
Naudojuosi socialiniais tinklais
0% [0 Balsai]

Balsai: 4
Kad galėtum balsuoti, turi prisijungti.
Pradėta: 2022-05-29 19:54
Shoutbox
You must login to post a message.

2024-03-07 22:13
Oj Tabux… apkabinčiau už tą moderatorių 😁

2024-02-22 17:40
Šypsosi2 jo buvo laikai.. Senukai jau mes. Bega laikas greiciau nei noretusi. Smagu matyti kad uzsuka seni nariai, ne as vienas Šypsosi

2024-02-20 22:18
Zodziu.. Nostalgija. Sorry Tabux uz spam’a, netelpa viskas i viena shout’a. 😁

2024-02-20 22:14
Aisku dabar tokie laikai, kai turinio valdymo sistemas valdome one-click principu. Ne kaip seniau kode ieskodavom klaidu, norint moda pasileist.. :D paciam reikdavo susidiegt viska i ftp..

2024-02-20 22:03
Sveiki kolegos 👌 kazkada rasiau greit 11 metu bet ziuriu greit 14 metu. 😄 baisuu, reik ta proga kazka sugalvot su php-f kaip jaunima itraukt.

Shoutbox Archive
Peržiūrėti temą
PHP-Fusion Mods :: PHP-Fusion modifikacijų forumas :: Taisymas

   
 Spausdinti temą
v7 themes.php padekit
vadeiva
#1 Spausdinti pranešimą
parašyta 2012-12-06 16:34
Vartotojo avataras

Apšylantis



Reputacija: 0

Pranešimai: 71
Įstojo: 2012-06-02

sveiki kuriu tema tam kad padetumet man ir tikrai manau sita tema daug kam pades kas nori facebook padarit naujenose ir stripsniose taigi imesiu savo themes.php jus man padesit imest viena koda nes man vis klaida meta o as jums dosiu facebook kodus naujenoms ir stripsniams ir pasakisiu mazdauk kur ka kist taigi,

acidarome themes.php >
beveik paciame virsui ira eilute
Download source  Code
function render_page($license = false) {



ir po ja ikisam sita koda >
Download source  Code
echo \"\n\";
   echo \"\n\";
   add_to_head(\"\");




tada beveik pacioja apacioja randame
Download source  Code
 function render_news($subject, $news, $info) {




ir sitoj vietoj reikia kaskaip ikist sita koda man nesigauna tai padekit
kodas kur terpti po
Download source  Code
function render_news($subject, $news, $info) {



va
Download source  Code
if (SHAREING) {
//Share Buttons
echo \"
\";
//FB Like button
echo \"
\";
echo \"


\";
echo \"
\";

//Twitter
echo \"
\";
echo \"\";
echo \"
\";

//Google+
echo \"
\";
echo \"

\";
echo \"
\";
//End share buttons
echo \"
\";
}

closetable();
}




mano themes.php biski kitos del to negaliu iterpt ant kito dizaino puikeu veikia

va mano themes.php
Download source  Code
if (!defined(\"IN_FUSION\")) { die(\"Access Denied\"); }

define(\"THEME_BULLET\", \"\");

require_once INCLUDES.\"theme_functions_include.php\";

function render_page($license = false) {

echo \"\n\";
   echo \"\n\";
   add_to_head(\"\");

   add_to_head('
');
add_to_head(\"\");
   
function getnextstring(&$data)
     {
     $temp=\"\";
     $counter=0;
     while (ord($data[$counter++])!=0) $temp.=$data[$counter-1];
     $data=substr($data,strlen($temp)+1);
     return $temp;
     }
     function getnextbytevalue(&$data)
     {
     $temp=ord($data[0]);
     $data=substr($data,1);
     return $temp;
     }
     function serveris($ip,$port,$idas) {
     $ip = $ip;
     $port = $port;
     $packet = \"\xFF\xFF\xFF\xFFTSource Engine Query\x00\";
     $live_server = fsockopen(\"udp://\".$ip.\":\".$port.\"\");
     
     if(!$live_server)
     {
     $output = \"Off\";
     }
     else
     {
     fwrite($live_server, $packet);
     socket_set_timeout($live_server,1,0);
     $junk = fread($live_server,5);
     $status = socket_get_status($live_server);
     $do = 1;
     $server_info= \"\";
     
     while($do)
     {
     $str_1 = fread($live_server,1);
     $server_info .= $str_1;
     $status = socket_get_status($live_server);
     if($status[\"unread_bytes\"] == 0) {$do = 0;}
     }
     fclose($live_server);
     
     if (strlen($server_info) > 0)
     {
     $success = 1;
     $junk = getnextstring($server_info);
     $servername = getnextstring($server_info);
     $map = getnextstring($server_info);
     $junk = getnextstring($server_info);
     $junk = getnextstring($server_info);
     $players = getnextbytevalue($server_info);
     $maxplayers = getnextbytevalue($server_info);
     }
     
     if ($players != '') {
     $players = $players;
     } else {
     $players = \"0\";
     }
     
     if ($maxplayers != '')
     {
     $maxplayers = $maxplayers;
     }
     else
     {
     $maxplayers = \"0\";
     }
     if ($players < $maxplayers)
     {
     $output = \"Ijungtas\";
     }
     
     else
     {
     $output = \"Full\";
     }
     if ($output != \"Full\" and $players != \"0\" or $maxplayers != \"0\")
     {
     $output = $output;
     }
     else
     {
     $output = \"Isjungtas\";
     }
     if ($map != '')
     {
     $map = $map;
     }
     else
     {
     $map = \"-----\";
     }
     if ($servername != '') {
     $servername = $servername;
     } else {
     $servername = \"Serveris neveikia\";
     }

      
      
      echo \"

        Server: \".$servername.\"

        IP: \".$ip.\":\".$port.\"

        Prisijungusiu zaideju: \".$players.\"

        Zemelapis: \".$map.\"

        Statusas: \".$output.\"
       

       
       
       

        Pirkti Admin
       

        Pirkti Vip
       

        Pirkti Uza
       

        Prisijungti i serveri
       

       
       

        Balsuoti uz serveri
\";
       
       
       
        echo \"
\";
       
       
     }
     }
   
   global $settings, $main_style, $locale, $mysql_queries_time;

   //Header
   echo \"
   

   
   
   
   
   

   ''
   

   ''
   

   

   ''
   

   

   

   
\";
   
   echo \"
   
   

   
   
   
   
   
   
   
   
   
   
   
   

   PAGRINDINIS
   

   DISKUSIJU FORUMAS
   

   SIUNTINIAI
   

   PAMOKOS
   

   VIDEO
   

   MEDALIU INFO
   

   KONTAKTAI
   

   REKLAMA
   

   
\";
   

   
   echo \"\n\n\";
    
   
          echo\"\";
        echo \"\n
\";
        echo \"
\n\";

   echo \"
\";


echo \"
\";
echo '
';
echo '
';
      
echo '




100 NARIS


Taigi pagaliau sulaukeme 100 nario tai Baika. Sveikiname! ir tikime sulaukti daugiau.sia proga Medalis.

               
                  

';

echo '




testas


Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the
industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type
specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop
publishing software like Aldus PageMaker including versions of Lorem Ipsum.

               
                  

';

echo '




Lorem Ipsum tekstas


Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the
industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type
specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop
publishing software like Aldus PageMaker including versions of Lorem Ipsum.

               
                  

';

echo '




Lorem Ipsum tekstas


Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the
industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type
specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop
publishing software like Aldus PageMaker including versions of Lorem Ipsum.

               
                  

';

echo '




Lorem Ipsum tekstas


Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the
industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type
specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop
publishing software like Aldus PageMaker including versions of Lorem Ipsum.

               
                  

';

echo \"
\";
echo \"
\";

echo \"
\";

echo \"
\";
echo \"\";
if(LEFT){echo \"\";}
echo \"\";
if(RIGHT){echo \"\";}
echo \"
\".LEFT.\"\".U_CENTER.CONTENT.L_CENTER.\"\".RIGHT.\"
\";



/////FOOTER

echo \"






''

''

''

''


'Top
        
'Hey.lt


Pasirinkite savo kalba / Choose your language




\";

}

/* New in v7.02 - render comments */
function render_comments($c_data, $c_info){
   global $locale, $settings;
   opentable($locale['c100']);
   if (!empty($c_data)){
      echo \"
\n\";
         $c_makepagenav = '';
         if ($c_info['c_makepagenav'] !== FALSE) {
         echo $c_makepagenav = \"
\".$c_info['c_makepagenav'].\"
\n\";
      }
         foreach($c_data as $data) {
           $comm_count = \"#\".$data['i'].\"\";
         echo \"
\n\";
         if ($settings['comments_avatar'] == \"1\") { echo \"\".$data['user_avatar'].\"\n\"; }
           echo \"\".$comm_count.\"\n\n\";
         echo \"\".$data['comment_name'].\"\n
\n\";
         echo \"\".$data['comment_datestamp'].\"\n\";
   if ($data['edit_dell'] !== false) { echo \"
\n\".$data['edit_dell'].\"\n\n\"; }
         echo \"
\n
\".$data['comment_message'].\"
\n\";
      }
      echo $c_makepagenav;
      if ($c_info['admin_link'] !== FALSE) {
         echo \"
\".$c_info['admin_link'].\"
\n\";
      }
      echo \"
\n\";
   } else {
      echo $locale['c101'].\"\n\";
   }
   closetable();   
}

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

   echo \"
\n\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n
\".$subject.\"
   

   Skaityti toliau}
   

   
\".$info['news_comments'].\"
\n\";
   echo \"\n\n\";
   echo \"\n\";
   echo \"\n
\".$info['cat_image'].$news.\"
\n

\n\n
   
\n
\n\";
}

function render_article($subject, $article, $info) {
   
   echo \"\n\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n
\".$subject.\"
\n\";
   echo \"\n\n\";
   echo \"\n\";
   echo \"\n\n\";
   echo \"\n\n
\".($info['article_breaks'] == \"y\" ? nl2br($article) : $article).\"
\n\";
   echo articleposter($info,\" \").articlecat($info,\" \").articleopts($info,\"\").itemoptions(\"A\",$info['article_id']);
   echo \"
\n\";

}

function opentable($title) {

   echo \"\n\n\";
   echo \"\n\";
   echo \"\n\n\";
   echo \"\n\";
   echo \"\n\n
   
   \n
\".$title.\"
\n\";

}

function closetable() {

   echo \"
\n\";

}

function openside($title) {
   
   echo \"
\n\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n
\".$title.\"
\n\";
   echo \"\n\n\";
   echo \"\n\n
\";
   
}

function closeside() {
   
   echo \"
\n

   
\";

}
function prisijungimas($title) {

echo \"\n\n\";
   echo \"\n\";
   echo \"\n\n\";
   echo \"\n\n
\".$title.\"
\";

}
function endprisijungimas() {

   echo \"
\n
   
\";

}


?>




http://www.cfg-or...  
PM
Peršokti į forumą: