Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,962
Naujausias narys: Wisedocs

Naujausi straipsniai

Paskutiniai nariai

Nostesi 2 savaitės
Wisedocs 3 savaitės
asdasdddz 6 savaitės
Paslapties K... 7 savaitės
Audrius_1710 savaitės
Reikalas14 savaitės
Simbijanas22 savaitės
Karinacraft23 savaitės
Žmogus26 savaitės
Bruksnys30 savaitės
Darexs33 savaitės
Nepas33 savaitės
keistuole36 savaitės
Gizmis37 savaitės
Rytis46 savaitės
MaFetas51 savaitės
ozzWANTED52 savaitės
saulyzas54 savaitės
TOMIJUS55 savaitės
Jaunelis70 savaitės

Informacija:


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

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

Nepas
2025 Bal. 9 17:04:13
drovus

Nepas
2025 Bal. 9 17:04:08
drovus

Gizmis
2025 Kov. 15 14:03:50
OMG, smagu matyt sita puslapi veikianti

ozzWANTED
2024 Lap. 30 15:11:14
Taip, vis dar up šypsosi

Š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ų: 473      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ą: