Narysx
Narys
Ekspertas
Pranešimai: 2940
Įstojęs: 2007 Rugs. 18 19:09:56
theme.php:
function render_news($subject, $news, $info) {
global $locale;
echo "<table border='0' class='border2' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<tr><td background='".THEME."images/cellpic3.gif' height='24'><font class='block-title'>$subject</font></td></tr>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1' 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> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])." </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 "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' title='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table border='0' class='border2' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<tr><td background='".THEME."images/cellpic_sonas.gif' height='24'><font class='block-title'>$subject</font></td></tr>";
echo "<table width='100%' cellpadding='0' cellspacing='1' 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 "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' title='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table border='0' style='border: 1px solid #C5CAD4' cellspacing='1' width='100%' cellpadding='3'>";
echo "<td class='panel-header'>$title</td>";
echo "</tr>";
echo "<tr><td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td></tr></table>\n";
}
function openside($title) {
echo "<table border='0' style='border: 1px solid #C5CAD4' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td class='panel-header'>$title";
echo "<tr><td background='".THEME."images/cellpic_sonas.gif' height='24'><font class='block-title'>$subject</font></td></tr>";
echo "</td></tr>";
echo "<tr><td class='side-body' width='100%'>";
}
function closeside() {
echo "</td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table border='0' style='border: 1px solid #C5CAD4' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<tr><td background='".THEME."images/cellpic_sonas.gif' height='24'><font class='block-title'>$subject</font></td></tr>";
echo "<img align='left' vspace='2' onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'>$title</font>";
echo "</td></tr>";
echo "<tr><td class='side-body'width='100%'>";
echo "<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
Va kaip man rodo šonines paneles:
Kaip padaryti, kad panelės pavadinimas būtų ANT cellpico, o ne virš jo?
ramon
Narys
Ekspertas
Pranešimai: 2977
Įstojęs: 2006 Gru. 18 11:12:50
function render_news($subject, $news, $info) {
global $locale;
echo "<table border='0' class='border2' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<tr><td background='".THEME."images/cellpic3.gif' height='24'><font class='block-title'>$subject</font></td></tr>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1' 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> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])." </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 "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' title='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table border='0' class='border2' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<tr><td background='".THEME."images/cellpic_sonas.gif' height='24'><font class='block-title'>$subject</font></td></tr>";
echo "<table width='100%' cellpadding='0' cellspacing='1' 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 "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' title='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table border='0' style='border: 1px solid #C5CAD4' cellspacing='1' width='100%' cellpadding='3'>";
echo "<td class='panel-header'>$title</td></tr>";
echo "</tr>";
echo "<tr><td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td></tr></table>\n";
}
function openside($title) {
echo "<table border='0' style='border: 1px solid #C5CAD4' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td class='panel-header'>$title</td>";
echo "<tr><td background='".THEME."images/cellpic_sonas.gif' height='24'><font class='block-title'>$subject</font></td></tr>";
echo "</td></tr>";
echo "<tr><td class='side-body' width='100%'>";
}
function closeside() {
echo "</td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table border='0' style='border: 1px solid #C5CAD4' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<tr><td background='".THEME."images/cellpic_sonas.gif' height='24'><font class='block-title'>$subject</font></td></tr>";
echo "<img align='left' vspace='2' onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'>$title</font>";
echo "</td></tr>";
echo "<tr><td class='side-body'width='100%'>";
echo "<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
EDIT: Netinka Grafika , perkeliu i Themes .Redagavo
ramon 2007 Spa. 10 18:10:23
Paul McCartney
Narys
Kapitonas
Pranešimai: 757
Įstojęs: 2007 Lie. 19 14:07:24
kaip padaryti nesužinojai bet užtad už tave padarė ramon
Narysx
Narys
Ekspertas
Pranešimai: 2940
Įstojęs: 2007 Rugs. 18 19:09:56
Kad man vistiek tas pats
ramon
Narys
Ekspertas
Pranešimai: 2977
Įstojęs: 2006 Gru. 18 11:12:50
Megink dbr.
Narysx
Narys
Ekspertas
Pranešimai: 2940
Įstojęs: 2007 Rugs. 18 19:09:56
Vistiek nein
ramon
Narys
Ekspertas
Pranešimai: 2977
Įstojęs: 2006 Gru. 18 11:12:50
Megink si :
function opentable($title) {
echo "<table border='0' style='border: 1px solid #C5CAD4' cellspacing='1' width='100%' cellpadding='3'>";
echo "<tr><td background='".THEME."images/cellpic_sonas.gif' height='20'><font class='block-title'>$title</font></td></tr>";
echo "<tr><td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td></tr></table>\n";
}
function openside($title) {
echo "<table border='0' style='border: 1px solid #C5CAD4' cellspacing='1' width='100%' cellpadding='3'>";
echo "<tr><td background='".THEME."images/cellpic_sonas.gif' height='20'><font class='block-title'>$title</font></td></tr>";
echo "<tr><td><font class='block-title'>$subject</font></td></tr>";
echo "</td></tr>";
echo "<tr><td class='side-body' width='100%'>";
}
function closeside() {
echo "</td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table border='0' style='border: 1px solid #C5CAD4' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<tr><td background='".THEME."images/cellpic_sonas.gif' height='24'><font class='block-title'>$subject</font></td></tr>";
echo "<img align='left' vspace='2' onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'>$title</font>";
echo "</td></tr>";
echo "<tr><td class='side-body'width='100%'>";
echo "<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></td></tr></table>";
tablebreak();
}
Narysx
Narys
Ekspertas
Pranešimai: 2940
Įstojęs: 2007 Rugs. 18 19:09:56
Dėkui. Gal dar gali tą baltą juostelę nuimt, po cellpicu? Ji prie kiekvienos panelės.
Roksys
Narys
Buldozeris
Pranešimai: 318
Įstojęs: 2007 Rugp. 10 17:08:55
cia jau style.scc spalva reikia pakeistiwww.skanaus.eu
www.tut.lt
www.liaudiesmedicina.eu
Narysx
Narys
Ekspertas
Pranešimai: 2940
Įstojęs: 2007 Rugs. 18 19:09:56
O tiksliau kur? Aš su temom nelb moku, tai sorry už tokius durnus klsm...
Peršokti į forumą:
Žaliems
Nebeegzistuojančios svetainės
Bendri PHP-F klausimai
WordPress
Kiti PHP, HTML, MySQL klausimai
Expert PHP, MySQL klausimai
Kitos TVS
C#, Python, Java, JS, C++ klausimai
Naujų modų pristatymai
Mods, Panels & Infusions
Themes
Dalinuosi, dovanoju!
Jūsų saitai
Klausimai apie domenus ir hostingus
VPS/DS serverių konfigūravimas ir valdymas
Viskas apie skaitliukus, top'us ir lankomumą
Dizaino konkursai
Parduodu - perku dizainą, banerį
Parduodu - perku - keičiuosi reklama
Parduodu - perku domeną, tinklapį
Siūlau - ieškau hostingo/VPS serverio
Parduodu - perku skriptą, modifikaciją, tvs
Socialiniai tinklai - Facebook ir kiti
Legalus verslas, teisiniai klausimai
Visa kita kas susiję su darbu ir pinigais
LTStartups.com - Lietuvos startuolių bendruomenė
Off-Topic diskusijos
IT naujienos
Portalo informacija
Narių pasiūlymai
Geležis ir programinė įranga
Grafika
Out Of Place
Su e-verslu nesusijęs darbas ir prekyba
Dalinuosi, dovanoju!