Qrmiz
Narys
Generolas
Pranešimai: 997
Įstojęs: 2005 Rugs. 4 16:09:21
parašyk čia theme.php kodą ir pasakyk kokio pločio reik
krazeriuks
Narys
Patrankų mėsa
Pranešimai: 7
Įstojęs: 2008 Sau. 3 20:01:37
uploaudink savo visa theme bandysiu padet
MAnjack
Garbės narys
Legenda
Pranešimai: 11821
Įstojęs: 2006 Kov. 2 20:03:58
Geras bandymas Bet kas moka tas ir su theme.php padarys.
---
Narys
Viršesnis už Dievą
Pranešimai: 5618
Įstojęs: 2007 Bir. 3 19:06:09
kazkas tiesiog koduose blogai. man irgi taip buvo. gal neuzdejau kokio table pabaigos ar dar ko
MAnjack
Garbės narys
Legenda
Pranešimai: 11821
Įstojęs: 2006 Kov. 2 20:03:58
Man atrodo, kad reikia lentelę padaryt be bg, tada
<tr><td>linkų linija</td></tr>
<tr><td>baneris</td></tr>
Pabandyk
-GoD-
Narys
Patrankų mėsa
Pranešimai: 3
Įstojęs: 2007 Spa. 25 12:10:30
krazeriuks parašė:
uploaudink savo visa theme bandysiu padet
N00BAS, net nemoki. Koks tolkas visą theme, kad pasiimtum?
Qrmiz
Narys
Generolas
Pranešimai: 997
Įstojęs: 2005 Rugs. 4 16:09:21
bandyk:
<?php
/************************/
/* Theme Settings */
/************************/
$body_text = "#000000";
$body_bg = "#6aa311";
$theme_width = "950";
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
include THEME."locale/Lithuanian.php";
include LOCALE.LOCALESET."global.php";
global $theme_width,$settings;
echo "
<table align=center width=950 height=299 background=http://dedewarez.kissme.in/themes/SimpleBlue/images/header_01.jpg border=0 cellspacing=0 cellpadding=0>";
echo "</div>
</td>
<td height=0 border=0 align=right>
<div style=\"padding-bottom: 0px; padding-top: 250px; padding-left: 0px; padding-right: 0px;\">";
echo"<a href=''><img src='http://dedewarez.kissme.in/themes/SimpleBlue/images/header_02.jpg' border='0'></a>
<td height=0 border=0 align=right>
<div style=\"padding-bottom: 0px; padding-top: 250px; padding-left: 0px; padding-right: 0px;\">";
echo"<a href='http://dedewarez.kissme.in/news.php'><img src='http://dedewarez.kissme.in/themes/SimpleBlue/images/header_03.jpg' border='0'></a>
<td height=0 border=0 align=right>
<div style=\"padding-bottom: 0px; padding-top: 250px; padding-left: 0px; padding-right: 0px;\">";
echo"<a href='http://dedewarez.kissme.in/forum/index.php'><img src='http://dedewarez.kissme.in/themes/SimpleBlue/images/header_04.jpg' border='0'></a>
<td height=0 border=0 align=right>
<div style=\"padding-bottom: 0px; padding-top: 250px; padding-left: 0px; padding-right: 0px;\">";
echo"<a href='http://dedewarez.kissme.in/search.php'><img src='http://dedewarez.kissme.in/themes/SimpleBlue/images/header_05.jpg' border='0'></a>
<td height=0 border=0 align=right>
<div style=\"padding-bottom: 0px; padding-top: 250px; padding-left: 0px; padding-right: 0px;\">";
echo"<a href='http://dedewarez.kissme.in/members.php'><img src='http://dedewarez.kissme.in/themes/SimpleBlue/images/header_06.jpg' border='0'></a>
<td height=0 border=0 align=right>
<div style=\"padding-bottom: 0px; padding-top: 250px; padding-left: 0px; padding-right: 0px;\">";
echo"<a href='http://dedewarez.kissme.in/infusions/banner_panel/index.php'><img src='http://dedewarez.kissme.in/themes/SimpleBlue/images/header_07.jpg' border='0'></a>
<td height=0 border=0 align=right>
<div style=\"padding-bottom: 0px; padding-top: 250px; padding-left: 0px; padding-right: 0px;\">";
echo"<a href=''><img src='http://dedewarez.kissme.in/themes/SimpleBlue/images/header_08.jpg' border='0'></a>
";
//Login Code End
echo"<script type='text/javascript'>LKT_init();</script>";
echo"</td></tr></table>";
echo "</td></tr></table>";
echo "<table width='$theme_width' cellpadding='2' bgcolor='#F9F9F9' cellspacing='0' border='0'>";
echo "<img src='".THEME."images/pixel.gif' width='100%' height='4'>";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table cellSpacing='0' cellPadding='2' width='$theme_width' border='0' background='".THEME."images/footer.gif' style='border-right: solid #c1d2ec 1px; border-left: solid #c1d2ec 1px;'>";
echo "<td width='20%' height='40' class='white' align='left'>";
if ($license == false) {
echo "<b><a href='http://php-fusion.co.uk' target='_blank'></a></b>";
}
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><a href=''></a></b>";
echo "</td>";
echo "<div align='center'></tr></table></td></tr></table></div>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table border='0' style=': 1px solid #c1d2ec' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td background='".THEME."images/cellpic_news.gif' height='30'><font class='block-title' align=>$subject</font></td>";
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' alt='".$locale['045']."' alt='' style='vertical-align:middle;'></a>";
echo "</td></tr></table></td></tr></table><br>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table style='border: 1px solid #c1d2ec' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td background='".THEME."images/cellpic_news.gif' height='30'><font class='block-title'>$subject</font></td>";
echo "</td></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'>".($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' alt='".$locale['045']."' alt='' style='vertical-align:middle;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table width='100%' cellpadding='3' cellspacing='1' style='border: 1px solid #c1d2ec'>";
echo "<tr><td bgcolor='#ffffff' background='".THEME."images/cellpic1.gif' height='25'><font class='head-title'>$title</font></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<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 #c1d2ec' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td height='27' width='100%' background='".THEME."images/cellpic3.gif'>";
echo "<font class='block-title'>$title</font>";
echo "</td></tr>";
echo "<tr><td bgcolor='#ffffff' 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 #c1d2ec' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td height='27' width='100%' background='".THEME."images/cellpic3.gif'>";
echo "<img align='left' 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 bgcolor='#ffffff' 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";
}
?>
sniuff
Narys
Antras po Dievo
Pranešimai: 4491
Įstojęs: 2007 Geg. 14 16:05:52
-GoD- parašė:
krazeriuks parašė:
uploaudink savo visa theme bandysiu padet
N00BAS, net nemoki. Koks tolkas visą theme, kad pasiimtum?
Susitiko du naujokai neturintys net 10 postų ir waro vienas ant kito, kad noobai.http://androider.info/
Ptycka
Narys
Terminatorius
Pranešimai: 1492
Įstojęs: 2007 Sau. 19 18:01:08
Ir kaip veikia ? qrmiz kodas?
bruzgis
Narys
Ekspertas
Pranešimai: 3368
Įstojęs: 2006 Geg. 9 18:05:02
echo "<table width='100%' cellpadding='2' bgcolor='#F9F9F9' cellspacing='0' border='0'>";
echo "<img src='".THEME."images/pixel.gif' width='100%' height='4'>";
}
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/footer.gif' style='border-right: solid #c1d2ec 1px; border-left: solid #c1d2ec 1px;'>";
echo "<td width='20%' height='40' class='white' align='left'>";
cia keisk tas vietas kur paryskinau
Enzo
Narys
Tankas
Pranešimai: 2397
Įstojęs: 2007 Lie. 30 22:07:24
Neveikia tas Qrmio
Kai susiaurini, tada susisiaurina tik desine puse.
ramon
Narys
Ekspertas
Pranešimai: 2977
Įstojęs: 2006 Gru. 18 11:12:50
Si lentele jungia subheaderi su apacia t.y. visu webu.
Manau sita :
echo "<table width='$theme_width' cellpadding='2' bgcolor='#F9F9F9' cellspacing='0' border='0'>";
echo "<img src='".THEME."images/pixel.gif' width='100%' height='4'>";
reike keisti i :
echo "<table width='$theme_width' cellpadding='2' bgcolor='#F9F9F9' cellspacing='0' border='0'>";
echo "<img src='".THEME."images/pixel.gif' width='$theme_width ' height='4'>";
ir galiausiai ten kur yra b]$theme_width[/b] rasyk savo norima dydi.
Enzo
Narys
Tankas
Pranešimai: 2397
Įstojęs: 2007 Lie. 30 22:07:24
Visvien neveikia. Įdomu kas galėtų būti?
Peršokti į forumą:
Nebeegzistuojančios svetainės
Žaliems
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
Jūsų saitai
Dalinuosi, dovanoju!
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!