Parašė Am1go· 2011 Rugp. 5 16:08:41
#1
Sveiki,
Norėčiau paklausti kaip reikėtu įdėti šį kodą į šia theme.php vietą:
KODAS KURI NORIU ĮDĖTI:
?>
<center>Padėk puslapiui paspausdamas!</center>
<br>
<center>
<html>
<head>
<title>„Puslapio aprašymas"</title>
<link rel="canonical" href="http://www.xxx.xx.lt/" />
<script type="text/javascript" src="https://apis.google.com/js/plusone.js">
{"parsetags": "explicit"}
</script>
</head>
<body>
<div id="content">
<g:plusone></g:plusone>
</div>
<script type="text/javascript">
gapi.plusone.go("content");
</script>
</body>
</html>
</center>
<?
Theme.php vieta į kuria noriu įterpti tą kodą
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_WIDTH", "1080");
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings, $main_style,$userdata,$locale,$aidlink,$db_prefix;
//Header
echo "<div id='virsus'><table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' align='center'>\n<tr>\n";
echo "<td>\n";
echo"<div id='header'>";
echo"<div id='nav' class='sub-header'>".showsublinks("", "white")."</div>";
echo "<div id='loginas'>"; include THEME."/kodas/user.php"; echo "</div>";
echo "<div style='right:90px; top:15px; position:absolute; color:#fff;'>Mes jau turime: ".dbcount("(news_id)", DB_NEWS)." filmų</div>";
štai čia tą vieta kur turi būti kodas
echo"</div>";
Redagavo Am1go· 2011 Rugp. 5 16:08:10
Parašė avice· 2011 Rugp. 5 17:08:50
#4
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_WIDTH", "1080");
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings, $main_style,$userdata,$locale,$aidlink,$db_prefix;
//Header
echo "<div id='virsus'><table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' align='center'>\n<tr>\n";
echo "<td>\n";
echo"<div id='header'>";
echo"<div id='nav' class='sub-header'>".showsublinks("", "white")."</div>";
echo "<div id='loginas'>"; include THEME."/kodas/user.php"; echo "</div>";
echo "<div style='right:90px; top:15px; position:absolute; color:#fff;'>Mes jau turime: ".dbcount("(news_id)", DB_NEWS)." filmų</div>";
echo '<center>Padėk puslapiui paspausdamas!</center>
<br>
<center>
<html>
<head>
<title>„Puslapio aprašymas"</title>
<link rel="canonical" href="http://www.xxx.xx.lt/" />
<script type="text/javascript" src="https://apis.google.com/js/plusone.js">
{"parsetags": "explicit"}
</script>
</head>
<body>
<div id="content">
<g:plusone></g:plusone>
</div>
<script type="text/javascript">
gapi.plusone.go("content");
</script>
</body>
</html>
</center>';
echo"</div>";
Na jau kad susikto kodo nemoket idet tai...
Redagavo avice· 2011 Rugp. 5 17:08:05