Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,956
Naujausias narys: saulyzas

Naujausi straipsniai

Paskutiniai nariai

Reikalas06:15:04
Rytis 2 savaitės
MaFetas 6 savaitės
ozzWANTED 7 savaitės
saulyzas 9 savaitės
TOMIJUS10 savaitės
Jaunelis25 savaitės
lanis26 savaitės
And2s27 savaitės
Memento Mori32 savaitės
Quwqkibor34 savaitės
asirija38 savaitės
tomeem40 savaitės
weberiz43 savaitės
mRokass46 savaitės
kartoonas47 savaitės
grunskiz49 savaitės
Bruksnys50 savaitės
illusion50 savaitės
ordo51 savaitės

Informacija:


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

ozzWANTED
2024 Lap. 30 15:11:14
Taip, vis dar up šypsosi

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

Š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
Padekit del v7 dizo
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Themes

Autorius: minimukas Peržiūrų: 901      Spausdinti temą
2010 Lap. 28 22:11:08          1 žinutė iš 2
Spausdinti pranešimą
Sveiki, taigi meginu ideti i dizaina paneles koda, kai idedu man foterio neberodo stai kaip atrodo kai imetu panele
http://www.part.lt/img/28fb57a56...a1c251.png
o turetu atrodyti taip foteris
http://www.part.lt/img/ab55f589b...d92186.png

stai tos paneles kodas:

openside("Top Naujienos");
$result = dbquery("SELECT tn.*, SUM(tr.rating_vote) AS sum_rating, COUNT(tr.rating_item_id) AS count_votes FROM
"
.$db_prefix."news tn
LEFT JOIN "
.$db_prefix."ratings tr ON tn.news_id=tr.rating_item_id AND tr.rating_type='N'
GROUP BY news_subject
ORDER BY SUM(tr.rating_vote) DESC LIMIT 10"
);
 
if (dbrows($result)) {
echo "<table cellpadding='0' cellspadding='0' class='tbl-border'>";
echo "<tr>
<td class='tbl2'><b>Naujiena</b></td>
<td class='tbl2' width='1%' align='center'><b>Reitingas</b></td>
</tr>"
;
 
$i = 0;
while ($data = dbarray($result)) {
$rating = "<div style='background:url(http://img80.imageshack.us/img80/3918/ratingsbghp8.gif); height:21px; width:105px;'>".($data['count_votes'] > 0 ? str_repeat("<img src='http://img165.imageshack.us/img165/8202/starwd7.gif' alt='*' style='vertical-align:middle'>", ceil($data['sum_rating'] / $data['count_votes'])) : "")."</div>";
echo "<tr>
<td class='"
.($i%2?"tbl1":"tbl2")."'><a href='".BASEDIR."news.php?readmore=".$data['news_id']."'>".trimlink($data['news_subject'],25)."</a></td>
<td class='"
.($i%2?"tbl1":"tbl2")."'>$rating</td>";
$i++;
}
 
echo "</table>";
} else {
echo "<center>Naujienų Nėra</center>";
}
closeside();


stai theme.php failas, be paneles


<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
 
define("THEME_WIDTH", "831");
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");
 
require_once INCLUDES."theme_functions_include.php";
 
function render_page($license=false) {
 
global $settings, $main_style;
 
//Header
echo "<table align='center' cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' class='outer-border center'>\n<tr>\n";
echo "<td>\n";
echo "<table align='center' cellpadding='0' cellspacing='0' width='831' class='full-header'>\n<tr>\n";
echo "<td></td>\n";
echo "</tr>\n</table>\n";
echo "</td>\n</tr>\n</table>\n";
 
echo "<table cellpadding='0' cellspacing='0' width='831' align='center'>\n<tr>\n";
echo "<td><img src='".THEME."images/off/1.png' border='0' width='76' height='32'><a href='/'><img src='".THEME."images/off/2.png' border='0' onMouseOver=this.src='".THEME."images/on/2.png' onMouseOut=this.src='".THEME."images/off/2.png' width='92' height='32'></a><img src='".THEME."images/off/3.png' border='0' width='36' height='32'><a href='/'><img src='".THEME."images/off/4.png' border='0' onMouseOver=this.src='".THEME."images/on/4.png' onMouseOut=this.src='".THEME."images/off/4.png' width='65' height='32'></a><img src='".THEME."images/off/5.png' border='0' width='41' height='32'><a href='/'><img src='".THEME."images/off/6.png' border='0' onMouseOver=this.src='".THEME."images/on/6.png' onMouseOut=this.src='".THEME."images/off/6.png' width='98' height='32'></a><img src='".THEME."images/off/7.png' border='0' width='37' height='32'><a href='/'><img src='".THEME."images/off/8.png' border='0' onMouseOver=this.src='".THEME."images/on/8.png' onMouseOut=this.src='".THEME."images/off/8.png' width='176' height='32'></a><img src='".THEME."images/off/9.png' border='0' width='35' height='32'><a href='/'><img src='".THEME."images/off/10.png' border='0' onMouseOver=this.src='".THEME."images/on/10.png' onMouseOut=this.src='".THEME."images/off/10.png' width='83' height='32'></a><img src='".THEME."images/off/11.png' border='0' width='92' height='32'><img src='".THEME."images/off/12.png' border='0' width='831' height='15'></td>\n";
echo "</tr>\n</table>\n";
 
//Content
echo "<table align='center' cellpadding='0' cellspacing='0' width='831' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".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'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
 
//Footer
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='831' align='center'>\n<tr>\n";
echo "<tr><td align='center'><div class='bottom'>
<div class='bottom_container'>
<div class='bottom_up'>
<div class='bottom_title'>
<center>Paskutines naujienos</center>
</div>
</div>
<div class='bottom_text'>
<a href='/'>Lorem Ipsum</a>
<center><img src='/images/line.png' /></center>
Lorem Ipsum
</div>
</div>
<div class='bottom_container'>
<div class='bottom_up'>
<div class='bottom_title'>
<center>Video</center>
</div>
</div>
<div class='bottom_text'>
Lorem
</div>
</div>
<div class='bottom_container'>
<div class='bottom_up'>
<div class='bottom_title'>
<center>Paskutinis darbas</center>
</div>
</div>
<div class='bottom_text'>
Lorem
</div>
</div>
<div class='bottom_container'>
<div class='bottom_up'>
<div class='bottom_title'>
<center>Reklama</center>
</div>
</div>
<div class='bottom_text'><center>
<a href='http://movienews.lt'><img src='http://movienews.lt/images/ad/120.png' /></a>
<center><img src='/images/line.png' /></center>
<a href='http://movienews.lt'><img src='http://movienews.lt/images/ad/120.png' /></a>
</center></div>
</div>
</div></td></tr>\n"
;
echo "<td class='footer' align='center'>Copyright &copy; <b><span style='color:#e7013c'>Swizz Blog</span></b> | 2010
<span style='float:left;'>Sprendimas: <b><a href='skype:bnitro?chat'><span style='color:#e7013c'>Swizz</span></a></b> , <br />kodas: <a href='skype:eu.42studio?chat'><span style='color:#e7013c'><b>42studio.eu</b></span></a>
<br />Pakurta: <b><a><span style='color:#e7013c'>PHP-FUSION</span></a></b> / <b><a><span style='color:#e7013c'>v7</span></a></b></span>
<span style='float:right; padding-right:100px; padding-bottom:11px;'><a href='/'><img src='"
.THEME."images/off/face.png' border='0' onMouseOver=this.src='".THEME."images/on/face.png' onMouseOut=this.src='".THEME."images/off/face.png' width='47' height='33'></a>&nbsp;&nbsp;<a href='/'><img src='".THEME."images/off/tweet.png' border='0' onMouseOver=this.src='".THEME."images/on/tweet.png' onMouseOut=this.src='".THEME."images/off/tweet.png' width='47' height='33'></a><br /></span>\n";
echo "</td>\n</tr>\n</table>\n";
echo "</td>\n</tr>\n</table>\n";
 
}
 
function render_news($subject, $news, $info) {
 
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer'>\n";
echo newsposter($info," &middot;").newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
echo "</td>\n</tr>\n</table>\n";
 
}
 
