Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kaip pridėti?

Parašė E01· 2008 Gru. 20 16:12:53
#1

Na štai kilo mintis pridėti ant dizaino tokia juosta kur būtu: Namai,serveriai na čia kaip pavizdys.Beabejo su paveiksliukais.Nu kad aiškiau būtu foto:
http://www.ipix.lt/images/282901... va taip padaryt norėčiau.Theme.php jei reikia:
<?php

/************************/
/* Settings/Nustatymai   */
/************************/

$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "988";
$theme_width_l = "180";
$theme_width_r = "180";

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 #b5b5b5 1px; border-left: solid #b5b5b5 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 #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
   echo "<tr><td height='200' background='".THEME."images/baner.jpg' align='right' valign='middle'>
   <table width='991' border='0' cellspacing='0' cellpadding='0'>
  </tr>
</table>
   </td>";
   echo "</tr></table></td></tr></table>\n";
   // End banner code / Banerio kodo pabaiga

   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/nfooter.gif' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
   echo "<td width='20%' height='100' class='white' align='left'>";
      if ($license == false) {
      echo "";
   }
   echo "</td>";
   echo "<td width='40%' class='black' align='center'>";
   echo "<b>".stripslashes($settings['footer'])."</b></td>";
   echo "<td width='26%' class='black' align='right'>";
   echo "<b></a></b>";
   echo "</td>";
   echo "<div align='center'></tr></table></td></tr></table></div>";
}

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

global $locale;

   echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
   echo "<td height='23' class='table-cellpic'><center>$subject</center></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' 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'>";
   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&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

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

global $locale;

   echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
   echo "<td height='23' class='table-cellpic'>$subject</td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' 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&amp;item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

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

   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='table-cellpic' align='left'>$title</td></tr>";
   echo "<tr><td class='main-body' width='100%' bgColor='#FFFFFF'>";
}

// Close table end
function closetable() {

   echo "</td></tr></table></td></tr></table>";
}

function openside($title) {

   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'>$title</td></tr>";
   echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
}

function closeside() {

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

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

   $boxname = str_replace(" ", "", $title);
   $box_img = $open == "on" ? "off" : "on";
   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</td></tr>";
   echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
   echo "<div id='box_$boxname'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}

function closesidex() {

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

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



Parašė marchado· 2008 Gru. 20 16:12:57
#2

Subheaderi nuskopink nuo kitos temos. Icon'as pakeisk ir vsio.

Parašė E01· 2008 Gru. 20 16:12:11
#3

Ačiū Bet kartais ne nuo theme.php ? Kitos temos.

Redagavo E01· 2008 Gru. 20 16:12:50

Parašė marchado· 2008 Gru. 20 16:12:49
#4

Veikia.?

Parašė E01· 2008 Gru. 20 16:12:41
#5

Biški nesurpatau

Parašė marchado· 2008 Gru. 20 16:12:12
#6

parašyk į skype marrtyynas

Parašė E01· 2008 Gru. 20 19:12:45
#7

Tai kaip reikia padaryti :? Gal kas žinot ?|

Parašė Ultriukas· 2008 Gru. 20 20:12:58
#8

Zinom Zinom,Tik Tingim

Parašė robert· 2008 Gru. 20 20:12:58
#9

Mes žinom, mes tylim

Parašė E01· 2008 Gru. 20 20:12:11
#10

Sunku pasakyti :? :|

Parašė Saul1us· 2008 Gru. 20 20:12:17
#11

Tai atsiversk qrmio theme cs ir ten atsikopink tą kodą kame bėda?:|

Parašė Ultriukas· 2008 Gru. 20 20:12:19
#12

Sunku??

echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
<tr>
<td width='5'></td>
<td width='69' valign='top'><a href='".BASEDIR."index.php'><img src='".THEME."images/home.gif' border=0' alt='Pradinis'></a></td>
<td width='69' valign='top'><a href='".BASEDIR."news_cats.php'><img src='".THEME."images/news.gif' border=0' alt='Naujienos'></td>
<td width='69' valign='top'><a href='".FORUM."index.php'><img src='".THEME."images/forum.gif' border=0' alt='Diskusijos'></td>
<td width='69' valign='top'><a href='".BASEDIR."photogallery.php'><img src='".THEME."images/gallery.gif' border=0' alt='Galerija'></td>
<td width='69' valign='top'><a href='".BASEDIR."news_cats.php'><img src='".THEME."images/downloads.gif' border=0' alt='Siuntiniai'></td>
<td width='69' valign='top'><a href='".BASEDIR."skype:mazullis?chat'><img src='".THEME."images/contacts.gif' border=0' alt='Siuntiniai'></td>
<td width='5'></td>
</tr>
</table>\n";
echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";

Parašė Meskis· 2008 Gru. 20 21:12:30
#13

nu tai iterpk po headeriu, imesk prie images paveiksliukus kokiu reikia ir vsio. nu linkus pasikeisi manau

Parašė E01· 2008 Gru. 20 21:12:26
#14

Jau pasidariau be jūsu pagalbos :p

Parašė Meskis· 2008 Gru. 20 21:12:58
#15

kad gi lengva ten labai :]

Parašė 7even· 2008 Gru. 20 22:12:39
#16

jai ne spartakus nk nebutrum jausiu padares :D

Parašė Saul1us· 2008 Gru. 20 22:12:08
#17

PIKASSO parašė:
Jau pasidariau be jūsu pagalbos :p

Nepuskis čia Aš su Spartaku padėjom tau...:|