Lietuvos_pilietis
Narys
Buldozeris
Pranešimai: 249
Įstojęs: 2008 Bal. 27 20:04:43
gal patartumėt kaip panaikinti "LAN_121" kuris buna prie skaitliuko unikalių apsilankymų, idėsiu foto . Čia sakyciau kaip kad vertimo vieta gal užvestumėt ant linkmės teisyngos
bad_user
Narys
Antras po Dievo
Pranešimai: 4956
Įstojęs: 2007 Spa. 26 20:10:01
Duok foto nes nesupratau ką turi omenyje. Rules: 21 & 22 Read first!
Lietuvos_pilietis
Narys
Buldozeris
Pranešimai: 249
Įstojęs: 2008 Bal. 27 20:04:43
[img]/96xx.xz.lt/wa.bmp[/img] va kad ji panaikint cia ar reikšmės kokios neranda kad iššoko jis...
Žilvis
VIP narys
Terminatorius
Pranešimai: 1314
Įstojęs: 2006 Spa. 7 20:10:45
theme.php atsidaryk ir ieškok to žodžio
Lietuvos_pilietis
Narys
Buldozeris
Pranešimai: 249
Įstojęs: 2008 Bal. 27 20:04:43
tai o ji galima pakeisti? as maniau kad cia rast reik kur jis parasytas o tai paprasciausia nuoroda iki tos frazes..
Žilvis
VIP narys
Terminatorius
Pranešimai: 1314
Įstojęs: 2006 Spa. 7 20:10:45
Idėk theme.php
Lietuvos_pilietis
Narys
Buldozeris
Pranešimai: 249
Įstojęs: 2008 Bal. 27 20:04:43
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/... wa ka išmeta ji pakeitus...
Žilvis
VIP narys
Terminatorius
Pranešimai: 1314
Įstojęs: 2006 Spa. 7 20:10:45
Pabandyk pakeisti teksta į savo norimą
Lietuvos_pilietis
Narys
Buldozeris
Pranešimai: 249
Įstojęs: 2008 Bal. 27 20:04:43
<?
// theme settings
$body_text = "#bbbbbb";
$body_bg = "#666666";
$theme_width = "80%";
$theme_width_l = "170";
$theme_width_r = "170";
function render_header($header_content) {
echo "<table align='center' width='".$GLOBALS['theme_width']."' cellspacing='0' cellpadding='0' style='border:1px #000 solid;'>
<tr>
<td>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='full-header' style='padding:5px;'>
$header_content
</td></tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='white-header'>
<a href='".fusion_basedir."index.php' class='white'>Home</a> |
<a href='".fusion_basedir."articles.php' class='white'>Articles</a> |
<a href='".fusion_basedir."downloads.php' class='white'>Downloads</a> |
<a href='".fusion_basedir."fusion_forum/' class='white'>Forum</a> |
<a href='".fusion_basedir."weblinks.php' class='white'>Web Links</a> |
<a href='".fusion_basedir."submit_news.php' class='white'>Submit News</a> |
<a href='".fusion_basedir."submit_link.php' class='white'>Submit Link</a>
</td>
<td align='right' class='white-header'>";
echo ucwords(strftime("%A, %B %d, %Y", time()+($GLOBALS['settings']['timeoffset']*3600)));
echo "</td>
</tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='white-header'>
".stripslashes($GLOBALS['settings']['footer'])."
</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='full-header'><br>
".$GLOBALS['settings']['counter']." ";
if ($GLOBALS['settings']['counter'] == 1) { echo LAN_120."<br><br>\n"; } else { echo LAN_121."<br><br>\n"; }
if ($license == false) {
echo "Powered by <a href='http://www.php-fusion.co.uk' class='foot'>PHP-Fusion</a> v".
sprintf("%.2f", $GLOBALS['settings']['version']/100)." © 2003-2004<br><br>\n";
}
echo "</td>\n</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject<br>
<span class='small'>".LAN_40."<a href='profile.php?lookup=$info[1]' class='white'>$info[2]</a>".LAN_41."$info[3]</span></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='body'>
$news
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td align='right' class='news-footer'>\n";
if ($info[4] == "y") {
echo "<a href='readmore.php?news_id=$info[0]'>".LAN_42."</a> |\n";
}
echo "<a href='readmore.php?news_id=$info[0]'>$info[5]".LAN_43."</a> | $info[6]".LAN_44." |
<a href='printer.php?type=N&item_id=$info[0]'>".LAN_45."</a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject<br>
<span class='small'>".LAN_40."<a href='profile.php?lookup=$info[1]' class='white'>$info[2]</a>".LAN_41."$info[3]</span></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='body'>\n";
if ($info[4] == "y") { echo nl2br($article); } else { echo $article; }
echo "</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td align='right' class='news-footer'>\n";
if ($info[0] != "0") {
echo "<a href='articlecomments.php?article_id=$info[0]'>$info[5]".LAN_43."</a> |\n";
} else {
echo "$info[5]".LAN_43." | ";
}
echo "$info[6]".LAN_44." | <a href='printer.php?type=A&item_id=$info[0]'>".LAN_45."</a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$title</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='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 class='scapmain'>$title</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sbody'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
}
function opensidex($title,$open="on") {
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>
<img onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".fusion_themedir."images/panel_$box_img.gif'>
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sbody'>
<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='8'></td></tr>
</table>\n";
}
?>
Žilvis
VIP narys
Terminatorius
Pranešimai: 1314
Įstojęs: 2006 Spa. 7 20:10:45
<?
// theme settings
$body_text = "#bbbbbb";
$body_bg = "#666666";
$theme_width = "80%";
$theme_width_l = "170";
$theme_width_r = "170";
function render_header($header_content) {
echo "<table align='center' width='".$GLOBALS['theme_width']."' cellspacing='0' cellpadding='0' style='border:1px #000 solid;'>
<tr>
<td>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='full-header' style='padding:5px;'>
$header_content
</td></tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='white-header'>
<a href='".fusion_basedir."index.php' class='white'>Home</a> |
<a href='".fusion_basedir."articles.php' class='white'>Articles</a> |
<a href='".fusion_basedir."downloads.php' class='white'>Downloads</a> |
<a href='".fusion_basedir."fusion_forum/' class='white'>Forum</a> |
<a href='".fusion_basedir."weblinks.php' class='white'>Web Links</a> |
<a href='".fusion_basedir."submit_news.php' class='white'>Submit News</a> |
<a href='".fusion_basedir."submit_link.php' class='white'>Submit Link</a>
</td>
<td align='right' class='white-header'>";
echo ucwords(strftime("%A, %B %d, %Y", time()+($GLOBALS['settings']['timeoffset']*3600)));
echo "</td>
</tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='white-header'>
".stripslashes($GLOBALS['settings']['footer'])."
</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='full-header'><br>
".$GLOBALS['settings']['counter']." ";
if ($GLOBALS['settings']['counter'] == 1) { echo LAN_120."<br><br>\n"; }
if ($license == false) {
echo "Powered by <a href='http://www.php-fusion.co.uk' class='foot'>PHP-Fusion</a> v".
sprintf("%.2f", $GLOBALS['settings']['version']/100)." © 2003-2004<br><br>\n";
}
echo "</td>\n</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject<br>
<span class='small'>".LAN_40."<a href='profile.php?lookup=$info[1]' class='white'>$info[2]</a>".LAN_41."$info[3]</span></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='body'>
$news
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td align='right' class='news-footer'>\n";
if ($info[4] == "y") {
echo "<a href='readmore.php?news_id=$info[0]'>".LAN_42."</a> |\n";
}
echo "<a href='readmore.php?news_id=$info[0]'>$info[5]".LAN_43."</a> | $info[6]".LAN_44." |
<a href='printer.php?type=N&item_id=$info[0]'>".LAN_45."</a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject<br>
<span class='small'>".LAN_40."<a href='profile.php?lookup=$info[1]' class='white'>$info[2]</a>".LAN_41."$info[3]</span></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='body'>\n";
if ($info[4] == "y") { echo nl2br($article); } else { echo $article; }
echo "</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td align='right' class='news-footer'>\n";
if ($info[0] != "0") {
echo "<a href='articlecomments.php?article_id=$info[0]'>$info[5]".LAN_43."</a> |\n";
} else {
echo "$info[5]".LAN_43." | ";
}
echo "$info[6]".LAN_44." | <a href='printer.php?type=A&item_id=$info[0]'>".LAN_45."</a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$title</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='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 class='scapmain'>$title</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sbody'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
}
function opensidex($title,$open="on") {
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>
<img onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".fusion_themedir."images/panel_$box_img.gif'>
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sbody'>
<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='8'></td></tr>
</table>\n";
}
?>
Redagavo
Žilvis 2008 Geg. 1 10:05:16
Lietuvos_pilietis
Narys
Buldozeris
Pranešimai: 249
Įstojęs: 2008 Bal. 27 20:04:43
Parse error: syntax error, unexpected '{' in /... klaidą meta...
Žilvis
VIP narys
Terminatorius
Pranešimai: 1314
Įstojęs: 2006 Spa. 7 20:10:45
Keisk temą nes čia jau tam temai šakes
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!