AMCphp - 1.0 released (bugfix + history report)
-
- Posts: 58
- Joined: 2004-11-18 12:48:40
Solution for picture size and subfolder
My XML-File is in a subfolder called "amc".
I changed the parser.php to:
$xmlSource="amc/ABMovies.xml";
Now I want to save the pictures in the same folder, but in the browser the pictures are not displayed.
Also I want to have a fixed picture size of 150x250.
So I changed the main.php from:
<img src=\"".rawurlencode($arr["moviePicture"])."\" alt=\"".$arr["movieOriginalTitle"]."\" border=\"0\">
to:
<img src=\"amc/".rawurlencode( $arr["moviePicture"])."\"width=\"150\" height=\"225\" alt=\"".$arr["movieOriginalTitle"]."\" border=\"0\">
Now all pictures are displayed and have the same size.
Is there a better solution ?
I changed the parser.php to:
$xmlSource="amc/ABMovies.xml";
Now I want to save the pictures in the same folder, but in the browser the pictures are not displayed.
Also I want to have a fixed picture size of 150x250.
So I changed the main.php from:
<img src=\"".rawurlencode($arr["moviePicture"])."\" alt=\"".$arr["movieOriginalTitle"]."\" border=\"0\">
to:
<img src=\"amc/".rawurlencode( $arr["moviePicture"])."\"width=\"150\" height=\"225\" alt=\"".$arr["movieOriginalTitle"]."\" border=\"0\">
Now all pictures are displayed and have the same size.
Is there a better solution ?
-
- Posts: 58
- Joined: 2004-11-18 12:48:40
Open your AMC and put in files--->properties... : name, e-mail, ICQ, WebSite, DescriptionAnonymous wrote:Hello, how can I recover information on the creation date of catalog (#$$DATE>) as well as e-mail of author (#$$OWNER_MAIL>).
Thank you & sorry for my english !
Last edited by Murnau_Vs_Buñuel on 2005-02-15 10:27:00, edited 1 time in total.
Re: Solution for picture size and subfolder
very good, but i think that the best at this, will be to use percentes % for fixed picture size, because all the photos do not have the same original size.axbl wrote:My XML-File is in a subfolder called "amc".
I changed the parser.php to:
$xmlSource="amc/ABMovies.xml";
Now I want to save the pictures in the same folder, but in the browser the pictures are not displayed.
Also I want to have a fixed picture size of 150x250.
So I changed the main.php from:
<img src="".rawurlencode($arr["moviePicture"])."" alt="".$arr["movieOriginalTitle"]."" border="0">
to:
<img src="amc/".rawurlencode( $arr["moviePicture"]).""width="150" height="225" alt="".$arr["movieOriginalTitle"]."" border="0">
Now all pictures are displayed and have the same size.
Is there a better solution ?
But i dont know the code for use the percentes.
-
- Posts: 58
- Joined: 2004-11-18 12:48:40
if you want show the type support look this first:Ramses wrote:I would like to be able to post in the card the type of support (DVD, DIVX...) and to be able to make a research on the type of support?
viewtopic.php?t=813&start=160
later you should edit main.php whit this codes:
(near row #385 and #608)
Code: Select all
print "<td id="r".$row."c8" width="25"><div class="head"><a title="".res_CLICKTOCHANGESORT."" href="main.php?page=1&offset=0&sort=movieMediaType&direct=";
print (($_SESSION['orderListDirection'] == 'asc') ? 'desc' : 'asc');
print "" target="main">".res_TYPE."</div>\n\t\t\t</td>";
Code: Select all
print "<td id="r".$row."c8" class="relative"><div class="row" align="center">";
print $arr["movieMediaType"]."</div>\n\t\t\t</td>\n\t\t";
i don´t know to make a research on the type of support...
-----------------------------------------------
My AMCphp List: www.MurnauVsBunuel.tk
Last edited by Murnau_Vs_Buñuel on 2005-02-16 11:06:44, edited 2 times in total.
-
- Posts: 58
- Joined: 2004-11-18 12:48:40
many people have sent to email, asked to me how I have done that my
catalog "displaying nice and slow". this is called transition fade effect.
here you can watch a lot of script effect tansition :http://www.boogiejack.com/transition_effects.html
Add a transition effect to your page by adding the following to the HEAD section of your web page:
or/and
put the duration that you want
i have copy this code in index.php but don´t work well.
in main.php (following to the HEAD section) work very well
catalog "displaying nice and slow". this is called transition fade effect.
here you can watch a lot of script effect tansition :http://www.boogiejack.com/transition_effects.html
Add a transition effect to your page by adding the following to the HEAD section of your web page:
Code: Select all
<meta http-equiv="Page-Enter" content="blendTrans(Duration=1)">
Code: Select all
<meta http-equiv="Page-Exit" content="blendTrans(Duration=1)">
i have copy this code in index.php but don´t work well.
in main.php (following to the HEAD section) work very well
-
- Posts: 58
- Joined: 2004-11-18 12:48:40
i have one idea.
I wanted some script or something so that any person can put different commentaries for each card from movie or individual template someone can help me?? greetings
I wanted some script or something so that any person can put different commentaries for each card from movie or individual template someone can help me?? greetings
Last edited by Murnau_Vs_Buñuel on 2006-11-22 17:37:14, edited 3 times in total.
when you put your name in the properties of AMC, later you put this scriptes for the mail, name and date. if you dont put this dates in the properties, you edit the script writtin to handAnonymous wrote:Thank you, it is ok. What I would like to know, it is how to collect this information in the file xml and to use them in script php.Open your AMC and put in files--->properties... : name, e-mail, ICQ, WebSite, Description
thx & sorry for my english
Code: Select all
<a href="mailto:$$OWNER_MAIL">$$OWNER_MAIL</a>
Code: Select all
<title>$$OWNER_NAME</title>
Code: Select all
<p align="right"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong>Ultima
actualización</strong>: $$DATE<br>
I know already this process. But if you use values "$$ITEM_PICTURE", by example, that supposes that you export your list by the intermediary of the software.Anonymous wrote:when you put your name in the properties of AMC, later you put this scriptes for the mail, name and date. if you dont put this dates in the properties, you edit the script writtin to handAnonymous wrote:Thank you, it is ok. What I would like to know, it is how to collect this information in the file xml and to use them in script php.Open your AMC and put in files--->properties... : name, e-mail, ICQ, WebSite, Description
thx & sorry for my english
Code: Select all
<a href="mailto:$$OWNER_MAIL">$$OWNER_MAIL</a>
Code: Select all
<title>$$OWNER_NAME</title>
Code: Select all
<p align="right"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong>Ultima actualización</strong>: $$DATE<br>
but, if I understood operation, script php read the file xml (which is in fact a backup of your list).
my question is as follows:
How to read and used following information in the file xml ?
Code: Select all
<AntMovieCatalog Format="33" Version="3.4.3 (2004-08-22)" Date="16/02/2005 12:51:17">
<Catalog>
<Properties Owner="Liste DVDs" Mail="Syl_M59@hotmail.com"/>
PHP5 Error
I have installed PHP5 and the Beta1 of AMCPHP.
PHP5 works with other scripts.
But by the AMCPHP5 Beta I get many Errors:
movie.xml:629: parser error : attributes construct error in main.php5 on line 267
PHP Notice: A session had already been started - ignoring session_start() in settings.php on line 3
PHP Notice: A session had already been started - ignoring session_start() in language_deutsch.php on line 3
Does anybody know why ???
PHP5 works with other scripts.
But by the AMCPHP5 Beta I get many Errors:
movie.xml:629: parser error : attributes construct error in main.php5 on line 267
PHP Notice: A session had already been started - ignoring session_start() in settings.php on line 3
PHP Notice: A session had already been started - ignoring session_start() in language_deutsch.php on line 3
Does anybody know why ???
Sounds like a bad XML save. Could you please mail me the ziped XML to ormus7577@go.com? You can mail me in german btw.