Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,964
Naujausias narys: laleceylan50

Naujausi straipsniai

Paskutiniai nariai

kileedyg 2 savaitės
Reikalas 8 savaitės
Kižas 9 savaitės
Bruksnys10 savaitės
laleceylan5011 savaitės
minimukas12 savaitės
N-2015 savaitės
Rytis15 savaitės
DjArtas16 savaitės
WolfHammer17 savaitės
Nostesi27 savaitės
Wisedocs27 savaitės
asdasdddz31 savaitės
Paslapties K...32 savaitės
Audrius_1734 savaitės
Simbijanas47 savaitės
Karinacraft47 savaitės
Žmogus51 savaitės
Darexs57 savaitės
Nepas58 savaitės

Informacija:


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

minimukas
2026 Vas. 21 08:02:25
oi oi akinanti šypsen yra dar cia gyvu? akinanti šypsen

N-20
2026 Vas. 6 21:02:05
O mes dar gyvi šypsosi)

WolfHammer
2026 Sau. 25 01:01:35
drovus

Žmogus
2025 Geg. 31 10:05:18
Kas geresnio? šypsosi

Nepas
2025 Bal. 9 17:04:13
drovus

Š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
reikia pagalbos del theme.php
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Themes

Autorius: Mantas_ Peržiūrų: 506      Spausdinti temą
2009 Sau. 19 19:01:38          1 žinutė iš 1
Spausdinti pranešimą
Sveiki iskilo problema kaip man padaryti kad baneris butu istisinis nu dabar jis yra sukarpytas dalimis bet as noriu kad jis butu pilnas o per theme.php redaguot neiseina. va theme.php


<?
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#ffffff";
$body_bg = "#000000";
$theme_width = "95%";
$theme_width_l = "175";
$theme_width_r = "175";

if(!function_exists("ImageTTFText"))
   $rendered_captions = false;
else
   $rendered_captions = true;

function render_header($header_content) {

global $theme_width,$settings;
echo "
<div style='width: ".(stristr("".$theme_width."", "%")? $theme_width : $theme_width."px")."; margin: 0 auto; text-align: left;'>
   <img src='".THEME."images/headerlefttop.jpg' alt='<---->' hspace='0' vspace='0' style='vertical-align: bottom;'>
   <div id='headerbg'>
      <div id='headerl'>
         <div id='headerr'>
            <img src='".THEME."images/banner.gif' alt='Battlefield 2' style='margin-top: 16px;'>
         </div>
      </div>
   </div>
   
   <img style='float:left;' src='".THEME."images/whiteheaderl.jpg' alt='<' hspace='0'>
   <img style='float:right;' src='".THEME."images/whiteheaderr.jpg' alt='>' hspace='0'>
   <div class='white-header'>
      <div style='float:left'>
         ".showsublinks(" &middot; ", "white")."
      </div>
      
      <div style='float:right;'>
         ".showsubdate()."
      </div>
   </div>
   
   <table width='100%' cellspacing='0' cellpadding='0' id='content'>
      <tr>";

}

function render_footer($license=false) {

global $theme_width,$settings,$locale;

echo "
      </tr>
   </table>

<div class='footer'>".stripslashes($settings['footer'])."<br>".showcounter()."</div>
<div style='float: left;'>".($license ? "" : showcopyright() )."</div>
<div style='float: right;'>Battlefield2 Theme created by <a href='http://matonor.com'>Matonor</a></div>
</div>";

}

function render_news($subject, $news, $info) {
   $subject = strip_tags($subject);

   opentable($subject);
   echo $news."
   <br style='clear:both;'>
   <div class='news-footer'>
      <div style='float:left;'>
         ".newsposter($info)."
      </div>
      <div style='float: right;'>".
         openform("N",$info['news_id']).
         newsopts($info," &middot; ").
         closeform("N",$info['news_id'])."
      </div><br style='clear:both;'>
   </div>";
   closetable();

}

function render_article($subject, $article, $info) {

opentable($subject);
echo ($info['article_breaks'] == "y" ? nl2br($article) : $article)."
<br style='clear:both;'>
<div class='news-footer'>
   <div style='float:left;'>
      ".articleposter($info)."
   </div>
   <div style='float: right;'>".
   openform("A",$info['article_id']).
   articleopts($info," &middot; ").
   closeform("A",$info['article_id'])."
   </div><br style='clear:both;'>
</div>";
closetable();

}

function opentable($title) {
   global $rendered_captions;
echo "<div class='capmain'>
<img src='".THEME."images/capl.jpg' alt='{' style='float: left;' hspace='0'>
<img src='".THEME."images/capr.jpg' alt='}' style='float: right;' hspace='0'>
".($rendered_captions ? "<img src='".THEME."renderimg.php?type=table&amp;text=".urlencode($title)."' alt='$title' hspace='0'>" : $title)."
</div>
<div class='main-borderl'>
   <div class='main-borderr'>
      <div class='main-body'>\n";

}

function closetable() {

echo "
      </div>
   </div>
</div>
<div class='main-foot'>
   <img src='".THEME."images/ll2.jpg' alt='{' style='float: left;' hspace='0'>
   <img src='".THEME."images/lr2.jpg' alt='{' style='float: right;' hspace='0'><br style='clear: both;'>
</div>\n";

}

function openside($title) {
   global $rendered_captions;
echo "<div class='scapmain'>
<img src='".THEME."images/scapl.jpg' alt='{' style='float: left;' hspace='0'>
<img src='".THEME."images/scapr.jpg' alt='}' style='float: right;' hspace='0'>
".($rendered_captions ? "<img src='".THEME."renderimg.php?type=menu&amp;text=".urlencode($title)."' alt='$title' hspace='0'>" : $title)."
</div>
<div class='side-borderl'>
   <div class='side-borderr'>
      <div class='side-body'>\n";

}

function closeside() {

echo "
      </div>
   </div>
</div>
<div class='side-foot'>
   <img src='".THEME."images/ll.jpg' alt='{' style='float: left;' hspace='0'>
   <img src='".THEME."images/lr.jpg' alt='{' style='float: right;' hspace='0'><br style='clear: both;'>
</div>\n";

}

$flipboxid = 0;

function opensidex($title,$state="on") {

   global  $flipboxid;
   $id = $flipboxid;
   $flipboxid++;
   if($open=="on"){$box_img="off";}else{$box_img="on";}
   
echo "
<div class='scapmain'>
   <img src='".THEME."images/scapl.jpg' alt='{' style='float: left;' hspace='0'>
   <img src='".THEME."images/scapr.jpg' alt='}' style='float: right;' hspace='0'>
   <img src='".THEME."renderimg.php?type=menu&amp;text=".urlencode($title)."' alt='$title' hspace='0' style='float:left;'>
   <img onclick=\"javascript:flipBox('$id')\" name='b_$id' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif' style='float:right; margin-top: 7px;'>
   <br style='clear: both;'>
</div>
<div class='side-borderl'>
   <div class='side-borderr'>
      <div class='side-body'>
           <div id='box_$id' ".($open=="off" ? "style='display:none'" : "").">\n";

}

function closesidex() {

echo "      
         </div>
      </div>
   </div>
</div>
<div class='side-foot'>
   <img src='".THEME."images/ll.jpg' alt='{' style='float: left;' hspace='0'>
   <img src='".THEME."images/lr.jpg' alt='}' style='float: right;' hspace='0'><br style='clear: both;'>
</div>\n";

}

function tablebreak() {

echo "<div style='height: 8px;'></div>\n";

}
?>





Redagavo MaFetas 2012-03-29 14:14
Peršokti į forumą: