Navigacija

Vartotojų tinkle

Prisijungusių svečių: 101
Prisijungusių narių: 0
Prisijungusių narių nėra

Registruoti nariai: 25,952
Naujausias narys: tomeem

Naujausi straipsniai

Paskutiniai nariai

asirija 2 savaitės
tomeem 4 savaitės
Reikalas 5 savaitės
weberiz 8 savaitės
mRokass10 savaitės
kartoonas11 savaitės
iaescortsmap11 savaitės
ozzWANTED12 savaitės
grunskiz14 savaitės
Bruksnys14 savaitės
illusion14 savaitės
ordo15 savaitės
Jurgaila16 savaitės
originalcs1616 savaitės
Rytis17 savaitės
halis18 savaitės
junkus21 savaitės
morlis21 savaitės
Majakas22 savaitės
andsoft23 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 3.145.204.201
Naujienų: 529
Straipsnių: 235
Temų: 52,585
Postų: 522,523
Postų pask. parą: 0
Shout'ų pask. parą: 0
P.S.C. pask. parą: 0
Nuorodų kataloge: 13

Lankomumo Statistika

Peržiūrų šiandien: 22

Iš viso peržiūrų: 22948724

Prisijungti

REGISTRUOTIS
Nario vardas

Slaptažodis



Pamiršai slaptažodį?
Paprašyk naujo

Aktyvuoti save

Šaukykla

Jei norite rašyti žinutes, turite prisijungti.

ozzWANTED
2024 Sau. 17 01:01:00
Desperatiškus komentarus šaukykloje su accountu po mėnesio prasibuvimo, ištryniau. Pasaulis ir taip juodas. Įjungiam šviesą, prašviesės. šypsosi

Majakas
2023 Gru. 10 19:12:39
Negaliu patikėti jog žinutės/pranešimai visi yra nuo 2008 m akinanti šypsen

Žmogus
2023 Rugs. 7 21:09:14
O gal BloodKiller pasijungs?

Apocal
2023 Rugs. 2 18:09:23
Nu davai nuveikiam kažką akinanti šypsen. Prisijungti kada visi čia akinanti šypsen.

Apocal
2023 Rugs. 2 00:09:18
Šiaip atėjau pažiūrėti ar dar lopas nesby yra ar koks ten buvo.

Šaukyklos archyvas

Apklausa

Ar esate patenkinti lietuviško vertimo kokybe?

Taip!

Taip, bet yra ką taisyti (parašysiu komentaruose)

Ne

Norėdamas balsuoti turite prisijungti.
Archyvas
Reklama 400x60
news-footer
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai

Autorius: yplon Peržiūrų: 5862      Spausdinti temą
2007 Rugp. 31 15:08:07          1 žinutė iš 20
Spausdinti pranešimą
Kokias eilutes turiu ištrint, kad naujienų footer'yje nerodytų vardo (kas parašė naujieną) ir kad nerodytų kiek kartų skaityta. News.php turiu redaguot ar ne tik ? Gal galit kas aprašyt kur, ką, kurioje eilutėje turiu ištrint ? Nes nenoriu ko nors pridaryt...dekuimerkia akį
2007 Rugp. 31 15:08:03          2 žinutė iš 20
Spausdinti pranešimą
theme.php redaguok.
2007 Rugp. 31 15:08:59          3 žinutė iš 20
Spausdinti pranešimą
Theme.php - yra eilute (141) štai tokia:
echo openform("N",$info['news_id']).newsposter($info," Ā·").newsopts($info,"Ā·").closeform("N",$info['news_id']);


(gali skirtis įvairių themių)
ir toje eilutėje yra .newsopts($info,"Ā·") taigi šita ištrini ir viskas. Testavau savo SoftBlue themeje viskas veikė. Bandyk.

[galingų saliutų foto]
Redagavo Toonis 2007 Rugp. 31 15:08:10
2007 Rugs. 1 19:09:00          4 žinutė iš 20
Spausdinti pranešimą
Nu joa čią priklauso nuo themos...Ištryniau šitą dalyką ką Toonis parašė, tai išsitrynė tik kiek "skaityta"..
Ʋodziu pas mane šiuo metu yra taip, bet aš noriu kad būtų taip

Mano theme.php kodas:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "100%";
$theme_width_l = "170";
$theme_width_r = "170";

function render_header($header_content) {

global $theme_width,$settings,$locale,$userdata,$aidlink;

echo "<table align=center class='mainsite-border' align='left' width='900' cellspacing='0' cellpadding='0'>
<tr><td class='outer-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr><td class='inner-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr align=left><td>";
include_once "header.php";
echo "</td></tr>
</table>\n";



echo "<table width='100%' cellspacing='0' cellpadding='0'>\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%'>
<tr>
<td>";
include_once "foot.php";
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_news($subject, $news, $info) {

echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<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,"  ").newsopts($info," ").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<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 class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info,"  ").articleopts($info," ").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table cellspacing=0 celpadding=0 border=0>
<tr>
<td height=10 width=160 class='scapmain' align='center'>$title</td>
</tr>
</table>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}

function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<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>
</td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='10'></td></tr>
</table>\n";

}

function openside2($title) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table cellspacing=0 celpadding=0 border=0>
<tr>
<td class='virsus'>$title</td>
</tr>
</table>
</tr>
<tr>
<td class='side1'>\n";

}

function closeside2() {
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}
?>




2007 Rugs. 1 19:09:10          5 žinutė iš 20
Spausdinti pranešimą
Tada bandyk eiti:
/includes/theme_functions_include.php
Susirask:
function newsposter($info,$sep="",$class="") {
   global $locale; $res = "";
   $link_class = $class ? " class='$class' " : "";
   $res = "<img src='".THEME."images/bullet.gif' alt=''> ";
   $res .= "<a href='profile.php?lookup=".$info['user_id']."'".$link_class.">".$info['user_name']."</a> ";
   $res .= $locale['041'].showdate("longdate", $info['news_date']);
   $res .= $info['news_ext'] == "y" || $info['news_allow_comments'] ? $sep."\n" : "\n";
   return $res;
}





Ir bandyk trinti:

$res = "<img src='".THEME."images/bullet.gif' alt=''> ";
   $res .= "<a href='profile.php?lookup=".$info['user_id']."'".$link_class.">".$info['user_name']."</a> ";



Manau turėtų keistis. ?|. Netestavau tad nežinau. ?|

[galingų saliutų foto]
Redagavo Toonis 2007 Rugs. 1 20:09:19
2007 Rugs. 1 19:09:30          6 žinutė iš 20
Spausdinti pranešimą
function render_news($subject, $news, $info) {
   

   
   echo "<table border='0' style=': 1px solid #191928' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td background='' height='24'><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['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 "<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";
}



Manau suprasi, kur keisti
Nu jei suprasi tai ce pats galesi pasiredaguoti ;)

Toonis: Išjungiau smailus.

2007 Rugs. 1 20:09:58          7 žinutė iš 20
Spausdinti pranešimą
dbr nerodo kas parašė naujieną (tai gerai, taip ir reikia) bet ką dar ištrint, kad neliktų kiek skaityta ir kaip padaryt kad stulpeliu būtų, na žodziu tai kaip screene sitam
dekui už pagalbą
2007 Rugs. 1 21:09:20          8 žinutė iš 20
Spausdinti pranešimą
O tai tau rodo kiek kartu skaityta? be žado
2007 Rugs. 1 21:09:49          9 žinutė iš 20
Spausdinti pranešimą
ShadoVw parašė:
O tai tau rodo kiek kartu skaityta? be žado

aš atrašinėjau i Toonis žinutę, o tu ka ten parašei tai nekertu kur ką kaip... nežino
2007 Rugs. 1 21:09:33          10 žinutė iš 20
Spausdinti pranešimą
yplon parašė:
ShadoVw parašė:
O tai tau rodo kiek kartu skaityta? be žado

aš atrašinėjau i Toonis žinutę, o tu ka ten parašei tai nekertu kur ką kaip... nežino


Nezinai, kur deti? akinanti šypsen
2007 Rugs. 1 21:09:39          11 žinutė iš 20
Spausdinti pranešimą
ShadoVw parašė:
yplon parašė:
ShadoVw parašė:
O tai tau rodo kiek kartu skaityta? be žado

aš atrašinėjau i Toonis žinutę, o tu ka ten parašei tai nekertu kur ką kaip... nežino


Nezinai, kur deti? akinanti šypsen

kur dėti, ką keisti...? Plačiau..dekuimerkia akį
2007 Rugs. 1 21:09:06          12 žinutė iš 20
Spausdinti pranešimą
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "100%";
$theme_width_l = "170";
$theme_width_r = "170";

function render_header($header_content) {

global $theme_width,$settings,$locale,$userdata,$aidlink;

echo "<table align=center class='mainsite-border' align='left' width='900' cellspacing='0' cellpadding='0'>
<tr><td class='outer-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr><td class='inner-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr align=left><td>";
include_once "header.php";
echo "</td></tr>
</table>\n";



echo "<table width='100%' cellspacing='0' cellpadding='0'>\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%'>
<tr>
<td>";
include_once "foot.php";
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_news($subject, $news, $info) {
   

   
   echo "<table border='0' style=': 1px solid #191928' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td background='' height='24'><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['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 "<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) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<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 class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info,"  ").articleopts($info," ").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table cellspacing=0 celpadding=0 border=0>
<tr>
<td height=10 width=160 class='scapmain' align='center'>$title</td>
</tr>
</table>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}

function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<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>
</td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='10'></td></tr>
</table>\n";

}

function openside2($title) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table cellspacing=0 celpadding=0 border=0>
<tr>
<td class='virsus'>$title</td>
</tr>
</table>
</tr>
<tr>
<td class='side1'>\n";

}

function closeside2() {
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}
?>




Dek sita koda i savo theme.php :|
2007 Rugs. 1 21:09:28          13 žinutė iš 20
Spausdinti pranešimą
omg..dbr naujieną yra borderyje ir rašo tik datą akinanti šypsen

2007 Rugs. 1 21:09:51          14 žinutė iš 20
Spausdinti pranešimą
yplon parašė:
omg..dbr naujiena yra borderyje ir raso tik data akinanti šypsen


Nu tai ja galima pasalintimerkia akį
2007 Rugs. 1 21:09:35          15 žinutė iš 20
Spausdinti pranešimą
Kokia theme naudoji? Manau padaryčiau, tai ko tau reikia, tik galvoju kaip reikia dėl to stulpelio ar su <br> tagu eitu. galvoja

[galingų saliutų foto]
2007 Rugs. 1 21:09:46          16 žinutė iš 20
Spausdinti pranešimą
Toonis parašė:
Kokia theme naudoji? Manau padaryčiau, tai ko tau reikia, tik galvoju kaip reikia dėl to stulpelio ar su <br> tagu eitu. galvoja

naudoju WTF soccer, bet redagavau...bet theme.php kaip ir nekeičiau...dekui iš ankstomerkia akį
2007 Rugs. 2 21:09:27          17 žinutė iš 20
Spausdinti pranešimą
Nu tai kur žadėtas dalykas ?
2007 Rugs. 2 21:09:05          18 žinutė iš 20
Spausdinti pranešimą
Tu db paaskink ko tu nori, kad matytum ir ko ne akinanti šypsen
2007 Rugs. 2 21:09:36          19 žinutė iš 20
Spausdinti pranešimą
ShadoVw parašė:
Tu db paaskink ko tu nori, kad matytum ir ko ne akinanti šypsen

Viska jis parase virsuje akinanti šypsen

Nuotrauka
Redagavo Athrax 2007 Rugs. 2 21:09:01
2007 Rugs. 2 21:09:31          20 žinutė iš 20
Spausdinti pranešimą
ShadoVw parašė:
Tu db paaskink ko tu nori, kad matytum ir ko ne akinanti šypsen

Matau tu nesigaudai situacijoje...
Viskas yra paaiškinta viršuje i dar su paveikslėliu...
O žadėjo man Toonis
Peršokti į forumą: