pnvauto
Narys
Žalias
Pranešimai: 13
Įstojęs: 2008 Gru. 1 17:12:13
Sveiki gal gali apdeti sutvarkyti theme.php ? Noriu panaikinti siuntiniu paneles ir prisijungima, o headeri sujungti kad butu ne is 2 daliu o vienos :/
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#555555";
$body_bg = "#006600";
$theme_width = "792";
$theme_width_l = "188";
$theme_width_r = "188";
function render_header($header_content) {
global $theme_width,$db_prefix;
echo "<table align='center' cellspacing='0' cellpadding='0' width='792' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='sritis_login'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td width='486'></td>
<td width='195'><table align='center' cellpadding='0' cellspacing='0' width='195'>
<tr>
<td class='side-body-login'>
<div align='center'>
<form name='loginform' method='post' action='news.php'>
<tr>
<img src='".THEME."images/prisijungimas.png' align='right'><br>
</tr>
<tr>
<div align='right'><a href='register.php'><img src='".THEME."images/registracija.png' border='0'></a> <a href='lostpassword.php'><img src='".THEME."images/p_slaptazodis.png' border='0'></a></div>
</tr><br>
<tr>
<td align='left'><img src='".THEME."images/vardas.png'></td>
<td align='right'><input type='text' name='user_name' class='login_laukelis' style='width:104px;height:19px;'></td>
</tr>
<tr>
<td align='left'><img src='".THEME."images/slaptazodis.png'></td>
<td align='right'><input type='password' name='user_pass' class='login_laukelis' style='width:104px;height:19px;'></td>
</tr>
<tr>
<td align='left'><input type='checkbox' name='remember_me' value='y' title='Atsiminti mane' style='vertical-align:middle;'><img src='".THEME."images/prisiminti.png'></td>
<td align='right'><input type='submit' name='login' value='Jungtis' class='button_1'></td>
</tr>
</form>
</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='5'></td>
</tr>
</table>
</td>
<td width='111'></td>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%' class='sritis_panel'>
<tr>
<td width='378'></td>
<td align='center' width='186'><table align='center' cellpadding='0' cellspacing='0' width='186'>
<tr>
<td class='side-body-panel'>
<table width='100%' cellpadding='0' cellspacing='0'>";
echo "
</table></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='5'></td>
</tr>
</table>
</td>
<td width='22'></td>
</tr>
</table>";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='footer'>
<tr>
<td width='648' align='center'><span style='font-size : 10px;font-weight : normal;color:#B2B2B2;padding-right:20px;'>Sprendimas: <a href='http://php-fusion.co.uk/' target='_blank'>PHP-Fusion</a> | © Jop.lt 2008 | <a href='tell.php'>Rekomenduok draugui</a></span></td>
<td width='144'><img src='".THEME."images/made_by.png'> <a href='http://emotive.in/' target='_blank'><img src='".THEME."images/emotive.png' border='0'></a></td>
</tr>
</table>";
}
function render_news($subject, $news, $info) {
echo "
<table cellpadding='0' cellspacing='0' width='545'>
<tr>
<td class='capmain'><span style='font-size : 10px;font-weight : normal;color:#B2B2B2;'>".showdate("longdate", $info['news_date'])."</span><br><a name='news_1' id='news_1'></a>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<form name='editnews1' method='post' action='administration/news.php&news_id=".$info['news_id']."'>
<td align='center' class='news-footer'><a href='news.php?readmore=".$info['news_id']."'>Naujiena plačiau</a> | Skaityta: ".$info['news_reads']." | Komentarų: ".$info['news_comments']."</td>
</form>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table align='center' cellpadding='0' cellspacing='0' width='545'>
<tr>
<td align='center' class='side-center'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closetable() {
echo "</td>
<tr><td><img src='".THEME."images/side_center_bot.gif'></td></tr>
</tr>
</table>\n";
}
function openside($title) {
echo "<table align='center' cellpadding='0' cellspacing='0' width='188'>
<tr>
<td align='center' class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "<tr><td><img src='".THEME."images/scapmain_bot.gif'></td></tr>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Pongis
Narys
Tankas
Pranešimai: 2272
Įstojęs: 2007 Vas. 18 11:02:23
O aš noriu pisti tau vieną į galvą.
pnvauto
Narys
Žalias
Pranešimai: 13
Įstojęs: 2008 Gru. 1 17:12:13
Ko tu cia narvuojiesi ?
Mantas_
Narys
Antras po Dievo
Pranešimai: 4009
Įstojęs: 2008 Geg. 30 21:05:48
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#555555";
$body_bg = "#006600";
$theme_width = "792";
$theme_width_l = "188";
$theme_width_r = "188";
function render_header($header_content) {
global $theme_width,$db_prefix;
echo "<table align='center' cellspacing='0' cellpadding='0' width='792' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='sritis_login'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td width='486'></td>
<td width='195'><table align='center' cellpadding='0' cellspacing='0' width='195'>
<tr>
<td class='side-body-login'>
<div align='center'>
<form name='loginform' method='post' action='news.php'>
<tr>
<img src='".THEME."images/prisijungimas.png' align='right'><br>
</tr>
<tr>
<div align='right'><a href='register.php'><img src='".THEME."images/registracija.png' border='0'></a> <a href='lostpassword.php'><img src='".THEME."images/p_slaptazodis.png' border='0'></a></div>
</tr><br>
<tr>
<td align='left'><img src='".THEME."images/vardas.png'></td>
<td align='right'><input type='text' name='user_name' class='login_laukelis' style='width:104px;height:19px;'></td>
</tr>
<tr>
<td align='left'><img src='".THEME."images/slaptazodis.png'></td>
<td align='right'><input type='password' name='user_pass' class='login_laukelis' style='width:104px;height:19px;'></td>
</tr>
<tr>
<td align='left'><input type='checkbox' name='remember_me' value='y' title='Atsiminti mane' style='vertical-align:middle;'><img src='".THEME."images/prisiminti.png'></td>
<td align='right'><input type='submit' name='login' value='Jungtis' class='button_1'></td>
</tr>
</form>
</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='5'></td>
</tr>
</table>
</td>
<td width='111'></td>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%' class='sritis_panel'>
<tr>
<td width='378'></td>
<td align='center' width='186'><table align='center' cellpadding='0' cellspacing='0' width='186'>
<tr>
<td class='side-body-panel'>
<table width='100%' cellpadding='0' cellspacing='0'>";
echo "
</table></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='5'></td>
</tr>
</table>
</td>
<td width='22'></td>
</tr>
</table>";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='footer'>
<tr>
<td width='648' align='center'><span style='font-size : 10px;font-weight : normal;color:#B2B2B2;padding-right:20px;'>Sprendimas: <a href='http://php-fusion.co.uk/' target='_blank'>PHP-Fusion</a> | © Jop.lt 2008 | <a href='tell.php'>Rekomenduok draugui</a></span></td>
<td width='144'><img src='".THEME."images/made_by.png'> <a href='http://emotive.in/' target='_blank'><img src='".THEME."images/emotive.png' border='0'></a></td>
</tr>
</table>";
}
function render_news($subject, $news, $info) {
echo "
<table cellpadding='0' cellspacing='0' width='545'>
<tr>
<td class='capmain'><span style='font-size : 10px;font-weight : normal;color:#B2B2B2;'>".showdate("longdate", $info['news_date'])."</span><br><a name='news_1' id='news_1'></a>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<form name='editnews1' method='post' action='administration/news.php&news_id=".$info['news_id']."'>
<td align='center' class='news-footer'><a href='news.php?readmore=".$info['news_id']."'>Naujiena plačiau</a> | Skaityta: ".$info['news_reads']." | Komentarų: ".$info['news_comments']."</td>
</form>
</tr>
}
function opentable($title) {
echo "<table align='center' cellpadding='0' cellspacing='0' width='545'>
<tr>
<td align='center' class='side-center'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closetable() {
echo "</td>
<tr><td><img src='".THEME."images/side_center_bot.gif'></td></tr>
</tr>
</table>\n";
}
function openside($title) {
echo "<table align='center' cellpadding='0' cellspacing='0' width='188'>
<tr>
<td align='center' class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "<tr><td><img src='".THEME."images/scapmain_bot.gif'></td></tr>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Redagavo MaFetas 2012-03-29 14:14Redagavo
Mantas_ 2009 Sau. 17 16:01:30
pnvauto
Narys
Žalias
Pranešimai: 13
Įstojęs: 2008 Gru. 1 17:12:13
mantai neveikia :/
ex-it
Narys
Ekspertas
Pranešimai: 2696
Įstojęs: 2007 Gru. 24 11:12:58
2 vienodos temos sukurtos...tokiems flooderiams - banas.
Donatas
Narys
Ekspertas
Pranešimai: 3200
Įstojęs: 2008 Kov. 19 17:03:09
Neturi žmogus ką veikit tai kuria vienodas temas. -Bananas.Aš niekada neturiu išankstinio nusistatymo apie žmones. Aš nekenčiu visų jų vienodai.
pnvauto
Narys
Žalias
Pranešimai: 13
Įstojęs: 2008 Gru. 1 17:12:13
susitvarkaiu pats
fixed
Narys
Pulkininkas
Pranešimai: 473
Įstojęs: 2008 Rugs. 2 13:09:17
Erelis pagalbos praso jau
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!