Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,955
Naujausias narys: Johny

Naujausi straipsniai

Paskutiniai nariai

Johny 1 savaitė
Reikalas 2 savaitės
Jaunelis 8 savaitės
lanis 8 savaitės
And2s 9 savaitės
Memento Mori14 savaitės
ozzWANTED14 savaitės
Quwqkibor16 savaitės
asirija20 savaitės
tomeem22 savaitės
weberiz25 savaitės
mRokass28 savaitės
kartoonas29 savaitės
iaescortsmap29 savaitės
grunskiz32 savaitės
Bruksnys32 savaitės
illusion32 savaitės
ordo33 savaitės
Jurgaila34 savaitės
originalcs1634 savaitės

Informacija:


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

Jaunelis
2024 Lie. 25 11:07:43
Oho vis dar veikia svetainė akinanti šypsen Šimtas metų, matau Šaukykloje nuostalgija. Smagu panaršyt po forumą ir pažiūrėt senas temas šypsosi

And2s
2024 Lie. 17 19:07:04
2008 pirmą kart čia patekau, man buvo 10m ir čia pramokau programavimo.. smagu skaityti senas žinutes, tokia nostalgija akinanti šypsen ačiū Ozz kad saugoji šitą kultūrinį reliktą šypsosi

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?

Š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
Header perkodavimas
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai

Autorius: Mandello Peržiūrų: 1267      Spausdinti temą
2010 Bir. 12 23:06:03          1 žinutė iš 3
Spausdinti pranešimą
Gal kas zinote kaip perkoduoti header kad jis nebutu sukrapytas?

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

// theme settings
$body_text = "#4a4a4a";
$body_bg = "#232323";
$theme_width = "900";
$theme_width_l = "192";
$theme_width_r = "192";

function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink,$db_prefix;

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%' align='center'>
<tr>
<td>
<table width='900' height='348' border='0' cellpadding='0' cellspacing='0'align='center'>
   <tr>
      <td rowspan='3' align='center'>
         <img src='".THEME."images/header/0_01.gif' width='582' height='281' alt=''></td>
      <td colspan='2' align='left'>
         <img src='".THEME."images/header/0_02.gif' width='318' height='30' alt=''></td>
   </tr>
   <tr>
      <td colspan='2' class='vartotojo_zona' align='left'>";
      include_once"".THEME."vartotojo_zona.php";
      echo "</td>
   </tr>
   <tr>
      <td colspan='2' align='left'>
         <img src='".THEME."images/header/0_04.gif' width='318' height='76' alt='' align='center'></td>
   </tr>
   <tr>
      <td colspan='2' style='height: 50px; width: 650px;' align='center'>";
         include_once"".THEME."nuorodos.php";
         echo "</td>
      <td class='data' align='left'><span style='padding-left:10px;'>".ucwords(showdate($settings['subheaderdate'], time()))."</span></td>
   </tr>
   <tr>
      <td colspan='3' align='center'>\n";
echo "         <img src='".THEME."images/header/0_07.gif' width='900' height='16' alt=''>
      </td>
   </tr>";

echo "<br><center><img src='http://www.part.lt/img/d92647a3a21fd9d751b07df92ac146ab854.jpg' width='750' height='100'></center><br>

   <tr>
      <td align='center'>
         <img src='".THEME."images/header/spacer.gif' width='582' height='0' alt=''></td>
      <td align='center'>
         <img src='".THEME."images/header/spacer.gif' width='68' height='0' alt=''></td>
      <td align='left'>
         <img src='".THEME."images/header/spacer.gif' width='250' height='0' alt=''></td>
   </tr>
</table>




IMG:




Jai kas galit tai as noriu si header ideti nesukarpyta.

2010 Bir. 12 23:06:29          2 žinutė iš 3
Spausdinti pranešimą
nu tai padaryk

echo "<img src='images/header.jpg' border='0'>";

nolife.lt / c-s.lt
2010 Bir. 12 23:06:04          3 žinutė iš 3
Spausdinti pranešimą
Kurioj vietoj? Nes man error ismeta. Duosiu via skoda index.php ir atsiusk pilna jai gali.
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#4a4a4a";
$body_bg = "#232323";
$theme_width = "900";
$theme_width_l = "192";
$theme_width_r = "192";

function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink,$db_prefix;

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%' align='center'>
<tr>
<td>
<table width='900' height='348' border='0' cellpadding='0' cellspacing='0'align='center'>
   <tr>
      <td rowspan='3' align='center'>
         <img src='".THEME."images/header/0_01.gif' width='582' height='281' alt=''></td>
      <td colspan='2' align='left'>
         <img src='".THEME."images/header/0_02.gif' width='318' height='30' alt=''></td>
   </tr>
   <tr>
      <td colspan='2' class='vartotojo_zona' align='left'>";
      include_once"".THEME."vartotojo_zona.php";
      echo "</td>
   </tr>
   <tr>
      <td colspan='2' align='left'>
         <img src='".THEME."images/header/0_04.gif' width='318' height='76' alt='' align='center'></td>
   </tr>
   <tr>
      <td colspan='2' style='height: 50px; width: 650px;' align='center'>";
         include_once"".THEME."nuorodos.php";
         echo "</td>
      <td class='data' align='left'><span style='padding-left:10px;'>".ucwords(showdate($settings['subheaderdate'], time()))."</span></td>
   </tr>
   <tr>
      <td colspan='3' align='center'>\n";
echo "         <img src='".THEME."images/header/0_07.gif' width='900' height='16' alt=''>
      </td>
   </tr>";

echo "<br><center><img src='http://www.part.lt/img/d92647a3a21fd9d751b07df92ac146ab854.jpg' width='750' height='100'></center><br>

   <tr>
      <td align='center'>
         <img src='".THEME."images/header/spacer.gif' width='582' height='0' alt=''></td>
      <td align='center'>
         <img src='".THEME."images/header/spacer.gif' width='68' height='0' alt=''></td>
      <td align='left'>
         <img src='".THEME."images/header/spacer.gif' width='250' height='0' alt=''></td>
   </tr>
</table>
</td>
</tr>
</table>\n";


echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";

}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table align='center' cellpadding='0' cellspacing='0' width='900' class='footer'>
<tr>
<td align='left' style='padding-left: 70px; padding-bottom: 50px;'>Sprendimas <a href='http://www.e-studija.lt' target='_blank' style='color:#d96400; font-weight: bold;'>E-Studija</a></td>
<td align='center' style='padding-bottom:40px; padding-right: 50px;' width='0'>\n";
include THEME."skaitliukas.php";
echo "</td>
<td align='right' style='padding-right: 70px; padding-bottom: 50px;'>TVS: <a href='http://www.php-fusion.co.uk' target='_blank' style='color:#d96400; font-weight: bold;'>PHP-Fusion</a></td>
</tr>
</table>
</td>
</tr>
</table>\n";


















































}

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='center-top-left'><img src='".THEME."images/blank.gif' width='18' height='41' alt='' style='display:block'></td>
<td class='center-top-center1'><img src='".THEME."images/blank.gif' width='1' height='41' alt='' style='display:block'></td>
<td width='100%' class='center-top-center2'>$subject</td>
<td class='center-top-center1'><img src='".THEME."images/blank.gif' width='1' height='41' alt='' style='display:block'></td>
<td class='center-top-right'><img src='".THEME."images/blank.gif' width='17' height='41' alt='' style='display:block'></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='center-border-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td class='main-body'><center>";
echo openform("N",$info['news_id']).newsposter($info," &middot;").newsopts($info,"&middot;").closeform("N",$info['news_id']);
echo"<center></td>
<td class='center-border-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='center-border-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td class='main-body'>$news</td>
<td class='center-border-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='center-bottom-left'><img src='".THEME."images/blank.gif' width='18' height='13' alt='' style='display:block'></td>
<td class='center-bottom-center'><img src='".THEME."images/blank.gif' width='1' height='13' alt='' style='display:block'></td>
<td class='center-bottom-right'><img src='".THEME."images/blank.gif' width='17' height='13' alt='' style='display:block'></td>
</tr>
</table>";

}

function render_article($subject, $article, $info) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='center-top-left'><img src='".THEME."images/blank.gif' width='18' height='41' alt='' style='display:block'></td>
<td class='center-top-center1'><img src='".THEME."images/blank.gif' width='1' height='41' alt='' style='display:block'></td>
<td width='100%' class='center-top-center2'>$subject</td>
<td class='center-top-center1'><img src='".THEME."images/blank.gif' width='1' height='41' alt='' style='display:block'></td>
<td class='center-top-right'><img src='".THEME."images/blank.gif' width='17' height='41' alt='' style='display:block'></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='center-border-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>
<td class='center-border-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='center-border-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td align='center' class='main-body'>\n";
echo openform("A",$info['article_id']).articleposter($info," &middot;").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td>
<td class='center-border-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='center-bottom-left'><img src='".THEME."images/blank.gif' width='18' height='13' alt='' style='display:block'></td>
<td class='center-bottom-center'><img src='".THEME."images/blank.gif' width='1' height='13' alt='' style='display:block'></td>
<td class='center-bottom-right'><img src='".THEME."images/blank.gif' width='17' height='13' alt='' style='display:block'></td>
</tr>
</table>
";

}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='center-top-left'><img src='".THEME."images/blank.gif' width='18' height='41' alt='' style='display:block'></td>
<td class='center-top-center1'><img src='".THEME."images/blank.gif' width='1' height='41' alt='' style='display:block'></td>
<td width='100%' class='center-top-center2'>$title</td>
<td class='center-top-center1'><img src='".THEME."images/blank.gif' width='1' height='41' alt='' style='display:block'></td>
<td class='center-top-right'><img src='".THEME."images/blank.gif' width='17' height='41' alt='' style='display:block'></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='center-border-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
<td class='center-border-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='center-bottom-left'><img src='".THEME."images/blank.gif' width='18' height='13' alt='' style='display:block'></td>
<td class='center-bottom-center'><img src='".THEME."images/blank.gif' width='1' height='13' alt='' style='display:block'></td>
<td class='center-bottom-right'><img src='".THEME."images/blank.gif' width='17' height='13' alt='' style='display:block'></td>
</tr>
</table>";

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
<tr><td><img src='".THEME."images/panel_foot.gif' alt='panele'></td></tr>
</table>\n";
tablebreak();

}

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

$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";

}

function closesidex() {

echo "</div>
</td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";

}
?>




Peršokti į forumą: