Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Del skaitliuko

Parašė Giedriusax16· 2009 Rugp. 10 10:08:16
#1

sveiki,gal galite pasakyti,kaip man skaitliuka isideti i footeri?

Parašė AurimaszB· 2009 Rugp. 10 14:08:05
#2

nueini i admis panes> sistemos administracija> paneles> sukurti panele(arba nauja panele)> užrasik savo norima pavadinima paneles ir idek toki koda >
openside("Lankytojai");
?>
Tavo skaitliuko kodas...
<?
closeside();

Redagavo AurimaszB· 2009 Rugp. 10 14:08:07

Parašė iSty· 2009 Rugp. 10 14:08:45
#3

Jis nori, kad į footeri isidėt galėtu :D O ne panelėj :D
Duok theme.php

Parašė FanatiC· 2009 Rugp. 10 15:08:06
#4

Nebutinai reike theme.php jaigu dizaine yra apatine eilute footeris tipo kad per paigrindinius nustatymus eina parasyti pvz Mp3Place.LT c 2009 tai ten gali ideti koda skaitliuko,apatine tinklapio eilute vadinasi,jaigu tavo theme tokios nera ta prasme reike su ps redaguoti dek cia theme.php

Parašė Giedriusax16· 2009 Rugp. 11 08:08:26
#5

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

// theme settings
$body_text = "#585858";
$body_bg = "#000";
$theme_width = "826";
$theme_width_l = "161";
$theme_width_r = "161";

function render_header($header_content) {

global $theme_width,$settings, $locale, $userdata, $aidlink, $db_prefix ,$loginerror;

if (file_exists(INFUSIONS."user_info_panel/locale/".$settings['locale'].".php")) {
    include INFUSIONS."user_info_panel/locale/".$settings['locale'].".php";
} else {
   include INFUSIONS."user_info_panel/locale/English.php";
}





echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">

<tr>

<td>

<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">

<tr>


<td> <img src=\"".THEME."images/radio_orange_02.gif\" width=\"627\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtĆ³w]\"></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_03.gif\" width=\"93\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtĆ³w]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_04.gif\" width=\"106\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtĆ³w]\"></a></td>
</tr></table>

<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">

<tr>
<td background=\"".THEME."images/radio_orange_06.gif\" width=\"242\" height=\"247\" border=\"0\" alt=\"[Rozmiar: 846 bajtĆ³w]\"><div style=\"padding-left: 5px; padding-right: 2px; padding-bottom: 20px\">
    <!-- logowanie -->";

if (iMEMBER) {
opensidel();
echo " <center><table cellspacing='2'> <tr>\n";
echo ("<td class='login' > Sveikas(-a) <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'" ."<span style='color:#".$userdata['user_color']."'>".$userdata['user_prefix'].$userdata['user_name']);
echo "</span></a></td>\n";   
echo "</tr></table></center>";

if ($userdata['user_avatar'] != "") {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
            echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png'  height='12' width='12'></td>\n";
            echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png'  height='12' width='100%'></td>\n";
            echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png'  height='12' width='12'></td></tr><tr>\n";
            echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
            echo "<td align='center' height='1%'>";

            echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' hight='50' alt='".$data['user_name']."'></td>";
            echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
            echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
            echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
            echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
            echo "</table></center>";


} else {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
            echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png'  height='12' width='12'></td>\n";
            echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png'  height='12' width='100%'></td>\n";
            echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png'  height='12' width='12'></td></tr><tr>\n";
            echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
            echo "<td align='center' height='1%'>";

            echo "<img src='".FORUM."/images/brak.gif' width='50' hight='50'></td>";
            echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
            echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
            echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
            echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
            echo "</table></center>";


}

$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");

echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Aprašymas</a><br>

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Asmeninės žinutės</a><br>

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Narių sąrašas</a><br>\n";

if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {

echo "<img src='".THEME."images/bullet.gif' alt=''><a href='".ADMIN."index.php$aidlink' class='side'> Administracija</a><br>\n";


}{echo "<br>

<div style=\"text-align: center\"> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Atsijungti (x)</a></div>\n";

if ($msg_count) echo "<br><center><b><a href='".BASEDIR."messages.php' class='side2'>".sprintf('Gauta %u žinute' , $msg_count)."</a></b></center>\n";
}
tablebreak();

} else {

opensidel();

echo "<div align='center' style=\"  padding-bootom: 25px; padding-left: 5px; padding-right: 29px\" >".(isset($loginerror) ? $loginerror : "")."

<form name='loginform' method='post' action='".FUSION_SELF."'><br><br>

<x class='text'> Prisijungti</x> <input type='text' name='user_name' class='panellogowania_texbox' value='nick' onBlur=\"if(this.value=='') this.value='nick';\" onFocus=\"if(this.value=='nick') this.value='';\" style=\"padding-top: 4px;  padding-left: 5px; padding-right: 29px\" ><br><br>

<x class='text'>Slaptažodis</x> <input type='password' name='user_pass' class='panellogowania_texbox' value='hasĀ³o' onBlur=\"if(this.value=='') this.value='hasĀ³o';\" onFocus=\"if(this.value=='hasĀ³o') this.value='';\" style=\" padding-top: 4px; padding-left: 5px; padding-right: 29px\"><br><br>


<input type='submit'  name='login' value='Prisijungti' class='loguj' ><br><br>
</form>

\n";

if ($settings['enable_registration']) {

echo "<a href='".BASEDIR."register.php' class='text'>Registracija</a> / \n";

}

echo "<a href='".BASEDIR."lostpassword.php' class='text'>Pamiršai slaptažodį? Prašyk!!</a>

</div>\n";

}
closesidel();
   
   
   
   
echo "</div></td>
<td> <img src=\"".THEME."images/radio_orange_07.gif\" width=\"584\" height=\"247\" border=\"0\" alt=\"[Rozmiar: 846 bajtĆ³w]\"></td>




</tr></table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">

<tr>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_08.gif\" width=\"163\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtĆ³w]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_09.gif\" width=\"89\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtĆ³w]\"></a></td>
<td> <a href=\"".BASEDIR."forum/index.php\"><img src=\"".THEME."images/radio_orange_10.gif\" width=\"135\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtĆ³w]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_11.gif\" width=\"110\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtĆ³w]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_12.gif\" width=\"91\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtĆ³w]\"></a></td>
<td> <a href=\"".BASEDIR."contact.php\"><img src=\"".THEME."images/radio_orange_13.gif\" width=\"123\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtĆ³w]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_14.gif\" width=\"115\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtĆ³w]\"></a></td>





</tr></table>


</td>
</tr>
<tr></tr>
<tr>
    <td>\n";

echo "    <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
<tr>\n";

}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table cellpadding='0' align='center' cellspacing='0' width='$theme_width'>
<tr>
<td  background='".THEME."images/radio_orange_31.gif'width=\"826\" height=\"42\" border=\"0\"  align='center' class='side'>".stripslashes($settings['footer'])."
Powered by: <a href='http://php-fusion.co.uk' target='_blank'>PHP-fusion </a>  | Tema Priklauso MuzicFm Komandai</a></small>

 | Unikaliu Apsilankimų: ".$settings['counter']."
</td>

</tr>
</table>
</td>
</tr>
</table>\n";

}

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

global $settings;

echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"605\">
<tr>
   <td background=\"".THEME."images/radio_orange_24.gif\" width=\"605\" height=\"53\" style=\"  padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\" class='scapmain'><b>$subject</b></td></tr><tr>
   <td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-bottom:5px; padding-left: 15px; padding-right: 5px\">
   

   $news<br>


   </td></tr><tr>
   <td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\"  style=\" padding-top:-0px; padding-left: 33px; padding-right: 33px\"><table width=\"100%\"><tr><td >
   ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."<td >".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a>" : "")."
<a href='news.php?readmore=".$info['news_id']."'>Komentarzy: ".$info['news_comments'].$locale['043']."</a> | Czytano:
".$info['news_reads'].$locale['044']." razy.
<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a></td></tr>
   </table>
   </td></tr><tr>
   <td><img src=\"".THEME."images/radio_orange_29.gif\" width=\"605\" height=\"11\" border=\"0\" alt=\"[Rozmiar: 846 bajtĆ³w]\"></td>
</tr>
</table>

";
}


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

echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"605\">
<tr>
   <td background=\"".THEME."images/radio_orange_24.gif\" width=\"605\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\"><b>Artyku&#322;: $subject</b></td></tr><tr>
   <td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-left: 15px; padding-right: 5px\">
   <b></b>

   <div style=\"padding-left: 7px; padding-right: 7px\">".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>


   
   
   
   </td></tr><tr>
   <td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-left: 15px; padding-right: 5px\"><table width='98%' cellpadding='0' cellspacing='0'>
<tr>
<td><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."
</td>
<td align='right'>
<a href='readarticle.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> &#183;
".$info['article_reads'].$locale['044']."
<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>
</td>
</tr>
</table>
   </td></tr><tr>
   <td><img src=\"".THEME."images/radio_orange_29.gif\" width=\"605\" height=\"11\" border=\"0\" alt=\"[Rozmiar: 846 bajtĆ³w]\"></td>
</tr>
</table>


\n";

}

function opentable($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"605\">
<tr>
    <td background=\"".THEME."images/radio_orange_24.gif\" width=\"605\" height=\"53\"  style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\" class='capmain'><b>$title<b></td></tr><tr>
    <td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\"  style=\" padding-bottom:10px; padding-left: 15px; padding-right: 15px\">";


}

function closetable() {

echo "
   
   
    </td></tr><tr>
    <td><img src=\"".THEME."images/radio_orange_29.gif\" width=\"605\" height=\"11\" border=\"0\" alt=\"[Rozmiar: 846 bajtĆ³w]\"></td>
</tr>
</table>\n";

}

function openside($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"221\">
<tr>
    <td background=\"".THEME."images/radio_orange_23.gif\" width=\"221\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\" class='scapmain'><b>$title</b></td></tr>
<tr>
    <td background=\"".THEME."images/radio_orange_25.gif\" width=\"221\"  style=\" padding-top: 1px; padding-left: 10px; padding-right: 10px\">

   
   
\n";

}

function closeside() {

echo "
   
    </td>
</tr>
<tr>
    <td><img src=\"".THEME."images/radio_orange_27.gif\" width=\"221\" height=\"9\" border=\"0\" alt=\"[Rozmiar: 551 bajtĆ³w]\"></td>
</tr>
</table>\n";
tablebreak();

}



function opensidel() {



echo "<table cellpadding='0' cellspacing='0' width='100%'>

<tr>

<td>\n";

}



function closesidel() {



echo "</td>

</tr>

</table>\n";

tablebreak();



}

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

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

}

function closesidex() {

echo "</div>
<td class='border-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
<tr>
<td class='border-bleft'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>
<td class='border-bright'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

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

}
?>




Skaitliukas

<a href="http://www.stats.lt/counter19923.html" target="_blank"><img id="statslt_cnt" src="" border="0" alt="www.stats.lt - Tinklapiu reitingai, statistika, skaitliukas" style="display: none"></a>
<script language="JavaScript" type="text/javascript">
<!--
var st_img; if (document.getElementById) st_img = document.getElementById('statslt_cnt');
if (!st_img && document.all) st_img = document.all['statslt_cnt'];
if (st_img) { st_img.onload = function () { this.style.display = 'inline'; }
st_img.src = "http://images.stats.lt/countme.php?site=19923&ref="+escape(document.referrer)+"&h="+ screen.height +"&w="+ screen.width + "&cs="+Math.random()*9999; }
//-->
</script>




Redagavo Giedriusax16· 2009 Rugp. 11 08:08:41

Parašė Peacemaker· 2009 Rugp. 11 08:08:20
#6

Jeigu footer'is yra čia,


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




Tada talpink tart td tr tag'ų.

Parašė Giedriusax16· 2009 Rugp. 11 09:08:57
#7

jau idejo nebereikia rakinkit tema