Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Reklama virš banerio

Parašė DJFainulka· 2007 Rugp. 26 11:08:57
#1

Sveiki, kaip padaryti reklama virš viršutinio banerio? :) (mazdaug kaip starchat.lt :D ) Koki koda reikia imest (man atrodo i theme.php) ir kokia baneriu moda geriau naudot? ;)

Redagavo DJFainulka· 2007 Rugp. 26 11:08:13

Parašė Demonas· 2007 Rugp. 26 13:08:04
#2

subheader.php redaguok

Parašė DJFainulka· 2007 Rugp. 26 13:08:58
#3

butent ka? :?

Parašė MAnjack· 2007 Rugp. 26 14:08:00
#4

virš headerio kodo, reklamos kodą parašyk

Parašė DJFainulka· 2007 Rugp. 26 18:08:41
#5

o galima jei pvz turi baner_system (ar kokia ten geriau) ir ja administruodamas galetum pakeisti, o ne kiekviena karta ten keisti t.y. kad 1 karta 1 reklama kita kart perkrovus kita ir t.t. ;)

Parašė Giedrunskis· 2007 Rugp. 26 19:08:28
#6

atarciau, keitalioti bannerius paciai ;)

Parašė DJFainulka· 2007 Rugp. 26 19:08:22
#7

bet man reikia kad jie auto patys pasikeistu :(

Parašė DJFainulka· 2007 Rugp. 26 19:08:36
#8

as turiu toki koda:


<div align="center">
<table width="0%" border="0" cellspacing="3" cellpadding="0">
<tr>
<td class="bannercell">
<script language='JavaScript' type='text/javascript' src='http://www.starchat.lt/static/phpads/adx.js'></script>
<script language='JavaScript' type='text/javascript'>
<!--
if (!document.phpAds_used) document.phpAds_used = ',';
phpAds_random = new String(Math.random());
phpAds_random = phpAds_random.substring(2, 11);
document.write("<" + "script language='JavaScript' type='text/javascript' src='");
document.write("http://www.starchat.lt/static/phpads/adjs.php?n=" + phpAds_random);
document.write("&what=zone:2");
document.write("&exclude=" + document.phpAds_used);
if (document.referrer)
document.write("&referer=" + escape(document.referrer));
document.write("'><" + "/script>");
//-->
</script>
<noscript>
<a href='http://www.starchat.lt/static/phpads/adclick.php?n=random' target='_blank'>
<img src='http://www.starchat.lt/static/phpads/adview.php?what=zone:2&n=random' border='0' alt=''/>
</a>
</noscript>
</td>
</tr>
</table>




tai man ji deti? ar gal pakoreguot kaip reik? ?|

cia mano theme.php pradzia:
|---------------------------------------------|
| Released under the terms and conditions of  |
| the GNU General Public License (Version 2)  |
+--------------------------------------------*/


/************************/
/* Theme Settings    */
/************************/

$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "100%";
$theme_width_l = "180";
$theme_width_r = "180";

function render_header($header_content) {
global $theme_width,$settings;

  echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
  echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
  echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
  echo "<tr><td class='header' width='100%'>";




  // Start banner code
  echo "<table width='100%' cellspacing='0' cellpadding='0'>";
  echo "<tr><td>$header_content</td>";
  echo "</tr></table></td></tr></table>\n";
  // End banner code
  echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>";
  echo "<td class='sub-header'>\n";




manau kazkur cia reikia det, bet nesuprantu kur, ir turbut koda reikia kazkaip pakoreguot ?|

Redagavo DJFainulka· 2007 Rugp. 26 20:08:25

Parašė Toonis· 2007 Rugp. 26 21:08:38
#9

Arba virš // Start banner code arba po juo. Nežinau tiksliai net pats. :)

Parašė MAnjack· 2007 Rugp. 26 21:08:50
#10

Reikia dėt virš start baner code :) Bet tas tavo kodas gali ir netikti :)

Parašė DJFainulka· 2007 Rugp. 26 22:08:36
#11

butent, man milijona eroru ismeta, gal gal zinot kame beda? :(

Redagavo DJFainulka· 2007 Rugp. 27 08:08:17

Parašė DJFainulka· 2007 Rugp. 27 08:08:33
#12

sorry uz flooda, bet gal kas galit pakoreguot si koda kad jis veiktu ? :? :(

Parašė MAnjack· 2007 Rugp. 27 09:08:14
#13

Tam savo reklmaos kode visas " kabutes pakeisk į ' :)

Parašė DJFainulka· 2007 Rugp. 27 09:08:36
#14

pakeiciau bet erorus meto, o jeigu prieki echo " o gale "; pridedu nemeta eroru, bet ir pakeitimu nera :|

prisegu theme.php faila, gal kas nors pabandykit idet :|

Redagavo DJFainulka· 2007 Rugp. 27 09:08:04

Parašė mXt· 2007 Rugp. 27 09:08:51
#15

i subheader.php dekit, o ne i theme.php... virs render_header(blablablablabla)

Parašė DJFainulka· 2007 Rugp. 27 09:08:24
#16

nieko man nesigauna :(

Parašė Roksys· 2007 Rugs. 19 14:09:17
#17

if (!defined("IN_FUSION")) { header("Location: index.php"); exit; }

require_once THEME."theme.php";

if ($settings['maintenance'] == "1" && !iADMIN) fallback(BASEDIR."maintenance.php");
if (iMEMBER) $result = dbquery("UPDATE ".$db_prefix."users SET user_lastvisit='".time()."', user_ip='".USER_IP."' WHERE user_id='".$userdata['user_id']."'");

echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
<html>
<head>
<title>".$settings['sitename']."</title>
<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."'>
<meta name='description' content='".$settings['description']."'>
<meta name='keywords' content='".$settings['keywords']."'>
<link rel='stylesheet' href='".THEME."styles.css' type='text/css'>
<script type='text/javascript' src='".INCLUDES."jscript.js'></script>
</head>
<body bgcolor='$body_bg' text='$body_text'>\n";

render_header("<img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'>");


va subheader.php i kuria vieta reikia deti?:?

Redagavo ___· 2007 Rugs. 19 17:09:48