function render_article($subject, $article, $info) {
 
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer'>\n";
echo articleposter($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
echo "</td>\n</tr>\n</table>\n";
 
}
 
function opentable($title) {
 
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'>".$title."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>\n";
 
}
 
function closetable() {
 
echo "</td>\n</tr>\n</table>\n";
 
}
 
function openside($title, $collapse = false, $state = "on") {
 
global $panel_collapse; $panel_collapse = $collapse;
 
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>\n<tr>\n";
echo "<td class='scapmain'>".$title."</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>\n";
}
echo "</tr>\n<tr>\n";
echo "<td".($collapse == true ? " colspan='2'" : "")." class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
 
}
 
function closeside($collapse = false) {
 
global $panel_collapse;
 
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>
</tr>
<td><img src='"
.THEME."images/panel_fo.png' border='0'></td>
</table>\n"
;
 
}
?>


o stai cia theme.php kur as dejau panele


<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
 
define("THEME_WIDTH", "831");
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");
 
require_once INCLUDES."theme_functions_include.php";
 
function render_page($license=false) {
 
global $settings, $main_style, $db_prefix;
 
//Header
echo "<table align='center' cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' class='outer-border center'>\n<tr>\n";
echo "<td>\n";
echo "<table align='center' cellpadding='0' cellspacing='0' width='831' class='full-header'>\n<tr>\n";
echo "<td></td>\n";
echo "</tr>\n</table>\n";
echo "</td>\n</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='831' align='center'>\n<tr>\n";
echo "<td><img src='".THEME."images/off/1.png' border='0' width='72' height='31'><a href='/'><a href='http://www.nuogosmerginos.net/news.php'><img src='".THEME."images/off/2.png' border='0' onMouseOver=this.src='".THEME."images/on/2.png' onMouseOut=this.src='".THEME."images/off/2.png' width='98' height='31'></a><img src='".THEME."images/off/3.png' border='0' width='33' height='31'><a href='/'><a href='http://www.nuogosmerginos.net/forum/index.php'><img src='".THEME."images/off/4.png' border='0' onMouseOver=this.src='".THEME."images/on/4.png' onMouseOut=this.src='".THEME."images/off/4.png' width='72' height='31'></a><a href='submit.php?stype=n'><img src='".THEME."images/off/5.png' border='0' width='34' height='31'><a href='/'><a href='http://www.nuogosmerginos.net/news_cats.php'><img src='".THEME."images/off/6.png' border='0' onMouseOver=this.src='".THEME."images/on/6.png' onMouseOut=this.src='".THEME."images/off/6.png' width='95' height='31'></a><img src='".THEME."images/off/7.png' border='0' width='45' height='31'><a href='/'><a href='http://www.nuogosmerginos.net/submit.php?stype=n'><img src='".THEME."images/off/8.png' border='0' onMouseOver=this.src='".THEME."images/on/8.png' onMouseOut=this.src='".THEME."images/off/8.png' width='159' height='31'></a><img src='".THEME."images/off/9.png' border='0' width='46' height='31'><a href='http://www.nuogosmerginos.net/contact.php'><img src='".THEME."images/off/10.png' border='0' onMouseOver=this.src='".THEME."images/on/10.png' onMouseOut=this.src='".THEME."images/off/10.png' width='81' height='31'></a><img src='".THEME."images/off/11.png' border='0' width='96' height='31'><img src='".THEME."images/off/12.png' border='0' width='831' height='15'></td>\n";
echo "</tr>\n</table>\n";
 
//Content
echo "<table align='center' cellpadding='0' cellspacing='0' width='831' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".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'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
 
//Footer
 
$result = dbquery("SELECT tn.*, SUM(tr.rating_vote) AS sum_rating, COUNT(tr.rating_item_id) AS count_votes FROM
"
.$db_prefix."news tn
LEFT JOIN "
.$db_prefix."ratings tr ON tn.news_id=tr.rating_item_id AND tr.rating_type='N'
GROUP BY news_subject
ORDER BY SUM(tr.rating_vote) DESC LIMIT 10"
);
 
if (dbrows($result)) {
echo "<table cellpadding='0' cellspacing='0' width='831' align='center'>\n<tr>\n";
echo "<tr>
<td class='tbl2'><b>Naujiena</b></td>
<td class='tbl2' width='1%' align='center'><b>Reitingas</b></td>
</tr>"
;
 
$i = 0;
while ($data = dbarray($result)) {
$rating = "<div style='background:url(http://img80.imageshack.us/img80/3918/ratingsbghp8.gif); height:21px; width:105px;'>".($data['count_votes'] > 0 ? str_repeat("<img src='http://img165.imageshack.us/img165/8202/starwd7.gif' alt='*' style='vertical-align:middle'>", ceil($data['sum_rating'] / $data['count_votes'])) : "")."</div>";
echo "<tr>
<td class='"
.($i%2?"tbl1":"tbl2")."'><a href='".BASEDIR."news.php?readmore=".$data['news_id']."'>".trimlink($data['news_subject'],25)."</a></td>
<td class='"
.($i%2?"tbl1":"tbl2")."'>$rating</td>";
$i++;
}
 
echo "</table>";
} else {
echo "<center>Naujienų Nėra</center>";
}
 
echo "<td class='footer' align='center'>Copyright &copy; <b><span style='color:#e7013c'>Nuogosmerginos.net</span></b> | 2010
<span style='float:left;'>Sprendimas: <b><a href='skype:bnitro?chat'><span style='color:#e7013c'>Swizz</span></a></b> , <br />Kodavimas: <a href='skype:eu.42studio?chat'><span style='color:#e7013c'><b>42studio.eu</b></span></a>
<br />Pakurta: <b><a><span style='color:#e7013c'>PHP-FUSION</span></a></b> / <b><a><span style='color:#e7013c'>v7</span></a></b></span>
<span style='float:right; padding-right:100px; padding-bottom:11px;'><a href='/'><img src='"
.THEME."images/off/face.png' border='0' onMouseOver=this.src='".THEME."images/on/face.png' onMouseOut=this.src='".THEME."images/off/face.png' width='47' height='33'></a>&nbsp;&nbsp;<a href='/'><img src='".THEME."images/off/tweet.png' border='0' onMouseOver=this.src='".THEME."images/on/tweet.png' onMouseOut=this.src='".THEME."images/off/tweet.png' width='47' height='33'></a><br /></span>\n";
echo "</td>\n</tr>\n</table>\n";
echo "</td>\n</tr>\n</table>\n";
 
}
 
