Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,952
Naujausias narys: tomeem

Naujausi straipsniai

Paskutiniai nariai

asirija 2 dienos
tomeem 2 savaitės
Reikalas 3 savaitės
weberiz 5 savaitės
mRokass 8 savaitės
kartoonas 9 savaitės
iaescortsmap 9 savaitės
ozzWANTED10 savaitės
grunskiz11 savaitės
Bruksnys12 savaitės
illusion12 savaitės
ordo13 savaitės
Jurgaila14 savaitės
originalcs1614 savaitės
Rytis14 savaitės
halis16 savaitės
junkus19 savaitės
morlis19 savaitės
Majakas20 savaitės
andsoft21 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 52.14.168.56
Naujienų: 529
Straipsnių: 235
Temų: 52,585
Postų: 522,523
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.

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

Žmogus
2023 Rugs. 7 21:09:14
O gal BloodKiller pasijungs?

Apocal
2023 Rugs. 2 18:09:23
Nu davai nuveikiam kažką akinanti šypsen. Prisijungti kada visi čia akinanti šypsen.

Apocal
2023 Rugs. 2 00:09:18
Šiaip atėjau pažiūrėti ar dar lopas nesby yra ar koks ten buvo.

Š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
sProky Quest's
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai

Autorius: Chotabyčius Peržiūrų: 1069      Spausdinti temą
2009 Kov. 7 09:03:41          1 žinutė iš 1
Spausdinti pranešimą
Taigi redaguoju theme v7 ir iškilo problemėle...visos panelės gerai redaguojasi iš spalvų į img..tik va..naujienų panelė pradėjo rodyt openside..kai bandau pakeist opentable meta error..

štai theme.php

<?php

if (!defined("IN_FUSION")) { die("Access Denied"); }

define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");
require_once INCLUDES."theme_functions_include.php";

/* Theme Settings */

$theme_width = "800px";

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

echo "
   <table align='center' width='$theme_width' cellspacing='0' cellpadding='0' border='0'>
      <tr>
         <td width='25' nowrap='nowrap' class='lefttd'><img src='".THEME."images/leftside.gif' width='25' /></td>
         <td>
            <table width='100%' border='0' cellspacing='0' cellpadding='0'>
               <tr>
                  <td width='20%' class='white-header'>".showsubdate()."</td>
                  <td align='right' width='80%' class='white-header'>".showsublinks(" <span class='bullet'>|</span> ", "")."</td>
               </tr>
            </table>
            <table width='100%' border='0' cellspacing='0' cellpadding='0'>
               <tr>
                  <td width='100%' style='background-image:url(".THEME."images/logo.png)' height='110'>&nbsp;</td>
               </tr>
            </table>
            <table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>
               <tr valign='top'>
                  <td>
                     <table width='100%' cellpadding='2' bgcolor='#ffffff' cellspacing='0' border='0'>
                        <tr height='5px'>";

                           if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
                           echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
                           if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
                        
echo "                     </tr>
                     </table>
                     <table cellpadding='2' cellspacing='0' width='$theme_width' class='footer'>
                        <tr>
                           <td>
                              <table cellspacing='0' cellpadding='2' width='100%' border='0'>
                                 <tr>
                                    <td class='footer' align='center'>".stripslashes($settings['footer'])."</td>
                                 </tr>
                              </table>
                           </td>
                        </tr>
                        <tr>
                           <td>
                              <table cellspacing='0' cellpadding='2' width='100%' border='0'>
                                 <tr>
                                    <td height='28' class='footer' align='left'>
                                       <div align='left'>";
                                          if ($license == false) {
                                             echo showcopyright()."<br />";
                                             echo "Design: <a target='_blank' href='mailto:benjamin.eriksen@gmail.com'>Benjamin Eriksen</a> | Conversion to PHP-Fusion 7: <a href='http://www.php-fusion.nu/' target='_blank'>Kenneth</a>";
                                          }
echo "                                    </div>
                                    </td>
                                    <td class='footer' height='28' align='right'><font class='visits'><strong>".showcounter()."</strong></font></td>
                                 </tr>
                              </table>
                           </td>
                        </tr>
                     </table>
                  </td>
               </tr>
            </table>
         </td>
         <td width='25' nowrap='nowrap' class='righttd'><img src='".THEME."images/rightside.gif' width='25' /></td>
      </tr>
   </table>";

}

function render_news($subject, $news, $info) {
   
global $locale;
   
echo "
   <table bgcolor='#ABA8A0' class='border2' cellspacing='0' width='100%' cellpadding='3'>
      <tr>
         <td class='panel'>$subject</td>
      </tr>
   </table>
   <table width='100%' cellpadding='0' cellspacing='0' class='border'>
      <tr>
         <td>
            <table width='100%' cellpadding='0' cellspacing='0'>
               <tr>
                  <td class='main-body'>$news</td>
               </tr>
            </table>
            <table width='100%' cellpadding='0' cellspacing='0'>
               <tr>
                  <td class='news-footer'>&nbsp;".newsposter($info,"&middot;")."</td>
                  <td height='24' align='right' class='news-footer'>".
                     newsopts($info,"&middot;").itemoptions("N",$info['news_id'])."
                  </td>
               </tr>
            </table>
         </td>
      </tr>
   </table>";
}

function render_article($subject, $article, $info) {
   global $locale;
   
echo "
   <table bgcolor='#ABA8A0' class='border2' cellspacing='0' width='100%' cellpadding='3'>
      <tr>
         <td class='panel'>$subject</td>
      </tr>
   </table>
   <table width='100%' cellpadding='0' cellspacing='0' class='border'>
      <tr>
         <td>
            <table width='100%' cellpadding='0' cellspacing='0'>
               <tr>
                  <td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>
               </tr>
            </table>
            <table width='100%' cellpadding='0' cellspacing='0'>
               <tr>
                  <td class='news-footer'>".articleposter($info,"&middot;")."</td>
                  <td height='24' align='right' class='news-footer'>".
                     articleopts($info,"&middot;").itemoptions("A",$info['article_id'])."
                  </td>
               </tr>
            </table>
         </td>
      </tr>
   </table>";
}

function opentable($title) {

echo "
   <table cellpadding='0' cellspacing='0' width='100%' class='border'>
      <tr height='3px'>
         <td></td>
      </tr>
      <tr>
         <td class='panel2'>$title</td>
      </tr>
      <tr>
         <td class='main-body'>";
}

function closetable() {
echo "      </td>
      </tr>
   </table>";
}

function openside($title, $collapse = false, $state = "on") {
   global $panel_collapse; $panel_collapse = $collapse;
   $boxname = str_replace(" ", "", $title);

echo "
   <table bgcolor='#ABA8A0' border='0' cellspacing='0' width='100%' cellpadding='0'>
      <tr>
         <td class='panel'>$title</td>
         ".($collapse ? "<td class='panel' align='right'>".panelbutton($state, $boxname)."</td>" : "")."
      </tr>
      <tr>
         <td colspan='2' bgcolor='#BAB7AE' class='side-body' width='100%'>";
            if ($collapse == true) { echo panelstate($state, $boxname); }
}

function closeside() {
   global $panel_collapse;

            if ($panel_collapse == true) { echo "</div>\n"; }   
echo "      </td>
      </tr>
   </table>";
//   tablebreak();
}

?>





Redagavo Chotabyčius 2009 Kov. 7 09:03:04
Peršokti į forumą: