Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Įterpimas

Parašė SeRino· 2011 Lie. 20 03:07:11
#1

Sveiki, man reikia įterpti tokį kodą į fusion v7.

<script language="JavaScript" type="text/javascript" >
document.write('<script language="JavaScript" type="text/javascript" src="'+unescape('%u0068%u0074%u0074%u0070%u003a%u002f%u002f%u0063%u006c%u0069%u0063%u006b%u0032%u0063%u0061%u0073%u0068%u002e%u006c%u0074%u002f%u0067%u0065%u0074%u002e%u006a%u0073%u003f%u0075%u0073%u0065%u0072%u005f%u0069%u0064%u003d%u0039%u0037%u0031%u0026%u006d%u006f%u0064%u0065%u003d%u0070%u006f%u0070')+'"><\/script>');
</script>


Įėjus į tinklapį turi išmesti reklamą, kur šį kodą dėti, kad pasirodyti reklama.
Pavyzdys: http://click2cash.lt/example3.html

Parašė ZW· 2011 Lie. 20 05:07:41
#2

Bandyk deti i themes.php faila... As visada i ji dedu pan. scriptus...

Parašė SeRino· 2011 Lie. 20 14:07:33
#3

Bet man meta klaidą kaip dedu..

Parašė MaFetas· 2011 Lie. 20 15:07:29
#4

SeRino parašė:
Bet man meta klaidą kaip dedu..


<?
<script language="JavaScript" type="text/javascript" >
 
document.write('<script language="JavaScript" type="text/javascript" src="'+unescape('%u0068%u0074%u0074%u0070%u003a%u002f%u002f%u0063%u006c%u0069%u0063%u006b%u0032%u0063%u0061%u0073%u0068%u002e%u006c%u0074%u002f%u0067%u0065%u0074%u002e%u006a%u0073%u003f%u0075%u0073%u0065%u0072%u005f%u0069%u0064%u003d%u0039%u0037%u0031%u0026%u006d%u006f%u0064%u0065%u003d%u0070%u006f%u0070')+'"><\/script>');
 
</script>
?>

Taip pabandyk gal padės ;)

Parašė SeRino· 2011 Lie. 20 15:07:25
#5

neveikia taip, jau ankščiau meginau taip..
Mano themes.php faila

<?php
 
/*-------------------------------------------------------+
| Dev.Rus Theme for <span style="border-bottom: 1px dotted black;">PHP</span>-Fusion v7.00+
| by jikaka
| Web: <a href='http://www.rusfusion.ru/' target='_blank'><span style='color:005C5B'>http://www.rusfusion.ru/</span></a>
|--------------------------------------------------------+
| Released under GNU Affero GPL v3 - included
+--------------------------------------------------------*/
 
if (!defined("IN_FUSION")) { die("Access Denied"); }
require_once INCLUDES."theme_functions_include.php";
 
define("THEME_WIDTH", "98%");
define("THEME_BULLET", "<img src='".THEME."images/bullet.png' style='padding-bottom: 1px;' alt='' />");
 
function render_page($license=false) {
 
global $settings, $main_style;
 
	//Header
 
	echo "<div class='center $main_style' style='background-color:#e7e4e3;width:".THEME_WIDTH.";'>\n";
	echo "<div class='floatfix'>\n";
	echo "<div class='full-header floatfix'>\n\n".showbanners()."</div>\n";
	echo "<div class='sub-header floatfix'>\n";
	echo "<div style='float:left;'>".showsublinks("","menu")."</div>\n";
	echo "<div style='float:right;'>".showsubdate()."</div>\n";
	echo "</div></div>\n";
 
	//Content
	if (LEFT) { echo "<div id='side-border-left'>".LEFT."</div>\n"; }
	if (RIGHT) { echo "<div id='side-border-right'>".RIGHT."</div>\n"; }
	echo "<div id='main-bg' class='clearfix'><div id='container'>".U_CENTER.CONTENT.L_CENTER."</div></div>\n";
 
	//Bottom
	echo "<div class='bottom floatfix'>".showsublinks("","bottom-menu")."</div>\n";
 
	//Footer
	echo "<div class='footer floatfix'>\n";
	echo "<div style='float:left;'>\n";
	if ($license == false) { echo showcopyright()."<br />\n"; } echo "Theme Dev.Rus by <a href='http://www.rusfusion.ru'>jikaka</a>\n";
	echo "</div>\n";
	echo "<div style='float:right;text-align:right;'>".stripslashes($settings['footer'])."<br/>".showcounter()."</div>\n";
	echo "</div></div>\n";
 
}
 
function render_news($subject, $news, $info) {
 
	echo "<div class='capmain'>$subject</div>\n";
	echo "<div class='main-body floatfix'>".$news."</div>\n";
	echo "<div class='news-footer'>\n";
	echo newsposter($info,"&middot;").newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
	echo "</div>\n";
 
}
 
function render_article($subject, $article, $info) {
 
	echo "<div class='capmain'>$subject</div>\n";
	echo "<div class='main-body floatfix'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>\n";
	echo "<div class='news-footer'>\n";
	echo articleposter($info,"&middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
	echo "</div>\n";
 
}
 
function opentable($title) {
 
	echo "<div class='capmain'>$title</div>\n";
	echo "<div class='main-body floatfix'>\n";
 
}
 
function closetable() {
 
	echo "</div>\n";
 
}
 
function openside($title, $collapse = false, $state = "on") {
 
	global $panel_collapse; $panel_collapse = $collapse;
 
	echo "<div class='side-body-bg'>";
	echo "<div class='scapmain'>";
	if ($collapse == true) {
		$boxname = str_replace(" ", "", $title);
		echo "<div style='float:right;'>".panelbutton($state,$boxname)."</div>";
	}
	echo $title."</div>\n<div class='side-body floatfix'>\n";
	if ($collapse == true) { echo panelstate($state, $boxname); }
 
}
 
function closeside($collapse = false) {
 
	global $panel_collapse;
 
	if ($panel_collapse == true) { echo "</div>\n"; }
	echo "</div></div>\n";
 
}
 
 
 
?>

Parašė Ponas24· 2011 Lie. 20 15:07:27
#6


?>
<script language="JavaScript" type="text/javascript" >
document.write('<script language="JavaScript" type="text/javascript" src="'+unescape('%u0068%u0074%u0074%u0070%u003a%u002f%u002f%u0063%u006c%u0069%u0063%u006b%u0032%u0063%u0061%u0073%u0068%u002e%u006c%u0074%u002f%u0067%u0065%u0074%u002e%u006a%u0073%u003f%u0075%u0073%u0065%u0072%u005f%u0069%u0064%u003d%u0039%u0037%u0031%u0026%u006d%u006f%u0064%u0065%u003d%u0070%u006f%u0070')+'"><\/script>');
</script>
<?

Parašė SeRino· 2011 Lie. 20 15:07:11
#7

dabar įterpiau, nerodo klaidos, bet pačios reklamos neišmeta.

Parašė MaFetas· 2011 Lie. 20 15:07:58
#8

:D sumaišiau tuos klaustukus :DDD man atrodo nepilnas čia kodas kažko trūksta, iš kur ta reklama turi paimti?

Parašė SeRino· 2011 Lie. 20 15:07:44
#9

http://click2cash.lt

Parašė MaFetas· 2011 Lie. 20 16:07:37
#10

Patarčiau įsidėti jų standartinį kodą kur pateikia :) patalpinti reikia į header failą :)

Parašė SeRino· 2011 Lie. 20 17:07:58
#11

pas mane tai nėra header failo dizaine. Aš aukščiau pateikiau savo themes.php gal žinai, kur jį dėti..
Dėjau ir standartinį nieko.

<script language="JavaScript" type="text/javascript" src="http://click2cash.lt/get.js?user_id=971&mode=popc"></script>

Redagavo SeRino· 2011 Lie. 20 17:07:48