Tomux
Narys
Spalvotas
Pranešimai: 41
Įstojęs: 2009 Rugp. 2 01:08:22
Sveiki turiu tokia problema ,na as pameginau cia sukurti dizaina savo ir man yra problemu .
Cia kai uzeini i foruma arba i siuntimu susimazina ziauriai taip
O cia pagrindiniame puslapija,viskas gerai ten kur vidurines paneles ir naujienos o vat desinei paneles susimazino o kairei viskas geria,gal galite padeti
Jaunelis
Narys
Antras po Dievo
Pranešimai: 4735
Įstojęs: 2007 Rugs. 23 08:09:32
theme.php kodą imesk pameginsiu sutvarkyti. code and design solutions tinklalapių kūrimas
Tomux
Narys
Spalvotas
Pranešimai: 41
Įstojęs: 2009 Rugp. 2 01:08:22
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
$theme_width = "871";
$theme_width_l = "322";
$theme_width_r = "322";
function render_header($header_content) {
global $theme_width,$userdata,$settings,$locale,$data,$db_prefix,$lookup,$msg_count,$aidlink;
echo "<table align='center' cellspacing='0' cellpadding='0' width='871'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
</table>
</td>
</tr>
</table>";
echo "<table align='center' cellpadding='0' cellspacing='0' width='$theme_width' class='paneles4'>\n<tr>
<td align='center' width='971'>";
echo "</td>
</tr>
</table>";
echo "<table align='center' cellpadding='0' cellspacing='0' width='$theme_width' class='paneles'>\n<tr>
<td align='center' width='20'>";
echo "</td>
<td align='right' width=3700'>";
if (iMEMBER) {
if ($userdata['user_avatar'] != "") {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td align='center' height='1%'>";
echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='70' hight='70' border='0' alt='".$data['user_name']."'></td>";
echo "</table></center>";
} else {
echo"<table><tr><td></td></tr></table>";
}
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='a'>Redaguoti prifilį</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='a'>Žinutės [naujų: ".sprintf($msg_count)."]</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='a'>Mano profilis</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='a'>Narių sarašas</a><br>";
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
<td></td></tr></table>";
echo "\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo"<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."','_self' class='a'>Administracija</a><br>\n";
}{echo " ";
echo"<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes','_self' class='a'>Atsijungti</a></div>\n";
}
tablebreak();
} else {
echo "<br><div align='right'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
<input type='text' name='user_name' class='pass' value='Vardas' onBlur=\"if(this.value=='') this.value='Vardas';\" onFocus=\"if(this.value=='Vardas') this.value='';\" ><br>
<img src='".THEME."images/bg_l.png' alt=''><br>
<input type='password' name='user_pass' class='pass' value='slaptažodis' onBlur=\"if(this.value=='') this.value='slaptažodis';\" onFocus=\"if(this.value=='slaptažodis') this.value='';\" ><br>
<input type='checkbox' name='remember_me' value='y' title='Prisiminti mane' style='vertical-align:middle;'><span style='font-size: 10px; color:#ffffff;'><b>Prisiminti mane </b></span>
<input type='submit' name='login' value='' class='inne'>
</form>\n";
if ($settings['enable_registration']) {
echo "
<a href='".BASEDIR."register.php' >
<span style='font-size: 10px; font-family: sans-serif;' ><b></b></a></span>
<a href='".BASEDIR."lostpassword.php' >
<span style='font-size: 10px; font-family: sans-serif;' ><b></b></a></span>\n ";
}
echo "</div>\n";
}
echo "</td>
<td align='center' width='350'>";
echo "</td>
</tr>
</table>";
echo "<table align='center' cellpadding='0' cellspacing='0' width='100%'>\n
<td>
<div id='container'>
<div id='sub-nav'>
<a href='".BASEDIR."index.php'></a>
<ul>
<li><a href='".BASEDIR."index.php' class='home'>Pagrindinis</a></li>
<li><a href='".BASEDIR."forum/index.php'>Forumas</a></li>
<li><a href='".BASEDIR."downloads.php'>Siuntimai</a></li>
<li><a href='".BASEDIR."articles.php'>Pamokos</a></li>
<li><a href='".BASEDIR."paslaugos'>Paslaugos</a></li>
<li><a href='".BASEDIR."amxbans'>Banlist</a></li>
<li><a href='".BASEDIR."contact.php'>Kontaktai</a></li>
</ul>
</div>
</td>
</table>\n";
echo "<table align='center' cellpadding='0' cellspacing='0' width='$theme_width' class='paneles2'>\n<tr>
<td align='center' width='970'>";
echo "</td>
</tr>
</table>";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='left' class='footer'><br><br>
<span style='padding-left:40px;'><a>Dizainas : eDizainas.lt</a></span><br>
</td>
<td align='right' class='footer2'><br><br>
<span style='padding-right:40px;'><a>Visos teises saugomos: CyberPolice.lt</a></span>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left3'><img src='".THEME."images/blank.gif' width='10' height='40' 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='40' 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 class='infobar'>".newsposter($info)."</td>";
echo "<td align='right' class='infobar'>";
echo openform("N",$info['news_id']).newsopts($info,"·").closeform("N",$info['news_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'>";
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) {
global $locale;
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'>$subject</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='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)."</td>";
echo "<td align='right' class='infobar2'>";
echo openform("A",$info['article_id']).articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td></tr></table></div></td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
echo "</tr><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";
}
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='42' 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='42' 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='reklama-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='32' 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='32' 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() {
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";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td></td></tr></table>\n";
}
?>
7n
Narys
Pulkininkas
Pranešimai: 386
Įstojęs: 2009 Gru. 28 11:12:16
Jau nusiripino dizainą nuo : cs-egp.lt
Tomux
Narys
Spalvotas
Pranešimai: 41
Įstojęs: 2009 Rugp. 2 01:08:22
Tai ka padarysi,reikai is kazko gyventi. Ismoksiu normaliai koduoti aisku savo pasidarysiu bet ,kad gerai nemoku
Jaunelis
Narys
Antras po Dievo
Pranešimai: 4735
Įstojęs: 2007 Rugs. 23 08:09:32
function opentable( $title ) {
echo "<table width='100%' c ellpadding='0' cellspacing='0'>" ;
echo "<tr><td class='panel-left2'><img src='" . THEME. "images/blank.gif' width='10' height='42' alt='' style='display:block'></td>" ;
echo "<td width='100%' c lass='panel-main2'>$title </td>" ;
echo "<td class='panel-right2'><img src='" . THEME. "images/blank.gif' width='10' height='42' alt='' style='display:block'></td>" ;
echo "</tr></table>" ;
echo "<table width='100%' c ellpadding='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='reklama-body'><br>\n " ;
}
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
width nustatyk kiek tau reik... code and design solutions tinklalapių kūrimas
Tomux
Narys
Spalvotas
Pranešimai: 41
Įstojęs: 2009 Rugp. 2 01:08:22
Kai meginu pakeiti ,kad pasdidintu tarpas,nieko nepasididina tik pasidaugina paveiksliukas...
maRt
Narys
Margas
Pranešimai: 99
Įstojęs: 2010 Gru. 23 00:12:17
Įsidėk šitą į saitą kaip BG:
Ir niekas nežiūrės error Erotika.
ELŽ
Narys
Kapitonas
Pranešimai: 532
Įstojęs: 2010 Gru. 22 17:12:09
maRt parašė:
Įsidėk šitą į saitą kaip BG:
Ir niekas nežiūrės error
Na kad nežiūrės error tai jo bet kad negalima talpinti tokiu foto Lietuvos hostuose kiek žinauwww.hostgate.lt // www.bangafm.lt //
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
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!