GoN
Narys
Kapitonas
Pranešimai: 817
Įstojęs: 2007 Rugp. 24 16:08:06
|
Sveiki, na ka bandau redaguoti theme bet nieko neiseina error meta :/
Na idejau as tokia kaip ir panele kad butu man apačioje headerio vartotojo aprašymas tai kaip man padaryti kad butu ant to paveiksliuko kur paraysta text text text, tai man ten reikia padaryti kad ten butu pradžia ir forumas dvi nuorodos. Ir dar Kad butu avataras prieš Redaguoti profilį
Theme.php kodas
<?
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
/*------------------------------------------------------------|
| PHP-Fusion 6 - Content Management System |
|--------------------------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2007 |
| web: http://www.php-fusion.co.uk |
| email: nick@php-fusion.co.uk |
|--------------------------------------------------------------|
|PHp-Fusion Açýk Kaynaklý Bir Web Yazýlýmýdýr |
|Ücretsiz Herkes KuLLanabilir. |
|Alttaki Copyright © PHP-Fusion Yazýsýnýn |
|Silinmemesi Þartýyla... |
|GNU/GPL (Version 2) Lisansý ile Tüm Haklarý |
|Korunmaktadýr!... |
|Lisans Satýn Almak için: nick@php-fusion.co.uk |
|Nick Jones'la Görüþün!.. |
|--------------------------------------------------------------*/
/*------------------------------------------------------------+
| CandY_Green Theme PHP-Fusion v6+ içindir! |
|--------------------------------------------------------------|
|Yazar: Theme by: KDK© 2007 |
| web: http://istegenc.kayyo.com |
| msn/mail: kdkx01@msn.com |
|--------------------------------------------------------------|
|Fuzed Themes |
| web: http://phpfusion-themes.com |
| email: webmaster@phpfusion-thems.com |
|-------------------------------------------------------------*/
/*------------------------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
|------------------------------------------------------------*/
// Tema Ayarlarý
$body_text = "#555555";
$body_bg = "#666666";
$theme_width = "95%";
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
global $theme_width;
echo "<table align='center' cellspacing='0' bordercolor='#99CC00' border='2' cellpadding='0' width='$theme_width'>";
echo "<tr>
<td>
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
</td>
</tr>
</table>\n";
//Logo - Sub_menü(Kategoriler) - Üye Giriþi Kodu Baþlangýç
echo "<table style='background-image:url(".THEME."images/bg.gif);' align='center' cellspacing='0' cellpadding='0' width='100%' height='150' border='0'>
<td>
<img border='0' alt='".$settings['sitename']."' title='".$settings['sitename']."' src='".THEME."images/logo.gif'>
</td><td width='85'>
</td>
</td>";
echo "</table>";
//Logo - Sub_menü(Kategoriler) - Üye Giriþi Kodu Bitiþ
if (iMEMBER) {
opentable($userdata['user_name']);
echo "<center>";
echo "<a href='".BASEDIR."edit_profile.php' class='side'>Redaguoti profilá</a> ";
echo "<img border='0' src='".THEME."images/bullet.gif'> <a href='".BASEDIR."messages.php' class='side'>Asmeninës þinutës</a> ";
echo "<img border='0' src='".THEME."images/bullet.gif'> <a href='".BASEDIR."members.php' class='side'>Nariø sàraðas</a> ";
echo " ";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php?aid=611ec91761fffac0&pagenum=1".$aidlink."' class='side'>Admin panelë</a> \n";
}
echo "<img border='0' src='".THEME."images/bullet.gif'> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Atsijungti</a>";
echo "</center>";
} else {
openside("<center>Prisijungti</center>");
echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."";
echo "<form name='loginform' method='post' action='../login.php'>";
if ($settings['enable_registration']) {
echo "<a href='".BASEDIR."register.php'>[<b>Registruotis</b>]</a> \n";
} else {
echo " ";
}
echo "Vardas:
<input type='text' name='user_name' class='textbox' style='width:100px'>
Slaptaþodis:
<input type='password' name='user_pass' class='textbox' style='width:100px'>
<input type='checkbox' name='remember_me' value='y' title='Atsiminti mane' style='vertical-align:middle;'>
<input type='submit' name='login' value='Prisijungti' class='button'><br>
<a href='".BASEDIR."lostpassword.php'>[<b>Pamirðau slaptaþodá</b>]</a>
</form>\n";
echo "</div>\n";
}
closetable();
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
//Footer Haber ve Orta Bloklar Kodu
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.png' style='border-right:#FFFFFF 1px; border-left: #FFFFFF 1px;'>";
echo "<td width='20%' height='30' class='white' align='left'>";
if ($license == false) {
echo "<b>Powered by <a href='http://php-fusion.co.uk' target='_blank'>PHP-Fusion</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='mailto:xxx@mail.lt'></a></b>";
echo "</td>";
echo "<div align='center'></tr></table></td></tr></table></div>";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info,"<br>").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<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,"<br>").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</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";
}
?>
Iš karto dėkoju...
|
bruzgis
Narys
Ekspertas
Pranešimai: 3368
Įstojęs: 2006 Geg. 9 18:05:02
|
<table>
<tr>
<td background='linkas iki img' >
linkai
</td>
</tr>
</table>
|
Žmogus
Narys
Viršesnis už Dievą
Pranešimai: 5621
Įstojęs: 2006 Gru. 8 17:12:08
|
Nu, bet tai, db ripina pamatė pora saituose ta tai iškart
|
GoN
Narys
Kapitonas
Pranešimai: 817
Įstojęs: 2007 Rugp. 24 16:08:06
|
As ka nieko nepamaciau pats wiska padariau iur sugalwojau
____________________________________________
chipass
Gal gali parasyti visa koda?
|
Enzo
Narys
Tankas
Pranešimai: 2397
Įstojęs: 2007 Lie. 30 22:07:24
|
adrenalinas parašė:
As ka nieko nepamaciau pats wiska padariau iur sugalwojau
____________________________________________
chipass
Gal gali parasyti visa koda?
sakai pats?
FCBarcelona
mes que un club |
GoN
Narys
Kapitonas
Pranešimai: 817
Įstojęs: 2007 Rugp. 24 16:08:06
|
Ka žinau niekur nemaciau kad taip butu na Kaip parasiau kaip man reikia
|
Enzo
Narys
Tankas
Pranešimai: 2397
Įstojęs: 2007 Lie. 30 22:07:24
|
adrenalinas parašė:
Ka žinau niekur nemaciau kad taip butu na Kaip parasiau kaip man reikia
ir sugalvojai pats?
FCBarcelona
mes que un club |
GoN
Narys
Kapitonas
Pranešimai: 817
Įstojęs: 2007 Rugp. 24 16:08:06
|
Tai matai kad reikia kad rodytu avatara...... parasyta pacioj primoj zinutej skaityk jei nematai
|
Enzo
Narys
Tankas
Pranešimai: 2397
Įstojęs: 2007 Lie. 30 22:07:24
|
adrenalinas parašė:
Tai matai kad reikia kad rodytu avatara...... parasyta pacioj primoj zinutej skaityk jei nematai
tai žinai kaip saitas atrodys?
FCBarcelona
mes que un club |
GoN
Narys
Kapitonas
Pranešimai: 817
Įstojęs: 2007 Rugp. 24 16:08:06
|
Ne bet visteik reikia go gal nedidelis avataras bus?
|
bruzgis
Narys
Ekspertas
Pranešimai: 3368
Įstojęs: 2006 Geg. 9 18:05:02
|
adrenalinas parašė:
As ka nieko nepamaciau pats wiska padariau iur sugalwojau
____________________________________________
chipass
Gal gali parasyti visa koda?
Tai jei rasai pats pasidariai tai kam dar prasai kad kiti padarytu
|
Ptycka
Narys
Terminatorius
Pranešimai: 1492
Įstojęs: 2007 Sau. 19 18:01:08
|
Nelabai supratau tavo esme imk sita padariau kad avataras butu pries redaguoti profili.
<?
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
/*------------------------------------------------------------|
| PHP-Fusion 6 - Content Management System |
|--------------------------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2007 |
| web: http://www.php-fusion.co.uk |
| email: nick@php-fusion.co.uk |
|--------------------------------------------------------------|
|PHp-Fusion Açýk Kaynaklý Bir Web Yazýlýmýdýr |
|Ücretsiz Herkes KuLLanabilir. |
|Alttaki Copyright © PHP-Fusion Yazýsýnýn |
|Silinmemesi Þartýyla... |
|GNU/GPL (Version 2) Lisansý ile Tüm Haklarý |
|Korunmaktadýr!... |
|Lisans Satýn Almak için: nick@php-fusion.co.uk |
|Nick Jones'la Görüþün!.. |
|--------------------------------------------------------------*/
/*------------------------------------------------------------+
| CandY_Green Theme PHP-Fusion v6+ içindir! |
|--------------------------------------------------------------|
|Yazar: Theme by: KDK© 2007 |
| web: http://istegenc.kayyo.com |
| msn/mail: kdkx01@msn.com |
|--------------------------------------------------------------|
|Fuzed Themes |
| web: http://phpfusion-themes.com |
| email: webmaster@phpfusion-thems.com |
|-------------------------------------------------------------*/
/*------------------------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
|------------------------------------------------------------*/
// Tema Ayarlarý
$body_text = "#555555";
$body_bg = "#666666";
$theme_width = "95%";
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
global $theme_width;
echo "<table align='center' cellspacing='0' bordercolor='#99CC00' border='2' cellpadding='0' width='$theme_width'>";
echo "<tr>
<td>
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
</td>
</tr>
</table>\n";
//Logo - Sub_menü(Kategoriler) - Üye Giriþi Kodu Baþlangýç
echo "<table style='background-image:url(".THEME."images/bg.gif);' align='center' cellspacing='0' cellpadding='0' width='100%' height='150' border='0'>
<td>
<img border='0' alt='".$settings['sitename']."' title='".$settings['sitename']."' src='".THEME."images/logo.gif'>
</td><td width='85'>
</td>
</td>";
echo "</table>";
//Logo - Sub_menü(Kategoriler) - Üye Giriþi Kodu Bitiþ
if (iMEMBER) {
opentable($userdata['user_name']);
echo "<center>";
if ($userdata['user_avatar'] != "") {
echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' height='50'></center>\n";
} else {
echo "<center><img src='".THEME."media/no.png' width='50' height='50'></center>\n";
echo "<a href='".BASEDIR."edit_profile.php' class='side'>Redaguoti profilá</a> ";
echo "<img border='0' src='".THEME."images/bullet.gif'> <a href='".BASEDIR."messages.php' class='side'>Asmeninës þinutës</a> ";
echo "<img border='0' src='".THEME."images/bullet.gif'> <a href='".BASEDIR."members.php' class='side'>Nariø sàraðas</a> ";
echo " ";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php?aid=611ec91761fffac0&pagenum=1".$aidlink."' class='side'>Admin panelë</a> \n";
}
echo "<img border='0' src='".THEME."images/bullet.gif'> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Atsijungti</a>";
echo "</center>";
} else {
openside("<center>Prisijungti</center>");
echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."";
echo "<form name='loginform' method='post' action='../login.php'>";
if ($settings['enable_registration']) {
echo "<a href='".BASEDIR."register.php'>[<b>Registruotis</b>]</a> \n";
} else {
echo " ";
}
echo "Vardas:
<input type='text' name='user_name' class='textbox' style='width:100px'>
Slaptaþodis:
<input type='password' name='user_pass' class='textbox' style='width:100px'>
<input type='checkbox' name='remember_me' value='y' title='Atsiminti mane' style='vertical-align:middle;'>
<input type='submit' name='login' value='Prisijungti' class='button'><br>
<a href='".BASEDIR."lostpassword.php'>[<b>Pamirðau slaptaþodá</b>]</a>
</form>\n";
echo "</div>\n";
}
closetable();
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
//Footer Haber ve Orta Bloklar Kodu
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.png' style='border-right:#FFFFFF 1px; border-left: #FFFFFF 1px;'>";
echo "<td width='20%' height='30' class='white' align='left'>";
if ($license == false) {
echo "<b>Powered by <a href='http://php-fusion.co.uk' target='_blank'>PHP-Fusion</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='mailto:xxx@mail.lt'></a></b>";
echo "</td>";
echo "<div align='center'></tr></table></td></tr></table></div>";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info,"<br>").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<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,"<br>").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</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 Ptycka 2007 Gru. 16 01:12:16 |
ramon
Narys
Ekspertas
Pranešimai: 2977
Įstojęs: 2006 Gru. 18 11:12:50
|
Tema neatinka kategorijai, perkeliu i Themes kategorija ptyckos prašimu.
Redagavo ramon 2007 Gru. 16 02:12:29 |
GoN
Narys
Kapitonas
Pranešimai: 817
Įstojęs: 2007 Rugp. 24 16:08:06
|
Ptycka error meta
Man tik duok ta koda kur kad butu avataras na ta php koda ir as isikelsiu man tik tiek reikai :/
|
Žmogus
Narys
Viršesnis už Dievą
Pranešimai: 5621
Įstojęs: 2006 Gru. 8 17:12:08
|
Tu man parp kaip atrodo db visas tavo dizas, nes aš čia nesupratau
|
GoN
Narys
Kapitonas
Pranešimai: 817
Įstojęs: 2007 Rugp. 24 16:08:06
|
Nu man tik parasykit avataro php koda ir viksas as pats isikelsiu
|
ramon
Narys
Ekspertas
Pranešimai: 2977
Įstojęs: 2006 Gru. 18 11:12:50
|
Taigi po nosim turi visa koda :
if ($userdata['user_avatar'] != "") {
echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' height='50'></center>\n";
} else {
echo "<center><img src='".THEME."media/no.png' width='50' height='50'></center>\n";
}
|
GoN
Narys
Kapitonas
Pranešimai: 817
Įstojęs: 2007 Rugp. 24 16:08:06
|
Dekui
|
Ptycka
Narys
Terminatorius
Pranešimai: 1492
Įstojęs: 2007 Sau. 19 18:01:08
|
buvau daves koda negalejai pasitiaisiti ne floodinti jam
rakinu tema,
|