Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: del themos

Parašė dj_SamSon· 2008 Bal. 5 11:04:27
#1

taigi truputi paredaguojau thema ir kazkaip nelb isejo :(
va kaip pas mane

noriu kad vidurije butu pvz baltas fonas nu norimas mano fonas :) o kad is abieju pusiu kitas fonas ar paveikslelis :)
jai nelb supratoto tai paziurekite paveikslelius :)

Parašė samsung123· 2008 Bal. 5 11:04:52
#2

Tu susisiausink thema poto styles.css pasikesik spalvą Main body } skiltyje
į fff

Parašė dj_SamSon· 2008 Bal. 5 13:04:49
#3

Beišas parašė:
Tu susisiausink thema

nelb suprantu

Parašė dj_SamSon· 2008 Bal. 5 13:04:21
#4

tai kodote mano thema kur man cia rekia sutaverkyti :)
function render_header($header_content) {
global $theme_width,$settings;   
        echo "<table align='center' width='100%' border='0' cellpadding='0' cellspacing='0' style='background-image:url(".THEME."images/header-center.png);margin-top:-5px;'><tr><td>";
   // Header logo
        echo "<table align='center' style='background-image:url(".THEME."images/header-center.gif)' border='0' cellpadding='0' cellspacing='0' width='".$theme_width."'>";
   echo "<tr><td width='15'><img src='".THEME."images/header-left.png' width='92' height='200' alt=''></td>";
   echo "<td width='100%' class='header-center'>";
   echo "<table width='100%' cellspacing='0' cellpadding='0'>";
        echo "<tr><td align='center'><a href='".BASEDIR."index.php'><img src='".THEME."images/logo.png' alt='".$settings['sitename']."'></a></td></tr>";
   //echo "<tr><td>".$header_content."</td></tr>";
   echo "</table></td>";
   echo "<td width='15'><img src='".THEME."images/header-right.png' width='92' height='200' alt=''></td></tr></table>\n";
   echo "<img src='".THEME."images/pixel.gif' height='5' alt=''>";
        // Header logo
   echo "<table align='center' border='0' cellpadding='0' cellspacing='0' width='".$theme_width."'>";
   echo "<tr><td width='42'><img src='".THEME."images/nav-left.png' width='38' height='40' alt=''></td>";
   echo "<td width='75%' class='navlinktbl'>";
   echo showsublinks("&middot;","navlink")."</td>";
   echo "<td align='right' width='25%' class='navlinktbl'>".strftime("%Y-%m-%d,",time());
        echo "<span id=\"digitalclock\" style='color:white;'></span><script type='text/javascript'>
      function calctime()
      {
      var currenttime = new Date();
      var hours = currenttime.getHours();
      var minutes = currenttime.getMinutes();
      var seconds = currenttime.getSeconds();
      if (hours == 0)
      { hours = 12; }
      if (hours < 10)
      { hours = \"0\" + hours; }
      if (minutes < 10)
      { minutes = \"0\" + minutes; }
      if (seconds < 10)
      { seconds = \"0\" + seconds; }
      var clocklocation = document.getElementById('digitalclock');
      clocklocation.innerHTML = hours + \":\" + minutes + \":\" + seconds;
      setTimeout(\"calctime()\", 1000);
      }
      calctime();
      </script>";
        echo "</td>";
   echo "<td width='42'><img src='".THEME."images/nav-right.png' width='38' height='40' alt=''></td></tr></table>";
   echo "<table align='center' width='".$theme_width."' cellspacing='0' cellpadding='0'>\n<tr>\n";
}

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

   echo "</tr>\n</table>\n";
   echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'><tr>";
   echo "<td class='header'>".stripslashes($settings['footer'])."</td></tr></table>\n";
   echo "<table align='center' border='0' cellpadding='0' cellspacing='0' width='".$theme_width."'>";
   echo "<tr><td><img src='".THEME."images/nav-left-down.png' width='38' height='40' alt=''></td>";
   echo "<td align='left' width='38%' class='footercenter'>";
   if ($license == false) {
      echo "Powered by <a href='http://www.photoshopcs.xz.lt' target='_blank' class='navlink'><img src='".THEME."images/fusion.gif' alt='PHP-Fusion'></a> &copy; 2008-2009";
   }
   echo "</td>";
   echo "<td align='center' width='24%' class='footercenter'>photoshopcs.xz.lt by: <a href='http://www.photoshopcs.xz.lt' target='_blank'><img src='".THEME."images/bgthemes.gif' alt='dj_SamSon'></a>";
   echo "</td>";
   echo "<td align='right' width='38%' class='footercenter'>";
   $load = microtime();
        echo "Generalasi ido: <strong>".(number_format($load,2))." - ".$settings['counter']." </strong>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
   echo "</td>";
   echo "<td width='15'><img src='".THEME."images/nav-right-down.png' width='38' height='40' alt=''></td></tr></table>";
        echo "</td></tr></table>";
}

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

global $locale;
        $news_count = $news;
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-main'>&nbsp;&nbsp;".$subject."</td>";
   echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
   echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>".$news."</div><br>";
   echo "<div style='margin-top:5px'>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='infobar'>".newsposter($info)."</td>";
   echo "<td align='right' class='infobar2'>";
   echo openform("N",$info['news_id']).newsopts($info,"&middot;").closeform("N",$info['news_id']);
   echo "</td></tr></table></div></td>";
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'>";
   echo "</td></tr><tr>";
   echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "</tr></table>\n";
}

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

global $locale;
   
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-main'>&nbsp;&nbsp;".$subject."</td>";
   echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
   echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>";
   echo "<div style='margin-top:5px'>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='infobar'>".articleposter($info)."</td>";
   echo "<td align='right' class='infobar2'>";
   echo openform("A",$info['article_id']).articleopts($info,"&middot;").closeform("A",$info['article_id']);
   echo "</td></tr></table></div></td>";
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
   echo "</tr><tr>";
   echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "</tr></table>\n";
}

function opentable($title) {
   $what = rand(1,1500);
        if ($what <= 500 && $what >= 1) {
          $panel_main = "panel-main";
        } else if ($what <= 1000 && $what > 500) {
          $panel_main = "panel-main1";
        } else {
          $panel_main = "panel-main2";
        }
   echo "\n\n<!-- BLOCKSTART -->\n<table width='100%' cellpadding='0' cellspacing='0'>";
   echo "<tr><td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
   echo "<td width='100%' class='".$panel_main."'>&nbsp;&nbsp;".$title."</td>";
   echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
   echo "<td class='main-body'>\n";
}

function closetable() {

   echo "</td>";
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
   echo "<tr>";
   echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "</tr></table>\n<!-- BLOCKEND -->\n\n";
}

function openside($title) {
   $what = rand(1,1500);
        if ($what <= 500 && $what >= 1) {
          $panel_main = "panel-main";
        } else if ($what <= 1000 && $what > 500) {
          $panel_main = "panel-main1";
        } else {
          $panel_main = "panel-main2";
        }
   echo "\n\n<!-- BLOCKSTART -->\n<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
   echo "<td width='100%' class='".$panel_main."'>&nbsp;&nbsp;".$title."</td>";
   echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
   echo "<td class='side-body'>\n";
}

function closeside() {

   echo "</td>";
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
   echo "<tr>";
   echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "</tr></table>\n<!-- BLOCKEND -->\n\n";
}

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

   $boxname = str_replace(" ", "", $title);
   $box_img = $open == "on" ? "off" : "on";
   echo "\n\n<!-- BLOCKSTART -->\n<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
   echo "<td class='panel-main'>".$title."</td>";
   echo "<td align='right' class='panel-main'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' align='right' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>";
   echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
   echo "<td class='side-body'>";
   echo "<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";
}

function closesidex() {

   echo "</div>";
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
   echo "<tr>";
   echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "</tr></table>\n<!-- BLOCKEND -->\n\n";
}

function tablebreak() {

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




Redagavo dj_SamSon· 2008 Bal. 5 13:04:20

Parašė samsung123· 2008 Bal. 5 13:04:13
#5

visa theme.php nucopink o ne daly, norėjau pasakyti kad reikia susisiaurinti
thema

Parašė dj_SamSon· 2008 Bal. 5 13:04:23
#6

n tai gal galetum man cia parereguoti :)

Parašė Žmogus· 2008 Bal. 5 16:04:48
#7

Styles.css susirask main-body ir ištrink url kažkaip (jeigu bus)

Parašė dj_SamSon· 2008 Bal. 5 19:04:00
#8

nu as istiniau ir sukuriau nauja paveiksleli ir adresa idejau i css i tai rodos reikia kazka ir padaryti ir themoi
kas gali paaiskinsi :)

Redagavo dj_SamSon· 2008 Bal. 5 19:04:04