function render_news($subject, $news, $info) {
 
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer'>\n";
echo newsposter($info," &middot;").newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
echo "</td>\n</tr>\n</table>\n";
 
}
 
function render_article($subject, $article, $info) {
 
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer'>\n";
echo articleposter($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
echo "</td>\n</tr>\n</table>\n";
 
}
 
function opentable($title) {
 
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'>".$title."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>\n";
 
}
 
function closetable() {
 
echo "</td>\n</tr>\n</table>\n";
 
}
 
function openside($title, $collapse = false, $state = "on") {
 
global $panel_collapse; $panel_collapse = $collapse;
 
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>\n<tr>\n";
echo "<td class='scapmain'>".$title."</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>\n";
}
echo "</tr>\n<tr>\n";
echo "<td".($collapse == true ? " colspan='2'" : "")." class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
 
}
 
function closeside($collapse = false) {
 
global $panel_collapse;
 
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>
</tr>
<td><img src='"
.THEME."images/panel_fo.png' border='0'></td>
</table>\n"
;
 
}
?>


SUSITVARIAU

nusirasinek.lt - pratybų atsakymai. REFERALINĖS NUORODOS DRAUDŽIAMOS - SMS hostingas
Redagavo minimukas 2010 Lap. 29 15:11:09
2010 Lap. 28 23:11:54          2 žinutė iš 2
Spausdinti pranešimą
Tingiu dbr apžėt kodą, bet manau, jog penelės divai gali būti pirmesni už footerį. Tai reiškia, kad footeris gali likti be </> ir dl to... nu nežinau reik knaisiotis po kodą šypsosi

Peršokti į forumą: