scroll.php !!!

Discutii despre integrarea PHP & Flash; Ming, FlashMX, Actionscript, etc.

Moderator: Moderatori

cinemaxe
PHPRomania Supporter
Mesaje: 17
Membru din: Dum Dec 07, 2008 11:33 am

scroll.php !!!

Mesajde cinemaxe » Dum Dec 14, 2008 8:28 pm

salut! :D
de ceva timp incoace imi da erroare cand instalez o tematica..
cum am mai spus si in topicurile precedente...folosesc joomla!
si cand dau la instalare unui template imi da aceasta erroare am postat aceasta problema si pe forumul oficial de la joomla(dot)ro dar se pare ca nu stie nimeni erroarea este aceasta
"Parse error: parse error, unexpected $end in C:\Program Files\EasyPHP 2.0b1\www\mediaplayer\modules\mod_tpnewsticker\tmpl\scroll.php on line 63"
Ultima oară modificat Mie Ian 21, 2009 7:18 pm de către cinemaxe, modificat 1 dată în total.



Avatar utilizator
Amenthes
Senior Member
Mesaje: 1370
Membru din: Lun Dec 12, 2005 8:00 am
Contact:

Mesajde Amenthes » Dum Dec 14, 2008 9:46 pm

A uitat cineva sa puna acolada de inchidere (}) la o structura PHP de tip if, for, foreach, etc. Ia si tu un editor cu syntax highlighting si vezi pe unde lipseste.
I'm under construction |

cinemaxe
PHPRomania Supporter
Mesaje: 17
Membru din: Dum Dec 07, 2008 11:33 am

aproape gata:)

Mesajde cinemaxe » Lun Dec 15, 2008 5:40 pm


Avatar utilizator
Amenthes
Senior Member
Mesaje: 1370
Membru din: Lun Dec 12, 2005 8:00 am
Contact:

Mesajde Amenthes » Lun Dec 15, 2008 6:00 pm

I'm under construction |

cinemaxe
PHPRomania Supporter
Mesaje: 17
Membru din: Dum Dec 07, 2008 11:33 am

ok

Mesajde cinemaxe » Lun Dec 15, 2008 6:21 pm

poftim :D

[/code]
<?php

/**
* This file is a part of mod_tpnewsticker package
* Author: http://www.templateplazza.com
* Creator: Jerry Wijaya ( me@jerrywijaya.com )
*/

// no direct access
defined('_JEXEC') or die('Restricted access');


if($show_button_prev || $show_button_next || $show_button_play || $show_button_pause) {
?>
<div class="tpndefwrp">
<div class="tpnewsticker_nav">
<?php if($show_ticker_title) { ?> <strong><?php echo $ticker_title_text; ?> </strong> <?php } ?>
<?php if($show_button_prev) { ?>
<a id="go-prev<?php echo $mid; ?>" href="javascript:void(0)">
<img src="modules/mod_tpnewsticker/images/b-prev.png" alt="Previous" border="0"/>
</a>
<? } ?>
<?php if($show_button_play) { ?>
<a id="play<?php echo $mid; ?>" href="javascript:void(0)">
<img src="modules/mod_tpnewsticker/images/b-play.png" alt="Play" border="0"/>
</a>
<? } ?>
<?php if($show_button_pause) { ?>
<a id="stop<?php echo $mid; ?>" href="javascript:void(0)">
<img src="modules/mod_tpnewsticker/images/b-pause.png" alt="Pause" border="0"/>
</a>
<? } ?>
<?php if($show_button_next) { ?>
<a id="go-next<?php echo $mid; ?>" href="javascript:void(0)">
<img src="modules/mod_tpnewsticker/images/b-next.png" alt="Next" border="0"/>
</a>
<? } ?>
</div>
<?
}
?>

<div id="tpnewsticker<?php echo $mid; ?>" class="tpnewsticker"></div>
<div class="hide">
<?php foreach ($list as $item) : ?>
<div class="tpnewstickerli">
<?php
if($show_date==1) {
echo date($date_format, strtotime($item->created));
echo '&nbsp;';
} else if ($show_date==2) {
echo date("d m Y", strtotime($item->modified));
echo '&nbsp;';
}
?>
<a href="<?php echo $item->link; ?>">
<?php echo $item->text; ?>
</a>
</div>
<?php endforeach; ?>
</div>
<div style="clear:both;"></div>
</div>
[code][/code]

Avatar utilizator
Amenthes
Senior Member
Mesaje: 1370
Membru din: Lun Dec 12, 2005 8:00 am
Contact:

Mesajde Amenthes » Lun Dec 15, 2008 7:07 pm

Template-ul pare ok, cred ca trebuie sa activezi
I'm under construction |

cinemaxe
PHPRomania Supporter
Mesaje: 17
Membru din: Dum Dec 07, 2008 11:33 am

imi poti spune cum!

Mesajde cinemaxe » Lun Dec 15, 2008 7:43 pm

am vz linku respectiv...dar imi poti spune cum :|
exact unde sa ma duc :)
iti multumesc! :D

cinemaxe
PHPRomania Supporter
Mesaje: 17
Membru din: Dum Dec 07, 2008 11:33 am

?

Mesajde cinemaxe » Mar Dec 16, 2008 5:21 pm

stie cineva cum sa activez short_open_tags?

cinemaxe
PHPRomania Supporter
Mesaje: 17
Membru din: Dum Dec 07, 2008 11:33 am

?

Mesajde cinemaxe » Mar Dec 16, 2008 5:22 pm

stie cineva cum sa activez short_open_tags?

Avatar utilizator
Amenthes
Senior Member
Mesaje: 1370
Membru din: Lun Dec 12, 2005 8:00 am
Contact:

Mesajde Amenthes » Mar Dec 16, 2008 5:32 pm

In loc sa activezi short_open_tags mai bine inlocuiesti <? cu <?php in template.
I'm under construction |

cinemaxe
PHPRomania Supporter
Mesaje: 17
Membru din: Dum Dec 07, 2008 11:33 am

Mesajde cinemaxe » Joi Dec 18, 2008 9:24 pm


Avatar utilizator
Birkoff
Senior Member
Mesaje: 6380
Membru din: Joi Mar 18, 2004 2:34 pm
Localitate: Bucuresti
Contact:

Mesajde Birkoff » Joi Dec 18, 2008 10:14 pm

1) )
2)
3) (open source)
4) Vrei un magazin virtual la cheie, usor de folosit, cu api-uri incluse pentru maximizarea vanzarilor si multe alte facilitati? Da un semn si discutam.

cinemaxe
PHPRomania Supporter
Mesaje: 17
Membru din: Dum Dec 07, 2008 11:33 am

;)

Mesajde cinemaxe » Sâm Dec 20, 2008 9:05 am


cinemaxe
PHPRomania Supporter
Mesaje: 17
Membru din: Dum Dec 07, 2008 11:33 am

problema

Mesajde cinemaxe » Sâm Dec 20, 2008 9:15 am



Înapoi la “PHP & Flash”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 3 vizitatori