PHP-Fusion Mods
Navigacija
Apsauga
Apsauga Neleista registracija: 28711
Šiandien: 8
Prisijungę nariai
» Svečių: 18
» Narių: 0

» Viso narių: 10,232
» Naujausias: EdvinasG1337

Prisijungimų istorija:
tabux 4 Dienos
EdvinasG1337nepamenu
rolandas94nepamenu
Zbigniew@nepamenu
Edis2nepamenu
klubogerbejasnepamenu
Miskinisnepamenu
mast3rnepamenu
N1nt3ndnepamenu
Matze1987nepamenu
Piter_NSnepamenu
MariukasRnepamenu
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
88% [7 Balsai]

Naudojuosi socialiniais tinklais
Naudojuosi socialiniais tinklais
13% [1 Balsas]

Balsai: 8
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ą
 Spausdinti temą
Zmones padekit
vadeiva
#1 Spausdinti pranešimą
parašyta 2012-11-20 13:59
Vartotojo avataras

Apšylantis



Reputacija: 0

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

Sveiki na ir vel prasau jusu pagalbos problema butu tokia gavau labai grazu dizaina uzsidejau bet va nerodo centriniu paneliu kur pries tai buvo dizainas viskas buvo puiku o ont naujo nerodo nebent paspaudi roditi visose puslapiose tada rodo maniau gal del kokio scripto bet nea nes visas paneles off iskepliose irgi viska isdegiu ir vistek nerodo... kas gali but?m
http://www.cfg-or...
 
PM
Nepster
#2 Spausdinti pranešimą
parašyta 2012-11-20 15:20
Vartotojo avataras

S.Administratorius



Reputacija: 0

Pranešimai: 670
Įstojo: 2007-01-02

O neuzsidejai temos nuo v6 ant v7 ar atvirkciai :D
 
PM
MariukasR
#3 Spausdinti pranešimą
parašyta 2012-11-20 16:15
Vartotojo avataras

Draugas



Reputacija: 0

Pranešimai: 435
Įstojo: 2010-11-12

Manau tada i? vis balt� fon� atvaizduotu, gali b�t kad nedakoduotos naujienos, nes matyt blockin� centrines paneles..

Bet ?iaip gali b�t ir su opentable ka?kas ne to, Mesk �ia theme.php kod� meginsim b�d� atkast :)
moderator
 
PM
vadeiva
#4 Spausdinti pranešimą
parašyta 2012-11-21 07:09
Vartotojo avataras

Apšylantis



Reputacija: 0

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

ne bet cia tai man ant dveju dizainu ir + tai kad ant phpfusion originaliu dizainu, na bet nezinau galiu imest ta themes.php

