Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,959
Naujausias narys: Simbijanas

Naujausi straipsniai

Paskutiniai nariai

Reikalas 1 savaitė
Simbijanas 3 savaitės
Karinacraft 3 savaitės
Žmogus 7 savaitės
Bruksnys11 savaitės
Darexs13 savaitės
Nepas14 savaitės
keistuole16 savaitės
Gizmis18 savaitės
Rytis27 savaitės
MaFetas31 savaitės
ozzWANTED33 savaitės
saulyzas34 savaitės
TOMIJUS36 savaitės
Jaunelis51 savaitės
lanis51 savaitės
And2s52 savaitės
Memento Mori57 savaitės
Quwqkibor59 savaitės
asirija63 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 216.73.216.26
Naujienų: 529
Straipsnių: 235
Temų: 52,589
Postų: 522,543
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
Kodų įterpimas į headerį
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Themes

Autorius: Enzo Peržiūrų: 1370      Spausdinti temą
2007 Gru. 23 13:12:08          1 žinutė iš 6
Spausdinti pranešimą
Norėjau paklaust kaip man įterpti ant headerio tokį dalyką kaip atsitiktinė foto? Dar norėjau paklaust reiktų mygtukų ant headerio, tokių kaip naujienos, forumas, panašiai kaip Qrmio CS temoje tik, kad headeryje. Dėkoju.

Jai galite įterpkit. Mano theme.php kodas


<?php

$body_text = "#D7DCE9";
$body_bg = "#2E0239";
$theme_width = "888";
$theme_width_l = "175";
$theme_width_r = "175";

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

   echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border-right: solid #000000 1px; border-left: solid #000000 1px;'>";
   echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td class='header' width='100%'>";
   // Start banner code / Banerio kodas
   echo "<table width='100%' cellspacing='0' cellpadding='0' style='border-right: solid #000000 1px; border-left: solid #000000 1px;'>";
   echo "<tr><td height='353' background='".THEME."images/logo.png' align='right' valign='middle'>
   <table width='888' border='0' cellspacing='0' cellpadding='0'>
  <tr>
    <td>&nbsp;</td>
    <td width='220' align='center'>";
   




   echo "</tr></table></td></tr></table>\n";
   // End banner code / Banerio kodo pabaiga




echo "<table width='100%'  <table height='20%' cellspacing='0' cellpadding='0' class='sub-header' style='border-right: solid #000000 1px; border-left: solid #000000 1px;'>\n<tr>";
   echo "<td>\n";
   echo "&nbsp;<a href='".BASEDIR."members.php'><span class='white'>Vartotojų: ".number_format(dbcount("(user_id)", "users", "user_status<='1'"))."</span></a>\n";
   if ($settings['admin_activation'] == "1") echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['015'].dbcount("(user_id)", "users", "user_status='2'")."\n";
   echo ($i == 0 ? "&nbsp;" : "")."</td>";
   echo "<td align='right'>".ucwords(showdate($settings['subheaderdate'], time()))."";
   echo "</td></tr></table>\n";
   echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#000000'>
 
</table>\n";

   echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
}





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

   echo "</tr>\n</table>\n";
   echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0' background='".THEME."images/footer.jpg' style='border-right: solid #000000 1px; border-left: solid #000000 1px;'>";
   echo "<td width='20%' height='250' class='white' align='left'>";
      if ($license == false) {
      echo "<b><a href='http://php-fusion.co.uk' target='_blank'></a></b>";
   }
   echo "</td>";
   echo "<td width='40%' class='white' align='center'>";
   echo "<b>".stripslashes($settings['footer'])."</b></td>";
   echo "<td width='26%' class='white' align='right'>";
   echo "<b><a href=''></a></b>";
   echo "</td>";
   echo "<div align='center'></tr></table></td></tr></table></div>";
}


function render_news($subject, $news, $info) {
   
global $locale;
   
   echo "<table border='0' style=': 1px solid #191928' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td background='".THEME."images/newspic.JPG' height='24'><font class='block-title' align=>$subject</font></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>$news</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>&nbsp;";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
   echo "<td height='24' align='right' class='news-footer'>";
   echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
   if ($info['news_allow_comments'])
   echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
   echo "".$info['news_reads'].$locale['044']." ";
   echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' alt='' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table><br>\n";
}

function render_article($subject, $article, $info) {
   
global $locale;
   
   echo "<table style='border: 1px solid #191928' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td background='".THEME."images/cellpic4.gif' height='35'><font class='block-title'>$subject</font></td>";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
   echo "<td height='24' align='right' class='news-footer'>";
   if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
   echo "".$info['article_reads'].$locale['044']." ";
   echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' alt='' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

// Open table begins
function opentable($title) {

   echo "<table width='100%' height='24' cellpadding='2' cellspacing='1' style='border: 1px solid #191928'>";
   echo "<tr><td background='".THEME."images/cellpic4.gif' height='35'><font class='head-title'>&nbsp;$title</font></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
   echo "<td class='main-body'>\n";
}

// Close table end
function closetable() {
   echo "</td></tr></table>\n";
}

function openside($title) {

   echo "<table style='border: 1px solid #191928' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td height='35' width='100%' background='".THEME."images/cellpic4.gif'>";
   echo "<font class='block-title'>$title</font>";
   echo "</td></tr>";
   echo "<tr><td class='side-body' width='100%'>";
}

function closeside() {
   echo "</td></tr></table><table border='0' cellpadding='0' cellspacing='0' width='100%' height='10'>
  <tr>
    <td width='100%'></td>
  </tr>
</table>";
   tablebreak();
}

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

$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";

   echo "<table border='0' style='border: 1px solid #191928' cellspacing='0' width='100%' cellpadding='3'><tr>";
   echo "<td height='35' width='100%' background='".THEME."images/cellpic4.gif'>";
   echo "<img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"><font class='block-title'>$title</font>";
   echo "</td></tr>";
   echo "<tr><td bgcolor='#191928' class='side-body'width='100%' '".THEME."images/back1.gif'>";
   echo "<div id='box_$boxname'".($open=="off"?" style='display:none'":"").">\n";
}


function closesidex() {

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

// Table functions
function tablebreak() {
   echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='0'></td></tr></table>\n";
}
?>




2007 Gru. 23 13:12:14          2 žinutė iš 6
Spausdinti pranešimą
O nebutu paprasciau su Photoshop pasidaryt?
2007 Gru. 23 13:12:34          3 žinutė iš 6
Spausdinti pranešimą
Death parašė:
O nebutu paprasciau su Photoshop pasidaryt?


Ką tokį? Mygtukus?

2007 Gru. 23 13:12:25          4 žinutė iš 6
Spausdinti pranešimą
visu pirma migtukus padaryk su ps poto ju url duok tada tik padarytume o del foto paneles ir koda duot galetum.

2007 Gru. 23 13:12:29          5 žinutė iš 6
Spausdinti pranešimą
Ptycka parašė:
visu pirma migtukus padaryk su ps poto ju url duok tada tik padarytume o del foto paneles ir koda duot galetum.


images/maigeliai/contacts.gif
images/maigeliai/downloads.gif
images/maigeliai/forum.gif
images/maigeliai/gallery.gif
images/maigeliai/home.gif
images/maigeliai/news.gif
2007 Gru. 23 14:12:48          6 žinutė iš 6
Spausdinti pranešimą
Ju gi undersky buvo įdėjęs kodą, kad būtų taip paieškokmerkia akį
Peršokti į forumą: