Prijava na forum:
Ime:
Lozinka:
Prijavi me trajno:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:

ConQUIZtador
nazadnapred
Korisnici koji su trenutno na forumu 0 članova i 1 gost pregledaju ovu temu.


Tema za pitanja
o SMF forumu, phpBB2 i phpBB3 forumu, Wordpress i Joomla CMS sistemima!

Za vecinu drugih pitanja nacicete odgovor citajuci Top teme!

Idi dole
Stranice:
Počni novu temu Nova anketa Odgovor Štampaj Dodaj temu u favorite Pogledajte svoje poruke u temi
Tema: Google analytics kod u php stranici  (Pročitano 1939 puta)
26. Okt 2009, 17:30:39
Ucesnik diskusija

Zodijak
Pol
Poruke 55
OS
Windows Vista
Browser
Mozilla Firefox 3.5.3
Hvala unapred!
Potrosih izvesno vreme na pretrazi bureka ali nista sto meni treba.A to je da ubacim google analytics kod u cistu php stranicu , znaci nema nigde </body> taga.Ako moze neki primer za mene ali i za sve.Spominje se require,index.html template,poseban php file analytics.php.
Sve u svemu ili sam ja glup sto je vrlo izvesno ili je to nejasnoca za vecinu.
IP sačuvana
social share
Pogledaj profil
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Moderator
Capo di tutti capi


Underpromise; overdeliver.

Zodijak Gemini
Pol Muškarac
Poruke Odustao od brojanja
Zastava 44°49′N - 20°29′E
OS
Windows Vista
Browser
Opera 9.80
mob
Apple iPhone 6s
I takav sajt mora imati fajlove u kojima se nalazi html za prikaz onoga sto php pravi...
Kao sto, primera radi, svaka forum skripta ima php engine i html template...
IP sačuvana
social share
Pobednik, pre svega.

Napomena: Moje privatne poruke, icq, msn, yim, google talk i mail ne sluze za pruzanje tehnicke podrske ili odgovaranje na pitanja korisnika. Za sva pitanja postoji adekvatan deo foruma. Pronadjite ga! Takve privatne poruke cu jednostavno ignorisati!
Preporuke za clanove: Procitajte najcesce postavljana pitanja!
Pogledaj profil WWW GTalk Twitter Facebook
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Ucesnik diskusija

Zodijak
Pol
Poruke 55
OS
Windows Vista
Browser
Mozilla Firefox 3.5.3
Dobro.Medjutim posto skripta nje moje autorsko delo,tragam za tim html fajlom-koji je u vezi sa index.php.Ulazim u theme folder (pretpostavljam da se tu nalazi) i nailazim na brdo fajlova od kojih nijedan nije html,vec index.tpl,page.tpl i sl u koje sumnjam da bi trebalo da postavim svoj kod,ali opet nigde nema </body> taga.Pretraga ce se nastaviti ali opet pitanje da li postoji drugi nacin direktnog ubacivanja koda u php stranicu,vec potraga za html fajlom koji je u vezi sa php fajlom pa ispred</body>.
U potrazi za html fajlom, videx kod index.php stranice i nigde se ne spominje include... .html ili require... .html,vec
..uostalom evo celog koda index.php:
<?PHP
 
//* Agares Media CMS- Version 3.0 *//
//* Copyright 2007 � Agares Media.  All rights reserved. *//
//* Use of this software is governed by the terms of our license *//
error_reporting(0);
$benchmark_start = microtime();

if (strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip')) {
   ob_start("ob_gzhandler"); // Compress the HTML
   header("Content-Encoding: gzip");
}

require_once("./license/license_integrity.php");
require_once("./license/license_validator.php");
require_once("./includes/corefunctions.php"); // Load the AMCMS3 functions
require_once("./includes/db.php"); // Get the database configuration settings & connect to DB.
require_once('./includes/Smarty/libs/Smarty.class.php'); $smartyDeclared = true; // 2.709 adds support for the Smarty templating system
require_once("./includes/config.php"); // Load the admin's preferences
require_once('./language/'.$script_language.'/index.php');
require_once("./includes/gamefunctions.php"); // Load the AMCMS3 game functions
am_session(); // Start the session if nothing else has
require_once("./includes/loginsubmit.php"); // Load login submission

if (isset($_POST['gname']) || isset($_REQUEST['id']) || $_GET['autocom'] || $_POST['autocom'] || $_GET['do'] || $_POST['thescore'] || $_POST['gscore'] || $_GET['scoreVar'] || isset($_POST['sessdo'])) {
   require_once('./includes/submitscore.php'); // Handles the submission of high scores.
}

if ($promptToRegister ==true) {
   $headload = '
   <script type="text/javascript">
      jQuery(function(){
         setTimeout(function(){
            tb_show(\'Register\', \'./highscoreregister.php?height=450&width=425&keepThis=true&TB_iframe=true\', null);
         }, 250);
      });
   </script>
   
   ';
}
if ($_GET['loadpage']=='./includes/profile.php' && $_GET['challenge']=='true') {
   $authorkey = am_injection($_GET['userkey']);
   $headload = '
   <script type="text/javascript">
      jQuery(function(){
         setTimeout(function(){
            tb_show(\'Challenge\', \'./challenge.php?height=480&width=425&userkey='.$authorkey.'&keepThis=true&TB_iframe=true\', null);
         }, 250);
      });
   </script>
   ';
}

$rotationcode = '      <script type="text/javascript" src="./includes/jquery/core.js"></script>

      <script type="text/javascript" src="./includes/jquery/selector.js"></script>
      <script type="text/javascript" src="./includes/jquery/event.js"></script>
      <script type="text/javascript" src="./includes/jquery/ajax.js"></script>

      <script type="text/javascript" src="./includes/jquery/fx.js"></script>
      <script type="text/javascript" src="./includes/i/iutil.js"></script>
      <script type="text/javascript" src="./includes/i/idrag.js"></script>

      <script type="text/javascript" src="./includes/i/accordion.js"></script>
   
      <script type="text/javascript" src="./includes/i/carousel.js"></script>';


$reg_pass = am_getuserpass();

if ($themedir=='/theme/Smarty/') {
   $smarty->assign('headload',$headload); // Assign to smarty
   $smarty->assign('rotationcode',$rotationcode); // Assign to smarty

   if($_GET['cat']!=NULL) {
      require_once('./logic/gamecategory.php'); // Execute the business logic for the game categories
      $smarty->display('gamecategory.tpl'); // Display the template for gamecategory.php
      exit;
   } elseif($_GET['loadpage']!=NULL) {
      require_once('./logic/loadpage.php');
      exit;
   } elseif($_GET['article']!=NULL) {
      require_once('./logic/article.php'); // Execute the business logic for displaying articles
      $smarty->display('article.tpl'); // Display the template for articles.php      
   } else {
      $smarty->display('index.tpl'); // Display the template for index.php
      exit;
   }
} else {
   include_once(".".$themepath."top.php"); // Loads the topmost information (do not confuse this with the header)
   include_once(".".$themepath."header.php"); // Loads the header and menu
   require_once("./includes/cache_top.php"); // Load the page cache code
   include_once(".".$themepath."sidebar.php"); // Loads the sidebar
   include_once(".".$themepath."frontpage_right.php"); // Loads the right content
   am_depthstats(); // Calls DepthStats code.
   include_once(".".$themepath."footer.php"); // Loads the footer (there is no bottom.php, this is the last file)
   require_once("./includes/cache_bottom.php"); // Load the page cache code
}
   
$benchmark_end = microtime();
$benchmark = $benchmark_end - $benchmark_start;
print("<!-- Script Execution Time: " . $benchmark . "-->\n");
if (strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip')) {
   echo '<!-- gzip successful -->';
   ob_end_flush(); // Output the uncompressed HTML
} else {
   echo '<!-- '.$HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'].' -->';
}
mysql_close($db);
?>
« Poslednja izmena: 26. Okt 2009, 19:19:42 od david72 »
IP sačuvana
social share
Pogledaj profil
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Zvezda u usponu


Go ahead, make my day

Zodijak Capricorn
Pol Muškarac
Poruke 1430
Zastava Београд
OS
Windows XP
Browser
Opera 9.63
Pogledaj u footer.php .
IP sačuvana
social share
Go ahead, make your bed
Pogledaj profil Skype Twitter
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Moderator
Capo di tutti capi


Underpromise; overdeliver.

Zodijak Gemini
Pol Muškarac
Poruke Odustao od brojanja
Zastava 44°49′N - 20°29′E
OS
Windows Vista
Browser
Opera 9.80
mob
Apple iPhone 6s
A nije da lepo pise....
Kod:
   include_once(".".$themepath."top.php"); // Loads the topmost information (do not confuse this with the header)
   include_once(".".$themepath."header.php"); // Loads the header and menu
   require_once("./includes/cache_top.php"); // Load the page cache code
   include_once(".".$themepath."sidebar.php"); // Loads the sidebar
   include_once(".".$themepath."frontpage_right.php"); // Loads the right content
   am_depthstats(); // Calls DepthStats code.
   include_once(".".$themepath."footer.php"); // Loads the footer (there is no bottom.php, this is the last file)
   require_once("./includes/cache_bottom.php"); // Load the page cache code
IP sačuvana
social share
Pobednik, pre svega.

Napomena: Moje privatne poruke, icq, msn, yim, google talk i mail ne sluze za pruzanje tehnicke podrske ili odgovaranje na pitanja korisnika. Za sva pitanja postoji adekvatan deo foruma. Pronadjite ga! Takve privatne poruke cu jednostavno ignorisati!
Preporuke za clanove: Procitajte najcesce postavljana pitanja!
Pogledaj profil WWW GTalk Twitter Facebook
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Ucesnik diskusija


Zodijak Aquarius
Pol Muškarac
Poruke 66
OS
Linux
Browser
Mozilla (jaunty)
ja sam ubacio iza ?> i radi mi ok
IP sačuvana
social share
i tako...
Pogledaj profil WWW
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Veteran foruma
Poznata licnost


Moj licni tekst :-?

Zodijak Gemini
Pol Muškarac
Poruke 3589
Zastava Oreskovica
OS
Windows 7
Browser
Mozilla Firefox 3.5.4
mob
Apple iPhone 4
Treba da otvoris ovaj fajl i u njega da ubacis GA code

Kod:
include_once(".".$themepath."footer.php");

Poz
IP sačuvana
social share
Pozdrav, Nenad ® !
Pogledaj profil WWW
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Idi gore
Stranice:
Počni novu temu Nova anketa Odgovor Štampaj Dodaj temu u favorite Pogledajte svoje poruke u temi
nazadnapred
Prebaci se na:  

Poslednji odgovor u temi napisan je pre više od 6 meseci.  

Temu ne bi trebalo "iskopavati" osim u slučaju da imate nešto važno da dodate. Ako ipak želite napisati komentar, kliknite na dugme "Odgovori" u meniju iznad ove poruke. Postoje teme kod kojih su odgovori dobrodošli bez obzira na to koliko je vremena od prošlog prošlo. Npr. teme o određenom piscu, knjizi, muzičaru, glumcu i sl. Nemojte da vas ovaj spisak ograničava, ali nemojte ni pisati na teme koje su završena priča.

web design

Forum Info: Banneri Foruma :: Burek Toolbar :: Burek Prodavnica :: Burek Quiz :: Najcesca pitanja :: Tim Foruma :: Prijava zloupotrebe

Izvori vesti: Blic :: Wikipedia :: Mondo :: Press :: Naša mreža :: Sportska Centrala :: Glas Javnosti :: Kurir :: Mikro :: B92 Sport :: RTS :: Danas

Prijatelji foruma: Triviador :: Domaci :: Morazzia :: TotalCar :: FTW.rs :: MojaPijaca :: Pojacalo :: 011info :: Burgos :: Alfaprevod

Pravne Informacije: Pravilnik Foruma :: Politika privatnosti :: Uslovi koriscenja :: O nama :: Marketing :: Kontakt :: Sitemap

All content on this website is property of "Burek.com" and, as such, they may not be used on other websites without written permission.

Copyright © 2002- "Burek.com", all rights reserved. Performance: 0.098 sec za 16 q. Powered by: SMF. © 2005, Simple Machines LLC.