Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: flash banner

Parašė Adriano· 2007 Bir. 27 13:06:17
#1

kaip padaryti flash banner kad jis keistusi? kas koki 15 sekundziu....

Parašė ___· 2007 Bir. 27 13:06:47
#2

Čia macromedia flash support?

Parašė Adriano· 2007 Bir. 27 13:06:15
#3

nu kazkas panasaus....nu krc as kuriu saita ir noriu padaryti du banner kad jie kejstusi kas kazkiek lajko kajp rejk padaryti?

Parašė ___· 2007 Bir. 27 13:06:10
#4

http://www.php-fusion.projektas....code_id=60

Parašė Toonis· 2007 Bir. 27 13:06:37
#5

Yra tam skriptas sukurtas..Ieškok dėdes rėmo saite :s

Parašė Adriano· 2007 Bir. 27 13:06:15
#6

Mys3lf parašė:
http://www.php-fusion.projektas....code_id=60

Kur jy ideti?

Parašė ___· 2007 Bir. 27 13:06:18
#7

Pzdc amaras. Nu tu susikurk tuos bannerius, pavadink a, b, c, d, ar kaip nori, ir dėk šitą kodą ten kur tu nori kad būtų tavo headeriai. Negi tau sunku pažiūrėt kas ten yra.

Parašė Toonis· 2007 Bir. 27 13:06:24
#8

Galvok su galva,o ne su ta vieta kuri dabar ant kedės :[

Parašė Adriano· 2007 Bir. 27 13:06:36
#9

Mys3lf parašė:
Pzdc amaras. Nu tu susikurk tuos bannerius, pavadink a, b, c, d, ar kaip nori, ir dėk šitą kodą ten kur tu nori kad būtų tavo headeriai. Negi tau sunku pažiūrėt kas ten yra.

as ta zinau kad susikurt ir taip toleu bet kur man kisti ta scripta? i koki faila ikelt theme.php? ar kur nes as tu scriptu nenusimanau

Parašė Gedi Minas· 2007 Bir. 27 13:06:53
#10

Cristiano7 parašė:
Mys3lf parašė:
Pzdc amaras. Nu tu susikurk tuos bannerius, pavadink a, b, c, d, ar kaip nori, ir dėk šitą kodą ten kur tu nori kad būtų tavo headeriai. Negi tau sunku pažiūrėt kas ten yra.

as ta zinau kad susikurt ir taip toleu bet kur man kisti ta scripta? i koki faila ikelt theme.php? ar kur nes as tu scriptu nenusimanau

Įkelk ten kur nori matyt tuos banner'ius. Gali ir į theme.php.

Parašė ___· 2007 Bir. 27 13:06:34
#11

Cristiano7 parašė:
as ta zinau kad susikurt ir taip toleu bet kur man kisti ta scripta? i koki faila ikelt theme.php? ar kur nes as tu scriptu nenusimanau


Aats laikas pradėt mokintis. Kiši tą scriptą ten kur $header_content theme.php faile

Parašė Adriano· 2007 Bir. 27 14:06:36
#12

va ak man ismeta
Parse error: syntax error, unexpected '<' in /usr/home/www/ftp/manchester/themes/manchester united/theme.php on line 14

Parašė ___· 2007 Bir. 27 14:06:24
#13

Cristiano7 parašė:
va ak man ismeta
Parse error: syntax error, unexpected '<' in /usr/home/www/ftp/manchester/themes/manchester united/theme.php on line 14


c| Nu mažvaikis. taigi tu trink tą eilutę kur nustatymai. Tada tą kodą sumesk per echo.

Parašė Toonis· 2007 Bir. 27 14:06:32
#14

error, unexpected '<' :|

Parašė Adriano· 2007 Bir. 27 14:06:13
#15

as idesiu cia sutvarkytum ?

Parašė Adriano· 2007 Bir. 27 14:06:32
#16

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

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

function render_header($header_content) {

global $theme_width;

echo "<table align=center class='mainsite-border' align='left' width='900' cellspacing='0' cellpadding='0'>
<tr><td class='outer-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr><td class='inner-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr align=left><td>";
include_once "header.php";
echo "</td></tr>
</table>\n";



echo "<table width='100%' cellspacing='0' cellpadding='0'>\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>";
include_once "foot.php";
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

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

echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
$news
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info,"  ").newsopts($info," ").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<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 class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info,"  ").articleopts($info," ").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table cellspacing=0 celpadding=0 border=0>
<tr>
<td height=10 width=160 class='scapmain' align='center'>$title</td>
</tr>
</table>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}

function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<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>
</td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='10'></td></tr>
</table>\n";

}

function openside2($title) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table cellspacing=0 celpadding=0 border=0>
<tr>
<td class='virsus'>$title</td>
</tr>
</table>
</tr>
<tr>
<td class='side1'>\n";

}

function closeside2() {
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}
?>



Redagavo Adriano· 2007 Bir. 27 14:06:50

Parašė ___· 2007 Bir. 27 14:06:31
#17


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

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

function render_header($header_content) {

global $theme_width;

echo "<table align=center class='mainsite-border' align='left' width='900' cellspacing='0' cellpadding='0'>
<tr><td class='outer-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr><td class='inner-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr align=left><td>";
?>
      <SCRIPT LANGUAGE="JavaScript">
      var slideShowSpeed = 5000;
      var crossFadeDuration = 3;
      var Pic = new Array();
      Pic[0] = 'images/a.jpg'
      Pic[1] = 'images/b.jpg'
      Pic[2] = 'images/c.jpg'
      Pic[3] = 'images/d.jpg'
      var t;
      var j = 0;
       var p = Pic.length;
      var preLoad = new Array();
      for (i = 0; i < p; i++) {
      preLoad[i] = new Image();
      preLoad[i].src = Pic[i];
      }
      function runSlideShow() {
      if (document.all) {
      document.images.SlideShow.style.filter="blendTrans(duration=2)";
      document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
      document.images.SlideShow.filters.blendTrans.Apply();
      }
      document.images.SlideShow.src = preLoad[j].src;
      if (document.all) {
      document.images.SlideShow.filters.blendTrans.Play();
      }
      j = j + 1;
      if (j > (p - 1)) j = 0;
      t = setTimeout('runSlideShow()', slideShowSpeed);
      }
      </script>
 <?
echo "</td></tr>
</table>\n";



echo "<table width='100%' cellspacing='0' cellpadding='0'>\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>";
include_once "foot.php";
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

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

echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
$news
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info,"  ").newsopts($info," ").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<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 class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info,"  ").articleopts($info," ").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table cellspacing=0 celpadding=0 border=0>
<tr>
<td height=10 width=160 class='scapmain' align='center'>$title</td>
</tr>
</table>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}

function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<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>
</td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='10'></td></tr>
</table>\n";

}

function openside2($title) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table cellspacing=0 celpadding=0 border=0>
<tr>
<td class='virsus'>$title</td>
</tr>
</table>
</tr>
<tr>
<td class='side1'>\n";

}

function closeside2() {
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}
?>





Gal tiks, nežinau :/ Neturiu temos, tai netestavau.

Parašė MAnjack· 2007 Bir. 27 15:06:54
#18

Šiaip buvo galima padaryt ir paprasčiau
echo "<img src='".IMAGES."logo/".rand(1,2)."logo.jpg'>";

Tuomet tavo banneriiai turi buti images/logo/ direktorijoj ir pavadinimais 1logo.jpg, 2logo.jpg.

Parašė ___· 2007 Bir. 27 15:06:12
#19

Jis prašė, kad kas 15 sekundžių, ir nenurodė kiek. O čia bus tik po refresho :|

Parašė MAnjack· 2007 Bir. 27 15:06:42
#20

aa, tada mano kodas netinka :)

Parašė Adriano· 2007 Bir. 27 19:06:21
#21

Mys3lf parašė:
Jis prašė, kad kas 15 sekundžių, ir nenurodė kiek. O čia bus tik po refresho :|

db isvis nerodo jokio banner

Parašė MAnjack· 2007 Bir. 27 19:06:28
#22

tavo banneriai yra images direktorijoj ir pavadinti a.jpg, b.jpg?

Parašė Adriano· 2007 Bir. 27 19:06:03
#23

joa :[ ir nerodo isvis

Parašė MAnjack· 2007 Bir. 27 19:06:12
#24

o tau būtina, kad kas 15 sec. Keistūsi banneris, Jeigu ne tai gali naudot mano kodą

Parašė Adriano· 2007 Bir. 27 20:06:27
#25

idek i ta kur buvau idejas theme koda savo koda iterpk?

Parašė MAnjack· 2007 Bir. 27 20:06:56
#26

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

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

function render_header($header_content) {

global $theme_width;

echo "<table align=center class='mainsite-border' align='left' width='900' cellspacing='0' cellpadding='0'>
<tr><td class='outer-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr><td class='inner-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr align=left><td>";
echo "<img src='".IMAGES."logo/".rand(1,2)."logo.jpg'>";
echo "</td></tr>
</table>\n";



echo "<table width='100%' cellspacing='0' cellpadding='0'>\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>";
include_once "foot.php";
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

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

echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
$news
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info,"  ").newsopts($info," ").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<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 class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info,"  ").articleopts($info," ").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table cellspacing=0 celpadding=0 border=0>
<tr>
<td height=10 width=160 class='scapmain' align='center'>$title</td>
</tr>
</table>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}

function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<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>
</td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='10'></td></tr>
</table>\n";

}

function openside2($title) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table cellspacing=0 celpadding=0 border=0>
<tr>
<td class='virsus'>$title</td>
</tr>
</table>
</tr>
<tr>
<td class='side1'>\n";

}

function closeside2() {
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}
?>



Parašė Adriano· 2007 Bir. 27 20:06:37
#27

o kaip paveikslelius pavadinti?

Parašė MAnjack· 2007 Bir. 27 20:06:27
#28

Tuomet tavo banneriai turi buti images/logo/ direktorijoj ir pavadinimais 1logo.jpg, 2logo.jpg;)

Parašė Adriano· 2007 Bir. 27 20:06:30
#29

o dekuj bent sitaip veikia.... thanks ;)

Parašė backa· 2008 Kov. 4 17:03:22
#30

o kaip padaryt kad pvz tas kodas leistu daugiau foto?
echo "<img src='".IMAGES."logo/".rand(1,2)."logo.jpg'>";

Padariau sitaip Ir ismete errora :/
echo "<img src='".IMAGES."logo/".rand(1,2,3)."logo.jpg'>";
Visos foto yra imestos images/logo/ foldery
kame bedos ?

Mano pilnas banerio kodas

<table align='center' width='100%' height='350' background='".IMAGES."logo/".rand(1,2).".jpg' border='0' cellspacing='0' cellpadding='0'>


Parašė MAnjack· 2008 Kov. 4 17:03:28
#31

echo "<img src='".IMAGES."logo/".rand(1,3)."logo.jpg'>";

Pirmas sk. Nuo kiek, antras - iki kiek.

Parašė backa· 2008 Kov. 4 17:03:37
#32

aaa aisku :) aciu labai