Download source  Code
/*.Sverige NSS Theme for PHP-Fusion v7.02.X......*|
|*.Author: JoiNNN // Spo0kye@yahoo.com...........*|
|*.Released under the Affero GPLv3...............*/
if (!defined(\"IN_FUSION\")) { die(\"Access Denied\"); }

//Theme Settings
define(\"THEME_MAXWIDTH\", \"1024px\"); //theme width. Make sure to adapt the margin-left in the first div (-width/2).
define(\"THEME_MINWIDTH\", \"980px\");
define(\"THEME_BULLET\", \"'' />\"); //bullet image

define(\"MCARD\", \"1\"); // 1=Member Card On || 0=Member Card Off
//Theme Settings /

require_once THEME.\"functions.php\";
require_once INCLUDES.\"theme_functions_include.php\";

function get_head_tags(){
   echo \"\n\";
}

function render_page($license=false) {
global $aidlink, $locale, $settings, $main_style;

add_handler(\"theme_output\");

//Check for locale
if (file_exists(THEME.\"locale/\".$settings['locale'].\".php\")) {
   include THEME.\"locale/\".$settings['locale'].\".php\";
    } else {
   include THEME.\"locale/English.php\";
    }

add_to_footer(\"\");

//$js_info  = file_get_contents (THEME.\"js/infoslider.js\");
//add_to_footer(\"\");
add_to_footer(\"\");

//Scroll to top script
$js_scroll  = file_get_contents (THEME.\"js/scrolltopcontrol.js\");
add_to_footer(\"\");

//Stop chrome's autocomplete from making your input fields that nasty yellow. Yuck.
$js_input  = file_get_contents (THEME.\"js/chromeinputcolor.js\");
add_to_footer(\"\");

add_to_footer(\"\");

//Member Area
echo \"

      

      

      
\";
      require_once THEME.\"user_info.php\";
echo \"

         
                \".$locale['member_area'].\"
         

      

      
\n\";
//Header
echo \"

         

            

\".showbanners().\"


            

            \".preg_replace(\"^(li)( class='(first-link)')*(>             

         

      
\n\";

if (MCARD == 1) {
/*=======================*/
/*===== Member Card =====*/
/*=======================*/
add_to_head(\"\");
add_to_footer(\"\");
add_to_footer(\"\"); }

echo \"
\n\";

   echo \"
\n\";

//Theme structure
   echo \"\".(LEFT ? \"
\".LEFT.\"
\" : \"\").\"
         \".(RIGHT ? \"
\".RIGHT.\"
\" : \"\").\"
         

         \".U_CENTER
          .CONTENT
          .L_CENTER.\"
         

      
\n\";
//Footer logos
   echo \"
    \";
                include THEME.\"partners.php\";
       echo \"
\n\";

//Footer
   echo \"

         

            
\";
         ?>
      
      

                   echo \"

\".$locale['latest_news'].\"

    \n\";
             $result = dbquery(\"SELECT news_id, news_subject
                         FROM \".DB_NEWS.\"
                         WHERE \".groupaccess('news_visibility').\"
                         AND news_draft='0'
                         ORDER BY news_datestamp DESC LIMIT 0,5\");
             if (dbrows($result) != 0) {
             while($data = dbarray($result)) {
             $newsid = $data['news_id'];
             $newstitle = trimlink($data['news_subject'], 23);
             echo \"
  • \".$newstitle.\"
  • \n\";
                }
             } else {
             echo \"
  • \".$locale['no_news'].\"
  • \n\";
             }
             echo \"
\n\";
      echo \"
\n\";

         ?>
      
      

                   echo \"

\".$locale['global_021'].\"

    \n\";
             $result = dbquery(\"
                SELECT tt.forum_id, tt.thread_id, tt.thread_subject, tt.thread_lastpost FROM \".DB_THREADS.\" tt
                INNER JOIN \".DB_FORUMS.\" tf ON tt.forum_id=tf.forum_id
                WHERE \".groupaccess('tf.forum_access').\" AND tt.thread_hidden='0'
                ORDER BY thread_lastpost DESC LIMIT 5\");
             if (dbrows($result)) {
                while($data = dbarray($result)) {
                   $itemsubject = trimlink($data['thread_subject'], 23);
                   echo \"
  • \".$itemsubject.\"
  • \n\";
                }
             } else {
                echo \"
  • \".$locale['global_023'].\"
  • \n\";
             }
             echo \"
\";
      echo \"
\n\";

         ?>
      
      

                   echo \"

\".$locale['global_022'].\"

    \n\";
             $timeframe = ($settings['popular_threads_timeframe'] != 0 ? \"thread_lastpost >= \".(time()-$settings['popular_threads_timeframe']) : \"\");
             list($min_posts) = dbarraynum(dbquery(\"SELECT thread_postcount FROM \".DB_THREADS.($timeframe ? \" WHERE \".$timeframe : \"\").\" ORDER BY thread_postcount DESC LIMIT 4,1\"));
             $timeframe = ($timeframe ? \" AND tt.\".$timeframe : \"\");
             $result = dbquery(\"
                SELECT tf.forum_id, tt.thread_id, tt.thread_subject, tt.thread_postcount
                FROM \".DB_FORUMS.\" tf
                INNER JOIN \".DB_THREADS.\" tt USING(forum_id)
                WHERE \".groupaccess('tf.forum_access').\" AND tt.thread_postcount >= '\".$min_posts.\"'\".$timeframe.\" AND tt.thread_hidden='0'
                ORDER BY thread_postcount DESC, thread_lastpost DESC LIMIT 5\");
             if (dbrows($result) != 0) {
                while($data = dbarray($result)) {
                   $itemsubject = trimlink($data['thread_subject'], 20);
                   echo \"
  • \".$itemsubject.\"[\".($data['thread_postcount'] - 1).\"]\n\";
                   echo \"
  • \n\";}
                } else {
                echo \"
  • \".$locale['global_023'].\"
  • \n\";
             }
             echo \"
\n\";
      echo \"
\n\";

         ?>
      
      

                   echo \"

\".$locale['latest_weblinks'].\"

    \n\";
             $result = dbquery(\"SELECT * FROM \".DB_WEBLINKS.\" ORDER BY weblink_datestamp DESC LIMIT 5\");
             if (dbrows($result) != 0) {
             while($data = dbarray($result)) {
             $itemsubjectlink = trimlink($data['weblink_name'], 23);
             $itemdescriptionlink = trimlink($data['weblink_description'], 23);
             echo \"
  • \".$itemsubjectlink.\"
  • \n\";
                }
             } else {
             echo \"
  • \".$locale['no_links'].\"
  • \n\";
             }
             echo \"
\n\";

//Subfooter         
   echo \"
Theme designed by JoiNNN

         
         \".(!$license ? \"
\".showcopyright().\"
\" : \"\").\"
         
\".stripslashes($settings['footer']).\"
\n\";
   
   echo \"
\";
   echo \"
\";
         if ($settings['rendertime_enabled'] == 1 || ($settings['rendertime_enabled'] == 2 && iADMIN)) {echo \"\".showrendertime().\"\";}
   echo \"

         
\".showcounter().\"

         

         

         
\n\";
}


// Readmore function
function newsreadmore($info) {
   global $locale; $res = \"\";
   if (!isset($_GET['readmore']) && $info['news_ext'] == \"y\")
   $res = \"
   \";
   return $res;
   }

// Render News
function render_news($subject, $news, $info) {
global $locale, $settings;
opentableN($subject, $info);
   echo \"
    \n\";
       //Author
       echo \"
  • \".profile_link($info['user_id'], $info['user_name'], $info['user_status']).\"
  • \n\";
       //Date
       echo \"
  • \".showdate(\"%d %b %Y\", $info['news_date']).\"
  • \n\";
       //Category
       echo \"
  • \n\";
          if ($info['cat_id']) { echo \"\".$info['cat_name'].\"\n\";
       } else { echo \"\".$locale['global_080'].\"\"; }
       echo \"
  • \n\";
       //Reads
       if ($info['news_ext'] == \"y\" || ($info['news_allow_comments'] && $settings['comments_enabled'] == \"1\")) {
       echo \"
  • \n\";
          echo $info['news_reads'].$locale['global_074'];
       echo \"
  • \n\";}
       //Comments
       if ($info['news_allow_comments'] && $settings['comments_enabled'] == \"1\") { echo \"
  • \".$info['news_comments'].\"\".($info['news_comments'] == 1 ? $locale['global_073b'] : $locale['global_073']).\"
  • \n\"; }
       echo \"
\n\";
   //The message
   echo \" \".$info['cat_image'].$news.\"\n\".newsreadmore($info).\"\n\";
closetable();
}

// Render Articles
function render_article($subject, $article, $info) {
global $locale, $settings, $aidlink;
opentableA($subject, $info);
   echo \"\n\";
   //The message
   echo \" \".($info['article_breaks'] == \"y\" ? nl2br($article) : $article).\"\n\";
closetable();
}

//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) {
            echo \"
\n\";
               //User avatar
               if ($settings['comments_avatar'] == \"1\") { echo \"\".$data['user_avatar'].\"\n\"; $noav = \"\"; } else { $noav = \"noavatar\"; }
               echo \"
\";
               //Pointer tip
               if ($settings['comments_avatar'] == \"1\") { echo \"
\n\"; }
               //Options
               echo \"
\";
               if ($data['edit_dell'] !== FALSE) {
                  echo \"
\".$data['edit_dell'].\"\n
\n\";
               }
               //Info
               echo \"#\".$data['i'].\" |\n\";
               echo \"\".$data['comment_name'].\"\n\";
               echo \"\".$data['comment_datestamp'].\"
\n\";
               //The message
               echo \"
\".$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();   
   }

// News and Articles options
function newsopts2($info) {
   global $locale; $res = \"\";
   $res .= \"'\".$locale['global_075'].\"'\n\";
   return \"\".$res;
   }

function articleopts2($info) {
   global $locale; $res = \"\";
   $res .= \"'\".$locale['global_075'].\"'\n\";
   return \"\".$res;
}

function itemoptions2($item_type, $item_id) {
   global $locale, $aidlink; $res = \"\";
   if ($item_type == \"N\") {
      if (iADMIN && checkrights($item_type)) { $res .= \" '\".$locale['global_076'].\"'\n\"; }
   } elseif ($item_type == \"A\") {
      if (iADMIN && checkrights($item_type)) { $res .= \" '\".$locale['global_076'].\"'\n\"; }
   }
   return $res;
   }

// Content Panels
function opentable($title) {
echo \"

         


            
               
                  \".$title.\"
               

            

         

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

// News Panels
function opentableN($title, $info) {
echo \"

      


            
               
                  \".$title.\"
                     
                        \".itemoptions2(\"N\",$info['news_id']).\"
                        \".newsopts2($info).\"
                     

               

            

         

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

// Article Panels
function opentableA($title, $info) {
echo \"

      


            
               
                  \".$title.\"
                     
                        \".itemoptions2(\"A\",$info['article_id']).\"
                        \".articleopts2($info).\"
                     

               

            

         

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

function closetable() {
echo \"
\n\";
}

// Side panels
function openside($title, $collapse = false, $state = \"on\") {
global $panel_collapse, $p_data; $panel_collapse = $collapse;

echo \"


         
            
               \".$title.\"\n\";
               if ($collapse == true) {
                  $boxname = str_replace(\" \", \"\", $title);
                  echo \"\".panelbutton($state, $boxname).\"\n\";
               }
         echo \"

         

      


\n\";
if ($collapse == true) { echo panelstate($state, $boxname); }
if ($p_data['panel_filename'] == \"member_poll_panel\"){echo \"
\";}
}

function closeside() {
global $panel_collapse, $p_data;

echo \"
\n\";
if ($p_data['panel_filename'] == \"member_poll_panel\"){echo \"
\";}
if ($panel_collapse == true) { echo \"
\n\"; }
}

?>




man rodos cia ne themes beda.

nu zmones padekit jai kas kokiu minciu turi nes php v7 perasinet tikrai nenoriu....
Redagavo vadeiva 2012-11-22 09:57
http://www.cfg-or...
 
PM
Peršokti į forumą: