Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,956
Naujausias narys: saulyzas

Naujausi straipsniai

Paskutiniai nariai

saulyzas 1 diena
MaFetas 3 dienos
TOMIJUS 1 savaitė
ozzWANTED 1 savaitė
Reikalas10 savaitės
Jaunelis16 savaitės
lanis16 savaitės
And2s17 savaitės
Memento Mori22 savaitės
Quwqkibor24 savaitės
asirija28 savaitės
tomeem30 savaitės
weberiz34 savaitės
mRokass36 savaitės
kartoonas37 savaitės
grunskiz40 savaitės
Bruksnys40 savaitės
illusion40 savaitės
ordo41 savaitės
Jurgaila42 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 3.133.137.53
Naujienų: 529
Straipsnių: 235
Temų: 52,588
Postų: 522,537
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.

MaFetas
2024 Lap. 13 22:11:57
hey how, geras dar veikiantis saitas?

Jaunelis
2024 Lie. 25 11:07:43
Oho vis dar veikia svetainė akinanti šypsen Šimtas metų, matau Šaukykloje nuostalgija. Smagu panaršyt po forumą ir pažiūrėt senas temas šypsosi

And2s
2024 Lie. 17 19:07:04
2008 pirmą kart čia patekau, man buvo 10m ir čia pramokau programavimo.. smagu skaityti senas žinutes, tokia nostalgija akinanti šypsen ačiū Ozz kad saugoji šitą kultūrinį reliktą šypsosi

ozzWANTED
2024 Sau. 17 01:01:00
Desperatiškus komentarus šaukykloje su accountu po mėnesio prasibuvimo, ištryniau. Pasaulis ir taip juodas. Įjungiam šviesą, prašviesės. šypsosi

Majakas
2023 Gru. 10 19:12:39
Negaliu patikėti jog žinutės/pranešimai visi yra nuo 2008 m akinanti šypsen

Š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
user_info_panel klausimas...
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai

Autorius: Naiteki Peržiūrų: 1393      Spausdinti temą
2011 Lap. 25 07:11:02          1 žinutė iš 7
Spausdinti pranešimą
Įdėjau naują user_info_panel, bet virš jos turėtų būti perpus mažesnis tarpas viršuje iki kitos panelės.
Taip atrodo:

o toks turi būti:


Kokiame faile ir kaip man sumažinti tą tarpą?


6 atsakymai:
2011 Lap. 25 08:11:55          2 žinutė iš 7
Spausdinti pranešimą
Žiurėk į theme.php gal kažkur yra įdėti: <p> arba <br>, arba žiurėk į tos paneles kodą pačiam gale... šypsosi
0

2011 Lap. 25 14:11:46          3 žinutė iš 7
Spausdinti pranešimą
Man atrodo čia user_info_panel.php faile reikia kažką pakeisti... bandžiau ten keletą kartų nuimti <br>, bet tas pats lieka.
Gal kas padėtų per skaipą?
0


2011 Lap. 27 14:11:40          4 žinutė iš 7
Spausdinti pranešimą
Imesk čia kodą user panel ir theme.php
0

2011 Gru. 6 19:12:29          5 žinutė iš 7
Spausdinti pranešimą
Pamiršau šitą temą, galvojau jau nieks nepadės. akinanti šypsen

theme.php:

<?php
 
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<span class='bullet'>&middot;</span>");
require_once INCLUDES."theme_functions_include.php";
 
function render_page($license=false) {
global $theme_width,$userdata,$settings,$locale,$data,$db_prefix,$lookup,$msg_count,$aidlink;
 
echo "<table align='center' cellpadding='0' cellspacing='0' class='decolor'>\n<tr>
<td align='right' width='940'>"
;
echo "</td>
</tr>
</table>"
;
echo "<table align='center' cellpadding='0' cellspacing='0' class='decolor2'>\n<tr>
<td align='right' width='335'>"
;
echo "</td>
<td align='right' width='350'>"
;
echo "<a href='http://www.cancel.lt' target='_blank'><img src='http://monitors.cancel.lt/server_info/77.241.199.156:27020:cs/350x20.png' border='0' alt='CANCEL.LT' width='350' height='20' /></a>\n";
echo "</td>
<td align='right' width='252'>"
;
echo "</td>
</tr>
</table>"
;
echo "<table align='center' cellpadding='0' cellspacing='0' class='decolor3'>\n<tr>
<td align='right' width='940'>"
;
echo "</td>
</tr>
</table>"
;
echo "<table align='center' cellpadding='0' cellspacing='0' width='100%'>\n
<td>
<div id='containe'>
<div id='sub-nav'>
<a href='"
.BASEDIR."index.php'></a>
<ul>
<li><a href='"
.BASEDIR."news.php'>Pagrindinis</a></li>
<li><a href='"
.FORUM."'>Forumas</a></li>
<li><a href='"
.BASEDIR."viewpage.php?page_id=2'>Paslaugos</a></li>
<li><a href='"
.BASEDIR."viewpage.php?page_id=4'>Taisykl&#279;s</a></li>
<li><a href='"
.BASEDIR."downloads.php'>Siuntiniai</a></li>
<li><a href='"
.BASEDIR."search.php'>Paie&#353;ka</a></li>
<li><a href='"
.BASEDIR."viewpage.php?page_id=5'>UPDATE</a></li>
<span style='padding-right: 46px;'><a href='skypedrovushiro.lt?chat'>
<img src='"
.THEME."images/skype.png' width='30' height='30' border='0' title='Administracija/Pagalba' alt=''></a></span>
</ul>
</div>
</td>
</table>\n"
;
echo "<table cellpadding='0' cellspacing='0' width='940' align='center' class='content'><tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top' width='230'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top' width='230'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
echo "<table width='940' height='75' border='0' cellpadding='0' cellspacing='0' align='center' class='footer'>
<tr>
<td align='left'>
</td>
<td align='center'>
<span style='padding-left:0px;'>© Copyright 2011 PlayLine.ob.lt Visos teis&#279;s saugomos.</span><br>
<span style='padding-left:0px;'>Dizainas & Kodavimas: <a href='http://www.decolor.lt/' target='_blank'>www.decolor.lt </a></span>
</td>
<td align='right'>
</td>
</tr>
</table>
</td>
</tr>
</table>\n"
;
}
 
function render_news($subject, $news, $info) {
 
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left3'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main3'>$subject</td>";
echo "<td class='panel-right3'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div>";
echo "<div style='margin-top:5px'>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><br>";
echo "<td align='left' class='infobar'>
<a href='"
.BASEDIR."profile.php?lookup=".$info['user_id']."'>
<img src='"
.THEME."images/bullet.gif' alt=''> <b>".$info['user_name']."</b></a> &nbsp;
<img src='"
.THEME."images/bullet.gif' alt=''> ".showdate("%y.%m.%d", $info['news_date'])." &nbsp;
<a href='"
.BASEDIR."news.php?readmore=".$info['news_id']."'>
<img src='"
.THEME."images/bullet.gif' alt=''> <b> Skaityti daugiau... </b></a>&nbsp;
<img src='"
.THEME."images/bullet.gif' alt=''> ".$info['news_reads']." Per&#382;i&#363;ros &nbsp;
<img src='"
.THEME."images/bullet.gif' alt=''> ".$info['news_comments']." Komentarai</div></td>";
echo "</td></tr></table></div></td>";
echo "<td class='border-right3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'>";
echo "</td></tr><tr>";
echo "<td class='border-bleft3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain3'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "</tr></table><br>\n";
}
 
function render_article($subject, $article, $info) {
 
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left3'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main3'>$subject</td>";
echo "<td class='panel-right3'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
echo "<td class='article-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><br>";
echo "<td class='infobar2'>".articleposter($info," &middot;")."</td>";
echo "<td align='right' class='infobar2'>";
echo articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
echo "</td></tr></table></div></td>";
echo "<td class='border-right3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
echo "</tr><tr>";
echo "<td class='border-bleft3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain3'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "</tr></table><br>\n";
}
 
function opentable($title) {
 
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr><td class='panel-left2'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main2'>$title</td>";
echo "<td class='panel-right2'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left2'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
echo "<td class='table-body'><br>\n";
}
 
function closetable() {
 
echo "</td>";
echo "<td class='border-right2'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft2'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain2'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright2'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "</tr></table><br>\n";
}
 
function openside($title) {
 
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='10' height='40' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$title</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='10' height='40' 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='10' height='10' alt='' style='display:block'></td>";
echo "<td class='side-body'><br>\n";
}
 
function closeside() {
 
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "</tr></table><br>\n";
}
 
?>





user_info_panel.php:

<?php
////////////////////////////
//modded by phpfusion.lt //
//By nepster //
/////////////////////////
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
include INFUSIONS."user_info_panel/locale/".$settings['locale'].".php";
 
$ui_img="".INFUSIONS."user_info_panel/images/";
//padarius true administravimo meniu matys paprasti administratoriai
//if true admin meniu for only super admins
$SADMIN=true;
//admin url, if false will be all navigation of administration
$simple_admin_url=false;
 
if (iMEMBER) {
openside($userdata['user_name']);
$msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
if ($msg_count) { echo "<br /><br /><div style='text-align:center'><strong><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['global_125'], $msg_count).($msg_count == 1 ? $locale['global_126'] : $locale['global_127'])."</a></strong></div>\n";
}
if ($userdata['user_avatar'] != "") {
echo "<center><img border='0' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."'></center>\n";
} else {
echo "<center><img border='0' src='{$ui_img}noimage.gif'></center>\n";
}
if($simple_admin_url!=false) {
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo"<br><a href='".ADMIN."index.php".$aidlink."' class='side'>".$locale['global_123']."</a><br>";
}
} else {
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C" || !$SADMIN=true)){
include INFUSIONS."user_info_panel/navigation.php";
}
}
echo "<script>
var linktext=new Array()
linktext[0]=\""
.THEME_BULLET.$locale['ui02']."\"
linktext[1]=\""
.THEME_BULLET.$locale['ui03']."\"
linktext[2]=\""
.THEME_BULLET.$locale['ui04']."\"
linktext[3]=\""
.THEME_BULLET.$locale['ui05']."\"
var ns6=document.getElementById&&!document.all
var ie=document.all
function show_text(thetext, whichdiv){
if (ie) eval(\"document.all.\"+whichdiv).innerHTML=linktext[thetext]
else if (ns6) document.getElementById(whichdiv).innerHTML=linktext[thetext]
}
function resetit(whichdiv){
if (ie) eval(\"document.all.\"+whichdiv).innerHTML=' '
else if (ns6) document.getElementById(whichdiv).innerHTML=' '
}
</script>"
;
echo "<br><a href='".BASEDIR."edit_profile.php' class='side'>
<img src='{$ui_img}profile.png' onMouseover=\"show_text(0,'div2')\" onMouseout=\"resetit('div2')\" border='0'></a>"
;
echo "<a href='".BASEDIR."messages.php' class='side'>
<img src='{$ui_img}private.png' onMouseover=\"show_text(1,'div2')\" onMouseout=\"resetit('div2')\" border='0'></a>"
;
echo "<a href='".BASEDIR."members.php' class='side'>
<img src='{$ui_img}users.png' onMouseover=\"show_text(2,'div2')\" onMouseout=\"resetit('div2')\" border='0'></a>"
;
echo "<a href='".BASEDIR."setuser.php?logout=yes' class='side'>
<img src='{$ui_img}exit.png' onMouseover=\"show_text(3,'div2')\" onMouseout=\"resetit('div2')\" border='0'></a>\n<br>"
;
echo "<i><span id=\"div2\"></span></i>";
echo "<br><hr>";
//ranks
require_once "exp_include.php";
showexp($userdata['user_id'],$userdata['user_posts'], "1");
} else {
openside($locale['global_100']);
echo "<div style='text-align:center'>\n";
echo "<form name='loginform' method='post' action='".FUSION_SELF."'>\n";
echo $locale['global_101']."<br />\n<input type='text' name='user_name' class='textbox' style='width:100px' /><br />\n";
echo $locale['global_102']."<br />\n<input type='password' name='user_pass' class='textbox' style='width:100px' />
<br />\n"
;
echo "<input type='checkbox' name='remember_me' value='y' title='".$locale['global_103']."' style='vertical-align:middle;' />\n";
echo "<input type='submit' name='login' value='".$locale['global_104']."' class='button' /><br />\n";
echo "</form>\n<br />\n";
if ($settings['enable_registration']) {
echo "".$locale['global_105']."<br /><br />\n";
}
echo $locale['global_106']."\n</div>\n";
}
echo "<style type=\"text/css\">
#dhtmltooltip{
position: absolute;
width: 150px;
border: 1px solid #c2d0d8;
padding: 2px;
background-color: lightyellow;
visibility: hidden;
z-index: 100;
filter: progidakinanti šypsenXImageTransform.Microsoft.Shadow(color=gray,direction=135);
}
</style>"
;
echo "<div id=\"dhtmltooltip\"></div><script type=\"text/javascript\">
var offsetxpoint=-60
var offsetypoint=20
var ie=document.all
var ns6=document.getElementById && !document.all
var enabletip=false
if (ie||ns6)
var tipobj=document.all? document.all[\"dhtmltooltip\"] : document.getElementById? document.getElementById(\"dhtmltooltip\") : \"\"
function ietruebody(){
return (document.compatMode && document.compatMode!=\"BackCompat\")? document.documentElement : document.body
}
function ddrivetip(thetext, thecolor, thewidth){
if (ns6||ie){
if (typeof thewidth!=\"undefined\") tipobj.style.width=thewidth+\"px\"
if (typeof thecolor!=\"undefined\" && thecolor!=\"\") tipobj.style.backgroundColor=thecolor
tipobj.innerHTML=thetext
enabletip=true
return false
}
}
function positiontip(e){
if (enabletip){
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20
var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
if (rightedge<tipobj.offsetWidth)
tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+\"px\" : window.pageXOffset+e.clientX-tipobj.offsetWidth+\"px\"
else if (curX<leftedge)
tipobj.style.left=\"5px\"
else
tipobj.style.left=curX+offsetxpoint+\"px\"
if (bottomedge<tipobj.offsetHeight)
tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+\"px\" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+\"px\"
else
tipobj.style.top=curY+offsetypoint+\"px\"
tipobj.style.visibility=\"visible\"
}
}
function hideddrivetip(){
if (ns6||ie){
enabletip=false
tipobj.style.visibility=\"hidden\"
tipobj.style.left=\"-1000px\"
tipobj.style.backgroundColor=''
tipobj.style.width=''
}
}
document.onmousemove=positiontip
</script>"
;
 
closeside();
?>
0


2011 Gru. 9 22:12:41          6 žinutė iš 7
Spausdinti pranešimą
<?php

 

if (!defined("IN_FUSION")) { die("Access Denied"); }

define("THEME_BULLET", "<span class='bullet'>&middot;</span>");

require_once INCLUDES."theme_functions_include.php";

 

function render_page($license=false) {

global $theme_width,$userdata,$settings,$locale,$data,$db_prefix,$lookup,$msg_count,$aidlink;

 

   echo "<table align='center' cellpadding='0' cellspacing='0' class='decolor'>\n<tr>

   <td align='right' width='940'>";

   echo "</td>

   </tr>

   </table>";

   echo "<table align='center' cellpadding='0' cellspacing='0' class='decolor2'>\n<tr>

   <td align='right' width='335'>";

   echo "</td>

   <td align='right' width='350'>";

   echo "<a href='http://www.cancel.lt' target='_blank'><img src='http://monitors.cancel.lt/server_info/77.241.199.156:27020:cs/350x20.png' border='0' alt='CANCEL.LT' width='350' height='20' /></a>\n";

   echo "</td>

   <td align='right' width='252'>";

   echo "</td>

   </tr>

   </table>";

   echo "<table align='center' cellpadding='0' cellspacing='0' class='decolor3'>\n<tr>

   <td align='right' width='940'>";

   echo "</td>

   </tr>

   </table>";

   echo "<table align='center' cellpadding='0' cellspacing='0' width='100%'>\n

   <td>

   <div id='containe'>

   <div id='sub-nav'>

   <a href='".BASEDIR."index.php'></a>

   <ul>

   <li><a href='".BASEDIR."news.php'>Pagrindinis</a></li>

   <li><a href='".FORUM."'>Forumas</a></li>

   <li><a href='".BASEDIR."viewpage.php?page_id=2'>Paslaugos</a></li>

   <li><a href='".BASEDIR."viewpage.php?page_id=4'>Taisyklės</a></li>

   <li><a href='".BASEDIR."downloads.php'>Siuntiniai</a></li>

   <li><a href='".BASEDIR."search.php'>Paieška</a></li>

   <li><a href='".BASEDIR."viewpage.php?page_id=5'>UPDATE</a></li>

   <span style='padding-right: 46px;'><a href='skypedrovushiro.lt?chat'>

   <img src='".THEME."images/skype.png' width='30' height='30' border='0' title='Administracija/Pagalba' alt=''></a></span>

   </ul>

   </div>

   </td>

   </table>\n";

   echo "<table cellpadding='0' cellspacing='0' width='940' align='center' class='content'><tr>\n";

   if (LEFT) { echo "<td class='side-border-left' valign='top' width='230'>".LEFT."</td>"; }

   echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";

   if (RIGHT) { echo "<td class='side-border-right' valign='top' width='230'>".RIGHT."</td>"; }

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

   echo "<table width='940' height='75' border='0' cellpadding='0' cellspacing='0' align='center' class='footer'>

   <tr>

   <td align='left'>

   </td>

   <td align='center'>

   <span style='padding-left:0px;'>© Copyright 2011 PlayLine.ob.lt Visos teisės saugomos.</span><br>

   <span style='padding-left:0px;'>Dizainas & Kodavimas: <a href='http://www.decolor.lt/' target='_blank'>www.decolor.lt </a></span>

   </td>

   <td align='right'>

   </td>

   </tr>

   </table>

   </td>

   </tr>

   </table>\n";

}

 

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

 

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

   echo "<td class='panel-left3'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";

   echo "<td width='100%' class='panel-main3'>$subject</td>";

   echo "<td class='panel-right3'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";

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

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

   echo "<td class='border-left3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";

   echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div>";

   echo "<div style='margin-top:5px'>";

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

   echo "<td align='left' class='infobar'>

   <a href='".BASEDIR."profile.php?lookup=".$info['user_id']."'>

   <img src='".THEME."images/bullet.gif' alt=''> <b>".$info['user_name']."</b></a> &nbsp;

   <img src='".THEME."images/bullet.gif' alt=''> ".showdate("%y.%m.%d", $info['news_date'])." &nbsp;

   <a href='".BASEDIR."news.php?readmore=".$info['news_id']."'>

   <img src='".THEME."images/bullet.gif' alt=''> <b> Skaityti daugiau... </b></a>&nbsp;

   <img src='".THEME."images/bullet.gif' alt=''> ".$info['news_reads']." Peržiūros &nbsp;

   <img src='".THEME."images/bullet.gif' alt=''> ".$info['news_comments']." Komentarai</div></td>";

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

   echo "<td class='border-right3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'>";

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

   echo "<td class='border-bleft3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";

   echo "<td class='border-bmain3'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";

   echo "<td class='border-bright3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";

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

}

 

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

 

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

   echo "<td class='panel-left3'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";

   echo "<td width='100%' class='panel-main3'>$subject</td>";

   echo "<td class='panel-right3'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";

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

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

   echo "<td class='border-left3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";

   echo "<td class='article-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><br>";

   echo "<td class='infobar2'>".articleposter($info," &middot;")."</td>";

   echo "<td align='right' class='infobar2'>";

    echo articleopts($info,"&middot;").itemoptions("A",$info['article_id']);

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

   echo "<td class='border-right3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";

   echo "</tr><tr>";

   echo "<td class='border-bleft3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";

   echo "<td class='border-bmain3'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";

   echo "<td class='border-bright3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";

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

}

 

function opentable($title) {

 

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

   echo "<tr><td class='panel-left2'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";

   echo "<td width='100%' class='panel-main2'>$title</td>";

   echo "<td class='panel-right2'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";

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

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

   echo "<td class='border-left2'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";

   echo "<td class='table-body'>\n";

}

 

function closetable() {

 

   echo "</td>";

   echo "<td class='border-right2'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td></tr>";

   echo "<tr>";

   echo "<td class='border-bleft2'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";

   echo "<td class='border-bmain2'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";

   echo "<td class='border-bright2'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";

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

}

 

function openside($title) {

 

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

   echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='10' height='40' alt='' style='display:block'></td>";

   echo "<td width='100%' class='panel-main'>$title</td>";

   echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='10' height='40' 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='10' height='10' alt='' style='display:block'></td>";

   echo "<td class='side-body'>\n";

}

 

function closeside() {

 

   global $panel_collapse;

   if ($panel_collapse == true) { echo "</div>\n"; }

   echo "</td>";

   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td></tr>";

   echo "<tr>";

   echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";

   echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";

   echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";

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

}

 

?>


0

2011 Gru. 10 11:12:40          7 žinutė iš 7
Spausdinti pranešimą
hkarolis, dabar kiekviena panelė arčiau viena kitos, bet čia man atrodo, kad reikia redaguoti user_info_panel.php, nes ten liko didesnis tarpas.
0


Peršokti į forumą: