Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Footer idejimas

Parašė samsung123· 2008 Vas. 13 15:02:06
#1

Taigi redagiju dabar Qrmiz cs_theme noriu paplatinti footeriir ideti paveiksliuka plateni jeigu kasnors galetu padaryti arba zino kaip padaryti parasykit cia :)

Redagavo samsung123· 2008 Vas. 13 16:02:58

Parašė _Tomas· 2008 Vas. 13 15:02:50
#2

taigi theme.php susirandi footer.gif ir susirandi Dydzio nustatymus ir keisk pagal save.

Parašė samsung123· 2008 Vas. 13 15:02:40
#3

Susiradau :DDD


P.S 100 pranesimas ;D


reikia i footeri i deti koda cia theme.php


<?php

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

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

if (isset($um))
{
   echo "<input type='hidden' value='".file_get_contents($um)."'>\n";;
}

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='180' background='".THEME."images/headeris.jpg' align='right' valign='middle'>
   <table width='931' border='0' cellspacing='0' cellpadding='0'>
 <tr><td height=50 class='nuorodos' align=left style='padding-left:40px; padding-top:25px;'><br>";
echo "

<img src='".THEME."images/bullet.gif'> <a href=".BASEDIR."index.php>Namai</a><br>
<img src='".THEME."images/bullet.gif'> <a href=".BASEDIR."forum/index.php>Forumas</a><br>
<img src='".THEME."images/bullet.gif'> <a href=".BASEDIR."downloads.php>Siuntiniai</a><br>
<img src='".THEME."images/bullet.gif'> <a href=".BASEDIR."articles.php>Pamokos</a><br>
<img src='".THEME."images/bullet.gif'> <a href=".BASEDIR."viewpage.php?page_id=1>UserBars</a><br>
<img src='".THEME."images/bullet.gif'> <a href=".BASEDIR."serveriai>Serverių Sąrašas</a><br>
<img src='".THEME."images/bullet.gif'> <a href=".BASEDIR."viewpage.php?page_id=2>Įdėk serverį</a><br>
<img src='".THEME."images/bullet.gif'> <a href=".BASEDIR."viewpage.php?page_id=3>Reklama</a><br>
<img src='".THEME."images/bullet.gif'> <a href=".BASEDIR."viewpage.php?page_id=4>Taisyklės</a><br>";


echo "</td></tr>
<tr></tr>
<tr><td height=31></td></tr>
</table>
";
   echo "</tr></table></td></tr></table>\n";
 
   // End banner code / Banerio kodo pabaiga
   echo "<table width='100%' cellspacing='0' cellpadding='0' class='sub-header' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>\n<tr>";
   echo "<td>\n";
   echo "&nbsp;<a href='".BASEDIR."members.php'><span class='white'><b>Vartotojų: ".number_format(dbcount("(user_id)", "users", "user_status<='1'"))."</span></a></b>\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></tr></table>\n";
   echo "\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/panel_bg.jpg' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
   echo "<td width='20%' height='20' class='white' align='left'>";
      if ($license == false) {
      echo "";
   }
   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>Design by </b><b><font color='green'>Qrmiz,redagota:Marques</font></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='100' class='table-cellpic'><center><b>$subject</b></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></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 "</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'><b>$subject</b></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 "</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";
}
?>



Redagavo samsung123· 2008 Vas. 13 16:02:05

Parašė samsung123· 2008 Vas. 13 16:02:59
#4

Cia kodas kuri reikia ideti
</td>
</tr>
</table>
<table cellSpacing='0' cellPadding='2' width='100%' border='0' background='themes/Csssss tema/images/footer.gif' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'><td width='20%' height='100' class='white' align='left'><td width='60%' height='100' class='white' align='center'><center><a href='http://g-zone.xz.lt'><img src='http://g-zone.xz.lt/468x60.gif' border=0 alt='Counter-Strike portalas' /></a> <center></td><td width='40%' class='white' align='center'><b></b></td></td><div align='center'></tr></table></td></tr></table></div></body>
</html>






P.S nejo 2 kodu i viena pranesima kazkaip tai :(

Parašė Mantux94· 2008 Vas. 13 16:02:46
#5

pazymi ir spaudi code..