Pereiti prie turinio

Ar kas moka panaikinti ?


Rekomenduojami pranešimai

Ar yra profu kurie gali panaikinti kas pazymeta nuotraukoje, theme kodas apacioje.

 

http://www.merginos.gan.lt/nesamone.PNG

 

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

// theme settings
$body_text = "#000000";
$body_bg = "#000000";
$theme_width = "900";
$theme_width_l = "160";
$theme_width_r = "160";

function render_header($header_content) {

global $theme_width;

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
</tr>
</table>
</td>
</tr>
</table>\n";

echo "<center><img src='".THEME."images/Header.PNG'></center>";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";

}

echo "<center></center>";
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%'>
<tr>
<td height='29' background='".THEME."images/fbc.jpg' align='center' class='footer'>".stripslashes($settings['footer'])."
<a href='http://www.merginos.gan.lt/viewpage.php?page_id=1'>Reklama</a> | <a href='http://www.merginos.gan.lt/viewpage.php?page_id=2'>Webmasters</a> | <a href='http://www.merginos.gan.lt/viewpage.php?page_id=3'>Informacija</a> | <a href='http://www.merginos.gan.lt/contact.php'>Kontaktai</a> | <a href='http://www.merginos.gan.lt/viewpage.php?page_id=4'>Remėjai</a><br>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo 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'>
<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 cellpadding='0' cellspacing='0' width='100%'>
<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 background='".THEME."images/sbc.jpg' height='35' 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";

}
?>

Nuoroda į pranešimą
Dalintis kituose puslapiuose

Yra du būdai

eini į includes ir ieškai theme_functions_include.php ir ten yra tokios eilutės

 

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;

}

 

function newsopts($info,$sep,$class="") {

global $locale; $res = "";

$link_class = $class ? " class='$class' " : "";

if (!isset($_GET['readmore']) && $info['news_ext'] == "y") $res = "<a href='news.php?readmore=".$info['news_id']."'".$link_class.">".$locale['042']."</a> ".$sep." ";

if ($info['news_allow_comments']) $res .= "<a href='news.php?readmore=".$info['news_id']."'".$link_class.">".$info['news_comments'].$locale['043']."</a> ".$sep." ";

if ($info['news_ext'] == "y" || $info['news_allow_comments']) $res .= $info['news_reads'].$locale['044']."\n";

$res .= $sep." <a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>\n";

return $res;

}

 

Trini

if ($info['news_allow_comments']) $res .= "<a href='news.php?readmore=".$info['news_id']."'".$link_class.">".$info['news_comments'].$locale['043']."</a> ".$sep." ";

if ($info['news_ext'] == "y" || $info['news_allow_comments']) $res .= $info['news_reads'].$locale['044']."\n";

$res .= $sep." <a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>\n";

 

Nebandžiau, bet turėtu veikti

Nuoroda į pranešimą
Dalintis kituose puslapiuose

http://www.merginos.gan.lt/kablelis.PNG

 

taigi pasalinau ir liko vis dar kablelis, ne kaip atrodo gal dar gali ji pasalinti?

 

va kas liko:

 

<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../index.php"); exit; }

function showsublinks($sep="·",$class="") {
$i = 0; $res = "";
$sres = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($sres) != 0) {
	while($sdata = dbarray($sres)) {
		if (checkgroup($sdata['link_visibility'])) {
			if ($sdata['link_url']!="---") {
				if ($i != 0) { $res .= " ".$sep."\n"; } else { $res .= "\n"; }
				$link_target = $sdata['link_window'] == "1" ? " target='_blank'" : "";
				$link_class = $class ? " class='$class'" : "";
				if (strstr($sdata['link_url'], "http://") || strstr($sdata['link_url'], "https://")) {
					$res .= "<a href='".$sdata['link_url']."'".$link_target.$link_class.">".$sdata['link_name']."</a>";
				} else {
					$res .= "<a href='".BASEDIR.$sdata['link_url']."'".$link_target.$link_class.">".$sdata['link_name']."</a>";
				}
			}
			$i++;
		}
	}
}
if ($i != 0) { return $res; } else { return " "; }
}

function showsubdate() {
global $settings;
return ucwords(showdate($settings['subheaderdate'], time()));
}

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;
}

function newsopts($info,$sep,$class="") {
global $locale; $res = "";
$link_class = $class ? " class='$class' " : "";
if (!isset($_GET['readmore']) && $info['news_ext'] == "y") $res = "<a href='news.php?readmore=".$info['news_id']."'".$link_class.">".$locale['042']."</a> ".$sep." ";

return $res;
}

function articleposter($info,$sep="",$class="") {
global $locale; $res = "";
$link_class = $class ? " class='$class' " : "";
$res = "<img src='".THEME."images/bullet.gif' alt=''>\n";
$res .= $locale['040']."<a href='profile.php?lookup=".$info['user_id']."'".$link_class.">".$info['user_name']."</a>\n";
$res .= $locale['041'].showdate("longdate", $info['article_date']);
$res .= $info['article_allow_comments'] ? $sep."\n" : "\n";
return $res;
}

function articleopts($info,$sep) {
global $locale; $res = "";
if ($info['article_allow_comments']) $res = $info['article_comments'].$locale['043']." ".$sep."\n";
$res .= $info['article_reads'].$locale['044']." ".$sep."\n";
$res .= "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>\n";
return $res;
}

function openform($item_type,$item_id) {
global $aidlink;
$res = "";
if ($item_type == "N") {
	if (iADMIN && checkrights($item_type)) $res .= "<form name='editnews".$item_id."' method='post' action='".ADMIN."news.php".$aidlink."&news_id=".$item_id."'>\n";
} elseif ($item_type == "A") {
	if (iADMIN && checkrights($item_type)) $res .= "<form name='editarticle".$item_id."' method='post' action='".ADMIN."articles.php".$aidlink."&article_id=".$item_id."'>\n";
}
return $res;
}

function closeform($item_type,$item_id) {
global $locale; $res = "";
if ($item_type == "N") {
	if (iADMIN && checkrights($item_type)) $res .= "· <input type='hidden' name='edit' value='edit'><a href='java script:document.editnews".$item_id.".submit();'><img src='".IMAGES."edit.gif' alt='".$locale['048']."' title='".$locale['048']."' style='vertical-align:middle;border:0px;'></a>\n</form>\n";
} elseif ($item_type == "A") {
	if (iADMIN && checkrights($item_type)) $res .= " · <input type='hidden' name='edit' value='edit'><a href='java script:document.editarticle".$item_id.".submit();'><img src='".IMAGES."edit.gif' alt='".$locale['048']."' title='".$locale['048']."' style='vertical-align:middle;border:0px;'></a>\n</form>\n";
}
return $res;
}

function showcopyright($class="") {
global $settings;
$link_class = $class ? " class='$class' " : "";
$res = "Powered by <a href='http://www.php-fusion.co.uk'".$link_class."target='_blank'>PHP-Fusion</a> copyright © 2003-2006 by Nick Jones.<br>\n";
$res .= "Released as free software under the terms of the GNU/GPL license.";
return $res;
}

function showcounter() {
global $locale,$settings;
return number_format($settings['counter'])." ".($settings['counter'] == 1 ? $locale['140'] : $locale['141']);
}

function panelbutton($state,$bname) {
return "<img src='".THEME."images/panel_".($state == "on" ? "off" : "on").".gif' name='b_$bname' alt='' onclick=\"java script:flipBox('$bname')\">";
}
?>

Redagavo Tadziokaz
Nuoroda į pranešimą
Dalintis kituose puslapiuose

Prisijunkite prie diskusijos

Jūs galite rašyti dabar, o registruotis vėliau. Jeigu turite paskyrą, prisijunkite dabar, kad rašytumėte iš savo paskyros.

Svečias
Parašykite atsakymą...

×   Įdėta kaip raiškusis tekstas.   Atkurti formatavimą

  Only 75 emoji are allowed.

×   Nuorodos turinys įdėtas automatiškai.   Rodyti kaip įprastą nuorodą

×   Jūsų anksčiau įrašytas turinys buvo atkurtas.   Išvalyti redaktorių

×   You cannot paste images directly. Upload or insert images from URL.

Įkraunama...
  • Dabar naršo   0 narių

    Nei vienas registruotas narys šiuo metu nežiūri šio puslapio.

  • Prisijunk prie bendruomenės dabar!

    Uždarbis.lt nariai domisi verslo, IT ir asmeninio tobulėjimo temomis, kartu sprendžia problemas, dalinasi žiniomis ir idėjomis, sutinka būsimus verslo partnerius ir dalyvauja gyvuose susitikimuose.

    Užsiregistruok dabar ir galėsi:

    ✔️ Dalyvauti diskusijose;

    ✔️ Kurti naujas temas;

    ✔️ Rašyti atsakymus;

    ✔️ Vertinti kitų žmonių pranešimus;

    ✔️ Susisiekti su bet kuriuo nariu asmeniškai;

    ✔️ Naudotis tamsia dizaino versija;

    ir dar daugiau.

    Registracija trunka ~30 sek. ir yra visiškai nemokama.

  • Naujausios temos

  • Karštos temos

×
×
  • Pasirinkite naujai kuriamo turinio tipą...